The Harmonic Oscillator
1. Why the harmonic oscillator
A pendulum at small angles, molecular vibrations, and lattice vibrations all approximate the same motion: displacement from equilibrium produces a restoring force proportional to that displacement. We first explain why this approximation is common, then calculate the allowed quantum energies.
Near a stable equilibrium , a smooth potential with has a leading quadratic term. The linear term vanishes because , so a Taylor expansion gives
The constant only sets the zero of energy. The quadratic term describes a harmonic oscillator, whose restoring force is proportional to displacement.
We study the quantum oscillator because the same calculation will apply to each momentum mode of a free field.

Near equilibrium, a smooth potential agrees with its quadratic approximation. The curvature determines the restoring force.
2. The classical oscillator
For a mass on a spring of stiffness , add the kinetic and elastic potential energies:
Here is the angular frequency. The constants and fix it. Increasing the initial displacement or momentum increases the energy and amplitude, while the ideal oscillator's frequency stays the same.
A state is a point in phase space. At fixed energy, the equation above describes an ellipse. As the mass oscillates, energy alternates between kinetic and potential forms. The Field Quantization page applies this description to individual field modes.

A classical orbit has constant total energy. Potential energy is greatest at the turning points; kinetic energy is greatest at equilibrium.
3. Quantization
Following First Quantization, replace position and momentum with operators satisfying
and use the same energy expression to define the Hamiltonian operator:
To find the allowed energies, solve . In the position representation this is a second-order differential equation. We can instead use the commutator to find the energies without first calculating the wave functions.
4. Ladder operators
Classically, the oscillator can have any nonnegative energy. To find what changes after quantization, we seek operators that connect states of different energy. For this quadratic Hamiltonian, the useful combinations are
The dagger denotes the adjoint. Substituting into the commutator of these two combinations gives
Next, solve the definitions for and and substitute them into the Hamiltonian. Using the new commutator to collect terms gives
To find the energies, we now need the eigenvalues of . Each unit of this operator contributes energy , in addition to the constant .
Checking the ladder-operator algebra
Write , where and . Since ,
Multiplication in the stated order gives
Multiplying by recovers the Hamiltonian with its extra . That constant comes from the noncommuting position and momentum operators.
5. The number operator and the spectrum
Define the number operator . Using , we obtain
If a state has number eigenvalue , these relations imply that lowers it to and raises it to , whenever the resulting vector is nonzero.
The allowed energies are , with . The essential constraint is that cannot have a negative expectation value. This forces the lowering sequence to end at a ground state.
Deriving the lowest state and the energy spectrum
Find the lowest state. For any state, , so number eigenvalues cannot be negative. Repeated lowering must therefore end at a state with . This state has number eigenvalue zero.
Repeatedly apply to obtain . The lowering cannot stop at a positive noninteger eigenvalue: the squared norm after one more lowering would still be positive, eventually producing a forbidden negative eigenvalue. These states satisfy for nonnegative integers . Substituting into the Hamiltonian gives
Adjacent levels differ by . We call this energy increment a quantum of excitation. The creation operator adds one quantum; the annihilation operator removes one:
The factors and follow from normalizing the states to . Equivalently, . Acting on the ground state gives , so there is no lower energy level.

Creation and annihilation operators connect neighboring energy states. The lowest state has energy one-half hbar omega, and lowering it gives the zero vector.
6. Zero-point energy
Even the ground state has energy , called zero-point energy. Zero total energy would require both position and momentum to be sharply zero. The relation forbids that state.
The ground state is stationary, but its position and momentum distributions both have nonzero width. Zero-point energy does not mean that the particle follows a definite classical oscillation.

The stationary ground state has Gaussian position and momentum distributions. Their finite widths saturate the uncertainty bound.
7. Why it matters later
The oscillator calculation has produced equally spaced excitations and a lowest-energy state. In Field Quantization, we expand a free scalar field in spatial Fourier modes. Each independent mode behaves as an oscillator with frequency . Its excitation number then counts particles of that momentum.
Before making that field interpretation, we need equations consistent with special relativity. The next chapter establishes how space, time, energy, and momentum transform between observers.
The field-quantization page rescales the oscillator coordinate to absorb the mass, giving . The ladder operators consequently have no explicit , but their commutator and energy spectrum are the ones derived here.
Previous: First Quantization
Next: Special Relativity