Equivalence class · Exercise-EQUIVALENCE-CLASS-007
Step-by-step solved exercise: Relations and functions
On \(\displaystyle \mathbb{Z}\), let \(\displaystyle a\,R\,b\) if \(\displaystyle a\) and \(\displaystyle b\) leave the same remainder when divided by 3. How many equivalence classes are there?
Step by step with comments, a check and common mistakes.
Step-by-step solution
Two integers are related if they give the same remainder when divided by 3.
\[\displaystyle a\,R\,b \iff a\equiv b \pmod 3\]
The possible remainders when dividing by 3 are 0, 1 and 2.
\[\displaystyle r\in\{0,1,2\}\]
Each remainder determines a class, and every integer falls into exactly one.
\[\displaystyle [0],\ [1],\ [2]\]
There are infinitely many integers, but only three classes.