Equivalence class · Exercise-EQUIVALENCE-CLASS-004

Step-by-step solved exercise: Relations and functions

On \(\displaystyle \{1,2,3,4,5,6\}\) with the relation «same parity», how many equivalence classes are there?

Step by step with comments, a check and common mistakes.

Step-by-step solution

  1. Two elements are related if they have the same parity.

    \[\displaystyle a\,R\,b \iff a\equiv b \pmod 2\]
  2. The odd numbers in \(\displaystyle \{1,\dots,6\}\) form one class.

    \[\displaystyle [1]=\{1,3,5\}\]
  3. The even numbers form another class.

    \[\displaystyle [2]=\{2,4,6\}\]
  4. Since every element falls into one of these two classes, there are two classes.

    \[\displaystyle |A/R|=2\]

Answer

2

🎯 Build my path to this exercise