[Math] I don’t understand equivalence classes with relations

discrete mathematicselementary-set-theoryequivalence-relationsrelations

I am not quite understanding equivalence classes. For example I have this problem:

Let $A$ be the set of integers and
$\quad a\;R\;b\quad$ if and only if $\quad |a| = |b|$.

I have proved that this is an equivalence relation, (its reflexive, symmetric and transitive), but how do I show the equivalence classes?

Best Answer

Equivalence classes (wrt your equivalence relation) are subsets of elements of the original set with the following property: every element of a certain equivalence class must be equivalent (wrt the equivalence relation) to any other in it and inequivalent to any other out of it.
This implies that equivalence classes are disjoint subsets of the original set. (*)

You are asked to construct the maximal subsets of $\mathbb Z$, such that - picked one - every element in it has the same absolute value as any other element of the subset. It should be fairly easy to understand how many elements can belong to every equivalence class in this case (there is an important exception, though: $0$).
Notice that in general the cardinalities of the equivalence classes of a set wrt an equivalence relation are different!

(*) This second part of the definition was added after the useful comments of two users below.