Mathwords logoMathwords

Hermite Polynomial — Definition, Formula & Example

A Hermite polynomial is one member of a sequence of polynomials H0,H1,H2,…H_0, H_1, H_2, \dots in which each HnH_n has degree nn. Any two different members are perpendicular to each other when you weight them by the bell curve e−x2e^{-x^2}.

The (physicists') Hermite polynomials are defined by Hn(x)=(−1)nex2dndxne−x2H_n(x) = (-1)^n e^{x^2} \frac{d^n}{dx^n} e^{-x^2} for integers n≥0n \ge 0. They satisfy ∫−∞∞Hm(x)Hn(x)e−x2 dx=π 2nn! δmn\int_{-\infty}^{\infty} H_m(x) H_n(x) e^{-x^2}\,dx = \sqrt{\pi}\,2^n n!\,\delta_{mn}, the three-term recurrence Hn+1(x)=2xHn(x)−2nHn−1(x)H_{n+1}(x) = 2x H_n(x) - 2n H_{n-1}(x), and Hermite's differential equation y′′−2xy′+2ny=0y'' - 2xy' + 2ny = 0.

Key Formula

Hn(x)=(−1)nex2dndxn(e−x2)H_n(x) = (-1)^n e^{x^2} \frac{d^n}{dx^n}\left(e^{-x^2}\right)
Where:
  • nn = Degree of the polynomial, a nonnegative integer
  • xx = Real input variable
  • e−x2e^{-x^2} = Gaussian weight function that generates the family

Worked Example

Problem: Start from H0(x)=1H_0(x) = 1 and H1(x)=2xH_1(x) = 2x. Use the recurrence Hn+1(x)=2xHn(x)−2nHn−1(x)H_{n+1}(x) = 2xH_n(x) - 2nH_{n-1}(x) to find H3(x)H_3(x), then evaluate H3(2)H_3(2).
Step 1: Set n=1n = 1 in the recurrence to get H2H_2.
H2(x)=2x(2x)−2(1)(1)=4x2−2H_2(x) = 2x(2x) - 2(1)(1) = 4x^2 - 2
Step 2: Set n=2n = 2 to get H3H_3. The coefficient on the older term is now 2n=42n = 4.
H3(x)=2x(4x2−2)−4(2x)=8x3−4x−8x=8x3−12xH_3(x) = 2x(4x^2 - 2) - 4(2x) = 8x^3 - 4x - 8x = 8x^3 - 12x
Step 3: Substitute x=2x = 2.
H3(2)=8(8)−12(2)=64−24=40H_3(2) = 8(8) - 12(2) = 64 - 24 = 40
Answer: H3(x)=8x3−12xH_3(x) = 8x^3 - 12x, and H3(2)=40H_3(2) = 40. Notice that H3H_3 contains only odd powers. In general, HnH_n is an even function when nn is even and an odd function when nn is odd.

Why It Matters

In quantum mechanics, the energy states of the harmonic oscillator are Hn(ξ)e−ξ2/2H_n(\xi)e^{-\xi^2/2}, so Hermite polynomials appear in any undergraduate physics course on molecular vibrations. In numerical analysis, the roots of HnH_n are the sample points of Gauss–Hermite quadrature, which approximates integrals of the form ∫−∞∞f(x)e−x2 dx\int_{-\infty}^{\infty} f(x)e^{-x^2}\,dx.

Common Mistakes

Mistake: Mixing the physicists' polynomials HnH_n with the probabilists' polynomials HenHe_n, which statistics texts use. For example, He2(x)=x2−1He_2(x) = x^2 - 1, not 4x2−24x^2 - 2.
Correction: The probabilists' version uses weight e−x2/2e^{-x^2/2} and leading coefficient 1. The two families are linked by Hn(x)=2n/2Hen(2 x)H_n(x) = 2^{n/2} He_n(\sqrt{2}\,x). Check which convention your source uses before you copy a formula.

Related Terms