In mathematics, the n-th cyclotomic polynomial, for any positive integer n, is the unique irreducible polynomial with integer coefficients that is a divisor of xn−1 and is not a divisor of xk−1 for any k<n. Its roots are all n-th primitive roots of unity e2iπkn, where k runs over the positive integers up to n and coprime to n (where i is the imaginary unit). In other words, the n-th cyclotomic polynomial is equal to
Φn(x)=∏gcd(k,n)=11≤k≤n(x−e2iπ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
∏d∣nΦd(x)=xn−1, showing that α is a root of xn−1 if and only if it is a d-th primitive root of unity for some d that divides n.
Examples If n is a prime number, then
Φn(x)=1+x+x2+⋯+xn−1=∑k=0n−1xk. If n = 2p where p is a prime number other than 2, then
Φ2p(x)=1−x+x2−⋯+xp−1=∑k=0p−1(−x)k. For n up to 30, the cyclotomic polynomials are:
Φ1(x)=x−1Φ2(x)=x+1Φ3(x)=x2+x+1Φ4(x)=x2+1Φ5(x)=x4+x3+x2+x+1Φ6(x)=x2−x+1Φ7(x)=x6+x5+x4+x3+x2+x+1Φ8(x)=x4+1Φ9(x)=x6+x3+1Φ10(x)=x4−x3+x2−x+1Φ11(x)=x10+x9+x8+x7+x6+x5+x4+x3+x2+x+1Φ12(x)=x4−x2+1Φ13(x)=x12+x11+x10+x9+x8+x7+x6+x5+x4+x3+x2+x+1Φ14(x)=x6−x5+x4−x3+x2−x+1Φ15(x)=x8−x7+x5−x4+x3−x+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)=x6−x3+1Φ19(x)=x18+x17+x16+x15+x14+x13+x12+x11+x10+x9+x8+x7+x6+x5+x4+x3+x2+x+1Φ20(x)=x8−x6+x4−x2+1Φ21(x)=x12−x11+x9−x8+x6−x4+x3−x+1Φ22(x)=x10−x9+x8−x7+x6−x5+x4−x3+x2−x+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)=x8−x4+1Φ25(x)=x20+x15+x10+x5+1Φ26(x)=x12−x11+x10−x9+x8−x7+x6−x5+x4−x3+x2−x+1Φ27(x)=x18+x9+1Φ28(x)=x12−x10+x8−x6+x4−x2+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+x7−x5−x4−x3+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:
Φ105(x)=x48+x47+x46−x43−x42−2x41−x40−x39+x36+x35+x34+x33+x32+x31−x28−x26−x24−x22−x20+x17+x16+x15+x14+x13+x12−x9−x8−2x7−x6−x5+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. 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
xn−1=∏1⩽k⩽n(x−e2iπkn)=∏d∣n∏1⩽k⩽ngcd(k,n)=d(x−e2iπkn)=∏d∣nΦnd(x)=∏d∣nΦ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)=∏d∣n(xd−1)μ(nd), where μ is the Möbius function. This provides a recursive formula for the cyclotomic polynomial Φn(x), which may be computed by dividing xn−1 by the cyclotomic polynomials Φd(x) for the proper divisors d dividing n, starting from Φ1(x)=x−1:
Φn(x)=xn−1∏d<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 n = p is a prime number, then
Φp(x)=1+x+x2+⋯+xp−1=∑k=0p−1xk. If n is an odd integer greater than one, then
Φ2n(x)=Φn(−x). In particular, if n = 2p is twice an odd prime, then (as noted above)
Φ2p(x)=1−x+x2−⋯+xp−1=∑k=0p−1(−x)k. If n = pm is a prime power (where p is prime), then
Φpm(x)=Φp(xpm−1)=∑k=0p−1xkpm−1. More generally, if n = pmr with r relatively prime to p, then
Φpmr(x)=Φpr(xpm−1). 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 q is the product of the prime divisors of n (its radical), then
Φn(x)=Φq(xn/q). This allows formulas to be given for the nth cyclotomic polynomial when n has at most one odd prime factor: If p is an odd prime number, and ℓ and m are positive integers, then
Φ2m(x)=x2m−1+1, Φpm(x)=∑j=0p−1xjpm−1, Φ2ℓpm(x)=∑j=0p−1(−1)jxj2ℓ−1pm−1. For other values of n, the computation of the nth cyclotomic polynomial is similarly reduced to that of Φq(x), where q is the product of the distinct odd prime divisors of n. To deal with this case, one has that, for p prime and not dividing n,
Φ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. 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}. 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. A combination of theorems of Bateman and Vaughan states that on the one hand, for every ε>0, we have
… excerpt ends here. Continue reading the full article.