Cyclotomic polynomial

From testwiki
Jump to navigation Jump to search

Template:Short description In mathematics, the nth cyclotomic polynomial, for any positive integer n, is the unique irreducible polynomial with integer coefficients that is a divisor of xn1 and is not a divisor of xk1 for any Template:Nowrap Its roots are all nth primitive roots of unity e2iπkn, where k runs over the positive integers less than n and coprime to n (and i is the imaginary unit). In other words, the nth cyclotomic polynomial is equal to

Φn(x)=gcd(k,n)=11kn(xe2iπkn).

It may also be defined as the monic polynomial with integer coefficients that is the minimal polynomial over the field of the rational numbers of any primitive nth-root of unity (e2iπ/n is an example of such a root).

An important relation linking cyclotomic polynomials and primitive roots of unity is

dnΦd(x)=xn1,

showing that x is a root of xn1 if and only if it is a dTemplate:Spaceth primitive root of unity for some d that divides n.[1]

Examples

If n is a prime number, then

Φn(x)=1+x+x2++xn1=k=0n1xk.

If n = 2p where p is a prime number other than 2, then

Φ2p(x)=1x+x2+xp1=k=0p1(x)k.

For n up to 30, the cyclotomic polynomials are:[2]

Φ1(x)=x1Φ2(x)=x+1Φ3(x)=x2+x+1Φ4(x)=x2+1Φ5(x)=x4+x3+x2+x+1Φ6(x)=x2x+1Φ7(x)=x6+x5+x4+x3+x2+x+1Φ8(x)=x4+1Φ9(x)=x6+x3+1Φ10(x)=x4x3+x2x+1Φ11(x)=x10+x9+x8+x7+x6+x5+x4+x3+x2+x+1Φ12(x)=x4x2+1Φ13(x)=x12+x11+x10+x9+x8+x7+x6+x5+x4+x3+x2+x+1Φ14(x)=x6x5+x4x3+x2x+1Φ15(x)=x8x7+x5x4+x3x+1Φ16(x)=x8+1Φ17(x)=x16+x15+x14+x13+x12+x11+x10+x9+x8+x7+x6+x5+x4+x3+x2+x+1Φ18(x)=x6x3+1Φ19(x)=x18+x17+x16+x15+x14+x13+x12+x11+x10+x9+x8+x7+x6+x5+x4+x3+x2+x+1Φ20(x)=x8x6+x4x2+1Φ21(x)=x12x11+x9x8+x6x4+x3x+1Φ22(x)=x10x9+x8x7+x6x5+x4x3+x2x+1Φ23(x)=x22+x21+x20+x19+x18+x17+x16+x15+x14+x13+x12+x11+x10+x9+x8+x7+x6+x5+x4+x3+x2+x+1Φ24(x)=x8x4+1Φ25(x)=x20+x15+x10+x5+1Φ26(x)=x12x11+x10x9+x8x7+x6x5+x4x3+x2x+1Φ27(x)=x18+x9+1Φ28(x)=x12x10+x8x6+x4x2+1Φ29(x)=x28+x27+x26+x25+x24+x23+x22+x21+x20+x19+x18+x17+x16+x15+x14+x13+x12+x11+x10+x9+x8+x7+x6+x5+x4+x3+x2+x+1Φ30(x)=x8+x7x5x4x3+x+1.

The case of the 105th cyclotomic polynomial is interesting because 105 is the least positive integer that is the product of three distinct odd prime numbers (3×5×7) and this polynomial is the first one that has a coefficient other than 1, 0, or −1:[3]

Φ105(x)=x48+x47+x46x43x422x41x40x39+x36+x35+x34+x33+x32+x31x28x26x24x22x20+x17+x16+x15+x14+x13+x12x9x82x7x6x5+x2+x+1.

Properties

Fundamental tools

The cyclotomic polynomials are monic polynomials with integer coefficients that are irreducible over the field of the rational numbers. Except for n equal to 1 or 2, they are palindromes of even degree.

The degree of Φn, or in other words the number of nth primitive roots of unity, is φ(n), where φ is Euler's totient function.

The fact that Φn is an irreducible polynomial of degree φ(n) in the ring [x] is a nontrivial result due to Gauss.[4] Depending on the chosen definition, it is either the value of the degree or the irreducibility which is a nontrivial result. The case of prime n is easier to prove than the general case, thanks to Eisenstein's criterion.

A fundamental relation involving cyclotomic polynomials is

xn1=1kn(xe2iπkn)=dn1kngcd(k,n)=d(xe2iπkn)=dnΦnd(x)=dnΦd(x).

which means that each n-th root of unity is a primitive d-th root of unity for a unique d dividing n.

The Möbius inversion formula allows Φn(x) to be expressed as an explicit rational fraction:

Φn(x)=dn(xd1)μ(nd),

where μ is the Möbius function.

This provides a recursive formula for the cyclotomic polynomial Φn(x), which may be computed by dividing xn1 by the cyclotomic polynomials Φd(x) for the proper divisors d dividing n, starting from Φ1(x)=x1:

Φn(x)=xn1d<nd|nΦd(x).

This gives an algorithm for computing any Φn(x), provided integer factorization and division of polynomials are available. Many computer algebra systems, such as SageMath, Maple, Mathematica, and PARI/GP, have a built-in function to compute the cyclotomic polynomials.

Easy cases for computation

As noted above, if Template:Math is a prime number, then

Φp(x)=1+x+x2++xp1=k=0p1xk.

If n is an odd integer greater than one, then

Φ2n(x)=Φn(x).

In particular, if Template:Math is twice an odd prime, then (as noted above)

Φ2p(x)=1x+x2+xp1=k=0p1(x)k.

If Template:Math is a prime power (where p is prime), then

Φpm(x)=Φp(xpm1)=k=0p1xkpm1.

More generally, if Template:Math with Template:Math relatively prime to Template:Math, then

Φpmr(x)=Φpr(xpm1).

These formulas may be applied repeatedly to get a simple expression for any cyclotomic polynomial Φn(x) in terms of a cyclotomic polynomial of square free index: If Template:Math is the product of the prime divisors of Template:Math (its radical), then[5]

Φn(x)=Φq(xn/q).

This allows formulas to be given for the Template:Mathth cyclotomic polynomial when Template:Math has at most one odd prime factor: If Template:Math is an odd prime number, and Template:Math and Template:Math are positive integers, then

Φ2m(x)=x2m1+1,
Φpm(x)=j=0p1xjpm1,
Φ2pm(x)=j=0p1(1)jxj21pm1.

For other values of Template:Math, the computation of the Template:Mathth cyclotomic polynomial is similarly reduced to that of Φq(x), where Template:Math is the product of the distinct odd prime divisors of Template:Math. To deal with this case, one has that, for Template:Math prime and not dividing Template:Math,[6]

Φnp(x)=Φn(xp)/Φn(x).

Integers appearing as coefficients

The problem of bounding the magnitude of the coefficients of the cyclotomic polynomials has been the object of a number of research papers.[7]

If n has at most two distinct odd prime factors, then Migotti showed that the coefficients of Φn are all in the set {1, −1, 0}.[8]

The first cyclotomic polynomial for a product of three different odd prime factors is Φ105(x); it has a coefficient −2 (see above). The converse is not true: Φ231(x)=Φ3×7×11(x) only has coefficients in {1, −1, 0}.

If n is a product of more different odd prime factors, the coefficients may increase to very high values. E.g., Φ15015(x)=Φ3×5×7×11×13(x) has coefficients running from −22 to 23; also Φ255255(x)=Φ3×5×7×11×13×17(x), the smallest n with 6 different odd primes, has coefficients of magnitude up to 532.

Let A(n) denote the maximum absolute value of the coefficients of Φn(x). It is known that for any positive k, the number of n up to x with A(n) > nk is at least c(k)⋅x for a positive c(k) depending on k and x sufficiently large. In the opposite direction, for any function ψ(n) tending to infinity with n we have A(n) bounded above by nψ(n) for almost all n.[9]

A combination of theorems of Bateman and Vaughan states thatTemplate:R on the one hand, for every ε>0, we have

A(n)<e(n(log2+ε)/(loglogn))

for all sufficiently large positive integers n, and on the other hand, we have

A(n)>e(n(log2)/(loglogn))

for infinitely many positive integers n. This implies in particular that univariate polynomials (concretely xn1 for infinitely many positive integers n) can have factors (like Φn) whose coefficients are superpolynomially larger than the original coefficients. This is not too far from the general Landau-Mignotte bound.

Gauss's formula

Let n be odd, square-free, and greater than 3. Then:[10][11]

4Φn(z)=An2(z)(1)n12nz2Bn2(z)

for certain polynomials An(z) and Bn(z) with integer coefficients, An(z) of degree φ(n)/2, and Bn(z) of degree φ(n)/2 − 2. Furthermore, An(z) is palindromic when its degree is even; if its degree is odd it is antipalindromic. Similarly, Bn(z) is palindromic unless n is composite and n ≡ 3 (mod 4), in which case it is antipalindromic.

The first few cases are

4Φ5(z)=4(z4+z3+z2+z+1)=(2z2+z+2)25z24Φ7(z)=4(z6+z5+z4+z3+z2+z+1)=(2z3+z2z2)2+7z2(z+1)2[6pt]4Φ11(z)=4(z10+z9+z8+z7+z6+z5+z4+z3+z2+z+1)=(2z5+z42z3+2z2z2)2+11z2(z3+1)2

Lucas's formula

Let n be odd, square-free and greater than 3. ThenTemplate:R

Φn(z)=Un2(z)(1)n12nzVn2(z)

for certain polynomials Un(z) and Vn(z) with integer coefficients, Un(z) of degree φ(n)/2, and Vn(z) of degree φ(n)/2 − 1. This can also be written

Φn((1)n12z)=Cn2(z)nzDn2(z).

If n is even, square-free and greater than 2 (this forces n/2 to be odd),

Φn2(z2)=Φ2n(z)=Cn2(z)nzDn2(z)

for Cn(z) and Dn(z) with integer coefficients, Cn(z) of degree φ(n), and Dn(z) of degree φ(n) − 1. Cn(z) and Dn(z) are both palindromic.

The first few cases are:

Φ3(z)=Φ6(z)=z2z+1=(z+1)23zΦ5(z)=z4+z3+z2+z+1=(z2+3z+1)25z(z+1)2Φ6/2(z2)=Φ12(z)=z4z2+1=(z2+3z+1)26z(z+1)2

Sister Beiter conjecture

The Sister Beiter conjecture is concerned with the maximal size (in absolute value) A(pqr) of coefficients of ternary cyclotomic polynomials Φpqr(x) where pqr are three odd primes.[12]

Cyclotomic polynomials over a finite field and over the Template:Math-adic integers

Template:See also Over a finite field with a prime number Template:Math of elements, for any integer Template:Math that is not a multiple of Template:Math, the cyclotomic polynomial Φn factorizes into φ(n)d irreducible polynomials of degree Template:Math, where φ(n) is Euler's totient function and Template:Math is the multiplicative order of Template:Math modulo Template:Math. In particular, Φn is irreducible if and only if Template:Math is a [[primitive root modulo n|primitive root modulo Template:Mvar]], that is, Template:Math does not divide Template:Math, and its multiplicative order modulo Template:Math is φ(n), the degree of Φn.[13]

These results are also true over the [[p-adic integer|Template:Mvar-adic integers]], since Hensel's lemma allows lifting a factorization over the field with Template:Math elements to a factorization over the Template:Math-adic integers.

Polynomial values

Template:Unreferenced section

If Template:Math takes any real value, then Φn(x)>0 for every Template:Math (this follows from the fact that the roots of a cyclotomic polynomial are all non-real, for Template:Math).

For studying the values that a cyclotomic polynomial may take when Template:Math is given an integer value, it suffices to consider only the case Template:Math, as the cases Template:Math and Template:Math are trivial (one has Φ1(x)=x1 and Φ2(x)=x+1).

For Template:Math, one has

Φn(0)=1,
Φn(1)=1 if Template:Math is not a prime power,
Φn(1)=p if n=pk is a prime power with Template:Math.

The values that a cyclotomic polynomial Φn(x) may take for other integer values of Template:Math is strongly related with the multiplicative order modulo a prime number.

More precisely, given a prime number Template:Math and an integer Template:Math coprime with Template:Math, the multiplicative order of Template:Math modulo Template:Math, is the smallest positive integer Template:Math such that Template:Math is a divisor of bn1. For Template:Math, the multiplicative order of Template:Math modulo Template:Math is also the shortest period of the representation of Template:Math in the numeral base Template:Math (see Unique prime; this explains the notation choice).

The definition of the multiplicative order implies that, if Template:Math is the multiplicative order of Template:Math modulo Template:Math, then Template:Math is a divisor of Φn(b). The converse is not true, but one has the following.

If Template:Math is a positive integer and Template:Math is an integer, then (see below for a proof)

Φn(b)=2kgh,

where

This implies that, if Template:Math is an odd prime divisor of Φn(b), then either Template:Math is a divisor of Template:Math or Template:Math is a divisor of Template:Math. In the latter case, p2 does not divide Φn(b).

Zsigmondy's theorem implies that the only cases where Template:Math and Template:Math are

Φ1(2)=1Φ2(2k1)=2kk>0Φ6(2)=3

It follows from above factorization that the odd prime factors of

Φn(b)gcd(n,Φn(b))

are exactly the odd primes Template:Math such that Template:Math is the multiplicative order of Template:Math modulo Template:Math. This fraction may be even only when Template:Math is odd. In this case, the multiplicative order of Template:Math modulo Template:Math is always Template:Math.

There are many pairs Template:Math with Template:Math such that Φn(b) is prime. In fact, Bunyakovsky conjecture implies that, for every Template:Math, there are infinitely many Template:Math such that Φn(b) is prime. See Template:Oeis for the list of the smallest Template:Math such that Φn(b) is prime (the smallest Template:Math such that Φn(b) is prime is about γφ(n), where γ is Euler–Mascheroni constant, and φ is Euler's totient function). See also Template:Oeis for the list of the smallest primes of the form Φn(b) with Template:Math and Template:Math, and, more generally, Template:Oeis, for the smallest positive integers of this form. Template:Cot

  • Values of Φn(1). If n=pk+1 is a prime power, then
Φn(x)=1+xpk+x2pk++x(p1)pkandΦn(1)=p.
If Template:Math is not a prime power, let P(x)=1+x++xn1, we have P(1)=n, and Template:Math is the product of the Φk(x) for Template:Math dividing Template:Math and different of Template:Math. If Template:Math is a prime divisor of multiplicity Template:Math in Template:Math, then Φp(x),Φp2(x),,Φpm(x) divide Template:Math, and their values at Template:Math are Template:Math factors equal to Template:Math of n=P(1). As Template:Math is the multiplicity of Template:Math in Template:Math, Template:Math cannot divide the value at Template:Math of the other factors of P(x). Thus there is no prime that divides Φn(1).
S(x)=xn1xm1=1+xm+x2m++x(p1)m.
The multiplicative order of Template:Math modulo Template:Math divides Template:Math, which is a divisor of Template:Math. Thus Template:Math is a multiple of Template:Math. Now,
S(b)=(1+c)p1c=p+(p2)c++(pp)cp1.
As Template:Math is prime and greater than 2, all the terms but the first one are multiples of p2. This proves that p2Φn(b).

Template:Cob


Applications

Using Φn, one can give an elementary proof for the infinitude of primes congruent to 1 modulo n,[14] which is a special case of Dirichlet's theorem on arithmetic progressions. Template:Cot Suppose p1,p2,,pk is a finite list of primes congruent to 1 modulo n. Let N=np1p2pk and consider Φn(N). Let q be a prime factor of Φn(N) (to see that Φn(N)±1 decompose it into linear factors and note that 1 is the closest root of unity to N). Since Φn(x)±1(modx), we know that q is a new prime not in the list. We will show that q1(modn).

Let m be the order of N modulo q. Since Φn(N)Nn1 we have Nn10(modq). Thus mn. We will show that m=n.

Assume for contradiction that m<n. Since

dmΦd(N)=Nm10(modq)

we have

Φd(N)0(modq),

for some d<n. Then N is a double root of

dnΦd(x)xn1(modq).

Thus N must be a root of the derivative so

d(xn1)dx|NnNn10(modq).

But qN and therefore qn. This is a contradiction so m=n. The order of N(modq), which is n, must divide q1. Thus q1(modn). Template:Cob

Periodic recursive sequences

The constant-coefficient linear recurrences which are periodic are precisely the power series coefficients of rational functions whose denominators are products of cyclotomic polynomials.

In the theory of combinatorial generating functions, the denominator of a rational function determines a linear recurrence for its power series coefficients. For example, the Fibonacci sequence has generating function

F(x)=F1x+F2x2+F3x3+=x1xx2,

and equating coefficients on both sides of

F(x)(1xx2)=x

gives

FnFn1Fn2=0

for

n2

.

Any rational function whose denominator is a divisor of xn1 has a recursive sequence of coefficients which is periodic with period at most n. For example,

P(x)=1+2xΦ6(x)=1+2x1x+x2=n0Pnxn=1+3x+2x2x33x42x5+x6+3x7+2x8+

has coefficients defined by the recurrence

PnPn1+Pn2=0

for

n2

, starting from

P0=1,P1=3

. But

1x6=Φ6(x)Φ3(x)Φ2(x)Φ1(x)

, so we may write

P(x)=(1+2x)Φ3(x)Φ2(x)Φ1(x)1x6=1+3x+2x2x33x42x51x6,

which means

PnPn6=0

for

n6

, and the sequence has period 6 with initial values given by the coefficients of the numerator.

See also

References

Template:Reflist

Further reading

Gauss's book Disquisitiones Arithmeticae [Arithmetical Investigations] has been translated from Latin into French, German, and English. The German edition includes all of his papers on number theory: all the proofs of quadratic reciprocity, the determination of the sign of the Gauss sum, the investigations into biquadratic reciprocity, and unpublished notes.

Template:Bots