Ladder Operators for the Harmonic Oscillator
A vibrating diatomic molecule stores energy in quanta, and a piano string does not. The difference is discreteness. The fastest way to see where it comes from is algebra, not calculus. Solving the harmonic oscillator Schrödinger Equation by series methods eventually produces the Hermite Functions and Oscillator Wavefunctions. These form a tower of polynomials dressed in Gaussians. But there is a second route, due essentially to Dirac. It never writes down a differential equation at all. Instead it factors the Hamiltonian into a product of two new operators. These are traditionally called and . Their commutation relation alone forces the energy spectrum to be evenly spaced by . This matters far beyond a computational shortcut. The ladder-operator method is the prototype for how quantum field theory describes photons, phonons, and every other harmonic excitation. A "particle" is just one quantum of raising operator acting on a vacuum. It is also the cleanest illustration of a key idea. An abstract commutation relation, , can by itself generate an entire spectrum. This happens without ever solving for a wavefunction in position space. Vibrational spectroscopy, laser cooling, cavity quantum electrodynamics, and the second-quantized treatment of molecular vibrations all lean on this algebra. This includes force-field and ab initio anharmonic calculations. The big picture is that the one-dimensional harmonic oscillator Hamiltonian,
can be rewritten as . Here and lower and raise the number of vibrational quanta by exactly one. The eigenstates built this way are identical to the Hermite-function eigenstates. Those are obtained by direct integration of the differential equation. The algebra is not a different theory. It is a different, more powerful bookkeeping system for the same physics. This article builds the operators from scratch and derives the commutator. It proves the spectrum is by pure operator algebra. It constructs the normalized eigenstates by repeated raising from the ground state. Finally, it connects the number-operator picture back to position-space wavefunctions. It also connects this picture to matrix elements needed for selection rules in vibrational spectroscopy.
- Define and its adjoint; they obey .
- The Hamiltonian becomes with number operator .
- has non-negative integer eigenvalues only, forced by requiring norms at every rung of the ladder.
- and generate every eigenstate from .
- Matrix elements of and in the basis vanish unless , which is the algebraic root of the harmonic-oscillator selection rule in IR spectroscopy.
- Key idea: factoring into turns solving a differential equation into counting quanta with a commutator.
The single commutation relation , together with positivity of the norm, forces the harmonic oscillator spectrum to be an infinite, evenly spaced ladder — no series solution, no Hermite polynomial, no boundary condition at infinity is needed to get the energies.
Where this lives today
Vibrational spectroscopy still uses the harmonic selection rule derived above as the zeroth-order guide for interpreting infrared and Raman spectra of every diatomic and polyatomic molecule, with anharmonic corrections computed as perturbative mixing between number states via cubic and quartic terms in . Molecular dynamics force fields and normal-mode analyses represent a polyatomic molecule's small-amplitude vibrations as a set of independent harmonic oscillators (normal modes), each quantized with its own ladder operators, and thermodynamic partition functions for vibrations are built directly from the evenly spaced ladder. In condensed-matter physics, lattice vibrations are quantized as phonons using precisely this creation/annihilation algebra applied mode-by-mode to the crystal's normal coordinates; phonon population statistics, thermal conductivity, and Raman/infrared selection rules in solids all trace back to for each phonon mode . Quantum optics and cavity quantum electrodynamics use the identical algebra for photon number states of a cavity mode, with coherent states (eigenstates of ) describing laser light and squeezed states built by non-trivial combinations of used in gravitational-wave detectors such as LIGO to beat the standard quantum limit. In trapped-ion quantum computing, a single ion's motional state in a harmonic trap is manipulated and cooled to its ground state () using exactly the raising/lowering language developed here, and sideband cooling exploits the coupling to laser fields to reach the vibrational ground state needed for high-fidelity quantum logic gates.
:::quiz[What is the value of for the harmonic oscillator ladder operators as defined in this article?]
- ✓
Ask the tutor: How do the ladder operators change when treating a two-dimensional isotropic harmonic oscillator, and how does that foreshadow angular momentum quantization?
The physical picture
Think of the harmonic oscillator Hamiltonian as an unfactored quadratic form, in suitable units. If and were ordinary numbers this would factor as a difference of squares, , using . Because and do not commute, the factorization is not exact — but it is exact up to an extra additive constant that comes entirely from the commutator . This leftover constant is the origin of the famous zero-point energy . Physically, adds one quantum of vibrational energy to the system, and removes one. Repeated application of on any state must eventually terminate — you cannot remove infinitely many quanta from a system whose energy is bounded below — and this termination condition is what pins the ground state energy to exactly rather than zero. Everything above the ground state is built by climbing the ladder with , picking up a normalization factor at each rung, exactly mirroring how angular momentum raising and lowering operators build the ladder used later for the Particle on a Sphere and Spherical Harmonics problem. The position-space wavefunctions built from Hermite polynomials are not abandoned by this approach; they are recovered as the unique solution of , a first-order differential equation, followed by repeated differentiation-and-multiplication via . The ladder operators are thus a bridge: they give the spectrum algebraically and, when needed, regenerate the explicit real-space functions with far less labor than solving the second-order Hermite equation directly.
The core ideas
The starting Hamiltonian for a particle of mass on a spring of force constant is
where: are the position and momentum operators satisfying , and is the classical angular frequency. Reading: this is exactly the same Hamiltonian solved by Hermite functions; nothing physical has changed, only the algebra used to diagonalize it. Define the dimensionless-in-spirit combinations
where: is the annihilation (lowering) operator, its Hermitian-conjugate creation (raising) operator, and the prefactor is chosen precisely so the resulting commutator is unity. Reading: is a complex combination of position and momentum, not itself Hermitian, so it is not an observable — but will be. The fundamental commutation relation, derived below, is
where: the right side is the identity operator (times , i.e. a pure number in the chosen units). Reading: this single algebraic fact, inherited entirely from , is the engine that produces the entire energy ladder. The Hamiltonian rewritten in terms of the number operator is
where: is Hermitian () so its eigenvalues are real, and in fact turn out to be the non-negative integers . Reading: once you know , the energies fall out immediately as . The ladder action on normalized eigenstates is
where: the square-root prefactors are exactly what keep normalized to unity at every step; they are not free choices but forced by the algebra, as shown in the derivation below. Reading: this is the operational heart of the method — every matrix element, every selection rule, and every explicit wavefunction follows from these two lines. Position and momentum recovered from the ladder operators are
where: these are just the inverted definitions of . Reading: because only connect states differing by one quantum, and can only have nonzero matrix elements between and — the algebraic origin of the vibrational selection rule (in the harmonic approximation).
:::derivation[The commutator from ] Goal. Show that the specific prefactor chosen in the definitions of makes their commutator exactly the number , using only .
Step 1 — Write the product . Substitute the definitions:
Expand the product term by term, being careful not to commute and past each other:
Step 2 — Group the cross terms. The two middle terms combine as
Insert :
So
Step 3 — Compute the same way. Swapping the order of the factors flips the sign of the cross term:
Notice the quadratic terms in are identical in both expressions — only the sign of the constant flips.
Step 4 — Subtract. All the and pieces cancel exactly:
This confirms as a pure number, independent of — those constants were absorbed entirely into the choice of prefactor in Step 1. Equivalently, adding the two boxed expressions from Steps 2–3 gives , and comparing to shows
exactly the factorization promised.
Goal. Using only and , prove that has eigenvalues exactly — an infinite ladder, evenly spaced, bounded below — without ever writing .
Step 1 — Commutators of with the ladder operators. Using ,
These say lowers the eigenvalue of by 1, and raises it by 1 — proven precisely in Step 2.
Step 2 — Show is an eigenstate of with eigenvalue . Let for some (as yet unknown, but real and non-negative — see Step 3) number . Then
So is either the zero vector or an eigenvector of with eigenvalue . Identical algebra with shows has eigenvalue .
Step 3 — cannot be negative. The eigenvalue of equals a squared norm:
since the norm of any vector (here ) is non-negative. So every eigenvalue of satisfies .
Step 4 — The ladder must terminate exactly at zero. Suppose some eigenvalue were not a non-negative integer, e.g. . Applying repeatedly generates eigenvalues By Step 3 none of these can be negative — yet the sequence, if it never hits exactly zero, must eventually cross below zero after finitely many steps (since each step subtracts exactly 1). This is a contradiction. The only way to avoid it is for the descending chain to land exactly on and stop there, which requires (the null vector, not an eigenvector — the chain simply terminates). Hence every allowed must be a non-negative integer:
Step 5 — Read off the energies. Since and with ,
The zero-point energy is not an assumption; it is forced by the requirement together with the that appeared automatically in the factorization of .
Step 6 — Normalization constants on the ladder. Write . Taking the norm-squared,
(choosing the phase real and positive by convention). An identical computation with gives , so . This reproduces exactly the boxed ladder relations stated in the core ideas.
Worked examples
Example 1 — Foundational: building from the vacuum and checking its energy. Starting from , defined by and , construct and verify . Apply once:
Apply a second time, using the ladder rule with :
So , i.e.
Now check the energy directly using . First lower: . Then raise again: . So , confirming directly by explicit operator action rather than by assumption. Therefore
matching at exactly, with no reference to Hermite polynomials.
Example 2 — Applied: vibrational excitation energy of gas-phase CO and the algebraic origin of its IR selection rule. Carbon monoxide has a harmonic vibrational wavenumber (a genuine, oft-tabulated value; note it is not a round number, by design). Using , the fundamental quantum is
Compute the product stepwise:
The energy of the transition is exactly this quantum, since
regardless of which rung you start from — the ladder spacing is uniform, a direct consequence of having integer eigenvalues one apart. Why does only appear (in the harmonic/double-harmonic approximation)? The transition dipole matrix element for absorption involves (since the dipole moment is expanded linearly in the bond-length displacement for the harmonic approximation). Using ,
Every term on the right is nonzero only when ; there is no way to get or higher from a single power of . This is the operator-algebra proof of the harmonic selection rule, sharper and shorter than doing the corresponding Hermite-polynomial integral by hand.
Example 3 — Competition-level: matrix elements of and the anharmonic correction structure. Compute exactly (a nonzero, non-diagonal, non-adjacent-looking matrix element that tests whether the ladder algebra is applied correctly), for a particle of mass and frequency . Write in terms of ladder operators:
Act term by term on . Term : first , then . So , contributing nothing to . Term : first , then . This produces , orthogonal to , so it contributes to . Term : , then . Again produces , contributing to the overlap. Term : first , then . This is the only term with nonzero overlap onto , giving . Collecting only the surviving term,
This nonzero matrix element of (as opposed to ) is exactly why overtone and combination-band-inducing terms in real anharmonic potentials — which contain — connect states two, three, or four rungs apart, and why Raman scattering (which couples to -type polarizability terms) shows different selection rules from IR absorption.
Limiting cases, scope & common traps
| Regime / check | Behavior | Why |
|---|---|---|
| (ground state) | exactly; | zero-point energy is forced by the from the commutator, not a boundary-condition artifact |
| Large | Level spacing stays exactly , independent of | has strictly evenly spaced integer eigenvalues; classical correspondence emerges as relative spacing |
| (formal classical limit) | Spacing ; energy becomes effectively continuous | classical mechanics has no intrinsic quantum, matching the correspondence principle |
| Anharmonic real potentials (Morse, etc.) | Ladder operators only diagonalize the harmonic part; anharmonic terms mix different | are defined relative to one specific ; a cubic term like connects |
| Two or three dimensions (isotropic oscillator) | Factorizes into independent ladders, each with its own | Hamiltonian is separable; total gives degenerate shells, foreshadowing angular-momentum shell structure |
| Coherent/quasi-classical states | Eigenstates of (not ) with | minimum-uncertainty wavepackets that oscillate classically; not stationary states of |
The chemist behind it
Paul Adrien Maurice Dirac introduced the operator method for the harmonic oscillator in the earliest years of matrix and operator quantum mechanics, treating and as abstract non-commuting objects rather than differential operators acting on wavefunctions. His approach — factor the Hamiltonian, extract the algebra, read off the spectrum from positivity of the norm — became the template not only for the oscillator but for angular momentum, spin, and eventually the creation/annihilation operator formalism of quantum electrodynamics, where photons themselves are literally treated as quanta of a harmonic-oscillator-like field mode.
Origins · 1 minPaul Adrien Maurice Dirac and how this was discovered
Dirac unified Heisenberg's matrix mechanics and Schrödinger's wave mechanics into a single operator formalism, introduced bra–ket notation, predicted the positron from the relativistic electron equation that bears his name, and pioneered the second-quantized description of the electromagnetic field in which photon creation and annihilation operators obey exactly the algebra derived here for a single vibrational mode.
Are the ladder-operator eigenstates literally the same functions as the Hermite-polynomial wavefunctions ?
Yes. Solving as a first-order ODE in position representation gives the Gaussian ground state , identical to the Hermite function. Repeatedly applying in position representation (a combination of multiplying by and differentiating) generates the same sequence of Hermite polynomials times a Gaussian that the series-solution method produces. The two approaches are completely equivalent descriptions of the same eigenstates; the operator method just avoids ever writing the second-order differential equation explicitly.
Why is the zero-point energy exactly and not zero?
It comes directly from the algebra: , and the appears because is nonzero — a direct consequence of the position–momentum commutator . Physically, the uncertainty principle forbids a particle from having simultaneously exact position (at the potential minimum) and exact momentum (zero), so the true minimum-energy state must have some residual kinetic and potential energy, and that residual works out to precisely .
Can and be measured directly in an experiment?
Not directly, since they are non-Hermitian and thus not observables. What is measured are Hermitian combinations: the position , the momentum , or the number operator , whose eigenvalue is the vibrational (or phonon, or photon) quantum number actually measured in spectroscopy or photon-counting experiments. The individual operators are best understood as bookkeeping devices that make the algebra transparent, analogous to how complex exponentials simplify Fourier analysis even though "complex amplitude" is not itself a direct observable.
How does this connect to angular momentum raising and lowering operators used for the rigid rotor and spherical harmonics?
The mathematical pattern is identical: define non-Hermitian combinations ( for angular momentum, versus here) that shift a quantum number by a fixed step, derive their commutator with the relevant Casimir-like operator, and use positivity of the norm to force quantization. For angular momentum this produces the integer/half-integer ladder and, ultimately, the spherical harmonics that solve the Particle on a Sphere and Spherical Harmonics problem; the harmonic oscillator ladder is the simplest, cleanest example of the same general strategy.
Do real molecular vibrations ever behave like true harmonic oscillators, or is this all an approximation?
Real molecular potentials are anharmonic — bonds dissociate, so the potential flattens at large displacement rather than rising forever as . The harmonic ladder-operator treatment is the leading-order approximation, valid for small-amplitude vibrations near the potential minimum and for low vibrational quantum numbers. Anharmonic corrections are typically added perturbatively using the same basis, since matrix elements of in the harmonic basis are easy to compute exactly using the algebra demonstrated in the worked examples.
Why does raising or lowering pick up a or factor instead of just moving to the neighboring state unchanged?
The square-root factors are required to keep every normalized to one. If simply equaled with no prefactor, the norm of would have to equal the norm of , namely 1 — but a direct computation of shows the actual norm-squared is , not 1. The prefactor is exactly what reconciles these two numbers, and it is derived rather than assumed.
What would go wrong if someone used and defined without the specific prefactor ?
Any other constant multiplying would rescale the commutator to some value other than exactly 1, for example or depending on the chosen normalization. The final physics (the energy spectrum) would still come out correctly after adjusting the algebra consistently, but the clean statement with integer eigenvalues of specifically requires the prefactor derived here; that is why the convention is universal in textbooks and research literature alike.