Quantum Harmonic Oscillator
The one-dimensional quantum harmonic oscillator describes a degree of freedom displaced from a stable equilibrium and subject to a restoring force proportional to that displacement. Its Hamiltonian is
This model is unusually important for two separate reasons. It is an exactly solvable bound-state problem whose differential and algebraic solutions expose much of the structure of quantum mechanics. It is also the leading approximation to any smooth potential near a nondegenerate stable minimum. Molecular vibrations, trapped particles, lattice normal modes, electromagnetic modes, and free quantum fields all inherit oscillator mathematics.
This page is the physical overview. The complete wave-mechanics derivation belongs to Differential-Equation Solution, while the first algebraic derivation belongs to Ladder-Operator Solution: First Encounter.
Problem and Assumptions
Section titled “Problem and Assumptions”The configuration space is the full real line, and states are square-integrable wavefunctions in . In position representation,
so the stationary Schrödinger equation is
Because as , all energy eigenstates are bound and the spectrum is purely discrete. There are no hard walls: acceptable eigenfunctions and their derivatives are smooth, decay at both infinities, and remain nonzero in the classically forbidden tails.
The potential is even, , so the Hamiltonian commutes with parity. In one dimension, bound-state energies are nondegenerate; each oscillator eigenstate can therefore be assigned a definite parity.
Natural Scales
Section titled “Natural Scales”The parameters , , and determine a natural length,
a natural momentum,
and a natural energy, . The dimensionless phase-space variables
satisfy . The Hamiltonian then takes the parameter-free form
or, in position representation,
All one-dimensional oscillators are therefore the same dimensionless eigenvalue problem. Changing or only rescales position, momentum, energy, and time. In particular, larger squeezes the wavefunctions in position while broadening them in momentum.
The oscillator length is not the ground-state standard deviation. With the convention used here,
Some sources define their characteristic length as this standard deviation instead, so formulas should always be checked against the author’s convention.
Spectrum and Turning Points
Section titled “Spectrum and Turning Points”The allowed energies are
and neighboring levels have the constant spacing
The classical turning points at energy satisfy . Hence
The oscillator levels are separated by . Open circles mark the classical turning points . The horizontal segments indicate the classically allowed intervals, not the support of the quantum states: every eigenfunction has exponentially decaying tails beyond those points.
The equal spacing is exact only for a perfectly quadratic potential. Anharmonic corrections generally make transition frequencies depend on . The absence of degeneracy is also specific to the one-dimensional problem; multidimensional isotropic oscillators can have several independent states at the same total energy.
Energy Eigenfunctions
Section titled “Energy Eigenfunctions”The normalized position-space eigenfunctions are
where is the physicists’ Hermite polynomial. Equivalently,
where the dimensionless Hermite functions form an orthonormal basis of . Their identities, Fourier-transform behavior, and recurrence relations are collected in Hermite Functions.
The first three states are
Their qualitative structure follows general one-dimensional bound-state theory:
-
is real up to an overall phase.
-
It has parity :
-
It has exactly simple nodes on the real line.
-
Its largest-scale oscillations lie between the classical turning points, but its tails extend outside them.
-
Increasing increases both the spatial extent and the number of oscillations.
The position probability density of an energy eigenstate is stationary:
Stationarity does not mean that kinetic energy vanishes or that the particle sits still. It means that all time dependence is a global phase for that state.
Zero-Point Energy
Section titled “Zero-Point Energy”The lowest energy is
not zero. A rough uncertainty argument already gives the correct scale. Localizing a state to width requires , so
The competing terms prevent both kinetic and potential energy from vanishing. Minimizing this estimate gives and ; the Gaussian ground state attains the bound. Zero-Point Energy develops the exact operator argument and the limits of its physical interpretation.
Adding a constant to this single-particle Hamiltonian shifts every energy to without changing any state or transition frequency. What is invariant within the isolated model is the spacing. Absolute zero-point energies matter when gravity, changing boundary conditions, or comparisons between inequivalent Hamiltonians make the energy offset physically consequential.
Moments, Uncertainty, and the Virial Theorem
Section titled “Moments, Uncertainty, and the Virial Theorem”Parity immediately gives
The second moments are
and
Consequently,
Only the ground state saturates the Heisenberg lower bound. For every stationary eigenstate, the quantum virial theorem gives equal mean kinetic and potential energies:
These relations are strong diagnostics for analytic and numerical wavefunctions. A purported normalized eigenstate that violates them is not an oscillator eigenstate under the conventions above.
Matrix Elements and Selection Rule
Section titled “Matrix Elements and Selection Rule”Position and momentum connect only neighboring energy levels:
Thus a perturbation proportional to has the oscillator selection rule . This is a statement about matrix elements, not an absolute ban on other transitions: nonlinear couplings such as have different selection rules, and anharmonic eigenstates need not obey the ideal-oscillator rule exactly.
The ladder-operator derivation makes these formulas almost immediate. Here they also provide a compact bridge between stationary states and observable oscillatory motion.
Time Evolution
Section titled “Time Evolution”An arbitrary initial state can be expanded in the energy basis:
Its evolution is
Because all relative frequencies are integer multiples of , every normalizable oscillator state is cyclic with period
At , the state acquires the common phase , so all rays and observables return exactly. At half a period,
where is parity. The wavefunction therefore returns reflected about the origin, up to a global phase.
The Heisenberg equations are identical in form to the classical oscillator equations:
Their exact solution is
Taking expectation values shows that and follow the classical equations for every state, not only in a semiclassical limit. The state itself need not behave classically: energy eigenstates have zero mean displacement, squeezed states can change shape, and generic superpositions display interference.
Classical Correspondence
Section titled “Classical Correspondence”A classical oscillator of energy has continuous energy and oscillates between
Sampling the orbit uniformly in time gives the classical position density
This density is largest near the turning points, where the classical speed is smallest. A high- quantum density has many rapid oscillations and penetrates slightly into the forbidden region. After averaging over spatial scales larger than the local fringe spacing, it approaches the classical distribution away from the turning-point boundary layers.
This is the relevant correspondence statement. Pointwise convergence of does not occur because the oscillations become increasingly rapid rather than disappearing. Localized Coherent States provide a different classical limit: their probability packet follows the classical orbit without changing its width.
Why the Oscillator Is Universal
Section titled “Why the Oscillator Is Universal”Let a smooth potential have a stable, nondegenerate minimum at . Its Taylor expansion is
because . Identifying
gives a harmonic oscillator at leading nonconstant order. The approximation is reliable when the states of interest occupy displacements small enough that the cubic and higher terms are perturbative over the relevant wavefunction support.
For several coupled coordinates, a quadratic expansion produces a matrix of second derivatives. Diagonalizing the mass-weighted matrix separates the motion into independent normal modes, each of which is an oscillator. The method underlies Normal Modes of Polyatomics and the quantization of collective excitations.
The approximation can fail near a flat minimum, a barrier top, a strongly anharmonic region, or energies close to dissociation. A double well also cannot be globally replaced by one oscillator: local oscillators around the two minima miss tunneling between them.
Two Exact Solution Routes
Section titled “Two Exact Solution Routes”The two standard derivations answer different questions:
- Differential-Equation Solution scales the Schrödinger equation, extracts the Gaussian asymptotics, derives Hermite’s equation, and shows how square integrability selects the discrete energies.
- Ladder-Operator Solution: First Encounter factorizes the Hamiltonian, proves that the number operator is nonnegative, and constructs the spectrum by raising a lowest state.
The first route makes boundary behavior and special functions explicit. The second exposes the spectrum-generating algebra and computes matrix elements efficiently. Neither is merely a shortcut for the other; together they explain why the oscillator is both a wave equation and an algebraic template.
Worked Scaling Example
Section titled “Worked Scaling Example”Suppose the mass is increased by a factor of four while the angular frequency is held fixed. Then
so every position-space eigenfunction is compressed horizontally by a factor of two. The energy levels are unchanged because they depend on , not separately on :
The momentum scale doubles,
This example separates three ideas often conflated in dimensional reasoning: the mass controls the spatial and momentum scales, the frequency controls both those scales and the level spacing, and normalization supplies the corresponding amplitude factor in position space.
Numerical Benchmark
Section titled “Numerical Benchmark”The oscillator is an excellent test problem for discretization and eigensolver code because exact results are available. On a finite interval with a spatial grid, a trustworthy computation should demonstrate convergence under both increasing and decreasing grid spacing.
Useful checks include:
- eigenvalues approach ;
- numerical eigenvectors alternate in parity;
- the th state has interior nodes;
- the virial ratio approaches one;
- the wavefunction is negligible before reaching the artificial boundaries;
- eigenvectors are orthonormal under the quadrature rule used by the discretization.
Agreement of a few eigenvalues alone is not sufficient. A box that is too small can accidentally give plausible low-lying energies while distorting tails and moments.
Common Mistakes
Section titled “Common Mistakes”- Writing and dropping the zero-point term.
- Starting the oscillator quantum number at rather than .
- Confusing with .
- Interpreting the classical turning points as quantum boundary conditions.
- Assuming an energy eigenstate represents a localized particle moving back and forth.
- Treating equal level spacing as a generic feature of all confining potentials.
- Calling a particle-creation operator in this single-particle problem; it raises oscillator excitation.
- Expecting the high- probability density to converge pointwise to the classical density.
- Applying the local quadratic approximation without checking the size of anharmonic terms over the occupied region.
Where This Is Used
Section titled “Where This Is Used”- Hermite Polynomials supplies the special-function identities behind the differential solution.
- Number States develops the energy basis and occupation-number language.
- Displaced Oscillator shows that a linear force shifts the equilibrium without changing the level spacing.
- Squeezed States: First Encounter studies Gaussian states whose quadrature uncertainties are redistributed.
- Oscillator as a Universal Local Model develops the normal-mode and approximation viewpoint.
- Variational Estimate for the Harmonic Oscillator uses the exact ground state as a benchmark for variational reasoning.
- Vibrations of Diatomics applies the model to molecular spectra and identifies anharmonic corrections.
- Degeneracy in Separable Systems explains shell degeneracy for several identical oscillator coordinates.
- General Uncertainty Relations provides the uncertainty framework behind zero-point motion.
- Later quantum-matter, quantum-optics, and field-theory pages quantize independent normal modes as oscillators.
References
Section titled “References”- D. J. Griffiths and D. F. Schroeter, Introduction to Quantum Mechanics, 3rd ed., Cambridge University Press, 2018, ch. 2.
- R. Shankar, Principles of Quantum Mechanics, 2nd ed., Springer, 1994, ch. 7.
- J. J. Sakurai and J. Napolitano, Modern Quantum Mechanics, 3rd ed., Cambridge University Press, 2020, sec. 2.3.
- C. Cohen-Tannoudji, B. Diu, and F. Laloë, Quantum Mechanics, vol. 1, Wiley, 1977, complement V A.
- L. D. Landau and E. M. Lifshitz, Quantum Mechanics: Non-Relativistic Theory, 3rd ed., Butterworth-Heinemann, 1977, sec. 23.
Exercises
Section titled “Exercises”- Starting from the dimensional Schrödinger equation, use to derive the parameter-free Hamiltonian .
Solution
Because ,
The kinetic and potential terms become
and
Therefore
- Derive the turning points of the th eigenstate. By what factor does their magnitude change from to ?
Solution
Set the potential equal to the eigenenergy:
Using gives
The ratio is
- Use the given second moments to verify the virial theorem and find the uncertainty product in .
Solution
The kinetic expectation value is
Similarly,
Since both first moments vanish,
- Let
Find using .
Solution
The relative phase evolves at frequency . The diagonal position matrix elements vanish, so
The mean position follows a classical sinusoid even though the state is a coherent superposition of only two energies.
- Prove that evolution through half a classical period is parity up to a global phase.
Solution
For ,
Because , both operators have the same action on every basis state:
Thus .
- A numerical calculation gives low-lying energies accurate to four digits, but for the computed ground state. What should be checked before accepting the result?
Solution
The exact ground state obeys , so the moment calculation or the eigenvector is not converged even if the energy appears accurate. One should enlarge the interval, refine the grid or basis, verify the kinetic operator and quadrature weights, renormalize with the same discrete inner product, and confirm that the wavefunction is negligible at the artificial boundaries. Energies can converge faster than tails and derivative-sensitive observables.