Math 2.0

Number theory Proof

Proof that the group of units of Z/pZ is cyclic by counting elements of each order

Builds on Z/pZ is a field for p primeGroup of units of Z/nZUnit of a ringOrder of an elementOrder of an element divides the order of the groupOrder of a cyclic subgroup equals the order of its generatorA polynomial over a field has at most as many roots as its degreeDegree of a polynomialOrder of a powerEuler's totient functionSum of the totient over the divisorsCyclic group

Proof

We count the elements of each order and compare with the totient function.

  1. Let pp be a prime and let G=(ℤ/pℤ)×G = (\Z/p\Z)^\times be the group of units of ℤ/pℤ\Z/p\Z. Write 11 for its identity [1][1].
  2. The ring ℤ/pℤ\Z/p\Z is a field, so each nonzero class is a unit.
  3. The class [0][0] is not a unit, because [0][x]=[0]≠[1][0][x] = [0] \neq [1] for each xx, as p≥2p \geq 2. So GG is the set of the p−1p - 1 nonzero classes, and ∣G∣=p−1\abs{G} = p - 1.
  4. For each positive divisor dd of p−1p - 1, let N(d)N(d) be the number of elements of GG of order dd.
  5. Each element of the finite group GG has an order, and this order divides ∣G∣=p−1\abs{G} = p - 1. So ∑d∣p−1N(d)=p−1\sum_{d \mid p - 1} N(d) = p - 1.
  6. Fix a positive divisor dd of p−1p - 1. We show that N(d)≤φ(d)N(d) \leq \varphi(d), where φ\varphi is Euler's totient function. If N(d)=0N(d) = 0, this holds, since φ(d)≥0\varphi(d) \geq 0.
  7. Otherwise, let a∈Ga \in G have order dd. The powers a0,a1,…,ad−1a^0, a^1, \ldots, a^{d-1} are dd distinct elements of GG.
  8. Each power satisfies (ak)d=(ad)k=1(a^k)^d = (a^d)^k = 1. So each of them is a root of the polynomial Td−1T^d - 1 in ℤ/pℤ\Z/p\Z.
  9. The polynomial Td−1T^d - 1 is nonzero of degree dd. Since ℤ/pℤ\Z/p\Z is a field, it has at most dd roots in ℤ/pℤ\Z/p\Z.
  10. By steps 7 to 9, the roots of Td−1T^d - 1 in ℤ/pℤ\Z/p\Z are exactly a0,…,ad−1a^0, \ldots, a^{d-1}.
  11. Let b∈Gb \in G have order dd. Then bd=1b^d = 1, so bb is a root of Td−1T^d - 1. By step 10, b=akb = a^k for some kk with 0≤k≤d−10 \leq k \leq d - 1.
  12. By the order of a power, aka^k has order d/gcd⁡(d,k)d / \gcd(d, k). This equals dd if and only if gcd⁡(d,k)=1\gcd(d, k) = 1.
  13. The powers in step 7 are distinct, so N(d)N(d) is the number of kk with 0≤k≤d−10 \leq k \leq d - 1 and gcd⁡(d,k)=1\gcd(d, k) = 1.
  14. Since gcd⁡(d,0)=d=gcd⁡(d,d)\gcd(d, 0) = d = \gcd(d, d), we may replace k=0k = 0 by k=dk = d. So N(d)N(d) is the number of kk with 1≤k≤d1 \leq k \leq d and gcd⁡(d,k)=1\gcd(d, k) = 1, which is φ(d)\varphi(d).
  15. Thus N(d)≤φ(d)N(d) \leq \varphi(d) for every positive divisor dd of p−1p - 1.
  16. By step 5, step 15 and the sum of the totient over the divisors, p−1=∑d∣p−1N(d)≤∑d∣p−1φ(d)=p−1p - 1 = \sum_{d \mid p - 1} N(d) \leq \sum_{d \mid p - 1} \varphi(d) = p - 1.
  17. So the inequality in step 16 is an equality. Each term satisfies N(d)≤φ(d)N(d) \leq \varphi(d), so N(d)=φ(d)N(d) = \varphi(d) for each divisor dd of p−1p - 1.
  18. In particular, N(p−1)=φ(p−1)N(p - 1) = \varphi(p - 1). This is at least 11, because k=1k = 1 satisfies 1≤1≤p−11 \leq 1 \leq p - 1 and gcd⁡(p−1,1)=1\gcd(p - 1, 1) = 1.
  19. So there is an element g∈Gg \in G of order p−1p - 1. The subgroup ⟨g⟩\langle g \rangle has p−1p - 1 distinct elements.
  20. Since ⟨g⟩⊆G\langle g \rangle \subseteq G and both sets have p−1p - 1 elements, ⟨g⟩=G\langle g \rangle = G.
  21. Hence G=(ℤ/pℤ)×G = (\Z/p\Z)^\times is cyclic of order p−1p - 1.

Idea

In a field, the equation xd=1x^d = 1 has at most dd solutions. So if one element of order dd exists, all elements of order dd lie among its powers, and there are exactly φ(d)\varphi(d) of them. Thus there are at most φ(d)\varphi(d) elements of order dd. Since the totients of the divisors of p−1p - 1 add up to p−1p - 1, no order can be missing, not even p−1p - 1.

Reading path

To understand this page from the ground up, read these 158 pages in order. The foundations come first. The path takes the proofs Proof of Bézout's identity, Proof of cancellation in an integral domain, Proof of the sum of the totient over the divisors, Proof of the generalized Euclid's lemma, Proof of the commutativity of addition by induction, Proof that Z/nZ is a field if and only if n is prime, Proof that equivalence classes form a partition, Proof that g to the n equals 1 iff the order divides n, Proof that a composition of injections is injective, Proof that R[x] is an integral domain iff R is, Proof that a function is bijective iff it has a two-sided inverse, Proof that a finite integral domain is a field, Proof that the order of an element divides the order of the group, Proof of the degree of a product over an integral domain, Proof of strong induction from ordinary induction, Proof of the laws of exponents in a group, Proof of the complement principle, Proof of the pigeonhole principle, Proof that a composition of surjections is surjective, Proof that congruence is compatible with addition, Proof that a polynomial over a field has at most as many roots as its degree, Proof of the remainder theorem, Proof that congruence is compatible with multiplication, Proof of the formula for the order of a power, Proof that the order of a cyclic subgroup equals the order of its generator, Proof of the rule of sum, Proof of the well-ordering principle from strong induction, Proof of the division algorithm, Proof of the uniqueness of inverses, Proof of the bijection principle, Proof of Lagrange's theorem, Proof of the factor theorem, Proof that cosets have the same cardinality as the subgroup.

  1. Binary operation definition
  2. Cardinality of a finite set definition
  3. Cyclic group concept
  4. Definition by recursion concept
  5. Divisibility definition
  6. Element definition
  7. Group concept
  8. Group of units of Z/nZ object
  9. Left coset concept
  10. Mathematical induction concept
  11. Natural numbers object
  12. Order of an element concept
  13. Peano axioms concept
  14. Proposition concept
  15. Identity element definition
  16. Congruence modulo n definition
  17. Greatest common divisor definition
  18. Prime number definition
  19. Set definition
  20. Order of a group definition
  21. Ring definition
  22. Subgroup definition
  23. Successor function definition
  24. Conjunction definition
  25. Disjunction definition
  26. Implication definition
  27. Predicate definition
  28. Inverse element definition
  29. Residue class definition
  30. Coprime integers definition
  31. Proof that congruence is compatible with addition proof
  32. Proof that congruence is compatible with multiplication proof
  33. Composite number definition
  34. Empty set object
  35. Family of sets definition
  36. Ordered pair definition
  37. Commutative ring definition
  38. Intersection definition
  39. Polynomial ring definition
  40. Ring homomorphism definition
  41. Unit of a ring definition
  42. Zero divisor definition
  43. Union definition
  44. Addition of natural numbers definition
  45. Left coset definition
  46. Right coset definition
  47. Set-builder notation concept
  48. Biconditional definition
  49. The successor function is injective statement
  50. Zero is not a successor statement
  51. Existential quantifier definition
  52. Universal quantifier definition
  53. Congruence is compatible with addition statement
  54. Euler's totient function definition
  55. Congruence is compatible with multiplication statement
  56. Proof of the uniqueness of inverses proof
  57. Cartesian product definition
  58. Disjoint sets definition
  59. Divisibility in a commutative ring definition
  60. Degree of a polynomial definition
  61. Field definition
  62. Polynomial evaluation definition
  63. Proof of the commutativity of addition by induction proof
  64. Subset definition
  65. Integral domain definition
  66. Order on the natural numbers definition
  67. Axiom of extensionality statement
  68. Union of a family of sets definition
  69. Uniqueness quantifier definition
  70. Integers modulo n definition
  71. Uniqueness of inverses statement
  72. Leading coefficient definition
  73. Binary relation definition
  74. Proof of cancellation in an integral domain proof
  75. Root of a polynomial definition
  76. Partition of a set definition
  77. Evaluation homomorphism definition
  78. Commutativity of addition statement
  79. Proof of strong induction from ordinary induction proof
  80. Monic polynomial definition
  81. Reflexive relation definition
  82. Symmetric relation definition
  83. Transitive relation definition
  84. Proof of the laws of exponents in a group proof
  85. Multiplicity of a root definition
  86. Cancellation in an integral domain statement
  87. Proof of the degree of a product over an integral domain proof
  88. Proof of the remainder theorem proof
  89. Function definition
  90. Strong induction statement
  91. Equivalence relation definition
  92. Laws of exponents in a group statement
  93. Division algorithm for polynomials statement
  94. Degree of a product statement
  95. Codomain definition
  96. Function composition definition
  97. Identity function definition
  98. Injective function definition
  99. Image of a set definition
  100. Proof of the well-ordering principle from strong induction proof
  101. Order of an element definition
  102. Cyclic subgroup generated by an element definition
  103. Left inverse definition
  104. Right inverse definition
  105. Proof that a composition of injections is injective proof
  106. Remainder theorem statement
  107. Surjective function definition
  108. Proof that R[x] is an integral domain iff R is proof
  109. Equivalence class definition
  110. Well-ordering principle statement
  111. Composition of injections is injective statement
  112. Proof that a composition of surjections is surjective proof
  113. Proof of the factor theorem proof
  114. Bijective function definition
  115. Proof that equivalence classes form a partition proof
  116. R[x] is an integral domain iff R is statement
  117. Proof of the division algorithm proof
  118. Equinumerous sets definition
  119. Proof of the rule of sum proof
  120. Composition of surjections is surjective statement
  121. Factor theorem statement
  122. Division algorithm statement
  123. Equivalence classes form a partition statement
  124. Proof that a function is bijective iff it has a two-sided inverse proof
  125. Cardinality definition
  126. Rule of sum statement
  127. Proof that g to the n equals 1 iff the order divides n proof
  128. Bijective iff it has a two-sided inverse statement
  129. Proof of Bézout's identity proof
  130. Proof that a polynomial over a field has at most as many roots as its degree proof
  131. g to the n equals 1 iff the order divides n statement
  132. Proof of the bijection principle proof
  133. Proof of the complement principle proof
  134. Bézout's identity statement
  135. A polynomial over a field has at most as many roots as its degree statement
  136. Proof that cosets have the same cardinality as the subgroup proof
  137. Bijection principle statement
  138. Complement principle statement
  139. Proof of the sum of the totient over the divisors proof
  140. Proof that the order of a cyclic subgroup equals the order of its generator proof
  141. Proof of the generalized Euclid's lemma proof
  142. Proof that Z/nZ is a field if and only if n is prime proof
  143. Cosets have the same cardinality as the subgroup statement
  144. Order of a cyclic subgroup equals the order of its generator statement
  145. Sum of the totient over the divisors statement
  146. Generalized Euclid's lemma statement
  147. Proof of the pigeonhole principle proof
  148. Proof of Lagrange's theorem proof
  149. Pigeonhole principle statement
  150. Proof of the formula for the order of a power proof
  151. Lagrange's theorem statement
  152. Order of a power statement
  153. Proof that the order of an element divides the order of the group proof
  154. Proof that a finite integral domain is a field proof
  155. Order of an element divides the order of the group statement
  156. A finite integral domain is a field statement
  157. Z/pZ is a field for p prime statement
  158. Proof that the group of units of Z/pZ is cyclic by counting elements of each order proof

Where this leads

1 page builds on this one.

Further reading

  1. Web https://kconrad.math.uconn.edu/blurbs/grouptheory/cyclicmodp.pdf, Section 2, Theorem 2.6
About this page
TagG9RVEPQJHM
URIm2://G9RVEPQJHM
Kindproof
WritingW0 stub
MSC11A07, 20K01
ProvesThe group of units of Z/pZ is cyclic
UsesZ/pZ is a field for p prime, Group of units of Z/nZ, Unit of a ring, Order of an element, Order of an element divides the order of the group, Order of a cyclic subgroup equals the order of its generator, A polynomial over a field has at most as many roots as its degree, Degree of a polynomial, Order of a power, Euler's totient function, Sum of the totient over the divisors, Cyclic group
Changed4 November 2026

Markdown · JSON · Edit on GitHub

What this page needs for W1

  • an inventory row: the row of the inventory that the node accounts for (0 of 1)

The writing levels say how complete the text of a page is. They do not measure its truth.

What links here

No page links to this page yet.