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 (∑ is, P i) = is, 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.