Tuesday, July 2, 2019

Irreducibility of cyclotomic polynomials

For every integer n1n\geq 1, the nnth cyclotomic polynomial Φn\Phi_n is the monic polynomial whose complex roots are the primitive nnth roots of unity. A priori, this is a polynomial with complex coefficients, but since every nnth root of unity is a primitive ddth root of unity, for a unique divisor dd of nn, one has the relation
Tn1=dnΦd(T), T^n-1 = \prod_{d\mid n} \Phi_d(T),
which implies, by induction and euclidean divisions, that ΦnZ[T]\Phi_n \in \mathbf Z[T] for every nn.
The degree of the polynomial Φn\Phi_n is ϕ(n)\phi(n), the Euler indicator, number of units in Z/nZ\mathbf Z/n\mathbf Z, or number of integers in {0,1,,n1}\{0,1,\dots,n-1\} which are prime to nn.

The goal of this note is to explain a few proofs that these polynomials are irreducible in Q[T]\mathbf Q[T] — or equivalently, in view of Gauss's lemma, in Z[T]\mathbf Z[T]. This also amounts to saying that deg(Φn)=ϕ(n)\deg(\Phi_n)=\phi(n) or that the cyclotomic extension has degree ϕ(n)\phi(n), or that the canonical group homomorphism from the Galois group of Q(ζn)\mathbf Q(\zeta_n) to (Z/nZ)×(\mathbf Z/n\mathbf Z)^\times is an isomorphism.

1. The case where n=pn=p is a prime number.

One has Tp1=(T1)(Tp+1++1)T^p-1=(T-1)(T^{p+1}+\dots+1), hence Φp=Tp1++1\Phi_p=T^{p-1}+\dots+1. If one reduces it modulo pp, one finds Φp(T)(T1)p1\Phi_p(T)\equiv (T-1)^{p-1}, because (T1)Φp(T)=Tp1(T1)p(T-1)\Phi_p(T)=T^p-1\equiv (T-1)^p. Moreover, Φp(1)=p\Phi_p(1)=p is not a multiple of p2p^2. By the Eisenstein criterion (after a change of variables T=1+UT=1+U, if one prefers), the polynomial Φp\Phi_p is irreducible.

This argument also works when n=pen=p^e is a power of a prime number. Indeed, since a complex number α\alpha is a primitive pep^eth root of unity if and only if αpe1\alpha^{p^{e-1}} is a primitive ppth root of unity, one has Φpe=Φp(Tpe1)\Phi_{p^e}= \Phi_p(T^{p^{e-1}}). Then the Eisenstein criterion gives the result.

Comment.From the point of view of algebraic number theory, this proof makes use of the fact that the cyclotomic extension Q(ζp)\mathbf Q(\zeta_p) is totally ramified at pp, of ramification index p1p-1.
Consequently, it must have degree p1p-1. More generally, it will prove that Φp\Phi_p is irreducible over the field Qp\mathbf Q_p of pp-adic numbers, or even over any unramified extension of it, or even over any algebraic extension of Qp\mathbf Q_p for which the ramification index is prime to p1p-1.


2. The classical proof

Let us explain a proof that works for all integer nn. Let α\alpha be a primitive nnth root of unity, and let PZ[T]P\in\mathbf Z[T] be its minimal polynomial — one has PΦnP\mid \Phi_n in Z[T]\mathbf Z[T]. Let (A priori, the divisibility is in Q[T]\mathbf Q[T], but Gauss's lemma implies that it holds in Z[T]\mathbf Z[T] as well.) Fix a polynomial QZ[T]Q\in\mathbf Z[T] such that Φn=PQ\Phi_n=PQ.

By euclidean division, one sees that the set Z[α]\mathbf Z[\alpha] of complex numbers of the form S(α)S(\alpha), for SZ[T]S\in\mathbf Z[T], is a free abelian group of rank deg(P)\deg(P), with basis 1,α,,αdeg(P)11,\alpha,\dots,\alpha^{\deg(P)-1}.

Let pp be a prime number which does not divide nn. By Fermat's little theorem, one has P(T)pP(Tp)(modp)P(T)^p \equiv P(T^p) \pmod p, so that there exists P1Z[T]P_1\in\mathbf Z[T] such that P(X)pP(Xp)=pP1(T)P(X)^p-P(X^p)=pP_1(T). This implies that P(αp)=pP1(α)pZ[α]P(\alpha^p)=p P_1(\alpha)\in p\mathbf Z[\alpha].

Since pp is prime to nn, αp\alpha^p is a primitive nnth root of unity, hence Φn(αp)=0\Phi_n(\alpha^p)=0. Assume that P(αp)0P(\alpha^p)\neq 0. Then one has Q(αp)=0Q(\alpha^p)=0. Differentiating the equality Φn=PQ\Phi_n=PQ, one gets nTn=TΦn(T)=TPQ+TPQnT^{n}=T\Phi'_n(T)=TP'Q+TPQ'; let us evaluate this at αp\alpha_p, we obtain n=αpP(αp)Q(αp)=pαpP1(αp)Q(αp)n=\alpha^p P(\alpha_p) Q'(\alpha^p)=p \alpha^p P^1(\alpha^p)Q'(\alpha^p). In other words, npZ[α]n\in p\mathbf Z[\alpha], which is absurd because nn does not divide pp. Consequently, P(αp)=0P(\alpha^p)=0, and PP is also the minimal polynomial of αp\alpha^p.

By induction, one has P(αm)=0P(\alpha^m)=0 for every integer mm which is prime to nn. All primitive nnth roots of unity are roots of PP and deg(P)=ϕ(n)=deg(Φn)\deg(P)=\phi(n)=\deg(\Phi_n). This shows that P=ΦnP=\Phi_n.

Comment.Since this proof considers prime numbers pp which do not divide nn, it makes implicit use of the fact that the cyclotomic extension is unramified away from primes dividing nn. The differentiation that appears in the proof is a way of proving this non-ramification: if P(αp)P(\alpha^p) is zero modulo pp, it must be zero.

3. Landau's proof

A 1929 paper by Landau gives a variant of this classical proof which I just learnt from Milne's notes on Galois theory and which I find significantly easier.

We start as previously, α\alpha being a primitive nnth root of unity and PZ[T]P\in\mathbf Z[T] being its minimal polynomial.

Let us consider, when kk varies, the elements P(αk)P(\alpha^k) of Z[α]\mathbf Z[\alpha]. There are finitely many of them, since this sequence is nn-periodic, so that they can be written as finitely polynomials of degree <deg(P)<\deg(P) in α\alpha. Let AA be an upper-bound for their coefficients. If pp is a prime number, we have P(αp)pZ[α]P(\alpha^p) \in p\mathbf Z[\alpha] (by an already given argument). This implies P(αp)=0P(\alpha^p)=0 if p>Ap>A.

By induction, one has P(αm)=0P(\alpha^m)=0 for any integer mm whose prime factors are all >A>A.

One the other hand, if mm is an integer prime to nn and PP is the product of all prime number pp such that pAp\leq A and pp does not divide mm, then m=m+nPm'=m+nP is another integer all of which prime factors are >A>A. (Indeed, if pAp\leq A, then either pmp\mid m in which case pnPp\nmid nP so that then pmp\nmid m', or pmp\nmid m in which case pnPp\mid nP so that pmp\nmid m'.) Since mm(modn)m'\equiv m \pmod n, one has P(αm)=P(αm)=0P(\alpha^{m})=P(\alpha^{m'})=0.

This shows that all primitive nnth roots of unity are roots of PP, hence P=ΦnP=\Phi_n.

Comment. —This proof is quite of a mysterious nature to me.

4. Can one use Galois theory to pass from local information to global information?


The cyclotomic extension KnK_n contains, as subextension, the cyclotomic extensions KpeK_{p^e}, where n=piein=\prod p_i^{e_i} is the decomposition of nn has a product of powers of prime numbers. By the first case, KpeK_{p^e} has degree ϕ(pe)=pe1(p1)\phi(p^e)=p^{e-1}(p-1) over Q\mathbf Q. To prove that Φn\Phi_n is irreducible, it would be sufficient to prove that these extensions are linearly disjoint.

This is what I had claimed in a first version of this blog post. Unfortunately, as Olivier Fouquet made me observe (September 26, 2020), this cannot be true without any additional argument that uses the fact that the ground field is the field of rational numbers.

Assume, for example, that the ground field K=Q(3)K=\mathbf Q(\sqrt 3). Over this field, the polynomials  Φ4=T2+1\Phi_4=T^2+1 and Φ3=T2+T+1\Phi_3=T^2+T+1 are both irreducible (because they have degree 2 and no root). However Φ12=T4T2+1=(T2+1)23T2=(T23T+1)(T2+3T+1)\Phi_{12}=T^4-T^2+1=(T^2+1)^2-3T^2=(T^2-\sqrt 3T+1)(T^2+\sqrt 3T+1) is not irreducible.

 
(For consistency, I leave below the lemma that I had used. I have not yet thought about where the mistake lies, nor to how I could correct the statement.)

Unlemma. — Let mm and nn be integers and let dd be their gcd. Then KmKn=KdK_m\cap K_n=K_d.

This is an application of Galois theory (and the result holds for every ground field as soon as its characteristic does not divide mm and nn). Let MM be the least common multiple of mm and nn. One has KN=KmKnK_N=K_m\cdot K_n, and the cyclotomic character furnishes a group morphism Gal(KN/Q)(Z/NZ)×\operatorname{Gal}(K_N/\mathbf Q)\to (\mathbf Z/N\mathbf Z)^\times. The Galois groups Gal(KN/Km)\operatorname{Gal}(K_N/K_m) and Gal(KN/Kn)\operatorname{Gal}(K_N/K_n) corresponding to the subfields KmK_m and KnK_n are the kernels of the composition of the cyclotomic character with the projections to (Z/mZ)×(\mathbf Z/m\mathbf Z)^\times and (Z/nZ)×(\mathbf Z/n\mathbf Z)^\times, and their intersection to the subgroup generated by these two kernels, which is none but the kernel of the composition of the cyclotomic character with the projection to (Z/dZ)×(\mathbf Z/d\mathbf Z)^\times.