On this page
The Hermite polynomials of a mathematics course and the wavefunctions of the quantum harmonic oscillator are closely linked: each oscillator state is a Hermite polynomial times a Gaussian. Here are the first few polynomials, the rule that builds the rest, the integral that makes them orthogonal, and why they shape the oscillator's wavefunctions, each with a check you can do on paper.
What are Hermite polynomials?
Hermite polynomials Hₙ(x) are polynomials of degree n, one for each n = 0, 1, 2, …, defined on the whole real line; the physicists' version used here is listed in section 18.5 of the NIST Digital Library of Mathematical Functions (DLMF). The first four are:
H₀(x) = 1
H₁(x) = 2x
H₂(x) = 4x² − 2
H₃(x) = 8x³ − 12x
The leading coefficient of Hₙ is 2ⁿ, according to DLMF Table 18.3.1, which is why the top terms run 2x, 4x², 8x³. Notice the parity too: even n gives only even powers of x, odd n only odd powers. A compact definition is the Rodrigues formula, Hₙ(x) = (−1)ⁿ e^(x²) dⁿ/dxⁿ e^(−x²), which comes from putting the Hermite entries of DLMF Table 18.5.1 into the general Rodrigues formula there.
How do you generate Hermite polynomials from the recurrence?
You do not need to differentiate anything to get the next polynomial. The three-term recurrence H₍ₙ₊₁₎(x) = 2xHₙ(x) − 2nH₍ₙ₋₁₎(x) comes from the Hermite row of DLMF Table 18.9.1, starting from H₀ = 1 and H₁ = 2x.
Worked example, building H₄ by hand:
Take n = 3: H₄ = 2x·H₃ − 2·3·H₂.
Substitute: H₄ = 2x(8x³ − 12x) − 6(4x² − 2).
Expand: 16x⁴ − 24x² − 24x² + 12.
Collect: H₄(x) = 16x⁴ − 48x² + 12.
That matches DLMF equation 18.5.18. Three quick checks catch most slips:
The leading coefficient must be 2ⁿ, here 2⁴ = 16.
Only even powers for even n, only odd powers for odd n.
The 2n in the second term uses the n you start from (3 here), not the new degree (4).
What does orthogonality with weight e^(−x²) mean?
For m ≠ n, the integral of Hₘ(x)Hₙ(x)e^(−x²) from −∞ to ∞ is zero; for m = n it equals √π · 2ⁿ · n!, the normalisation constant in DLMF Table 18.3.1.
You can see the first half with symmetry alone. H₁·H₂ = 2x(4x² − 2) = 8x³ − 4x is odd, e^(−x²) is even, so the product is odd and its integral over the whole line is zero. For the second half, take H₁ with itself: the integral of 4x²e^(−x²) is 4 · √π/2 = 2√π, and √π · 2¹ · 1! is also 2√π.
Orthogonality works like perpendicular vectors: if f(x) = Σ cₙHₙ(x), then cₙ is the integral of f(x)Hₙ(x)e^(−x²) divided by √π · 2ⁿ · n!.
What is the generating function of Hermite polynomials?
The whole family is packed into one exponential: e^(2xz − z²) = Σ Hₙ(x) zⁿ/n!, summed from n = 0, which is DLMF equation 18.12.15.
Try it. Write u = 2xz − z² and expand e^u = 1 + u + u²/2 + …, keeping powers of z up to z²: 1 + 2xz − z² + 2x²z² + …. The coefficient of z is 2x, which is H₁/1!. The coefficient of z² is 2x² − 1, which is H₂/2!, so H₂ = 4x² − 2, as listed above.
Why do Hermite polynomials appear in the quantum harmonic oscillator?
For a particle of mass m in a potential with angular frequency ω, the stationary states are ψₙ(x) = (2ⁿ n!)^(−1/2) (mω/πħ)^(1/4) e^(−mωx²/2ħ) Hₙ(√(mω/ħ) x), with energies Eₙ = ħω(n + ½), as set out in the Wikipedia article on the quantum harmonic oscillator. HyperPhysics puts it in words: the Gaussian is multiplied by a polynomial of order n and the constants needed to normalise the wavefunction.
Each property above has a physical meaning:
Orthogonality. With ξ = √(mω/ħ) x, the Gaussian factor squared is e^(−ξ²), exactly the Hermite weight, so different states are orthogonal because different Hermite polynomials are.
Parity. Hₙ is even or odd, so ψₙ is too: the ground state is symmetric, the first excited state antisymmetric.
Spacing. Each step up in n adds one degree to the polynomial and ħω to the energy.
The diagram at the top shows ψ₀ to ψ₃ on their energy levels inside the potential's parabola. Each curve leaks a little past the points where the parabola meets its level.
A 20-minute practice plan
Write H₀ to H₃ from memory, then build H₄ and H₅ with the recurrence (you should get H₅ = 32x⁵ − 160x³ + 120x).
Show by parity that H₂ and H₃ are orthogonal, then check that the integral of H₂² e^(−x²) over the whole line is 8√π.
Read H₃ off the generating function by expanding to z³.
Sketch ψ₀ to ψ₃ and mark where each changes sign.
If one of these steps stalls you, the Fermi Concept Library gives every concept in physics and mathematics its own lesson and its place in the map, so you can step back to Gaussian integrals or parity before trying again. For more practice, the Fermi Problem Library has worked problems with a step-by-step solver that explains the reasoning rather than printing an answer.



