Homepage Solution manuals Ivan Niven An Introduction to the Theory of Numbers Exercise 4.3.29* (The sum $S$ of all the primitive roots modulo $p$ satisfies $S \equiv \mu(p-1) \pmod p$)

Exercise 4.3.29* (The sum $S$ of all the primitive roots modulo $p$ satisfies $S \equiv \mu(p-1) \pmod p$)

Answers

Proof.

(a)
As usual, we write 𝔽 p the field pℤ with p elements, and if a , we write [ a ] p (or a ¯ if p is fixed) the class of a in pℤ . If P is a (formal) polynomial, we write indifferently P or P ( x ) this polynomial.

Let Ψ n ( x ) 𝔽 p [ x ] denote the monic polynomial with coefficients in 𝔽 p whose roots are the elements of 𝔽 p of order n :

Ψ n ( x ) = a 𝔽 p , ord ( a ) = n ( x a ) .

By Fermat’s Theorem, a p 1 = 1 ¯ for all a 𝔽 p , therefore the order of any element of 𝔽 p divides p 1 , so the product in the right member is empty if n p 1 and then Ψ n ( x ) = 1 ¯ .

(For instance, if p = 13 , then the elements of order 12 in 𝔽 13 are ± 2 ¯ , ± 6 ¯ , so Ψ 12 ( x ) = ( x + 2 ¯ ) ( x 2 ¯ ) ( x + 6 ¯ ) ( x 6 ¯ ) = ( x 2 4 ¯ ) ( x 2 + 3 ¯ ) = x 4 x + 1 ¯ , and Φ 12 ( x ) = x 4 x + 1 ; chance and coincidences ...)

First, with the same proof as in Problem 26, we show by “copy and paste” that

d p 1 Ψ d ( x ) = x p 1 1 ¯ .

By definition, for every divisor d of n ,

Ψ d ( x ) = a A d ( x a ) ,

where A d is the subset of 𝔽 p of the elements of order d in the group ( 𝔽 p , × ) :

A d = { a 𝔽 p ord ( a ) = d } .

Since the order of every element of 𝔽 p divides p 1 ,

𝔽 p = d p 1 A d (disjoint union) .

Therefore

x p 1 1 ¯ = a 𝔽 p ( x a ) = d p 1 a A d ( x a ) = d n Ψ d ( x ) .

This shows that

x p 1 1 ¯ = d n Ψ d ( x ) . (1)

Next, consider the map

φ { [ x ] 𝔽 p [ x ] p ( x ) = i = 0 n a i x i p ¯ ( x ) = i = 0 n a i ¯ x i ,

where each coefficient of p is replaced in p ¯ by its class modulo p .

Then φ is a ring homomorphism (i.e. for all polynomials p , q in [ x ] , φ ( p + q ) = φ ( p ) + φ ( q ) , φ ( pq ) = φ ( p ) φ ( q ) and φ ( 1 ) = 1 ¯ ).

We prove by strong induction that φ ( Φ d ) = Ψ d for every divisor d of p 1 .

First, 1 ¯ is the only element with order 1 , so Ψ 1 ( x ) = x 1 ¯ = φ ( x 1 ) = φ ( Φ 1 ( x ) ) .

Suppose now that n is a divisor of p 1 , and that φ ( Φ d ) = Ψ d is true for every divisor of n less that n . Then by (1) and the induction hypothesis,

φ ( x p 1 1 ) = x p 1 1 ¯ = Ψ n ( x ) d n , d < n Ψ d ( x ) = Ψ n ( x ) d n , d < n φ ( Φ d ( x ) ) ,

so

φ ( x p 1 1 ) = Ψ n ( x ) d n , d < n φ ( Φ d ( x ) ) . (2)

Moreover, by Problem 26, x n 1 = d n Φ d ( x ) , and φ is a ring homomorphism, so

φ ( x p 1 1 ) = φ ( Φ n ( x ) ) d n , d < n φ ( Φ d ( x ) ) . (3)

Since x p 1 1 ¯ 0 , we have d n , d < n φ ( Φ d ( x ) ) 0 . Since 𝔽 p is a field, 𝔽 p [ x ] is an integral domain, so the comparison of (2) and (3) gives φ ( Φ n ( x ) ) = Ψ n ( x ) , and the induction is done.

In conclusion, for all divisors d of p 1 ,

φ ( Φ d ( x ) ) = Ψ d ( x ) . (4)

In the particular case d = p 1 , as in the preceding example, φ ( Φ p 1 ( x ) ) = Ψ p 1 ( x ) . The roots of Ψ p 1 ( x ) are the elements of 𝔽 p of order p 1 , so they are the primitive roots of unity in 𝔽 p .

An integer g is a solution of the congruence Φ p 1 ( x ) 0 ( mod p ) if and only if 0 = Φ p 1 ¯ ( g ¯ ) = φ ( Φ p 1 ) ( g ¯ ) = Ψ p 1 ( g ¯ ) . Since the roots of Ψ p 1 ( x ) are the primitive roots in 𝔽 p , we can conclude:

An integer g is a solution of the congruence Φ p 1 ( x ) 0 ( mod p ) if and only if g is a primitive root modulo p .

(b)
Since the primitive roots in 𝔽 p (the elements of order p 1 in 𝔽 p ) are the roots of Ψ p 1 = φ ( Φ p 1 ) , the sum of these primitive roots is the opposite of the coefficent of x p 2 in Ψ p 1 ( x ) .

By Problem 26, we know that the coefficient σ 1 of x p 2 is μ ( p 1 ) , so

Φ p 1 ( x ) = x p 1 μ ( p 1 ) x p 2 + r ( x ) , deg ( r ) < p 2 .

So

Ψ p 1 ( x ) = x p 1 μ ( p 1 ) ¯ x p 2 + r ¯ ( x ) , deg ( r ¯ ) < p 2 .

Therefore

γ 𝔽 p , ord ( γ ) = p 1 γ = μ ( p 1 ) ¯ .

If g 1 , g 2 , , g φ ( p 1 ) are the primitive roots modulo p in [ [ 1 , p 1 [ [ , then g 1 ¯ , g 2 ¯ , , g φ ( p 1 ) ¯ are the elements of order p 1 in 𝔽 p , thus g 1 ¯ + g 2 ¯ + + g φ ( p 1 ) ¯ = μ ( p 1 ) ¯ , so

g 1 + g 2 + + g φ ( p 1 ) μ ( p 1 ) ( mod p ) .

The sum S of all the primitive roots modulo p satisfies S μ ( p 1 ) ( mod p ) .

Example: for p = 31 , the 8 = ϕ ( 30 ) primitive roots modulo 31 are 3 , 11 , 12 , 13 , 17 , 21 , 22 , 24 , and

3 + 11 + 12 + 13 + 17 + 21 + 22 + 24 = 123 = 4 31 1 1 = μ ( 30 ) ( mod 31 ) .

User profile picture
2025-02-02 11:18
Comments