Chebyshev polynomials #
The Chebyshev polynomials are two families of polynomials indexed by ℕ
,
with integral coefficients.
Main definitions #
Polynomial.Chebyshev.T
: the Chebyshev polynomials of the first kind.Polynomial.Chebyshev.U
: the Chebyshev polynomials of the second kind.
Main statements #
- The formal derivative of the Chebyshev polynomials of the first kind is a scalar multiple of the Chebyshev polynomials of the second kind.
Polynomial.Chebyshev.mul_T
, the product of them
-th and(m + k)
-th Chebyshev polynomials of the first kind is the sum of the(2 * m + k)
-th andk
-th Chebyshev polynomials of the first kind.Polynomial.Chebyshev.T_mul
, the(m * n)
-th Chebyshev polynomial of the first kind is the composition of them
-th andn
-th Chebyshev polynomials of the first kind.
Implementation details #
Since Chebyshev polynomials have interesting behaviour over the complex numbers and modulo p
,
we define them to have coefficients in an arbitrary commutative ring, even though
technically ℤ
would suffice.
The benefit of allowing arbitrary coefficient rings, is that the statements afterwards are clean,
and do not have map (Int.castRingHom R)
interfering all the time.
References #
[Lionel Ponton, Roots of the Chebyshev polynomials: A purely algebraic approach] [ponton2020chebyshev]
TODO #
- Redefine and/or relate the definition of Chebyshev polynomials to
LinearRecurrence
. - Add explicit formula involving square roots for Chebyshev polynomials
- Compute zeroes and extrema of Chebyshev polynomials.
- Prove that the roots of the Chebyshev polynomials (except 0) are irrational.
- Prove minimax properties of Chebyshev polynomials.
T n
is the n
-th Chebyshev polynomial of the first kind
Equations
- Polynomial.Chebyshev.T R 0 = 1
- Polynomial.Chebyshev.T R 1 = Polynomial.X
- Polynomial.Chebyshev.T R (Nat.succ (Nat.succ n)) = 2 * Polynomial.X * Polynomial.Chebyshev.T R (n + 1) - Polynomial.Chebyshev.T R n
Instances For
U n
is the n
-th Chebyshev polynomial of the second kind
Equations
- Polynomial.Chebyshev.U R 0 = 1
- Polynomial.Chebyshev.U R 1 = 2 * Polynomial.X
- Polynomial.Chebyshev.U R (Nat.succ (Nat.succ n)) = 2 * Polynomial.X * Polynomial.Chebyshev.U R (n + 1) - Polynomial.Chebyshev.U R n
Instances For
The product of two Chebyshev polynomials is the sum of two other Chebyshev polynomials.
The (m * n)
-th Chebyshev polynomial is the composition of the m
-th and n
-th