The areas / V15. Real analysis in one variable
Mathlib.Analysis.SpecialFunctions.Trigonometric.Chebyshev.Extremal
17 declarations. Mathlib docs · Source
Chebyshev polynomials over the reals: some extremal properties
- Chebyshev polynomials have largest leading coefficient, following proof in https://math.stackexchange.com/a/978145/1277
- Chebyshev polynomials maximize iterated derivatives at 1 and beyond
Main statements
- leadingCoeff_le_of_forall_abs_le_one: If
Pis a real polynomial of degree at mostnand|P (x)| ≤ 1for allx ∈ [-1, 1]then the leading coefficient ofPis at most2 ^ (n - 1) - leadingCoeff_eq_iff_of_forall_abs_le_one: When
n ≥ 2, equality holds iffP = T_n - eval_iterate_derivative_le_of_forall_abs_le_one: If
Pis a real polynomial of degree at mostnand|P (x)| ≤ 1for allx ∈ [-1, 1]then for allx ≥ 1,P ^ (k) (x) ≤ T_n ^ (k)(x) - eval_iterate_derivative_eq_iff_of_forall_abs_le_one: If
0 < k ≤ nthen equality holds iffP = T_n
Implementation
We describe the proof for the leading coefficient; the proof for iterated derivatives uses a similar approach.
By monotonicity of 2 ^ (n - 1), we can assume that P has degree exactly n.
Using Lagrange interpolation, we can give a formula for the leading coefficient of P
as a linear combination of the values of P on the Chebyshev nodes (sumNodes_eq_coeff).
The Chebyshev polynomial T_n has value ±1 on the nodes, with the same signs as the
coefficients of the linear combination (negOnePow_mul_leadingCoeffC_pos).
Since |P (x)| ≤ 1 on the nodes, this implies that the leading coefficient of P is bounded
by that of T_n, which is known to equal 2 ^ (n - 1).
Moreover, equality holds iff P and T_n agree on the nodes, which implies that they coincide.
def Polynomial.Chebyshev.node E1 #
ℕ → ℕ → ℝ
For n ≠ 0 and i ≤ n, node n i is one of the extremal points of the Chebyshev T
polynomial over the interval [-1, 1].
theorem Polynomial.Chebyshev.node_eq_one E1 #
∀ {n : ℕ}, Polynomial.Chebyshev.node n 0 = 1
theorem Polynomial.Chebyshev.node_eq_neg_one E1 #
∀ {n : ℕ}, n ≠ 0 → Polynomial.Chebyshev.node n n = -1
theorem Polynomial.Chebyshev.node_mem_Icc E1 #
∀ {n i : ℕ}, Polynomial.Chebyshev.node n i ∈ Set.Icc (-1) 1
theorem Polynomial.Chebyshev.eval_T_real_node E1 #
∀ {n i : ℕ}, i ∈ Finset.Iic n → Polynomial.eval (Polynomial.Chebyshev.node n i) (Polynomial.Chebyshev.T ℝ ↑n) = (-1) ^ i
theorem Polynomial.Chebyshev.strictAntiOn_node E1 #
∀ (n : ℕ), StrictAntiOn (fun x ↦ Polynomial.Chebyshev.node n x) ↑(Finset.range (n + 1))
theorem Polynomial.Chebyshev.node_lt E1 #
∀ {n i j : ℕ}, j ≤ n → i < j → Polynomial.Chebyshev.node n j < Polynomial.Chebyshev.node n i
theorem Polynomial.Chebyshev.zero_lt_prod_node_sub_node E1 #
∀ {n i : ℕ},
i ≤ n →
0 < (-1) ^ i * ∏ j ∈ (Finset.range (n + 1)).erase i, (Polynomial.Chebyshev.node n i - Polynomial.Chebyshev.node n j)
def Polynomial.Chebyshev.sumNodes E1 #
ℕ → (ℕ → ℝ) → Polynomial ℝ → ℝ
For a polynomial P and coefficient function c, sumNodes n c P is a linear combination
of P evaluated at the n'th order Chebyshev nodes, with coefficients taken from c.
theorem Polynomial.Chebyshev.sumNodes_le_sumNodes_T E1 #
∀ {n : ℕ} {c : ℕ → ℝ},
(∀ i ≤ n, 0 ≤ (-1) ^ i * c i) →
∀ {P : Polynomial ℝ},
(∀ x ∈ Set.Icc (-1) 1, |Polynomial.eval x P| ≤ 1) →
Polynomial.Chebyshev.sumNodes n c P ≤ Polynomial.Chebyshev.sumNodes n c (Polynomial.Chebyshev.T ℝ ↑n)
theorem Polynomial.Chebyshev.sumNodes_eq_sumNodes_T_iff E0 #
∀ {n : ℕ} {c : ℕ → ℝ},
(∀ i ≤ n, 0 < (-1) ^ i * c i) →
∀ {P : Polynomial ℝ},
P.degree ≤ ↑n →
(∀ x ∈ Set.Icc (-1) 1, |Polynomial.eval x P| ≤ 1) →
(Polynomial.Chebyshev.sumNodes n c P = Polynomial.Chebyshev.sumNodes n c (Polynomial.Chebyshev.T ℝ ↑n) ↔
P = Polynomial.Chebyshev.T ℝ ↑n)
theorem Polynomial.Chebyshev.coeff_le_of_forall_abs_le_one E1 #
∀ {n : ℕ} {P : Polynomial ℝ},
P.degree ≤ ↑n → (∀ x ∈ Set.Icc (-1) 1, |Polynomial.eval x P| ≤ 1) → P.coeff n ≤ 2 ^ (n - 1)
theorem Polynomial.Chebyshev.leadingCoeff_le_of_forall_abs_le_one E1 #
∀ {n : ℕ} {P : Polynomial ℝ},
P.degree ≤ ↑n → (∀ x ∈ Set.Icc (-1) 1, |Polynomial.eval x P| ≤ 1) → P.leadingCoeff ≤ 2 ^ (n - 1)
theorem Polynomial.Chebyshev.coeff_eq_iff_of_forall_abs_le_one E1 #
∀ {n : ℕ} {P : Polynomial ℝ},
P.degree ≤ ↑n →
(∀ x ∈ Set.Icc (-1) 1, |Polynomial.eval x P| ≤ 1) → (P.coeff n = 2 ^ (n - 1) ↔ P = Polynomial.Chebyshev.T ℝ ↑n)
theorem Polynomial.Chebyshev.leadingCoeff_eq_iff_of_forall_abs_le_one E1 #
∀ {n : ℕ} {P : Polynomial ℝ},
2 ≤ n →
P.degree ≤ ↑n →
(∀ x ∈ Set.Icc (-1) 1, |Polynomial.eval x P| ≤ 1) →
(P.leadingCoeff = 2 ^ (n - 1) ↔ P = Polynomial.Chebyshev.T ℝ ↑n)
theorem Polynomial.Chebyshev.eval_iterate_derivative_le_of_forall_abs_le_one E1 #
∀ {n : ℕ} {P : Polynomial ℝ} {k : ℕ} {x : ℝ},
1 ≤ x →
P.degree ≤ ↑n →
(∀ x ∈ Set.Icc (-1) 1, |Polynomial.eval x P| ≤ 1) →
Polynomial.eval x ((⇑Polynomial.derivative)^[k] P) ≤
Polynomial.eval x ((⇑Polynomial.derivative)^[k] (Polynomial.Chebyshev.T ℝ ↑n))
theorem Polynomial.Chebyshev.eval_iterate_derivative_eq_iff_of_bounded E1 #
∀ {n : ℕ} {P : Polynomial ℝ} {k : ℕ},
0 < k →
k ≤ n →
∀ {x : ℝ},
1 ≤ x →
P.degree ≤ ↑n →
(∀ x ∈ Set.Icc (-1) 1, |Polynomial.eval x P| ≤ 1) →
(Polynomial.eval x ((⇑Polynomial.derivative)^[k] P) =
Polynomial.eval x ((⇑Polynomial.derivative)^[k] (Polynomial.Chebyshev.T ℝ ↑n)) ↔
P = Polynomial.Chebyshev.T ℝ ↑n)