Consider the set $S = \{-5, -4, -3, -2, -1, 0, 1, 2, 3, 4, 5\}$
And define a relation $R$ on $S$ by $(x, y) \in R$ if and only if $x + > 2y \cong 0 (mod 3)$
Show that the relation $R$ is an equivalence relation and list the equivalence class containing the element 1.
I know how to prove that the set is symmetric and reflexive but I'm stuck at transitive.
There is a solution but I don't understand it at all:
The relation is transitive, for if $(x, y)\in R$ and $(y, z)\in R$ then $x+2y \cong 0$(mod 3) and $y+2z \cong $0(mod 3)
so $x+2z = x+2y - 2y + 2z \cong x+2y + y+2z \cong (x+2y)+(y+2z) \cong > 0 + 0 \cong 0$(mod 3) and thus $(x, z) \in R$
This is the part I understand the least:
$x+2y - 2y + 2z \cong x+2y + y+2z \cong (x+2y)+(y+2z)$