core30 min studyLesson 27 in Physics

The quantum harmonic oscillator

Solve an oscillator through ladder operators and understand zero-point energy, number states, and the limits of classical analogies.

On this page

What you’ll understand

  • Use creation and annihilation operators to calculate oscillator energies.
  • Calculate position spread in a number state and interpret zero-point motion.
  • Explain why oscillator excitation is not automatically material particle creation.

A stable equilibrium often looks quadratic when viewed closely enough, so the oscillator is much more than a special potential. Its algebra also becomes a building block for quantized fields. First, however, solve one nonrelativistic degree of freedom and keep clear what its excitation number counts. The algebra will reveal equally spaced energies without solving a differential equation for every state.

Factor the Hamiltonian without commuting away the physics

The oscillator Hamiltonian is H=p2/(2m)+mω2x2/2H=p^2/(2m)+m\omega^2x^2/2, with mass m>0m>0 and angular frequency ω>0\omega>0. Define dimensionless lowering and raising operators from position and momentum. Their order matters because [x,p]=iℏ[x,p]=i\hbar. This gives [a,a†]=1[a,a^\dagger]=1 and an extra one-half in the Hamiltonian. Treating xx and pp as ordinary commuting numbers would miss that term.

The number operator N=a†aN=a^\dagger a is nonnegative because its expectation is the squared norm of a∣ψ⟩a|\psi\rangle. A lowest state satisfies a∣0⟩=0a|0\rangle=0. Raising repeatedly constructs normalized number states ∣n⟩|n\rangle, and lowering cannot continue below zero. The argument uses normalizability and positivity, not a postulate that an oscillator follows a classical orbit whose amplitude happens to be discrete.

a=mω2ℏx+i p2mℏω,H=ℏω(a†a+12),[a,a†]=1a=\sqrt{\frac{m\omega}{2\hbar}}x+\frac{i\,p}{\sqrt{2m\hbar\omega}},\qquad H=\hbar\omega\left(a^\dagger a+\frac12\right),\qquad [a,a^\dagger]=1
The operators act on the one-dimensional oscillator state space, with canonical position–momentum commutation and the usual normalizable domain.↔ Scroll wide equations horizontally.

A ladder of states and a nonzero ground energy

The energies are En=ℏω(n+1/2)E_n=\hbar\omega(n+1/2) for nonnegative integers nn. Adjacent levels have the same gap ℏω\hbar\omega, unlike the square well's increasing gaps. The lowering amplitude is n\sqrt{n} and the raising amplitude is n+1\sqrt{n+1}. These factors follow from the ladder algebra in a normalized basis; an operator's output generally needs renormalizing. They are amplitudes, not probabilities for spontaneous transitions without a specified interaction.

The ground energy is ℏω/2\hbar\omega/2. A normalized state cannot have both perfectly definite zero position and zero momentum, so the lowest energy balances kinetic and potential contributions. This zero-point energy belongs to the chosen Hamiltonian. Energy differences are what a simple isolated oscillator spectroscopy experiment measures; interpreting an infinite sum of field-mode zero-point energies involves additional physics and regularization, which this single-oscillator result does not settle.

En=ℏω(n+12),a∣n⟩=n ∣n−1⟩,a†∣n⟩=n+1 ∣n+1⟩E_n=\hbar\omega\left(n+\frac12\right),\qquad a|n\rangle=\sqrt n\,|n-1\rangle,\qquad a^\dagger|n\rangle=\sqrt{n+1}\,|n+1\rangle
The lowering operator annihilates the ground state. Here n counts excitations of one oscillator degree of freedom, not necessarily distinct material particles.↔ Scroll wide equations horizontally.

A quantum oscillator need not visibly oscillate

Every number state has ⟨x⟩=⟨p⟩=0\langle x\rangle=\langle p\rangle=0 and stationary probability density. Nevertheless, its position spread is nonzero: (Δx)2=ℏ(2n+1)/(2mω)(\Delta x)^2=\hbar(2n+1)/(2m\omega). Calling that spread an orbit would assign a trajectory the state does not specify. An energy eigenstate does not trace the classical sinusoid in time simply because the potential is harmonic.

A coherent superposition of number states can instead have an oscillating position expectation. Coherent states give a particularly useful link to classical motion: their center follows the classical undamped oscillator while the minimal Gaussian uncertainty remains. A damped classical animation is still only a comparison of restoring-force time scales. Modeling quantum damping requires coupling to an environment and a suitable open-system description; a shrinking drawn trajectory is not a wavefunction collapse law.

Energy and spread in the second excited state

An oscillator is in ∣2⟩|2\rangle. Find its energy, the state after lowering and renormalizing, and its position standard deviation relative to the ground-state value x0=ℏ/(2mω)x_0=\sqrt{\hbar/(2m\omega)}.

  1. Insert n=2n=2 into the spectrum: E2=(5/2)ℏωE_2=(5/2)\hbar\omega. This is the third level when the ground level is counted as the first.

  2. Apply the lowering rule: a∣2⟩=2∣1⟩a|2\rangle=\sqrt{2}|1\rangle. Its norm is 2\sqrt{2}, so the normalized resulting vector is ∣1⟩|1\rangle. The action of a is not itself a complete measurement protocol.

  3. Use the variance formula: (Δx)2=(2⋅2+1)x02=5x02(\Delta x)^2=(2\cdot2+1)x_0^2=5x_0^2. Thus Δx=5x0\Delta x=\sqrt{5}x_0, even though the position expectation remains zero.

The result

Higher number states have larger energy and wider position distributions, but no oscillating position mean.

Explore the model

Interactive lab

Interactive lab · oscillator

Classical motion as a carefully bounded analogy

This is an analytic classical unit-mass oscillator starting at displacement 1 and velocity 0. Set damping to zero to compare its frequency with a coherent state's moving center. Changing damping illustrates classical decay; it does not evolve a quantum number state or include quantum environmental noise.

Classical motion as a carefully bounded analogyUnit mass, x(0) = 1 and v(0) = 0. The analytic solution includes underdamped, critically damped and overdamped cases; time is measured in seconds. Current readings: Displacement x(t): 1; Velocity v(t): 0; Regime: underdamped. All parameters are adjustable with the labeled controls below.02.557.510−1.15−0.5700.571.15Time · sDisplacementunderdamped
Displacement x(t)Current time
Displacement x(t)
1
Velocity v(t)
0
Regime
underdamped
t = 0 s

Unit mass, x(0) = 1 and v(0) = 0. The analytic solution includes underdamped, critically damped and overdamped cases; time is measured in seconds. Parameter changes pause playback and recompute the model at the current elapsed time. Reset restores both parameters and returns time to zero. Playback starts paused. Adjust either parameter, then choose Play or Step.

Look forA classical sinusoid can model a coherent state's center under suitable assumptions, while a quantum number state's mean stays fixed.

Check your understanding

Which statement is true for an oscillator energy eigenstate |n⟩?

Try it yourself

For ∣3⟩|3\rangle, calculate ⟨N⟩\langle N\rangle, ⟨aa†⟩\langle aa^\dagger\rangle, and the energy needed to reach ∣4⟩|4\rangle. Why are the first two values different?

Take a moment to make a prediction or work it out on paper. Open a hint when you need one.

Give me a hint

Use aa†=a†a+1aa^\dagger=a^\dagger a+1 before taking the expectation.

Compare with the solution

The number expectation is 3, while ⟨aa†⟩=4\langle aa^\dagger\rangle=4. They differ because the operators do not commute. The energy difference is E4−E3=ℏωE_4-E_3=\hbar\omega. A perturbation that couples the states must supply that energy; ladder notation alone does not specify a transition rate.

Take it with you

  • The canonical commutator produces the ladder algebra and the one-half ground-energy term.
  • A number state has definite energy and a stationary, spatially spread distribution.
  • Oscillator excitations become a bridge to mode occupation, with the physical meaning supplied by the system being modeled.

Read further

Original sources and deeper explanations to follow at your own pace.

Optional progress, saved in this browser when available. Revisit any lesson at any time.

Lesson not marked complete.