A theorem of Pólya on polynomials #
Formalizes the polynomial sublevel-set bounds, the real-rooted polynomial facts, Chebyshev's theorem and its equality cases, and the chapter's examples.
Contents of former file Chapter_23/Chebyshev.lean #
Chebyshev's theorem (Appendix of Chapter 23) #
We prove Chebyshev's theorem: a real polynomial of degree n ≥ 1 with leading
coefficient c attains at some point of [-1, 1] an absolute value of at least
|c| / 2 ^ (n - 1).
The proof is the one of the book, transported from cosine polynomials to ordinary
polynomials via x = cos θ: we compare p with the scaled Chebyshev polynomial
c / 2^(n-1) * T_n, which alternates in sign at the n + 1 nodes cos (kπ/n).
The Chebyshev nodes cos (k π / n).
Instances For
The Chebyshev polynomial T_n evaluated at the node cos (kπ/n) is (-1)^k.
Chebyshev's theorem, general leading coefficient: if p has degree n ≥ 1,
then max_{-1 ≤ x ≤ 1} |p x| ≥ |lc p| / 2^(n-1).
Corollary. Let p be a real polynomial of degree n ≥ 1 with leading coefficient 1,
and suppose |p x| ≤ 2 for all x ∈ [a, b]. Then b - a ≤ 4.
Contents of former file Chapter_23/Facts.lean #
Two facts about polynomials with real roots (box in Chapter 23) #
Let p be a real polynomial all of whose roots are real (i.e. the number of roots counted
with multiplicity equals the degree).
- Fact 1. If
bis a multiple root ofp', thenbis also a root ofp. - Fact 2.
p'(x)² ≥ p(x) p''(x)for allx ∈ ℝ.
Fact 2 for a product ∏ (X - a), by induction on the roots.
Fact 2. If all roots of the real polynomial p are real, then
p'(x)² ≥ p(x) p''(x) for all real x.
Fact 1. If all roots of the real polynomial p are real and b is a multiple root of
p' (i.e. (X - b)² divides p', with p' ≠ 0), then b is a root of p.
Contents of former file Chapter_23/RootProd.lean #
Products ∏ (x - a) over a multiset of real roots #
For a multiset s of real numbers we study rootProd s x = ∏_{a ∈ s} (x - a), i.e. the
evaluation of the monic real-rooted polynomial with root multiset s. We collect:
- elementary algebraic facts and comparison lemmas for
|rootProd s x|; - log-concavity between consecutive roots, which yields the "quasi-concavity" statement
two_lt_abs_rootProd_of_between: between two consecutive roots, the set where|rootProd s x| > 2is an interval; - the structure of a "gap" of the set
{x | |rootProd s x| ≤ 2}between consecutive roots; - finite interval covers (
Coverable) and the cut-and-shift lemma used in Pólya's argument.
rootProd s x = ∏_{a ∈ s} (x - a).
Equations
- Chapter23.rootProd s x = (Multiset.map (fun (a : ℝ) => x - a) s).prod
Instances For
The monic polynomial with root multiset s.
Log-concavity between consecutive roots #
∑_{a ∈ s} log (x - a); equal to log |rootProd s x| away from the roots.
Equations
- Chapter23.logRootSum s x = (Multiset.map (fun (a : ℝ) => Real.log (x - a)) s).sum
Instances For
Quasi-concavity of |rootProd s| between consecutive roots: if |rootProd s| > 2 at
x and z, then also at every y between them.
Structure of a gap of {x | |rootProd s x| ≤ 2} between two consecutive roots
α < β: the set where |rootProd s x| > 2 inside (α, β) is an open interval (u, v).
Finite interval covers #
S can be covered by finitely many closed intervals [a_i, b_i] of total length at
most L.
Equations
Instances For
The cut-and-shift lemma: if every point of S either lies in T ∩ (-∞, u], or
is mapped by x ↦ x - d into T ∩ [u, ∞), then a cover of T yields a cover of S
of no larger total length.
Contents of former file Chapter_23/Polya.lean #
Pólya's theorem (Theorems 1 and 2 of Chapter 23) #
We prove
- Theorem 2: if
pis a monic real polynomial of degreen ≥ 1all of whose roots are real, thenP = {x | |p x| ≤ 2}can be covered by finitely many intervals of total length at most4; - Theorem 1: if
fis a monic complex polynomial of degreen ≥ 1, then the orthogonal projection onto the real axis ofC = {z | |f z| ≤ 2}can be covered by finitely many intervals of total length at most4.
The proof of Theorem 2 follows Pólya's idea: as long as P is not an interval, we take
the gap of P between the rightmost "bad" root α and the next root β and shift all roots
to the right of the gap to the left by the length d of the gap. The new set P₁ contains
P ∩ (-∞, u] and (P ∩ [v, ∞)) - d, so covers transfer back (Coverable.cut_shift),
and the number of "bad" roots strictly decreases. When no bad root remains, P is a single
interval on which |p| ≤ 2, and the Corollary of Chebyshev's theorem bounds its length by 4.
A root a is good if |p| ≤ 2 on the whole segment from a to the largest root.
Equations
- Chapter23.Good s a = ∀ (x : ℝ), a ≤ x → (∃ b ∈ s, x ≤ b) → |Chapter23.rootProd s x| ≤ 2
Instances For
The number of distinct roots which are not good.
Equations
- Chapter23.badCount s = {a ∈ s.toFinset | ¬Chapter23.Good s a}.card
Instances For
Pólya's shift. If some root is bad, shifting the roots to the right of the gap after
the rightmost bad root to the left produces a new root multiset of the same size with fewer
bad roots, whose sublevel set receives P by a cut-and-shift map.
Theorem 2. Let p be a real polynomial of degree n ≥ 1 with leading coefficient 1
and all roots real. Then P = {x ∈ ℝ | |p x| ≤ 2} can be covered by finitely many intervals
[a_i, b_i] of total length at most 4.
The first step of the proof of Theorem 1 ("by the theorem of Pythagoras"):
if f(z) = (z - c₁) ⋯ (z - cₙ) and p(x) = (x - Re c₁) ⋯ (x - Re cₙ), then
|p (Re z)| ≤ |f z|.
With f monic complex and p(x) = ∏ (x - Re cₖ) over the roots cₖ of f, we have
|p (Re z)| ≤ |f z| for all z.
Theorem 1 (Pólya). Let f be a complex polynomial of degree at least 1 with
leading coefficient 1. Set C = {z ∈ ℂ | |f z| ≤ 2} and let R be the orthogonal
projection of C onto the real axis. Then there are intervals I₁, …, I_t on the real line
which together cover R and satisfy ℓ(I₁) + ⋯ + ℓ(I_t) ≤ 4.
Measure-theoretic reformulation #
A set covered by intervals of total length at most L has Lebesgue measure at most L.
Theorem 1, measure version: the projection of C = {z | |f z| ≤ 2} onto the real axis has
Lebesgue (outer) measure at most 4.
Contents of former file Chapter_23/Appendix.lean #
Appendix of Chapter 23: cosine polynomials #
- Equation (7):
cos nθis a polynomial incos θof degreenwith leading coefficient2^(n-1)(the Chebyshev polynomialT_n), and the binomial identity∑_{ℓ} (n choose 2ℓ) = 2^(n-1)used to compute this leading coefficient. - Step (A):
p(cos θ)is a cosine polynomial∑ b_k cos kθwhose leading coefficient isb_n = 1/2^(n-1). - Step (B): a cosine polynomial
h(θ) = ∑_{k ≤ n} λ_k cos kθsatisfies|λ_n| ≤ max |h(θ)|. - Chebyshev's theorem obtained from (A) and (B), as in the book.
- The polynomials
x,x² - 1/2,x³ - 3/4 x, and in generalT_n(x) / 2^(n-1), attain equality in Chebyshev's theorem.
Equation (7): cos nθ = c_n (cos θ)^n + ⋯ + c_0 with c_n = 2^(n-1).
Every real polynomial of degree ≤ n is a linear combination of the Chebyshev polynomials
T_0, …, T_n, and the coefficient of T_n is coeff n / 2^(n-1).
Step (A). For a real polynomial p of degree n ≥ 1 with leading coefficient 1,
g(θ) = p(cos θ) is a cosine polynomial b_n cos nθ + ⋯ + b_1 cos θ + b_0 whose leading
coefficient is b_n = 1/2^(n-1).
The polynomial ∑_{k ≤ n} λ_k T_k has degree n and leading coefficient λ_n 2^(n-1)
if λ_n ≠ 0 and n ≥ 1.
Chebyshev's theorem deduced from (A) and (B), following the book: apply (B) to the cosine
polynomial g(θ) = p(cos θ) provided by (A).
The polynomial T_n(x) / 2^(n-1) is monic of degree n and attains equality in
Chebyshev's theorem: max_{-1 ≤ x ≤ 1} |T_n(x)/2^(n-1)| = 1/2^(n-1).
The polynomials p₁(x) = x, p₂(x) = x² - 1/2 and p₃(x) = x³ - 3/4 x achieve equality
in Chebyshev's theorem.
Uniqueness of the extremal polynomial (the exercise at the end of the chapter):
T_n(x) / 2^(n-1) is the only monic polynomial of degree n ≥ 1 with
max_{-1 ≤ x ≤ 1} |p x| ≤ 1/2^(n-1), i.e. the only one achieving equality in
Chebyshev's theorem.
Contents of former file Chapter_23/Examples.lean #
Examples from Chapter 23 #
- For
f(z) = z² - 2:x + iy ∈ Ciff(x² + y²)² ≤ 4 (x² - y²), and the projectionRofConto the real axis is exactly[-2, 2], of length4. - For
f(z) = z - c(degree 1),Cis a disk of diameter4, whose projection is an interval of length4. - For
p(x) = x²(x - 3):P = [1 - √3, 1] ∪ [1 + √3, γ]withγ ≈ 3.2, the real root ofx³ - 3x² - 2.
For p(x) = x²(x - 3), the set P = {x | |p x| ≤ 2} consists of two intervals:
P = [1 - √3, 1] ∪ [1 + √3, γ], where γ ≈ 3.2 is the real root of x³ - 3x² - 2.