A single quantized field mode behaves exactly like a quantum harmonic oscillator sitting in a parabolic potential well V(x) = ½ω²x² (ħ = m = 1). Its allowed energies are discrete:
E_n = (n + 1/2) ħω, n = 0, 1, 2, …
Even the ground state n = 0 keeps a non-zero zero-point energy E₀ = ½ħω — a direct consequence of Heisenberg's Δx·Δp ≥ ħ/2, since a mode "at rest" with exactly zero energy would need exactly zero uncertainty in both field quadratures. The left plot draws the well itself: each dashed line is a rung E_n, and ▶ Oscillate bounces a marker between the real classical turning points x_max = √(2E_n/ω²), where all the energy is potential.
A real cavity (or free space) supports a whole spectrum of modes, one harmonic oscillator per mode. Modelled here as a 1‑D chain of modes with frequencies ω_k = k·Δω, the total vacuum energy is the sum of every mode's own zero-point term, shown as the bar chart on the right:
E_vac(k꜀) = Σ_{k=1}^{k꜀} ½ħω_k = ½ħΔω · k꜀(k꜀+1)/2
This sum grows like k꜀² — it does not converge as more high-frequency modes are included. That is the famous ultraviolet divergence of vacuum energy: summed over literally all modes it is formally infinite, and only becomes physically meaningful once you compare two different cutoffs or geometries (as in the Casimir effect) or apply a renormalization scheme that subtracts the divergent part.
- ω, n — set the well's curvature and highlight one excited rung; ▶ Oscillate animates a particle bouncing between the classical turning points at that energy, correctly narrower for a stiffer (higher-ω) well.
- N, k꜀ — draw a bar for every mode's own ½ħω_k contribution; bars beyond the cutoff (gray) are excluded from the running sum shown live.
- Drag to pan and scroll to zoom the potential-well view on the left.