Polynomials are the algebraist’s favorite functions — except that they are not treated as functions here, but as formal expressions in an indeterminate X, added and multiplied by the rules of a commutative ring. The theory runs strikingly parallel to Chapter 6: a Euclidean division, a gcd and Bézout relations, irreducible elements and a unique factorization. Throughout, K denotes Q, R or C.
8.1 The ring K[X]
Definition 8.1(Polynomial, degree)
A polynomial with coefficients in K is a formal sum
P=a0+a1X+a2X2+⋯+anXn=k∑akXk,
with ak∈K all zero from some index on. With the natural addition and the product
(i∑aiXi)(j∑bjXj)=k∑(i+j=k∑aibj)Xk,
the setK[X] is a commutative ring. The degreedegP of P=0 is the largest n with an=0; an is the leading coefficient (P is monic when an=1), and by convention deg0=−∞. Every polynomial defines a function x↦P(x) on K by substitution.
Proposition 8.2(Degree rules; integral domain)
For P,Q∈K[X]:
deg(P+Q)≤max(degP,degQ),deg(PQ)=degP+degQ.
Consequently K[X] is an integral domain, and its units are the nonzero constants.
Proof. The sum rule is clear (coefficients beyond the max vanish). For the product, let am and bn be the leading coefficients: the coefficient of Xm+n in PQ is ambn=0 (K is a field, hence an integral domain), and all higher coefficients vanish. If P,Q=0 then degPQ=degP+degQ≥0, so PQ=0: integral domain. If PQ=1 then degP+degQ=0 forces degP=degQ=0: invertible elements are the invertible constants, i.e. all of K∗. ∎
Theorem 8.3(Euclidean division)
Let A,B∈K[X] with B=0. There is exactly one pair (Q,R) of polynomials with
A=BQ+R,degR<degB.
Proof.Existence, by strong induction on degA. If degA<degB, take (Q,R)=(0,A). Otherwise write A=aXm+…, B=bXn+… with m≥n; the polynomialA1=A−baXm−nB has degree <m (the leading terms cancel), so by induction A1=BQ1+R with degR<degB, and A=B(Q1+baXm−n)+R.
Uniqueness: if BQ+R=BQ′+R′, then B(Q−Q′)=R′−R with deg(R′−R)<degB; by the degree rule this forces Q−Q′=0, then R=R′. ∎
Example 8.4
Divide A=X4+X3−2X+1 by B=X2+1:
X4+X3−2X+1=(X2+1)(X2+X−1)+(−3X+2).
(Compute: subtract X2B, then XB, then −B; the remainder −3X+2 has degree 1<2.)
Method 8.5(Horner’s scheme)
To evaluate P=anXn+⋯+a0 at x, or to divide P by X−x, avoid computing powers: read the coefficients left to right, and iterate multiply by x, add the next coefficient:
bn=an,bk=ak+xbk+1(k=n−1,…,0).
Then b0=P(x), and the earlier bk are the quotient’s coefficients: P=(X−x)(bnXn−1+⋯+b1)+b0 (expand and compare). Example: P=X4−5X3+6X2+4X−8 at x=2: the b’s are 1,−3,0,4,0, so P(2)=0 and P=(X−2)(X3−3X2+4) — one line instead of a long division, and n multiplications instead of the ≈n2/2 of the naive evaluation. Iterating the scheme at the same point extracts multiplicities (compare Example 8.12).
Remark 8.6(Arithmetic of K[X])
With Euclidean division in hand, the entire arithmetic of Chapter 6 transfers to K[X], with the same proofs, degree playing the role of absolute value: gcd (normalized to be monic), extended Euclidean algorithm, Bézout’s identity, Gauss’s lemma, irreducible polynomials and unique factorization. We freely use these transferred results, and Exercise 8.6 rehearses one of them.
8.2 Roots
Theorem 8.7(Factor theorem)
Let P∈K[X] and a∈K. The remainder of P upon division by X−a is the constant P(a). In particular
P(a)=0⟺(X−a)∣P.
More generally, distinct roots a1,…,ar of P give the factorization P=(X−a1)⋯(X−ar)Q.
Proof. Divide: P=(X−a)Q+R with degR<1, so R is a constant c; substituting X=a (substitution respects sums and products) gives P(a)=c. The equivalence follows. For several roots, induct on r: the case r=1 is the equivalence just proved. Assume the statement for r−1 roots and let a1,…,ar be distinct roots of P. Write P=(X−a1)Q1; for each i≥2, substituting ai:
0=P(ai)=(ai−a1)Q1(ai),ai−a1=0,
and since K has no zero divisors, Q1(ai)=0: the r−1 distinct points a2,…,ar are roots of Q1. The induction hypothesis factors Q1=(X−a2)⋯(X−ar)Q, and substituting back gives the claim. ∎
Corollary 8.8(A polynomial of degree n has at most n roots)
A nonzero P∈K[X] of degree n has at most n distinct roots in K. Consequently, a polynomial (of degree ≤n) vanishing at n+1 distinct points is the zero polynomial, and two polynomials of degree ≤n agreeing at n+1 points are equal.
Proof. If a1,…,ar are distinct roots, Theorem 8.7 gives P=(X−a1)⋯(X−ar)Q, so n=degP≥r. The two consequences follow by contradiction and by difference. ∎
it exists and is unique by Lagrange interpolation below. What is P(n+1)? Clear denominators: the polynomialQ=(X+1)P−X has degree ≤n+1 and vanishes at the n+1 points 0,1,…,n, so by Theorem 8.7
Q=cX(X−1)(X−2)⋯(X−n)
for some constant c. Evaluate where Q is known independently: at X=−1, Q(−1)=0⋅P(−1)+1=1, while the product equals (−1)(−2)⋯(−1−n)=(−1)n+1(n+1)!; hence c=(n+1)!(−1)n+1. Now evaluate at X=n+1:
(n+2)P(n+1)−(n+1)=Q(n+1)=c(n+1)!=(−1)n+1,
so P(n+1)=n+2(n+1)+(−1)n+1: equal to 1 for odd n, and to n+2n for even n — the interpolating polynomial does not continue the pattern n+2n+1. The trick to remember: encode the data as roots of an auxiliary polynomial, identify the unknown constant at a point outside the data, and harvest.
Definition 8.10(Derivative, multiplicity)
The formal derivative of P=∑akXk is P′=∑k≥1kakXk−1; it satisfies the usual rules (P+Q)′=P′+Q′, (PQ)′=P′Q+PQ′ (checked on monomials and extended by linearity). A root a of P has multiplicitym≥1 when (X−a)m∣P but (X−a)m+1∤P; the root is simple if m=1, multiple if m≥2.
In particular, a is a multiple root of P if and only if P(a)=P′(a)=0.
Proof. Write P=(X−a)mQ+R where R is the remainder of the division by (X−a)m, degR<m. Differentiating k≤m−1 times and evaluating at a: the first term contributes 0 (each derivative retains a factor (X−a)), so P(k)(a)=R(k)(a).
Now a polynomialR of degree <m is determined by R(a),R′(a),…,R(m−1)(a): writing R=∑k<mck(X−a)k (possible: expand powers of X=(X−a)+a), one finds R(k)(a)=k!ck. Hence: all P(k)(a)=0 for k<m⟺ all ck=0⟺R=0⟺(X−a)m∣P. ∎
Example 8.12(Computing a multiplicity)
What is the multiplicity of the root 2 in P=X4−5X3+6X2+4X−8? Evaluate the successive derivatives at 2:
P(2)=16−40+24+8−8=0,P′(2)=32−60+24+4=0,
P′′(2)=48−60+12=0,P′′′(2)=48−30=18=0
(with P′=4X3−15X2+12X+4, P′′=12X2−30X+12, P′′′=24X−30). Three vanishing values then a nonzero one: multiplicity exactly 3. Dividing, P=(X−2)3(X+1) — which one checks by expanding (X−2)3=X3−6X2+12X−8 and multiplying by X+1. The insight: multiplicities are read off evaluations, no factorization needed — which is exactly how one detects them when the factorization is out of reach.
Example 8.13(Detecting multiple roots with a gcd)
When no root is known, Proposition 8.11 still gives a global multiple-root detector: a is a multiple root of P iff it is a common root of P and P′, so P has a multiple root (in C) iff gcd(P,P′)=1 — computable by the Euclidean algorithm without solving anything. Sample: P=X3−3X+2, P′=3X2−3=3(X−1)(X+1). Testing the roots ±1 of P′ inside P: P(1)=0 but P(−1)=4, so
gcd(P,P′)=X−1:
the root 1 is multiple; dividing twice, P=(X−1)2(X+2). The gcd even reports the full set of multiple roots, each with multiplicity lowered by one — the fact every computer-algebra system exploits to “square-free factorize” before any root-hunting, and the polynomial twin of Exercise 8.9’s no-multiple-root arguments.
Theorem 8.14(Fundamental theorem of algebra)
Every nonconstant polynomial of C[X] has a root in C.
Proof.Admitted at this level.∎
Remark 8.15
Despite its name, the theorem is a statement of analysis: every known proof uses the completeness of R in some form, and none is purely algebraic — the honest proof is given in the Year 3 volume, once either complex integration or compactness arguments are available. What this chapter genuinely proves is the reduction: granted one root for every nonconstant polynomial, the full factorizations over C and R below follow by pure algebra.
Corollary 8.16(Factorization over C and over R)
Every nonzero P∈C[X] factors as
P=c(X−a1)m1⋯(X−ar)mr,
with c the leading coefficient, ai the distinct complex roots, ∑mi=degP: counted with multiplicity, a polynomial of degree n has exactly n complex roots.
Every nonzero P∈R[X] factors over R as
P=ci∏(X−ai)mij∏(X2+pjX+qj)nj,
the quadratic factors being distinct with pj2−4qj<0 (no real roots).
Proof. (1) Induction on the degree, splitting off one root at a time by Theorem 8.7; the count of degrees matches at each step.
(2) Let P have real coefficients. If z is a complex root of multiplicitym, so is z: conjugating P(z)=0 gives P(z)=P(z)=0 (the coefficients are their own conjugates), and the same applies to the derivatives (Proposition 8.11). Group the non-real roots in conjugate pairs: each pair contributes
(X−z)(X−z)=X2−2ℜ(z)X+∣z∣2,
a real quadratic with negative discriminant. The real roots contribute the linear factors. ∎
Example 8.17
X4+4 was factored over R in Exercise 3.5 by pairing the four complex roots ±1±i: X4+4=(X2−2X+2)(X2+2X+2). Neither quadratic splits over R (discriminants −4). Note: an irreducible real polynomial has degree 1 or 2 — this is exactly what the factorization theorem says. The same conjugate-pairing run on X4+1, whose roots are e±iπ/4 and e±3iπ/4: each pair contributes X2−2cosθX+1, so
X4+1=(X2−2X+1)(X2+2X+1),
an identity invisible to naive factoring attempts over Q — the price of insisting on real (here even irrational) coefficients, and a standard input for integrating x4+11 in Chapter 15.
The Chebyshev polynomialT5=16X5−20X3+5X on [−1,1]: it oscillates exactly between −1 and 1, touching the bounds at six points (marked). This equioscillation is what makes 2−4T5 the monic quintic of smallest sup-norm on the interval (Exercise 8.10 and the weekend problem).
Remark 8.18(Common pitfalls with polynomials)
Polynomial versus function. Over K=Q,R,C the two notions match (equal functions have equal coefficients, by Corollary 8.8 and infiniteness of K), but conceptually a polynomial is its coefficient list: over the two-element fieldZ/2Z of Chapter 7, X2+X vanishes at both points, yet is not the zero polynomial.
Degrees under addition.deg(P+Q) can drop below max(degP,degQ) when leading terms cancel; writing “deg(P+Q)=max(…)” is only safe for distinct degrees.
Roots counted correctly. “n roots” in Corollary 8.16 means with multiplicity, in C: X2+1 has no real roots, and (X−1)2 has one distinct root but two with multiplicity. Statements mixing the three counts are the commonest source of false proofs.
Irreducibility depends on the field.X2−2 is irreducible over Q, splits over R; X2+1 is irreducible over R, splits over C. The bare word “irreducible” means nothing until the coefficient field is named.
8.3 Coefficients and roots
Theorem 8.19(Vieta’s formulas)
Let P=Xn+cn−1Xn−1+⋯+c0 be monic with roots a1,…,an∈C (with multiplicity). Then
the k-th symmetric function of the roots being (−1)kcn−k.
Proof. By Corollary 8.16, P=(X−a1)⋯(X−an) (monic, all roots listed). Expanding the product distributively produces one term per way of choosing, in each factor, either X or the root term −ai: choosing the roots in the factors indexed by i1<⋯<ik and X in the n−k others contributes (−ai1)⋯(−aik)Xn−k. Grouping by the power of X:
P=k=0∑n(−1)k(i1<⋯<ik∑ai1⋯aik)Xn−k,
and identifying with P=∑kcn−kXn−k (coefficients are unique, Definition 8.1) gives cn−k=(−1)kσk, i.e. σk=(−1)kcn−k, where σk denotes the k-th symmetric function displayed above. The three displayed cases are k=1, k=2 and k=n. ∎
Example 8.20
For the quadratic X2−sX+p: sum of roots s, product p — already used repeatedly (Exercise 3.8). For a monic cubic X3+aX2+bX+c with roots α,β,γ:
α+β+γ=−a,αβ+βγ+γα=b,αβγ=−c,
which allows computing symmetric quantities like α2+β2+γ2=a2−2b without solving.
Example 8.21(Transforming the roots without finding them)
Let α,β be the roots of X2−3X+1. Which monic quadratic has roots α2,β2? By Vieta, α+β=3 and αβ=1, so
α2+β2=(α+β)2−2αβ=7,α2β2=(αβ)2=1:
the answer is X2−7X+1 — obtained without computing α=23+5. (Check: α2=27+35 and indeed α2+β2=7.) The same strategy handles reciprocals (X2−abX+ac-type transformations), shifts, and any symmetric data: Vieta converts questions about unknown roots into algebra on known coefficients. It will serve constantly when the roots are eigenvalues (Chapter 22).
Example 8.22(Palindromic equations)
Solve X4+X3−4X2+X+1=0. The coefficients read the same in both directions, so 0 is not a root and dividing by X2 loses no solutions:
X2+X−4+X1+X21=0.
Set y=X+X1: then X2+X21=y2−2, and the equation collapses to
y2+y−6=0⟺(y+3)(y−2)=0.
Unfold each value through X2−yX+1=0: for y=2, X2−2X+1=(X−1)2 gives the double root 1; for y=−3, X2+3X+1=0 gives X=2−3±5. Four roots with multiplicity for a quartic, as Corollary 8.16 requires — obtained by solving two quadratics. The trick covers every palindromicpolynomial: their roots come in reciprocal pairs {x,1/x} (replace X by 1/X and clear denominators), and y=X+X1 is precisely the quantity constant on such pairs, halving the degree.
Theorem 8.23(Lagrange interpolation)
Let x0,…,xn be distinct points of K and y0,…,yn∈K. There is exactly one P∈K[X] of degree ≤n with P(xi)=yi for all i, namely
P=i=0∑nyiLi,Li=j=i∏xi−xjX−xj.
Proof. Each Li has degree n and satisfies Li(xi)=1, Li(xj)=0 for j=i (each factor vanishes at the corresponding xj). So the displayed P has degree ≤n and interpolates. Uniqueness: two interpolating polynomials of degree ≤n agree at the n+1 points xi, hence are equal (Corollary 8.8). ∎
Remark 8.24(Interlude: polynomials are also vectors)
A change of viewpoint that Chapter 18 will make official: the polynomials of degree ≤n form a space in which addition and scaling behave exactly like coordinates — a polynomialis its list of n+1 coefficients. Three statements of this chapter are secretly linear algebra. Lagrange interpolation (Theorem 8.23) says that the evaluation data (P(x0),…,P(xn)) determines P uniquely: evaluation at n+1 points is a linear bijection, and the Li are the basis adapted to it. The expansion R=∑ck(X−a)k in the proof of Proposition 8.11 says that the powers of (X−a) form another coordinate system, with ck=R(k)(a)/k! as coordinates. And Corollary 8.8 — more roots than the degree forces the zero polynomial — is the engine of all uniqueness: it will become “a linear mapinjective on a space of dimension n+1” in Chapter 19. When those chapters arrive, the space Kn[X] will be their favorite example; it is worth arriving there already fluent in it.
Remark 8.25(Where this chapter is used)
Factorization over R and C (Corollary 8.16) is the engine of partial fractions in Chapter 9, hence of a large class of integrals in Chapter 15. The expansion of a polynomial in powers of (X−a), met in the proof of Proposition 8.11, is the algebraic shadow of the Taylor formulas of Chapter 16. Characteristic polynomials already appeared for differential equations (Chapter 5) and return for matrices in Chapter 22; Lagrange interpolation is the first existence-and-uniqueness theorem of numerical analysis, and the Chebyshev polynomials of Exercise 8.10 — whose optimality the weekend problem below establishes — tell that discipline where to interpolate. Finally the whole arithmetic of K[X], copied from Chapter 6, feeds the study of K[X]-ideals and quotient rings in the Year 2 volume.
8.4 Exercises
Exercise 8.1★
Carry out the Euclidean divisions: X5−1 by X2+X+1; then 2X4+X3−X+3 by X2−2.
Solution
Solution of Exercise 8.1.
X5−1=(X2+X+1)(X3−X2+1)+(−X−2). Steps: subtract X3B, then −X2B, then B; the remainder −X−2 has degree 1<2. Check at X=1:0=3×1+(−3).
2X4+X3−X+3=(X2−2)(2X2+X+4)+(X+11). Check at X=0:3=(−2)(4)+11.
Exercise 8.2★
For which n∈N does X2+X+1 divide X2n+Xn+1? Hint: the roots of X2+X+1 are j and j2 with j=e2iπ/3; discuss n mod 3.
Solution
Solution of Exercise 8.2.
X2+X+1=(X−j)(X−j2) with j=e2iπ/3, j3=1. It dividesQn=X2n+Xn+1 iff j and j2 are roots of Qn; since Qn has real coefficients, Qn(j2)=Qn(j), so the condition is just Qn(j)=0. Now Qn(j)=j2n+jn+1 depends on n mod 3:
n≡0: Qn(j)=1+1+1=3=0;
n≡1: Qn(j)=j2+j+1=0;
n≡2: Qn(j)=j4+j2+1=j+j2+1=0.
So X2+X+1∣X2n+Xn+1 exactly when 3∤n.
Exercise 8.3★
Determine the real a,b so that (X−1)2dividesP=X4+aX3+bX2+1, then factor P over R for these values.
Solving: b=−a−2 and 4+3a−2a−4=a=0, so a=0, b=−2: P=X4−2X2+1=(X2−1)2=(X−1)2(X+1)2, which is the real factorization.
Exercise 8.4★
Factor over C and over R: X3−1; X4+X2+1; X6−1.
Solution
Solution of Exercise 8.4.
X3−1=(X−1)(X−j)(X−j2) over C (j=e2iπ/3), and (X−1)(X2+X+1) over R.
X4+X2+1=(X2+X+1)(X2−X+1) over R (multiply out, or note X4+X2+1=(X2+1)2−X2); over C, each quadratic splits: roots j,j2 and −j,−j2, i.e. e±2iπ/3,e±iπ/3.
X6−1=∏k=05(X−eikπ/3) over C, and over R:
X6−1=(X−1)(X+1)(X2+X+1)(X2−X+1),
grouping the conjugate pairs e±2iπ/3 and e±iπ/3.
Exercise 8.5★★
Let P=X3−6X2+11X−6.
Find the rational roots (a rational root p/q in lowest terms of a monic integer polynomial is an integer dividing the constant term — prove it), and factor P.
Without solving, compute the sum of the squares and the sum of the inverses of the roots via Vieta, and check on the factorization.
Solution
Solution of Exercise 8.5.
Let p/q (lowest terms) be a root of the monic integer polynomialX3+⋯+c0: clearing denominators in P(p/q)=0 gives p3=−q(integer), so q∣p3; coprimality forces q=±1: the root is an integer p, and p∣c0 (isolate c0). Here the candidates divide 6: testing, P(1)=0, P(2)=0, P(3)=0. So P=(X−1)(X−2)(X−3).
Vieta: s1=6, s2=11, s3=6. Sum of squares: s12−2s2=36−22=14=1+4+9, as expected. Sum of inverses: s3s2=611=1+21+31, as expected.
so the division of X4−1 by X3−X2+X−1 is exact (quotient X+1, remainder 0), and the algorithm stops at once:
gcd(X4−1,X3−X2+X−1)=X3−X2+X−1
(already monic). The Bézout relation is the trivial one: gcd=0⋅(X4−1)+1⋅(X3−X2+X−1). Consistency check by factoring: X3−X2+X−1=(X−1)(X2+1), which is indeed the product of the common irreducible factors of X4−1=(X−1)(X+1)(X2+1).
Exercise 8.7★★
Let P∈R[X] with P(x)≥0 for all x∈R. Prove that P is a sum of two squares of real polynomials: P=A2+B2. Hint: in the real factorization, real roots have even multiplicity; write the quadratic factors as (X−z)(X−z) and use ∣⋅∣2=(ℜ)2+(ℑ)2 on the product of the (X−z)’s.
so that P=SS where S has the conjugated coefficients. Split S=A+iB with A,B∈R[X]: then
P=(A+iB)(A−iB)=A2+B2.
Exercise 8.8★★
Find the polynomialP of degree ≤2 with P(0)=1, P(1)=3, P(2)=2, first by Lagrange’s formula, then by solving the linear system on the coefficients. Verify both answers agree.
System: P=aX2+bX+c with c=1; a+b+1=3; 4a+2b+1=2. Subtracting twice the second from the third: 2a−1=−4, so a=−23, b=27. Same polynomial: P=−23X2+27X+1. (Check P(2)=−6+7+1=2.)
Exercise 8.9★★
Prove that P=X2n+1−1 has exactly one real root, and that for every n≥1 the polynomial1+X+2!X2+⋯+n!Xn has no multiple root (compare P and P′).
Solution
Solution of Exercise 8.9.
P=X2n+1−1: P′=(2n+1)X2n≥0, so the polynomial function is increasing (strictly except at 0), with limits ∓∞: it vanishes exactly once on R (at x=1).
Let En=∑k=0nk!Xk. Then En′=En−1=En−n!Xn. A multiple root a would satisfy En(a)=En′(a)=0 (Proposition 8.11), hence n!an=En(a)−En′(a)=0, so a=0; but En(0)=1=0. No multiple root.
Prove by induction that Tn(cosθ)=cosnθ for all θ.
Deduce the n roots of Tn and its leading coefficient.
Prove that supx∈[−1,1]∣Tn(x)∣=1, attained at n+1 points of [−1,1].
Solution
Solution of Exercise 8.10.
Induction (two base cases hold). Using cos(n+1)θ+cos(n−1)θ=2cosθcosnθ:
Tn+1(cosθ)=2cosθcosnθ−cos(n−1)θ=cos(n+1)θ.
Tn(cosθ)=0 iff nθ≡2π(modπ): the numbers
xk=cos(2n(2k+1)π),k=0,1,…,n−1,
are n distinct points of (−1,1) (the angles lie in (0,π) where cos is injective), all roots of Tn; since degTn=n (from the recurrence, with leading coefficient 2n−1 for n≥1, by induction), these are all the roots, each simple.
For x=cosθ∈[−1,1]: ∣Tn(x)∣=∣cosnθ∣≤1, with equality iff nθ≡0(modπ), i.e. at the n+1 points yk=cosnkπ, k=0,…,n, where Tn(yk)=(−1)k. (This equioscillation makes 21−nTn the monic degree-npolynomial of smallest sup-norm on [−1,1] — proved in this chapter’s weekend problem.)
Exercise 8.11★★★
Let P∈C[X] be nonconstant with distinct roots a1,…,ar (multiplicities m1,…,mr). Prove the identity of rational functions
P(X)P′(X)=i=1∑rX−aimi,
and deduce the Gauss–Lucas theorem: every root of P′ lies in the convex hull of the roots of P(evaluate the identity at a root w of P′ which is not a root of P, take conjugates, and read the result as w being a weighted average of the ai).
Solution
Solution of Exercise 8.11.
Write P=c∏i(X−ai)mi. The product rule (extended to several factors) gives
P′=ci∑mi(X−ai)mi−1k=i∏(X−ak)mk,
and dividing by P: PP′=∑iX−aimi (as rational functions, i.e. away from the roots).
Let w be a root of P′. If w is one of the ai, it lies in the convex hull trivially. Otherwise, evaluating at w:
0=i∑w−aimi=i∑mi∣w−ai∣2w−ai.
Conjugating: ∑iλi(w−ai)=0 where λi=∣w−ai∣2mi>0. Hence
w=∑iλi∑iλiai:
a convex combination (positive weights summing to 1 after normalization) of the roots ai. So every root of P′ lies in the convex hull of the roots of P.
Exercise 8.12★★
(Roots-of-unity filter) Let n∈N∗ and j=e2iπ/3. Evaluating (1+X)n at 1, j and j2, prove that
k≥0∑(3kn)=32n+2cos3nπ,
and check the formula for n=3 and n=6. Hint: 1+jm+j2m equals 3 if 3∣m and 0 otherwise; and 1+j=eiπ/3.
Solution
Solution of Exercise 8.12.
Sum the evaluations of (1+X)n at the three cube roots of unity:
since 1+jk+j2k is a geometric sum equal to 3 when 3∣k and to jk−1j3k−1=0 otherwise. Now 1+j=21+i23=eiπ/3 and 1+j2=1+j=e−iπ/3, so (1+j)n+(1+j2)n=2cos3nπ and
8.5 Problem: Chebyshev polynomials and the flattest polynomial
Problem 8.1
Among all monicpolynomials of degree n, which one stays closest to zero on [−1,1]? The answer — Chebyshev’s theorem, the birth certificate of approximation theory — is 21−nTn, where Tn is the Chebyshev polynomial of Exercise 8.10, and no monic competitor can beat its deviation 21−n. This problem develops the algebra of the family (Tn) (composition law, explicit coefficients, the second-kind family Un, a differential equation), proves the extremality theorem with its equality case, and collects applications: optimal interpolation nodes, the exact value of cos36∘, and a congruenceTp≡Xp(modp). Throughout, T0=1, T1=X, Tn+1=2XTn−Tn−1, and we freely use Tn(cosθ)=cosnθ from Exercise 8.10.
Part I — The family (Tn).
Compute T2,T3,T4,T5 from the recurrence. (Compare T3 with the identity cos3θ=4cos3θ−3cosθ of Example 3.9.)
Prove by induction: degTn=n with leading coefficient 2n−1 for n≥1, and Tn has the parity of n (only even or only odd powers appear).
Prove the uniqueness principle: Tn is the onlypolynomial satisfying P(cosθ)=cosnθ for all θ. (Two polynomials agreeing on [−1,1] agree everywhere: Corollary 8.8.)
Deduce the composition and product laws:
Tm∘Tn=Tmn,2TmTn=Tm+n+T∣m−n∣.
Recall from Exercise 8.10 the roots xk=cos2n(2k+1)π and the equioscillation points yk=cosnkπ with Tn(yk)=(−1)k. Write down the complete factorization of Tn over R, and justify that the yk interlace: yn<xn−1<yn−1<⋯<x0<y0.
Prove that Tn(cosht)=cosh(nt) for all t∈R (same induction, using Proposition 4.18), and deduce for x≥1 the closed form
Tn(x)=2(x+x2−1)n+(x−x2−1)n,
so Tn(x)>1 for x>1: outside [−1,1] the polynomial escapes at once.
Part II — Coefficients, the family Un, a differential equation.
From de Moivre’s formula (Corollary 3.8), prove the explicit expression
Tn(x)=0≤2j≤n∑(2jn)xn−2j(x2−1)j,
and verify it for n=3.
Compute Tn(1), Tn(−1) and Tn(0) for all n.
Define Un (second kind) by U0=1, U1=2X, Un+1=2XUn−Un−1. Prove that Un(cosθ)=sinθsin(n+1)θ for θ∈/πZ, and that Tn′=nUn−1 for n≥1.
Prove that ∣sinnθ∣≤n∣sinθ∣ for all θ (induction), and deduce the Markov-type bound
∣Tn′(x)∣≤n2on [−1,1],with Tn′(±1)=(±1)n−1n2.
Show that y=Tn satisfies the differential equation
(1−x2)y′′−xy′+n2y=0,
by differentiating the identity sinθTn′(cosθ)=nsinnθ with respect to θ; verify directly for T2.
Part III — Chebyshev’s extremality theorem. Let Tn=21−nTn (monic by question 2) and write ∥P∥∞=supx∈[−1,1]∣P(x)∣.
Justify Tn∞=21−n, attained with alternating signs at the n+1 points yn<⋯<y0.
Suppose some monicP of degree n had ∥P∥∞<21−n, and set D=Tn−P. Show degD≤n−1, and that D(yk) has the strict sign of (−1)k for each k=0,…,n.
Deduce that D has at least n distinct real roots (one in each gap, by the intermediate value property, used here at High School level and proved in Chapter 13), and conclude Chebyshev’s theorem: every monicP of degree n satisfies
∥P∥∞≥21−n.
(Equality case, first step) Suppose now ∥P∥∞=21−n exactly, Pmonic of degree n, and let D=Tn−P. Show that (−1)kD(yk)≥0 for all k, and that if D(yk)=0 for an interior point yk (0<k<n), then D′(yk)=0 as well. (At an interior yk, both Tn and P attain an extremum of absolute value ∥⋅∥∞; a differentiable function has zero derivative at an interior extremum — used at High School level, proved in Chapter 14.)
(Equality case, conclusion) Count roots of D with multiplicity to show D=0: the minimizer is unique, P=Tn.
Transport to an arbitrary segment [a,b]: show that the minimal sup-norm of a monic degree-npolynomial on [a,b] is 2(4b−a)n, attained by a rescaled Chebyshev polynomial. (Substitute x=2a+b+2b−at and track the leading coefficient.)
Part IV — Applications.
Work out the case n=3 by hand: locate the extrema of T3=X3−43X on [−1,1], verify the four-fold equioscillation with value 41, and conclude that no monic cubic does better.
(Optimal interpolation nodes) For n+1 nodes x0,…,xn∈[−1,1], the interpolation error is governed by ω(X)=∏i(X−xi) (as Chapter 16 will quantify). Prove that the choice minimizing ∥ω∥∞ is the set of n+1 roots of Tn+1, with ∥ω∥∞=2−n: Chebyshev nodes are the right places to interpolate.
Using T5, prove that c=cos36∘ satisfies 16c5−20c3+5c+1=0, factor this polynomial as (x+1)(4x2−2x−1)2, and conclude
cos36∘=41+5.
Check the consistency with cos72∘=45−1 from Exercise 3.8.
Estimate T10(1.1) with the closed form of question 6 (two significant digits suffice), and interpret: a polynomial bounded by 1 on [−1,1] can already exceed 40 at x=1.1. (That Tn grows fastest among such polynomials is another extremal property of the family, beyond this problem.)
Prove the congruence: for every odd primep, all coefficients of Tp−Xp are divisible by p. (Use question 7 and p∣(2jp) for 0<2j<p, from the proof of Theorem 6.23.) Verify on T3 and T5.
Part V — Synthesis.
Compute explicitly the monic quadratic of minimal sup-norm on [0,1] and its deviation. (Question 17 with n=2.)
Synthesis, in a short paragraph: the theorem says that the flattest monic polynomial is the one that equioscillates, and the proof converts optimality into root-counting. Comment on this mechanism, on the role of the substitution x=cosθ as a bridge between algebra and trigonometry, and name the two places where the problem needed analysis facts (IVT, interior extremum) that later chapters prove.
Solution
Solution of Problem 8.1.
1.T2=2X2−1; T3=2X(2X2−1)−X=4X3−3X; T4=2XT3−T2=8X4−8X2+1; T5=2XT4−T3=16X5−20X3+5X. The identity T3(cosθ)=cos3θ is exactly cos3θ=4cos3θ−3cosθ from Example 3.9.
2. True for n=1,2. If Tn−1, Tn have degrees n−1, n and leading coefficients 2n−2, 2n−1, then 2XTn has degree n+1 and leading coefficient 2n, while Tn−1 has lower degree: Tn+1 has degree n+1, leading coefficient 2n. Parity: if Tn−1 has the parity of n−1 and Tn that of n, then 2XTn and Tn−1 both have the parity of n+1, hence so does Tn+1.
3. If P(cosθ)=cosnθ for all θ, then P and Tn agree at every point of [−1,1] — an infinite set — so P−Tn has infinitely many roots and is the zero polynomial (Corollary 8.8).
4. For x=cosθ: Tm(Tn(cosθ))=Tm(cosnθ)=cos(mnθ)=Tmn(cosθ), and 2TmTn(cosθ)=2cosmθcosnθ=cos(m+n)θ+cos∣m−n∣θ. Both identities hold on [−1,1], hence as polynomial identities by question 3’s argument.
5. The xk are n distinct simple roots and the leading coefficient is 2n−1:
Tn=2n−1k=0∏n−1(X−cos2n(2k+1)π).
Interlacing: the angles 0<2nπ<nπ<2n3π<n2π<⋯<π alternate between the y-angles nkπ and the x-angles 2n(2k+1)π; since cos is strictly decreasing on [0,π], the values interlace in the reverse order: yn<xn−1<yn−1<⋯<x0<y0. Between two consecutive extrema sits exactly one root, as a picture of cosnθ suggests.
6. Induction with 2coshacoshb=cosh(a+b)+cosh(a−b) (Proposition 4.18): Tn+1(cosht)=2coshtcoshnt−cosh(n−1)t=cosh(n+1)t. For x≥1, write x=cosht with t≥0; then et=x+x2−1 and e−t=x−x2−1, so
Tn(x)=cosh(nt)=2(x+x2−1)n+(x−x2−1)n.
For x>1 the first term exceeds 21(1)n strictly and grows geometrically: Tn(x)>1.
7. De Moivre: cosnθ=ℜ((cosθ+isinθ)n)=∑2j≤n(2jn)cosn−2jθ(isinθ)2j, and (isinθ)2j=(−sin2θ)j=(cos2θ−1)j. Substituting x=cosθ and invoking question 3:
Tn(x)=0≤2j≤n∑(2jn)xn−2j(x2−1)j.
For n=3: (03)x3+(23)x(x2−1)=x3+3x3−3x=4x3−3x, as in question 1.
8.Tn(1)=cos(n⋅0)=1; Tn(−1)=cos(nπ)=(−1)n; Tn(0)=cos2nπ, which is 0 for odd n and (−1)n/2 for even n.
9. Induction for Un(cosθ)=sinθsin(n+1)θ: true for U0=1 and U1=2X (sin2θ=2sinθcosθ); the step is the sum-to-product identity sin(n+2)θ=2cosθsin(n+1)θ−sinnθ. Now differentiate Tn(cosθ)=cosnθ in θ: −sinθTn′(cosθ)=−nsinnθ, so for θ∈/πZ:
Tn′(cosθ)=nsinθsinnθ=nUn−1(cosθ),
and the polynomialsTn′ and nUn−1, agreeing on (−1,1), are equal.
10.∣sin(n+1)θ∣=∣sinnθcosθ+cosnθsinθ∣≤∣sinnθ∣+∣sinθ∣, and induction gives ∣sinnθ∣≤n∣sinθ∣. Hence ∣Un−1∣≤n on (−1,1) and ∣Tn′∣=n∣Un−1∣≤n2 there; at ±1 the bound extends by taking limits (or directly: Un−1(1)=n from the recurrence, Un(1)=n+1 by induction, and parity gives Un−1(−1)=(−1)n−1n). Thus Tn′(1)=n2 and Tn′(−1)=(−1)n−1n2: the bound n2 is attained at the endpoints.
11. Differentiate sinθTn′(cosθ)=nsinnθ (question 9) with respect to θ:
With x=cosθ and sin2θ=1−x2: xTn′−(1−x2)Tn′′=n2Tn on [−1,1], hence everywhere: (1−x2)y′′−xy′+n2y=0 for y=Tn. Check for T2=2x2−1: (1−x2)(4)−x(4x)+4(2x2−1)=4−4x2−4x2+8x2−4=0.
12.Tn is monic (question 2) and Tn=21−n∣Tn∣≤21−n on [−1,1], with Tn(yk)=(−1)k21−n at the n+1 points yk (Exercise 8.10): the norm is exactly 21−n, attained with alternating signs.
13.Tn and P are both monic of degree n, so the leading terms cancel: degD≤n−1. At yk: D(yk)=(−1)k21−n−P(yk), and ∣P(yk)∣≤∥P∥∞<21−n forces the sign of D(yk) to be that of (−1)k21−n, strictly.
14.D changes sign between yk+1 and yk for each k=0,…,n−1: by the intermediate value property, D has a root in each of these n pairwise disjoint open intervals — n distinct roots for a nonzero polynomial of degree ≤n−1, impossible. And D=0 is impossible too (the norms differ). Contradiction: no monicP of degree n has ∥P∥∞<21−n, which is Chebyshev’s theorem.
15. Now ∣P(yk)∣≤21−n only, so (−1)kD(yk)=21−n−(−1)kP(yk)≥21−n−∣P(yk)∣≥0. Suppose D(yk)=0 at an interior yk (0<k<n): then P(yk)=(−1)k21−n, so ∣P∣ attains its supremum 21−n at the interior point yk, whence P′(yk)=0 (interior extremum); and Tn′(yk)=nUn−1(yk)=0 since sin(n⋅nkπ)=0 — so Tn′(yk)=0 too, and D′(yk)=0: yk is a root of D of multiplicity at least 2.
16. Count roots of D with multiplicity. Let z be the number of interior points yk with D(yk)=0 (each a double root, by question 15) and e∈{0,1,2} the number of endpoints (y0 or yn) with D=0 (each a simple root at least). A gap (yk+1,yk) whose two endpoints both have D=0 carries strictly alternating signs, hence an interior root. Each vanishing interior point spoils at most its two adjacent gaps, each vanishing endpoint at most one gap: at least n−2z−e gaps still contribute one root each, all distinct from the y-roots. Total: at least (n−2z−e)+2z+e=n roots with multiplicity, for a polynomial of degree ≤n−1: so D=0 and P=Tn. The minimizer is unique.
17. The affine mapt↦x=2a+b+2b−at is a bijection [−1,1]→[a,b]. If P is monic of degree n, then Q(t)=P(x(t)) is a polynomial in t with leading coefficient (2b−a)n, and sup[a,b]∣P∣=sup[−1,1]∣Q∣. The monic polynomialQ/(2b−a)n has sup-norm ≥21−n (questions 13–14), so
[a,b]sup∣P∣≥(2b−a)n21−n=2(4b−a)n,
with equality exactly for P(x)=(2b−a)nTn(t(x)) (question 16).
18.T3=4T3=X3−43X; T3′=3X2−43 vanishes at ±21. Values: T3(−1)=−41, T3(−21)=41, T3(21)=−41, T3(1)=41: four alternating extrema of absolute value 41 — so T3∞=41, and by Chebyshev’s theorem no monic cubic has smaller sup-norm on [−1,1].
19.ω is monic of degree n+1, so ∥ω∥∞≥2−n by Chebyshev’s theorem (degree n+1), with equality if and only if ω=Tn+1=2−nTn+1 (question 16), i.e. if and only if the nodes are the n+1 roots of Tn+1. With Chebyshev nodes the error factor ∥ω∥∞ is 2−n — the least possible.
20.5×36∘=180∘, so T5(c)=cos180∘=−1: 16c5−20c3+5c+1=0. Testing x=−1: −16+20−5+1=0, and expanding confirms
16x5−20x3+5x+1=(x+1)(4x2−2x−1)2.
Since c=cos36∘=−1, c is a root of 4x2−2x−1, whose roots are 41±5; as c>0,
cos36∘=41+5.
Consistency: cos72∘=T2(c)=2c2−1=2⋅83+5−1=45−1, the value found in Exercise 3.8.
21.1.12−1=0.21≈0.458, so x+x2−1≈1.558 and (1.558)10≈84.5, while (1.1−0.458)10≈0.01: T10(1.1)≈284.5+0.01≈42. A polynomial trapped in [−1,1] on the interval has already grown past 40 one tenth beyond its edge: boundedness on a segment says nothing an inch outside it.
22. In question 7’s formula for Tp, the term j=0 is Xp; every other term carries (2jp) with 0<2j<p (note 2j=p since p is odd), which is divisible by p by the first step of the proof of Theorem 6.23. Hence every coefficient of Tp−Xp is a multiple of p. Checks: T3−X3=3X3−3X=3(X3−X); T5−X5=15X5−20X3+5X=5(3X5−4X3+X).
23. By question 17 with [a,b]=[0,1] and n=2: minimal deviation 2(41)2=81, attained by (21)2T2(2x−1)=41((2x−1)2−21)=x2−x+81. The monic quadratic closest to zero on [0,1] is x2−x+81, with sup-norm 81.
24. (i) Rigidity — a polynomial with more roots than its degree is zero — powered the uniqueness principle (question 3), the transfer of trigonometric identities to polynomial identities (questions 4, 7, 9, 11), and both root-counting arguments of the extremality proof (questions 14, 16). (ii) The trigonometry of Chapter 3 (de Moivre, sum-to-product) and the hyperbolic functions of Chapter 4 supplied every identity behind the family; the substitution x=cosθ is the bridge. (iii) The divisibilityp∣(2jp) from Chapter 6 turned the coefficient formula into the congruence of question 22.
25. Chebyshev’s theorem converts an optimization over an infinite-dimensional family (all monic polynomials) into finite combinatorics: a competitor better than Tn would differ from it by a low-degree polynomial forced to change sign n times — one more root than its degree allows. The equioscillation pattern is thus not a curiosity but the very certificate of optimality, and the equality case sharpens root-counting with multiplicities. The substitution x=cosθ deserves the last word: it transports the rigid, discrete world of polynomials into the periodic world of trigonometry, where roots and extrema of Tn are simply the regular grid of cosnθ. The two analysis facts borrowed — the intermediate value property (question 14; proved in Chapter 13) and the vanishing derivative at an interior extremum (question 15; proved in Chapter 14) — are exactly the tools those later chapters will hand back, closing the loop.