The Hermite polynomials are a set of functions
that appear in physics and statistics,
although slightly different definitions are used in those fields.
Physicists’ definition
The Hermite equation is an eigenvalue problem for n,
and the Hermite polynomials Hn(x) are its eigenfunctions u(x),
subject to the boundary condition that u grows at most polynomially,
in which case the eigenvalues n are non-negative integers:
u′′−2xu′+2nu=0
The nth-order Hermite polynomial Hn(x)
is therefore as follows, according to physicists:
Hn(x)=(−1)nexp(x2)dxndnexp(−x2)=(2x−dxd)n1
This form is known as a Rodrigues’ formula.
The first handful of Hermite polynomials are:
And then more Hn can be computed quickly
using the following recurrence relation:
Hn+1(x)=2xHn(x)−2nHn−1(x)
They (almost) form an Appell sequence,
meaning their derivatives are like so:
dxkdkHn(x)=2k(n−k)!n!Hn−k(x)
Importantly, all Hn are orthogonal with respect to the weight function w(x)≡exp(−x2):
⟨Hn∣wHm⟩≡∫−∞∞Hn(x)Hm(x)w(x)dx=π2nn!δnm
Where δnm is the Kronecker delta.
Finally, they form a basis in the Hilbert space
of all functions f(x) for which ⟨f∣wf⟩ is finite.
This means that every such f can be expanded in Hn: