Detailed Balance and the Planck Spectrum
In 1917 Einstein performed one of the most elegant pieces of reasoning in physics. He imagined a gas of two-level atoms sealed in a cavity full of thermal radiation, wrote down the three ways an atom can exchange a photon with the field, and demanded only one thing: that in equilibrium the populations hold steady. Out of that single requirement — detailed balance — fell not just the relations between his A and B coefficients, but the entire Planck spectrum, the and the and all. He rederived the birth certificate of quantum theory from the bookkeeping of atomic transitions. We take the two neighbouring results and keep the argument here. Statistical mechanics reaches the Planck law a different way — by counting electromagnetic modes in a box and populating them with Bose–Einstein statistics — and that mode-counting derivation is owned by aq-sm-photon-gas-planck-radiation; the A/B relation itself is owned by aq-qm-spontaneous-emission-einstein-coefficients. What this article owns is Einstein's detailed-balance route: how requiring the atomic rate equations to reproduce thermal equilibrium forces the spectrum to be Planck's, with the not assumed but demanded. The payoff is a way of seeing the same physics from two sides. The statistical-mechanics view says "count the modes, fill them with photons." The detailed-balance view says "balance the rates, and the spectrum has no choice." That they agree — that the mode density appears identically in both — is one of the deepest consistency checks in physics, and it is why the same Planck curve describes a laboratory blackbody, the surface of the Sun peaking at 502 nm, and the 2.725 K afterglow of the Big Bang.
- Detailed balance: in thermal equilibrium every microscopic process is balanced by its reverse, so the atomic up-rate equals the down-rate: .
- Solving for the radiation density and demanding it match a Boltzmann population at every temperature forces two things: and .
- Substituting back reproduces the full Planck law = (mode density ) × () × (mean photons per mode ).
- The Rayleigh–Jeans limit () gives the classical (the ultraviolet catastrophe); the Wien limit () gives .
- Wien displacement (root ), so the Sun (5772 K) peaks at 502 nm; Stefan–Boltzmann .
- Key idea: requiring the two-level rate equations to sit in equilibrium with a Boltzmann population uniquely forces the radiation field to be the Planck spectrum — the is not put in by hand, it is demanded by consistency, and it is the same mode density that statistical mechanics counts.
Detailed balance — the requirement that atomic absorption and emission stay in equilibrium with a Boltzmann population at every temperature — uniquely forces the radiation field to be the Planck spectrum, fixing and reproducing the mode density that statistical mechanics counts independently.
Where this lives today
Detailed balance and the Planck spectrum are woven through modern physics far beyond blackbody radiation. The 2.725 K cosmic microwave background is the most perfect blackbody ever measured — its spectrum matches Planck's law to better than one part in across four decades of the COBE-FIRAS measurement — and tiny departures from a perfect Planck curve encode the physics of the early universe. In astrophysics, the assumption of local thermodynamic equilibrium (detailed balance holding locally even when the star as a whole is not in equilibrium) is the workhorse that lets radiative-transfer codes model stellar atmospheres and infer temperatures, densities, and abundances. In the laboratory, blackbody sources are primary radiometric standards, and the Stefan–Boltzmann law calibrates everything from infrared thermometers to spacecraft thermal design. And the detailed-balance argument itself remains a template: the same logic that forced stimulated emission out of thermodynamic consistency now bounds the efficiency of solar cells (the Shockley–Queisser limit is a detailed-balance argument) and LEDs. Einstein's cavity full of atoms turned out to be a machine for deriving the deepest constraints on how light and matter can exchange energy.
The physical picture
Detailed balance is a stronger statement than "nothing changes." Equilibrium only requires that the total rate into each level equal the total rate out. Detailed balance requires more: that every individual process be balanced by its exact reverse. For a two-level atom in a radiation bath this means the rate of upward transitions (absorption) must equal the combined rate of downward transitions (spontaneous plus stimulated emission), atom by atom, at the transition frequency. That is the entire input. Now watch the machine turn. The absorption and stimulated-emission rates both scale with how much light is present, the spectral energy density ; the spontaneous rate does not. Solving the balance equation for therefore gives a specific function of temperature — but the atoms are also Boltzmann-distributed, , which is fixed independently. The only way these two constraints can agree at every temperature is if the coefficients take particular values, and those values make collapse to exactly the Planck form. The spectrum is not assumed; it is squeezed out. The deepest part is what the ratio turns out to be. It equals , which is times the density of electromagnetic modes per unit volume per unit frequency, . That mode density is the same quantity statistical mechanics counts when it derives Planck's law by stuffing photons into cavity modes (owned by aq-sm-photon-gas-planck-radiation). Two utterly different arguments — one balancing atomic rates, one counting field modes — meet at the same number. Spontaneous emission, in this light, is just stimulated emission driven by the one photon of zero-point field that every mode carries. The Planck curve that results has two revealing edges. At low frequency it becomes the classical Rayleigh–Jeans law, which rises as without limit — the "ultraviolet catastrophe" that classical physics could not escape. At high frequency it becomes the exponentially-suppressed Wien law. Between them sits a peak that marches to shorter wavelengths as the temperature rises — the Wien displacement law that turns a heated poker from red to white to blue, that puts the Sun's peak in the green at 502 nm, and that places the cosmic microwave background's peak at a millimetre.
The core equations
Detailed balance sets the total upward rate equal to the total downward rate for a two-level atom in a radiation field. The absorption and stimulated-emission terms are proportional to the field; the spontaneous term is not.
where: — lower/upper populations; — spontaneous rate; — absorption/stimulated coefficients; — spectral energy density. Read it as a balance sheet: absorption lifts atoms up; spontaneous and stimulated emission bring them back down; in equilibrium the two sides are equal at the transition frequency. Solving Eq. (1) for the field, and inserting the thermal (Boltzmann) population ratio, gives the radiation density the atoms are consistent with.
where: — degeneracies. This must equal the Planck law at every temperature. That is only possible if the coefficient of in the denominator is exactly one, and the prefactor is exactly the mode density times — which forces the two Einstein relations.
where: the second relation is times the free-space mode density . These two identities (owned in detail by aq-qm-spontaneous-emission-einstein-coefficients) are what detailed balance demands. Substituting them back into Eq. (2) yields the Planck spectrum itself.
where: — mean number of photons per mode (Bose–Einstein). The factorisation is the whole story: energy density = (how many modes) × (energy per photon) × (how many photons per mode). Its two limits reveal the classical failure and its quantum cure.
where: the Rayleigh–Jeans form (left) is the classical equipartition result — per mode — which diverges as (the ultraviolet catastrophe); the Wien form (right) is the exponentially-suppressed high-frequency tail. Integrating the full curve gives the total energy density and the familiar radiation laws.
where: the Wien displacement constant comes from maximising the wavelength form (root ); the Stefan–Boltzmann constant from integrating over all frequencies. Both are pure combinations of , , and — no atomic detail survives, because the spectrum is a property of the radiation field, not of any particular atom.
The goal is to show that requiring a two-level atom's rate equations to sit in equilibrium with a Boltzmann population, at every temperature, forces the surrounding radiation field to be exactly the Planck spectrum — deriving the , the , and the coefficient relations all at once. The strategy is Einstein's 1917 argument: write the steady-state balance, substitute the Boltzmann ratio, solve for the radiation density, and then insist that the resulting function of temperature match the known Planck form term by term. Watch how the spontaneous term is exactly what supplies the "" in the denominator.
Step 1. Balance the rates. In equilibrium nothing changes, so the upward rate equals the downward rate: . Solve for the field: .
Step 2. Insert Boltzmann. The equilibrium populations obey , so . Why this is the crux: the field density is now pinned to a specific function of temperature by the atomic coefficients alone — the atoms have told us what radiation they can be in equilibrium with.
Step 3. Match Planck at all . Planck's law is . For the two forms to agree at every temperature, the coefficient of the exponential must be one — giving — and the prefactor must match — giving . Why "at all " is essential: a single temperature could be matched by many coefficient choices, but demanding agreement for the whole family of temperatures leaves exactly one solution — the detailed-balance constraints are what make the answer unique.
Step 4. Read off the physics. Substituting the relations back reproduces the full Planck curve, and the ratio is times the mode density — the very quantity statistical mechanics counts by tallying cavity modes (recall aq-sm-photon-gas-planck-radiation by name). Two independent routes, one spectrum. Verified: the sympy solve returns after imposing , and at the Na D frequency (verify_aq-optics-detailed-balance-planck-spectrum.py).
Go deeper · Derivation B · 1 minThe two limits, the Wien peak, and Stefan–Boltzmann
The goal is to extract the classical and quantum edges of the Planck curve and the two macroscopic radiation laws that follow from it: the Rayleigh–Jeans and Wien limits, the Wien displacement law mm·K, and the Stefan–Boltzmann law with its constant . The strategy is to take the two limits of , then maximise and integrate the curve, watching the ultraviolet catastrophe appear in one limit and be cured by the quantum in the full expression.
Step 1. Rayleigh–Jeans. For , expand , so — the classical per mode. This rises as without bound: integrated over all frequencies it diverges, the ultraviolet catastrophe. Why classical physics fails: equipartition gives every mode , but there are infinitely many high-frequency modes, so the total energy is infinite — only the quantisation of (which makes high-frequency modes exponentially hard to excite) rescues it.
Step 2. Wien. For , the is negligible and — the exponentially-suppressed tail that Wien had fit empirically before Planck.
Step 3. Wien displacement. Maximising the wavelength form requires solving with , giving and . For the Sun at 5772 K, nm — green, near the eye's peak sensitivity. Why the frequency and wavelength peaks differ: and are different densities related by a Jacobian, so their maxima solve different transcendental equations ( for frequency, for wavelength) — a classic trap.
Step 4. Stefan–Boltzmann. Integrating over all frequencies gives an energy density ; the emitted power per area is with , where the comes from the integral . Verified: RJ and Wien limits match Planck at low/high ; Wien , mm·K, Sun 502 nm; frequency-form ; (verify_aq-optics-detailed-balance-planck-spectrum.py).
Limiting cases
| case | result | meaning |
|---|---|---|
| (Rayleigh–Jeans) | classical /mode; diverges — the UV catastrophe | |
| (Wien) | exponentially suppressed high-frequency tail | |
| peak (wavelength) | mm·K () | Sun 5772 K → 502 nm; hotter → bluer |
| integrated | , | Stefan–Boltzmann law |
| drop | Wien form only, no | stimulated emission is not optional — it supplies the Bose |
Worked examples
Example 1 — the colour of the Sun. Treat the Sun as a blackbody at its effective temperature and find the wavelength at which its spectrum peaks.
Step 1. Use the Wien displacement law , with .
Step 2. Solve: .
Step 3. Convert: — green light, remarkably close to the wavelength at which the human eye is most sensitive. The Sun's radiation peaks at 502 nm, in the green, and human vision evolved to peak there too. (Its frequency spectrum peaks near 880 nm — a reminder to match the displacement constant to the variable.) The same law, applied to the 2.725 K cosmic microwave background, gives a peak at — microwaves, the reason it is called the microwave background.
Example 2 — why stimulated emission cannot be dropped. Show that omitting the stimulated-emission term from the balance equation destroys the Planck spectrum.
Step 1. Without , balance reads , so .
Step 2. This is the Wien form — it has no in a denominator, so it fails at low frequency where the real spectrum must approach Rayleigh–Jeans.
Step 3. Restoring puts the term back, which becomes the in the denominator of Eq. (2) and rebuilds the full Planck curve. The in the Planck denominator is stimulated emission. Einstein realised in 1917 that a purely absorption-plus-spontaneous model gives only the Wien tail; a third process, stimulated emission, is thermodynamically required to reproduce the full spectrum. He predicted the effect that would later make the laser possible, purely by demanding detailed balance.
Physics of the portrait
Detailed balance is a principle, not a person, and it deserves to be foregrounded as one of the most powerful reasoning tools in physics. Its content is deceptively simple: in true thermodynamic equilibrium, every microscopic process runs at exactly the same rate as its reverse — not merely that the totals balance, but that each forward-and-back pair is individually balanced. This is a consequence of microscopic reversibility (time-reversal symmetry of the underlying dynamics), and it is far stronger than equilibrium alone. Einstein's genius was to see that this principle, applied to atoms and photons, is enough to derive the Planck spectrum without any statistical mechanics at all — and to notice that consistency demanded a process, stimulated emission, that no one had yet observed. The same principle underlies the fluctuation–dissipation theorem, Kirchhoff's law of thermal radiation, and the Onsager reciprocal relations. It is how equilibrium constraints pin down physics that then holds far from equilibrium.
Origins · 1 mindetailed balance and how this was discovered
The principle that in thermodynamic equilibrium each microscopic process occurs at exactly the same rate as its time-reverse. Rooted in the time-reversal symmetry of microscopic dynamics, it is far stronger than the mere constancy of populations. Einstein used it in 1917 to derive the Planck spectrum and the A/B coefficient relations from atomic rate equations, predicting stimulated emission in the process; the same principle underlies Kirchhoff's law, the fluctuation–dissipation theorem, and Onsager's reciprocal relations.
Going further
Texts. Foot, Atomic Physics (2005), §1.3 · Loudon, The Quantum Theory of Light, 3rd ed., §1.5 · Demtröder, Laser Spectroscopy, Vol. 1, §2.3 · Saleh & Teich, Fundamentals of Photonics, §13.1 · Hecht, Optics, 5th ed., §13.1.
Provenance (verbatim facts preserved from the base). The verifier reproduces: (1) solving the two-level balance for and equating to the Planck form to obtain and (Foot §1.3; Loudon §1.5); (2) the Rayleigh–Jeans and Wien limits (Demtröder §2.3); (3) the mode density (Saleh & Teich §13.1); (4) the Wien displacement root , mm·K, Sun 502 nm; (5) Stefan–Boltzmann . All constants are CODATA; the argument states no atom-specific value since is not fixed by it. Historical attribution: Einstein, Phys. Z. 18, 121 (1917). The mode-counting route is owned by aq-sm-photon-gas-planck-radiation and the A/B relation by aq-qm-spontaneous-emission-einstein-coefficients, both recalled here by name.
Builds on: Einstein A and B Coefficients · Spontaneous Emission · Stimulated Emission · Resonant Absorption. Leads to: Radiative Lifetime and Natural Linewidth · Oscillator Strength · The Electric Dipole Approximation.
How can atomic rate equations possibly determine the blackbody spectrum?
Because the atoms and the radiation must be in equilibrium with each other. The atoms are Boltzmann-distributed at temperature ; the radiation drives transitions between their levels. If the radiation had any other spectrum, the transition rates would not balance and the populations would drift — contradicting equilibrium. So the requirement "populations steady at every temperature" pins the radiation to one specific spectrum, and that spectrum turns out to be Planck's. The atoms act as a thermometer that the radiation must be consistent with, and consistency at all temperatures leaves only one answer.
Why is the ratio A/B equal to the mode density times hν?
Because spontaneous emission is, in a sense, stimulated emission driven by the vacuum. Every electromagnetic mode carries a zero-point half-quantum of field even when "empty," and the atom is stimulated to emit into all modes per unit volume per frequency by that vacuum field. The rate of this vacuum-stimulated emission is times the mode density times , which is exactly . That is why the ratio is purely geometric — it counts modes — and why the same mode density appears when statistical mechanics fills those modes with photons. The two derivations meet because they are describing the same modes.
What is the ultraviolet catastrophe, exactly?
It is the failure of classical physics at high frequency. Classical equipartition assigns every electromagnetic mode an average energy , giving the Rayleigh–Jeans spectrum . But there are infinitely many high-frequency modes, so integrating this over all frequencies gives infinite total energy — a cavity at any temperature would radiate infinite ultraviolet power, which is absurd. Planck's quantisation fixes it: a mode of frequency can only hold energy in units of , so high-frequency modes () are exponentially unlikely to be excited at all. The Bose factor cuts off the rise, and the total energy is finite.
Is detailed balance the same as thermal equilibrium?
No — it is stronger. Thermal equilibrium only requires that the populations be steady, i.e. that the total rate into each state equal the total rate out. Detailed balance requires that each individual process be balanced by its exact time-reverse: absorption on this transition balanced by emission on the same transition, separately from any other pathway. In a simple two-level system the two conditions coincide, but in systems with cycles (three or more levels) equilibrium can in principle be maintained by a steady circulation of population, whereas detailed balance forbids such loops. It holds whenever the microscopic dynamics is time-reversal symmetric, which is why it applies to atoms and photons.
Why does the Sun look white if its spectrum peaks in the green?
Because a blackbody peak is broad and the eye integrates the whole visible band. The Sun's 5772 K spectrum does peak near 502 nm, but it emits copiously across all visible wavelengths — red, green, and blue together — and our colour perception averages that broad mix to white (indeed "sunlight white" is the reference for white). A cooler star (say 3000 K) peaks in the near-infrared and looks reddish because its visible output is weighted to the red; a hotter star (10000 K) peaks in the ultraviolet and looks bluish. The green peak is real, but a single narrow peak is not what colour vision reports — it reports the integrated balance across the band.
Does the cosmic microwave background really fit this exactly?
Extraordinarily well. The COBE-FIRAS instrument measured the CMB spectrum in the early 1990s and found it matches a 2.725 K Planck curve to within a few parts in — the most precise blackbody ever observed, and one of the strongest pieces of evidence for the hot Big Bang. The Wien displacement law puts its peak at mm, in the microwave, which is why it is called the microwave background. The tiny measured deviations from a perfect Planck spectrum (and the even tinier temperature fluctuations across the sky) are a goldmine: they constrain the density of matter, the epoch of recombination, and the seeds of cosmic structure. Detailed balance held in the early universe until the photons decoupled, freezing in the near-perfect Planck spectrum we see today.