x,y into a Z (set of integers) and x related y if and only if x-y is a multiple of 3. Show that R is an equivalence relation on Z (set of integers).
I need to show proof. I don't know how to prove Transitivity. This is what I have done but don't know if is right.
Reflexive: x-x=0. So 0 is a multiple of 3. And 0 is an integer.
Symmetric: if x-y is a multiple of 3 then y-x is a multiple of 3.
Transitive: if x-y is a multiple of 3. Then y-z is a multiple of 3. So this leads to x-z is a multiple of 3.