Documentation

Mathlib.Analysis.SpecialFunctions.Trigonometric.Chebyshev.ChebyshevGauss

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 #

Implementation #

The statement is proved for Chebyshev polynomials using the complex exponential representation of cos, and then deduced for arbitrary polynomials.

noncomputable def Polynomial.Chebyshev.sumZeroes (n : ℕ) (P : Polynomial ℝ) :

Weighted sum of P (x) where x goes over cos ((2 * i + 1) / (2 * n) * π) for 0 ≤ i < n.

Equations
Instances For
    @[simp]
    theorem Polynomial.Chebyshev.sumZeroes_sum (n : ℕ) {ι : Type u_1} (s : Finset ι) (P : ι → Polynomial ℝ) :
    sumZeroes n (∑ i ∈ s, P i) = ∑ i ∈ s, sumZeroes n (P i)
    @[simp]
    theorem Polynomial.Chebyshev.sumZeroes_T_of_not_dvd {n : ℕ} {k : ℤ} (hk : ¬2 * ↑n ∣ k) :
    sumZeroes n (T ℝ k) = 0
    theorem Polynomial.Chebyshev.integral_eq_sumZeroes {n : ℕ} {P : Polynomial ℝ} (hn : n ≠ 0) (hP : P.degree < 2 * ↑n) :

    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.