I think I know hwo to prove reflexive, symmetric, and transitive properties but please show me how to do equivalence classes or describe them.
Let n ∈ N. Define relation Rn on Z by (x, y) ∈ Rn if and only if $x^2 − y^2$ is divisible by n. Prove that Rn is an equivalence relation. (a) Let n = 4. How many equivalence classes are there? Describe the equivalence classes in the simplest possible way. (b) Let n = 5. How many equivalence classes are there? Describe the equivalence classes in the simplest possible way.
Hint:
These relations say $x$ and $y$ are equivalent if and only if $x^2\equiv y^2\mod n$. Hence the equivalence classes corresp.ond to the congruence classes of the squares modulo $n$.
For instance, modulo $4$ the squares are congruent either to $0$ or to $1$. So there are two equivalence classes:
evennumbers have squares congruent to $0\bmod 4$ andoddnumbers, squares congruent to $1 \bmod 4$.