Resonant cavities confine electromagnetic waves and support standing wave modes at discrete resonant frequencies determined by geometry and boundary conditions. The quality factor Q = 2π(stored energy)/(energy lost per cycle) characterizes cavity performance. Resonant cavities are essential components in microwave devices, masers, particle accelerators, and tunable laser systems.
From waveguides and boundary value problems, you know two things: (1) electromagnetic waves in a conducting structure are forced to satisfy boundary conditions — tangential E vanishes at a conductor surface — and this restricts which modes can propagate; (2) when you have two opposing boundary conditions, standing waves form. A resonant cavity is simply a waveguide closed at both ends. Closing the second end turns propagating waves into standing waves, and only specific wavelengths fit between the walls. The result is a set of discrete resonant frequencies — the electromagnetic analog of a guitar string or an organ pipe.
For a rectangular cavity of dimensions a × b × d, the allowed modes (labeled TM_{mnp} or TE_{mnp}) have resonant frequencies f_{mnp} = (c/2)√((m/a)² + (n/b)² + (p/d)²), where m, n, p are non-negative integers (not all zero). Each combination (m,n,p) is a distinct standing wave pattern with its own spatial structure. The lowest-frequency mode — the fundamental — has the longest wavelength that fits and is usually the most useful. Higher modes coexist at higher frequencies and can interfere with operation if not suppressed.
The quality factor Q characterizes how long energy stays in the cavity. A cavity stores energy in the electromagnetic field and loses it through resistive heating of the (slightly imperfect) conducting walls. Q = 2π × (stored energy) / (energy dissipated per cycle) = ω × (stored energy) / (power loss). A high-Q cavity rings for many cycles before its energy decays significantly; the resonance is sharp and well-defined. For microwave cavities machined from copper, Q values of 10⁴–10⁵ are typical. Superconducting cavities used in particle accelerators achieve Q > 10¹⁰ because their walls have near-zero resistance. The inverse of Q gives the fractional bandwidth: a cavity with Q = 10⁴ at 1 GHz has a linewidth of about 100 kHz.
The practical applications follow directly from these properties. In microwave ovens, a magnetron generates microwaves at a frequency matched to the cavity formed by the oven enclosure. In particle accelerators (like CERN's LHC), superconducting RF cavities with enormous Q values accelerate proton bunches by providing a precisely timed oscillating electric field — the bunches must arrive in synchrony with the resonant mode. In masers and lasers, the optical or microwave resonator defines the oscillation frequency and provides feedback that sustains amplification. In every case, the cavity's role is the same: to store energy efficiently at a specific frequency by enforcing constructive interference of the standing wave modes.