Hermite Polynomials

⚡ Key Takeaways

Hermite polynomials Hn(x)H_n(x) are a family of orthogonal polynomials arising from the weight e−x2e^{-x^2} on the real line. They are eigenfunctions of the differential operator behind the quantum harmonic oscillator and the Gaussian, and form a complete orthogonal basis for L2(R,e−x2)L^2(\mathbb{R}, e^{-x^2}). Used in quantum mechanics, probability, numerical quadrature, and signal processing. Named after Charles Hermite (1864), though Laplace and Chebyshev anticipated them.

💡 The Core Insight

A single weight function — the Gaussian — determines, by demanding orthogonality, an entire infinite family of polynomials. Because the Gaussian is the unique fixed point of the Fourier transform and the ground state of the harmonic oscillator, these polynomials inherit extraordinary structure: they diagonalize differentiation-plus-multiplication operators, encode the algebra of raising and lowering, and are simultaneously analytic, algebraic, and physical objects.

Formal Statement

DefinitionPhysicists' Hermite Polynomials — Rodrigues Formula

The physicists' Hermite polynomials are defined by the Rodrigues formula

1
Hn(x)=(−1)nex2dndxne−x2,n=0,1,2,…\quad H_n(x) = (-1)^n e^{x^2}\frac{d^n}{dx^n}e^{-x^2},\qquad n = 0,1,2,\dots

Derivation hint: each derivative of e−x2e^{-x^2} produces e−x2e^{-x^2} times a polynomial; the prefactor (−1)nex2(-1)^n e^{x^2} strips the exponential, leaving a degree-nn polynomial with leading coefficient 2n2^n. Here x∈Rx \in \mathbb{R}, nn is the degree (a non-negative integer), and the leading term of HnH_n is 2nxn2^n x^n.

DefinitionExplicit Sum and First Few Polynomials

The closed-form expansion is

2
Hn(x)=n!∑m=0⌊n/2⌋(−1)mm! (n−2m)! (2x)n−2m.\quad H_n(x) = n!\sum_{m=0}^{\lfloor n/2\rfloor}\frac{(-1)^m}{m!\,(n-2m)!}\,(2x)^{n-2m}.

Derivation hint: substitute the Maclaurin series of the generating function e2xt−t2e^{2xt - t^2} and collect the coefficient of tn/n!t^n/n!, using the Cauchy product of e2xte^{2xt} and e−t2e^{-t^2}. The first six are:

3
H0=1,H1=2x,H2=4x2−2,H3=8x3−12x,H4=16x4−48x2+12,H5=32x5−160x3+120x.\quad \begin{aligned} H_0 &= 1, & H_1 &= 2x, & H_2 &= 4x^2 - 2,\\ H_3 &= 8x^3 - 12x, & H_4 &= 16x^4 - 48x^2 + 12, & H_5 &= 32x^5 - 160x^3 + 120x. \end{aligned}

Derivation hint: apply the recurrence [6] starting from H0=1, H1=2xH_0=1,\,H_1=2x, or expand [2] term by term.

DefinitionProbabilists' Convention

The probabilists' Hermite polynomials use the standard-normal weight:

4
Hen(x)=(−1)nex2/2dndxne−x2/2.\quad He_n(x) = (-1)^n e^{x^2/2}\frac{d^n}{dx^n}e^{-x^2/2}.

Derivation hint: identical to [1] with e−x2/2e^{-x^2/2} in place of e−x2e^{-x^2}; the scaling x↦x/2x \mapsto x/\sqrt2 relates the two families. The two conventions are related by

5
Hn(x)=2n/2 Hen(2 x),Hen(x)=2−n/2Hn(x/2).\quad H_n(x) = 2^{n/2}\,He_n(\sqrt2\,x),\qquad He_n(x) = 2^{-n/2}H_n(x/\sqrt2).

Derivation hint: substitute the change of variable u=2 xu = \sqrt2\,x into the Rodrigues formulas and compare derivative chains.

TheoremDefining Properties

The physicists' Hermite polynomials satisfy:

(a) Three-term recurrence:

6
Hn+1(x)=2x Hn(x)−2n Hn−1(x).\quad H_{n+1}(x) = 2x\,H_n(x) - 2n\,H_{n-1}(x).

Derivation hint: differentiate the generating function [9] with respect to tt and equate coefficients of tnt^n.

(b) Differential equation (Hermite's ODE):

7
Hn′′−2x Hn′+2n Hn=0.\quad H_n'' - 2x\,H_n' + 2n\,H_n = 0.

Derivation hint: substitute y=Hny=H_n into the Sturm–Liouville form (e−x2y′)′+2n e−x2y=0(e^{-x^2}y')' + 2n\,e^{-x^2}y = 0 and expand the derivative.

(c) Derivative relation:

8
Hn′(x)=2n Hn−1(x).\quad H_n'(x) = 2n\,H_{n-1}(x).

Derivation hint: differentiate the Rodrigues formula or the generating function with respect to xx.

TheoremGenerating Function and Orthogonality

Generating function:

9
e2xt−t2=∑n=0∞Hn(x)tnn!.\quad e^{2xt - t^2} = \sum_{n=0}^{\infty}H_n(x)\frac{t^n}{n!}.

Derivation hint: write e2xt−t2=ex2e−(x−t)2e^{2xt-t^2}=e^{x^2}e^{-(x-t)^2} and Taylor-expand e−(x−t)2e^{-(x-t)^2} in tt about t=0t=0; the nn-th coefficient is (−1)nex2∂xne−x2/n!(-1)^n e^{x^2}\partial_x^n e^{-x^2}/n!.

Orthogonality:

10
∫−∞∞Hm(x) Hn(x) e−x2 dx=2n n! π  δmn.\quad \int_{-\infty}^{\infty}H_m(x)\,H_n(x)\,e^{-x^2}\,dx = 2^n\,n!\,\sqrt{\pi}\;\delta_{mn}.

Derivation hint: insert the Rodrigues form of one factor, integrate by parts nn times (boundary terms vanish from the Gaussian decay), and use ∫e−x2Hn(n)\int e^{-x^2}H_n^{(n)} telescoping to ∫e−x2(2nn!) dx\int e^{-x^2}(2^n n!)\,dx.

Why It Holds / Derivation

ProofOrthogonality from the Rodrigues Formula

We prove [10] for m≤nm \le n. 1. Substitute [1] for HnH_n:

11
I=∫−∞∞Hm(x) (−1)ndndxne−x2 dx.\quad I = \int_{-\infty}^{\infty}H_m(x)\,(-1)^n\frac{d^n}{dx^n}e^{-x^2}\,dx.

Derivation hint: the factor ex2e^{x^2} in the Rodrigues formula cancels the weight e−x2e^{-x^2}. 2. Integrate by parts nn times. Each boundary term contains a polynomial times e−x2e^{-x^2}, which vanishes at ±∞\pm\infty:

12
I=(−1)n(−1)n∫−∞∞(dndxnHm(x))e−x2 dx=∫−∞∞Hm(n)(x) e−x2 dx.\quad I = (-1)^n(-1)^n\int_{-\infty}^{\infty}\left(\frac{d^n}{dx^n}H_m(x)\right)e^{-x^2}\,dx = \int_{-\infty}^{\infty}H_m^{(n)}(x)\,e^{-x^2}\,dx.

Derivation hint: each integration by parts transfers one derivative from e−x2e^{-x^2} onto HmH_m, contributing a sign (−1)(-1); nn of them cancel the prefactor. 3. If m<nm < n, then Hm(n)≡0H_m^{(n)} \equiv 0 since deg⁡Hm=m\deg H_m = m, so I=0I = 0. 4. If m=nm = n, then Hn(n)=2nn!H_n^{(n)} = 2^n n! (the nn-th derivative of 2nxn2^n x^n), giving

13
I=2nn!∫−∞∞e−x2 dx=2nn! π.\quad I = 2^n n!\int_{-\infty}^{\infty}e^{-x^2}\,dx = 2^n n!\,\sqrt{\pi}.

Derivation hint: ∫−∞∞e−x2dx=π\int_{-\infty}^{\infty}e^{-x^2}dx = \sqrt{\pi} is the Gaussian integral. By symmetry of the roles of m,nm,n this establishes [10]. ■\blacksquare

∎
ProofThe Differential Equation from the Recurrences

Combine [6] and [8]. 1. From [8], Hn−1=Hn′/(2n)H_{n-1} = H_n'/(2n), so substituting into [6]:

14
Hn+1=2x Hn−Hn′.\quad H_{n+1} = 2x\,H_n - H_n'.

Derivation hint: replace 2n Hn−12n\,H_{n-1} in [6] using [8]. 2. Differentiate [14] and use [8] with n→n+1n\to n+1, Hn+1′=2(n+1)HnH_{n+1}' = 2(n+1)H_n:

15
2(n+1)Hn=2Hn+2x Hn′−Hn′′.\quad 2(n+1)H_n = 2H_n + 2x\,H_n' - H_n''.

Derivation hint: ddx(2xHn)=2Hn+2xHn′\frac{d}{dx}(2xH_n) = 2H_n + 2xH_n'. 3. Rearranging gives Hermite's ODE [7]:

16
Hn′′−2x Hn′+2n Hn=0.■\quad H_n'' - 2x\,H_n' + 2n\,H_n = 0.\qquad\blacksquare

Derivation hint: collect terms and cancel the common factor of 22.

∎
CH
Charles Hermite
1822–1901

A French mathematician who never earned a formal degree in the standard way (he struggled with examinations) yet became one of the great analysts of the 19th century. In 1864 he studied these polynomials in connection with continued fractions and approximation, though Laplace had encountered them in 1810 in probability and Chebyshev in 1859. Hermite's broader legacy includes the first proof that ee is transcendental (1873) and foundational work on elliptic functions and the general quintic. The polynomials, the Hermite normal form, Hermitian matrices, and Hermite interpolation all bear his name. His insistence on the centrality of "natural" analytic objects — the Gaussian above all — shaped the subject.

Building Intuition

🧠 Intuition

Think of orthogonal polynomials as a Gram–Schmidt process applied to the monomials 1,x,x2,…1, x, x^2, \dots but with an inner product weighted by the Gaussian. The weight e−x2e^{-x^2} suppresses large xx, so the "geometry" of function space is curved toward the origin. The Hermite polynomials are simply the orthonormalized monomials in this geometry — H0H_0 is the constant, H1H_1 is the linear function orthogonal to it, H2H_2 the quadratic orthogonal to both, and so on. A second picture: the operator a^†=x−12ddx\hat a^\dagger = x - \tfrac12 \frac{d}{dx} (a "raising operator") manufactures Hn+1H_{n+1} from HnH_n. Applied repeatedly to the Gaussian ground state, it generates the entire family. Each application adds one node (zero crossing), so HnH_n has exactly nn real roots, all interlacing those of Hn+1H_{n+1} — like the overtones of a vibrating string, each higher mode wiggling one more time. A third picture: the parity is rigid. Hn(−x)=(−1)nHn(x)H_n(-x) = (-1)^n H_n(x), so even-index polynomials are even functions and odd-index ones are odd. This mirrors the symmetric/antisymmetric standing waves of the harmonic oscillator.

:::svg[The first four physicists' Hermite polynomials H0H_0 through H3H_3 on [−2,2][-2,2], showing increasing oscillation and parity alternation.] x y -1 1 H1 H2 H3

Worked Examples

ExampleComputing an Integral via Orthogonality

Given: Evaluate J=∫−∞∞x2 H2(x) e−x2 dx\displaystyle J = \int_{-\infty}^{\infty}x^2\,H_2(x)\,e^{-x^2}\,dx.

Step 1 — Express x2x^2 in the Hermite basis. From [3], H2=4x2−2H_2 = 4x^2 - 2, so

17
x2=14H2+12H0.\quad x^2 = \tfrac14 H_2 + \tfrac12 H_0.

Derivation hint: solve H2=4x2−2H_2 = 4x^2-2 for x2x^2.

Step 2 — Substitute and use orthogonality [10].

18
J=∫−∞∞(14H2+12H0)H2 e−x2 dx=14 ∥H2∥2+12⋅0.\quad J = \int_{-\infty}^{\infty}\left(\tfrac14 H_2 + \tfrac12 H_0\right)H_2\,e^{-x^2}\,dx = \tfrac14\,\|H_2\|^2 + \tfrac12\cdot 0.

Derivation hint: the H0H2H_0 H_2 cross term vanishes since 0≠20\ne2.

Step 3 — Plug in the norm ∥H2∥2=22 2! π=8π\|H_2\|^2 = 2^2\,2!\,\sqrt{\pi} = 8\sqrt\pi.

19
J=14⋅8π=2π.\quad J = \tfrac14 \cdot 8\sqrt\pi = 2\sqrt\pi.

Derivation hint: use [10] with n=2n=2.

 J=2π≈3.5449 \boxed{\,J = 2\sqrt{\pi}\approx 3.5449\,}
ExampleQuantum Harmonic Oscillator Ground and First Excited States

Given: The normalized eigenfunctions of the quantum harmonic oscillator (in units ℏ=m=ω=1\hbar=m=\omega=1) are

20
ψn(x)=12nn! π Hn(x) e−x2/2.\quad \psi_n(x) = \frac{1}{\sqrt{2^n n!\,\sqrt\pi}}\,H_n(x)\,e^{-x^2/2}.

Derivation hint: ψn\psi_n solves −12ψ′′+12x2ψ=(n+12)ψ-\tfrac12\psi'' + \tfrac12 x^2\psi = (n+\tfrac12)\psi when HnH_n solves [7]; the prefactor enforces ∫∣ψn∣2=1\int|\psi_n|^2=1 via [10]. Find ψ0\psi_0, ψ1\psi_1, and verify orthonormality of ψ0\psi_0.

Step 1 — Ground state (n=0n=0): H0=1H_0 = 1, norm 1⋅1⋅π=π1/4\sqrt{1\cdot 1\cdot\sqrt\pi}=\pi^{1/4}:

21
ψ0(x)=π−1/4 e−x2/2.\quad \psi_0(x) = \pi^{-1/4}\,e^{-x^2/2}.

Derivation hint: 200!π=π2^0 0! \sqrt\pi = \sqrt\pi, take the square root.

Step 2 — First excited state (n=1n=1): H1=2xH_1 = 2x, norm 2⋅1⋅π\sqrt{2\cdot1\cdot\sqrt\pi}:

22
ψ1(x)=2x2π e−x2/2=(4π)1/4x e−x2/2.\quad \psi_1(x) = \frac{2x}{\sqrt{2\sqrt\pi}}\,e^{-x^2/2} = \left(\tfrac{4}{\pi}\right)^{1/4} x\,e^{-x^2/2}.

Derivation hint: simplify 2/2π=2/π1/4=(4/π)1/42/\sqrt{2\sqrt\pi} = \sqrt2/\pi^{1/4} = (4/\pi)^{1/4}.

Step 3 — Verify ∫∣ψ0∣2=1\int|\psi_0|^2 = 1:

23
∫−∞∞π−1/2e−x2 dx=π−1/2π=1.\quad \int_{-\infty}^{\infty}\pi^{-1/2}e^{-x^2}\,dx = \pi^{-1/2}\sqrt\pi = 1.

Derivation hint: Gaussian integral.

  ψ0=π−1/4e−x2/2,ψ1=(4/π)1/4 x e−x2/2  \boxed{\;\psi_0 = \pi^{-1/4}e^{-x^2/2},\qquad \psi_1 = (4/\pi)^{1/4}\,x\,e^{-x^2/2}\;}

Energies: E0=12E_0 = \tfrac12, E1=32E_1 = \tfrac32 (in units of ℏω\hbar\omega).

Common Misconceptions

⚠️ Common mistake

The two conventions are NOT interchangeable. Physicists' HnH_n use weight e−x2e^{-x^2} and have leading coefficient 2n2^n; probabilists' HenHe_n use weight e−x2/2e^{-x^2/2} and leading coefficient 11. Always check which one a textbook or software uses (e.g., NumPy `numpy.polynomial.hermite` is physicists', `hermite_e` is probabilists'). A factor-of-2\sqrt2 scaling error from [5] silently corrupts every numerical result.

⚠️ Common mistake

The Rodrigues formula gives polynomials, not Gaussians. Students sometimes think Hn(x)H_n(x) "contains" e−x2e^{-x^2}. It does not — the exponentials cancel exactly. HnH_n is a pure polynomial; the Gaussian only appears in the weight and in the harmonic-oscillator wavefunctions ψn=cnHne−x2/2\psi_n = c_n H_n e^{-x^2/2}.

Counterexample

Orthogonality fails without the weight. One might guess ∫−∞∞HmHn dx=0\int_{-\infty}^{\infty}H_m H_n\,dx = 0 for m≠nm\ne n. This is false — indeed the integral diverges, since HmHnH_m H_n is a polynomial that grows without bound. For example

24
∫−∞∞H0(x)H2(x) dx=∫−∞∞(4x2−2) dx=+∞.\quad \int_{-\infty}^{\infty}H_0(x)H_2(x)\,dx = \int_{-\infty}^{\infty}(4x^2-2)\,dx = +\infty.

Derivation hint: a non-constant polynomial cannot have a finite integral over R\mathbb{R}; the Gaussian weight e−x2e^{-x^2} is essential for convergence and orthogonality.

Connections

connection

Hermite polynomials sit inside the larger theory of Orthogonal Polynomials, alongside Legendre Polynomials (weight 11 on [−1,1][-1,1]), Laguerre Polynomials (weight e−xe^{-x} on [0,∞)[0,\infty)), and Chebyshev Polynomials. All arise from the Sturm-Liouville Theory framework as eigenfunctions of self-adjoint operators. Their orthogonality [10] is a special case of the general Gram-Schmidt Process applied with a weighted Inner Product Space. In physics they are the bridge to the Quantum Harmonic Oscillator and, through the ladder operators, to the Creation and Annihilation Operators algebra. The Hermite functions ψn\psi_n are eigenfunctions of the Fourier Transform with eigenvalue (−i)n(-i)^n, linking these polynomials to harmonic analysis. In probability they generate the Edgeworth Expansion and the Wiener chaos decomposition of Gaussian Processes.

Real-World Applications

🔬 Where this appears

Historical Development

⏳ History
- 1810 — Pierre-Simon Laplace encounters the polynomials implicitly while studying probability and the normal distribution in Théorie analytique des probabilités.
- 1859 — Pafnuty Chebyshev studies them in the context of orthogonal expansions and least-squares approximation.
- 1864 — Charles Hermite publishes a systematic treatment connecting them to continued fractions and multivariate generalizations; the name becomes attached to him.
- 1880s — Thomas Stieltjes develops the general theory of orthogonal polynomials and the moment problem, with Hermite's polynomials as a key example.
- 1907–1910 — The Gram–Charlier and Edgeworth series formalize density approximation using Hermite polynomials in statistics.
- 1926 — Erwin Schrödinger solves the quantum harmonic oscillator; the Hermite functions become the canonical example of quantized energy levels.
- 1929 — Norbert Wiener uses Hermite functions in his homogeneous chaos theory, the seed of modern stochastic analysis.
- 1939 — Gábor Szegő's monograph Orthogonal Polynomials gives the definitive classical synthesis.
- 1947 — Wiener–Itô chaos expansion (Itô) places Hermite polynomials at the center of Malliavin calculus and stochastic PDEs.

Subtleties & Limits

open-problem

While the one-dimensional theory is complete, several deeper questions remain active. The precise asymptotic distribution of the zeros of HnH_n (Plancherel–Rotach asymptotics) connects to random matrix theory: the largest eigenvalue of a Gaussian unitary ensemble matrix and the largest Hermite zero share the Tracy–Widom distribution, and sharp universality results in this direction are still being refined. In several variables, no unique canonical generalization exists — there are tensor-product Hermite polynomials, Hermite polynomials for general covariance matrices, and the theory of multivariate orthogonal polynomials on weighted domains remains incomplete. Computationally, evaluating Hn(x)H_n(x) for large nn and large xx suffers severe overflow/cancellation, and numerically stable algorithms (e.g., via the recurrence in log-space or asymptotic expansions) are an ongoing engineering concern in high-dimensional quadrature and spectral methods.

See Also

Orthogonal Polynomials · Legendre Polynomials · Laguerre Polynomials · Chebyshev Polynomials · Quantum Harmonic Oscillator · Creation and Annihilation Operators · Gaussian Quadrature · Sturm-Liouville Theory · Fourier Transform · Edgeworth Expansion