Chebyshev polynomials #
The Chebyshev polynomials are 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.Polynomial.Chebyshev.C
: the rescaled Chebyshev polynomials of the first kind (also known as the Vieta–Lucas polynomials), given by $C_n(2x) = 2T_n(x)$.Polynomial.Chebyshev.S
: the rescaled Chebyshev polynomials of the second kind (also known as the Vieta–Fibonacci polynomials), given by $S_n(2x) = U_n(x)$.
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.T_mul_T
, twice the product of them
-th andk
-th Chebyshev polynomials of the first kind is the sum of them + k
-th andm - k
-th Chebyshev polynomials of the first kind. There is a similar statementPolynomial.Chebyshev.C_mul_C
for theC
polynomials.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. There is a similar statementPolynomial.Chebyshev.C_mul
for theC
polynomials.
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] [Pon20]
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 (Int.ofNat n.succ.succ) = 2 * Polynomial.X * Polynomial.Chebyshev.T R (↑n + 1) - Polynomial.Chebyshev.T R ↑n
- Polynomial.Chebyshev.T R (Int.negSucc n) = 2 * Polynomial.X * Polynomial.Chebyshev.T R (-↑n) - Polynomial.Chebyshev.T R (-↑n + 1)
Instances For
Induction principle used for proving facts about Chebyshev polynomials.
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 (Int.ofNat n.succ.succ) = 2 * Polynomial.X * Polynomial.Chebyshev.U R (↑n + 1) - Polynomial.Chebyshev.U R ↑n
- Polynomial.Chebyshev.U R (Int.negSucc n) = 2 * Polynomial.X * Polynomial.Chebyshev.U R (-↑n) - Polynomial.Chebyshev.U R (-↑n + 1)
Instances For
C n
is the n
th rescaled Chebyshev polynomial of the first kind (also known as a Vieta–Lucas
polynomial), given by $C_n(2x) = 2T_n(x)$. See Polynomial.Chebyshev.C_comp_two_mul_X
.
Equations
- Polynomial.Chebyshev.C R 0 = 2
- Polynomial.Chebyshev.C R 1 = Polynomial.X
- Polynomial.Chebyshev.C R (Int.ofNat n.succ.succ) = Polynomial.X * Polynomial.Chebyshev.C R (↑n + 1) - Polynomial.Chebyshev.C R ↑n
- Polynomial.Chebyshev.C R (Int.negSucc n) = Polynomial.X * Polynomial.Chebyshev.C R (-↑n) - Polynomial.Chebyshev.C R (-↑n + 1)
Instances For
S n
is the n
th rescaled Chebyshev polynomial of the second kind (also known as a
Vieta–Fibonacci polynomial), given by $S_n(2x) = U_n(x)$. See
Polynomial.Chebyshev.S_comp_two_mul_X
.
Equations
- Polynomial.Chebyshev.S R 0 = 1
- Polynomial.Chebyshev.S R 1 = Polynomial.X
- Polynomial.Chebyshev.S R (Int.ofNat n.succ.succ) = Polynomial.X * Polynomial.Chebyshev.S R (↑n + 1) - Polynomial.Chebyshev.S R ↑n
- Polynomial.Chebyshev.S R (Int.negSucc n) = Polynomial.X * Polynomial.Chebyshev.S R (-↑n) - Polynomial.Chebyshev.S R (-↑n + 1)
Instances For
Twice the product of two Chebyshev T
polynomials is the sum of two other Chebyshev T
polynomials.
Alias of Polynomial.Chebyshev.T_mul_T
.
Twice the product of two Chebyshev T
polynomials is the sum of two other Chebyshev T
polynomials.
The product of two Chebyshev C
polynomials is the sum of two other Chebyshev C
polynomials.
The (m * n)
-th Chebyshev T
polynomial is the composition of the m
-th and n
-th.
The (m * n)
-th Chebyshev C
polynomial is the composition of the m
-th and n
-th.