Unit of a ring · Exercise-UNIT-OF-A-RING-001

Step-by-step solved exercise: Rings and domains

How many units does the ring \(\displaystyle \mathbb{Z}_{12}\) have?

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

Step-by-step solution

  1. An element \(\displaystyle a\) is a unit if and only if the congruence \(\displaystyle ax\equiv1\pmod{n}\) has a solution.

    \[\displaystyle \exists\, x:\ ax\equiv 1 \pmod{n}\]
  2. That congruence is solvable exactly when the greatest common divisor of \(\displaystyle a\) and \(\displaystyle n\) is \(\displaystyle 1\).

    \[\displaystyle \mathrm{mcd}(a,12)=1\]
  3. Discard the elements sharing a factor with \(\displaystyle 12\): the even ones and the multiples of \(\displaystyle 3\).

    \[\displaystyle \{0,2,3,4,6,8,9,10\}\]
  4. The remaining \(\displaystyle 1,5,7,11\) are four units.

    \[\displaystyle |\mathbb{Z}_{12}^{\times}|=4\]

Answer

4

🎯 Build my path to this exercise