The areas / V15. Real analysis in one variable
Mathlib.Analysis.SpecialFunctions.Trigonometric.Chebyshev.ChebyshevGauss
8 declarations. Mathlib docs · Source
Chebyshev polynomials over the reals: Chebyshev–Gauss
The Chebyshev–Gauss property calculates an integral of a polynomial of degree < 2 * n
with respect to the weight function √(1 - x ^ 2)⁻¹ supported on [-1, 1] by a sum
over appropriate evaluations of the polynomial.
Main statements
- integral_eq_sumZeroes: The integral of a polynomial of degree
< 2 * nwith respect to the weight function√(1 - x ^ 2)⁻¹supported on[-1, 1]is equal toπtimes the average of its values on the pointscos ((2 * i + 1) / (2 * n) * π)for0 ≤ i < n.
Implementation
The statement is proved for Chebyshev polynomials using the complex exponential representation
of cos, and then deduced for arbitrary polynomials.
theorem Polynomial.Sequence.mk.congr_simp E1 #
∀ {R : Type u_1} [inst : Semiring R] (elems' elems'_1 : ℕ → Polynomial R) (e_elems' : elems' = elems'_1)
(degree_eq' : ∀ (i : ℕ), (elems' i).degree = ↑i),
{ elems' := elems', degree_eq' := degree_eq' } = { elems' := elems'_1, degree_eq' := ⋯ }
theorem Polynomial.Chebyshev.chebyshevTSequence.congr_simp E1 #
∀ (R : Type u_1) [inst : CommRing R] [inst_1 : IsDomain R] [inst_2 : NeZero 2],
Polynomial.Chebyshev.chebyshevTSequence R = Polynomial.Chebyshev.chebyshevTSequence R
def Polynomial.Chebyshev.sumZeroes E1 #
ℕ → Polynomial ℝ → ℝ
Weighted sum of P (x) where x goes over cos ((2 * i + 1) / (2 * n) * π) for
0 ≤ i < n.
theorem Polynomial.Chebyshev.sumZeroes_sum E0 #
∀ (n : ℕ) {ι : Type u_1} (s : Finset ι) (P : ι → Polynomial ℝ),
Polynomial.Chebyshev.sumZeroes n (∑ i ∈ s, P i) = ∑ i ∈ s, Polynomial.Chebyshev.sumZeroes n (P i)
theorem Polynomial.Chebyshev.sumZeroes_smul E0 #
∀ (n : ℕ) (c : ℝ) (P : Polynomial ℝ), Polynomial.Chebyshev.sumZeroes n (c • P) = c * Polynomial.Chebyshev.sumZeroes n P
theorem Polynomial.Chebyshev.sumZeroes_T_zero E1 #
∀ {n : ℕ}, n ≠ 0 → Polynomial.Chebyshev.sumZeroes n (Polynomial.Chebyshev.T ℝ 0) = Real.pi
theorem Polynomial.Chebyshev.sumZeroes_T_of_not_dvd E1 #
∀ {n : ℕ} {k : ℤ}, ¬2 * ↑n ∣ k → Polynomial.Chebyshev.sumZeroes n (Polynomial.Chebyshev.T ℝ k) = 0
theorem Polynomial.Chebyshev.integral_eq_sumZeroes E1 #
∀ {n : ℕ} {P : Polynomial ℝ},
n ≠ 0 →
P.degree < 2 * ↑n →
∫ (x : ℝ), Polynomial.eval x P ∂Polynomial.Chebyshev.measureT = Polynomial.Chebyshev.sumZeroes n P
The integral of a polynomial of degree < 2 * n with respect to the weight function
√(1 - x ^ 2)⁻¹ supported on [-1, 1] is equal to π times the average of its values
on the points cos ((2 * i + 1) / (2 * n) * π) for 0 ≤ i < n.