Hermite polynomials #
This file defines Polynomial.hermite n
, the n
th probabilists' Hermite polynomial.
Main definitions #
Polynomial.hermite n
: then
th probabilists' Hermite polynomial, defined recursively as aPolynomial ℤ
Results #
Polynomial.hermite_succ
: the recursionhermite (n+1) = (x - d/dx) (hermite n)
Polynomial.coeff_hermite_explicit
: a closed formula for (nonvanishing) coefficients in terms of binomial coefficients and double factorials.Polynomial.coeff_hermite_of_odd_add
: forn
,k
wheren+k
is odd,(hermite n).coeff k
is zero.Polynomial.coeff_hermite_of_even_add
: a closed formula for(hermite n).coeff k
whenn+k
is even, equivalent toPolynomial.coeff_hermite_explicit
.Polynomial.monic_hermite
: for alln
,hermite n
is monic.Polynomial.degree_hermite
: for alln
,hermite n
has degreen
.
References #
the probabilists' Hermite polynomials.
Equations
- Polynomial.hermite 0 = 1
- Polynomial.hermite n.succ = Polynomial.X * Polynomial.hermite n - Polynomial.derivative (Polynomial.hermite n)
Instances For
@[simp]
theorem
Polynomial.hermite_succ
(n : ℕ)
:
Polynomial.hermite (n + 1) = Polynomial.X * Polynomial.hermite n - Polynomial.derivative (Polynomial.hermite n)
The recursion hermite (n+1) = (x - d/dx) (hermite n)
theorem
Polynomial.hermite_eq_iterate
(n : ℕ)
:
Polynomial.hermite n = (fun (p : Polynomial ℤ) => Polynomial.X * p - Polynomial.derivative p)^[n] 1
Lemmas about Polynomial.coeff
#
theorem
Polynomial.coeff_hermite_succ_zero
(n : ℕ)
:
(Polynomial.hermite (n + 1)).coeff 0 = -(Polynomial.hermite n).coeff 1
theorem
Polynomial.coeff_hermite_succ_succ
(n : ℕ)
(k : ℕ)
:
(Polynomial.hermite (n + 1)).coeff (k + 1) = (Polynomial.hermite n).coeff k - (↑k + 2) * (Polynomial.hermite n).coeff (k + 2)
theorem
Polynomial.coeff_hermite_of_lt
{n : ℕ}
{k : ℕ}
(hnk : n < k)
:
(Polynomial.hermite n).coeff k = 0
@[simp]
theorem
Polynomial.coeff_hermite_of_odd_add
{n : ℕ}
{k : ℕ}
(hnk : Odd (n + k))
:
(Polynomial.hermite n).coeff k = 0