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

  1. Two integers are related if they give the same remainder when divided by 3.

    \[\displaystyle a\,R\,b \iff a\equiv b \pmod 3\]
  2. The possible remainders when dividing by 3 are 0, 1 and 2.

    \[\displaystyle r\in\{0,1,2\}\]
  3. Each remainder determines a class, and every integer falls into exactly one.

    \[\displaystyle [0],\ [1],\ [2]\]
  4. There are infinitely many integers, but only three classes.

    \[\displaystyle |\mathbb{Z}/R|=3\]

Answer

3

🎯 Build my path to this exercise