Quotient ring · Exercise-QUOTIENT-RING-009

Step-by-step solved exercise: Rings and domains

In Z/8Z, how many elements are invertible?

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

Step-by-step solution

  1. A coset \(\displaystyle a+8\mathbb{Z}\) is invertible if there exists \(\displaystyle b\) with \(\displaystyle ab\equiv1\pmod8\).

    \[\displaystyle ab\equiv1\pmod8\]
  2. That happens exactly when \(\displaystyle \gcd(a,8)=1\).

    \[\displaystyle a+8\mathbb{Z}\in(\mathbb{Z}/8\mathbb{Z})^\times\iff\gcd(a,8)=1\]
  3. Between \(\displaystyle 0\) and \(\displaystyle 7\), the numbers coprime to \(\displaystyle 8\) are \(\displaystyle 1\), \(\displaystyle 3\), \(\displaystyle 5\), and \(\displaystyle 7\).

    \[\displaystyle \{a\in\{0,\dots,7\}:\gcd(a,8)=1\}=\{1,3,5,7\}\]
  4. Therefore, there are four invertible elements.

    \[\displaystyle \varphi(8)=4\]

Answer

4

🎯 Build my path to this exercise