1.3.3. Primitive roots for primes
This section is based on part of [BUR11, Sec. 8.2]. Its aim is to prove that all primes admit a primitive root (Theorem 1.3.3.7).
Lemma 1.3.3.1.
Let
be a polynomial of degree with integer coefficients. Then, for ,
where is a polynomial of degree with integer coefficients and leading coefficient .
Proof.
Indeed,
Finally, for we have the standard identity
Therefore,
for some polynomial of degree with integer coefficients and leading coefficient . This finishes the proof. ∎
Theorem 1.3.2.5 relates to the existence of solutions to the congruence
where is an odd prime. In order to prove that every odd prime admits a primitive root, we make use of the following statement concerning the number of (integer) solutions to a polynomial congruence.
Theorem 1.3.3.2 (Lagrange).
Let be a prime and
be a polynomial with integer coefficients and degree . Suppose that , that is, the leading coefficient of is not divisible by . Then the congruence
admits at most pairwise non-congruent solutions modulo .
Proof.
The claim is trivial if : in this case, is constant and the congruence is false by assumption. Therefore, we may assume that .
We prove the claim by induction on the degree of . For , Proposition 1.2.1.6(4) implies that the solutions of the congruence equal the solutions of the congruence . Since , Corollary 1.2.2.6 implies that the latter congruence has a unique solution modulo .
Let and suppose that the claim holds for all polynomials of degree whose leading coefficient is not divisible by . Consider a polynomial
such that . The claim holds trivially if the congruence
admits no solutions. Suppose then that there exists such that
By Lemma 1.3.3.1,
for some polynomial of degree with integer coefficients and leading coefficient . Consequently,
Suppose that is a solution of the congruence such that . Then
Proposition 1.2.1.6(2) and Proposition 1.2.1.6(3) imply that
Equivalently, . Since is prime and by assumption, Euclid’s Lemma (Theorem 1.1.4.2) implies that . Thus,
and is a solution of the congruence . Since the leading coefficient of is and , the induction hypothesis implies that the congruence admits at most solutions that are pairwise non-congruent modulo . This shows that the congruence admits at most pairwise non-congruent solutions modulo . ∎
Warning 1.3.3.3.
Lagrange’s Theorem (Theorem 1.3.3.2) is false for composite moduli. Let be composite and write with . The linear congruence admits the solutions and , and .
Remark 1.3.3.4.
Not covered in the lectureLagrange’s Theorem (Theorem 1.3.3.2) has the following familiar analogue, studied in the Analysis and Linear Algebra lectures: let be a polynomial function of degree . Then has at most distinct roots; that is, the equation has at most distinct solutions.
Corollary 1.3.3.5.
Let be a prime and an integer such that . Then the congruence
has exactly pairwise non-congruent solutions modulo .
Proof.
By Lagrange’s Theorem (Theorem 1.3.3.2), the congruence
has at most pairwise non-congruent solutions modulo . Therefore, it is enough to prove that the congruence has at least pairwise non-congruent solutions modulo . Since by assumption, there exists such that ; since and , we have . Then
Set
By Lagrange’s Theorem (Theorem 1.3.3.2), the congruence has at most
pairwise non-congruent solutions modulo . On the other hand, Fermat’s Little Theorem (Corollary 1.2.3.2) implies that the congruence has the solutions that are clearly pairwise non-congruent modulo .
Let be a solution to the congruence . Since
and by assumption, Euclid’s Lemma (Theorem 1.1.4.2) implies that or (possibly both). Thus, every solution to the congruence that is not a solution of is a solution to .
This shows that the congruence must have at least
pairwise non-congruent solutions modulo , namely those solutions to the congruence that are not one of the at most solutions of the congruence . ∎
We are ready to prove that all odd primes admit a primitive root. In fact, we have the following more general statement.
Theorem 1.3.3.6.
Let be a prime and an integer such that . Then there are exactly pairwise non-congruent integers with order modulo .
Proof.
Finally, set
By the preceding claim, applied to in place of , if . The Möbius Inversion Formula (Theorem 1.1.6.7) applied to then yields
The second equality uses that divides (since divides ), and the last equality is Theorem 1.2.5.12. This finishes the proof. ∎
Theorem 1.3.3.7.
Let be a prime. Then, considered modulo , there are exactly pairwise non-congruent primitive roots of .
Proof.
This is the case of Theorem 1.3.3.6. ∎
Warning 1.3.3.8.
Not covered in the lectureIn the proof of Theorem 1.3.3.6, notice that . Indeed, never takes the value , while if . For example,
The proof only shows that if .
End of Lecture 11