Blackbody Radiation & Planck's Law
- P.1.1 Waves & the Wave Equation
- Basic thermodynamics: temperature, equipartition (program background)
Every warm body glows. Classical physics — Maxwell's waves plus statistical mechanics — makes a clean, parameter-free prediction for the glow's spectrum, and the prediction is not just wrong but infinitely wrong. Planck's 1900 repair, restricting each radiation mode to energies , is the first appearance of in physics and the opening shot of the quantum revolution. A cat on a radiator has always known thermal physics matters; here we learn exactly how much.
Learning Objectives
After this lesson you will be able to:
- Explain why the cavity radiator realizes an ideal blackbody, and state the Stefan–Boltzmann and Wien displacement laws with correct constants.
- Derive the Rayleigh–Jeans law from standing-wave mode counting plus equipartition, and explain the ultraviolet catastrophe.
- Derive Planck's law from the hypothesis via Boltzmann-weighted geometric sums, and recover both limits.
- Obtain the Stefan–Boltzmann constant and Wien's constant by integrating and maximizing Planck's law.
- Compute blackbody spectra numerically and apply them to real sources (the Sun, the CMB).
- State Kirchhoff's law of thermal radiation and use it to explain why the blackbody spectrum depends on temperature alone.
Intuition
Heat a poker: first infrared, then dull red, then orange, then white. Two facts are universal — hotter bodies radiate more (total power grows steeply with ) and radiate bluer (the peak shifts up in frequency). For an ideal absorber the entire spectrum depends on temperature alone, not on material — so it probes something fundamental about radiation itself.
The classical picture is seductive. The field in a hot cavity is a collection of standing-wave modes — exactly the modes of P.1.1 — and equipartition assigns each mode average energy . But a cavity supports ever more modes at higher frequency, without bound, so classical physics predicts infinite energy density, diverging in the ultraviolet. Planck's fix: a mode of frequency holds energy only in lumps of . High-frequency modes, whose lump dwarfs , freeze out — the spectrum bends over and the total is finite.
Theory
Light as an electromagnetic wave
Maxwell's equations in vacuum make each field component obey the wave equation of P.1.1, with and . Light is transverse, with two independent polarizations per propagation direction — remember that factor of 2. The spectrum runs from radio ( Hz) through visible (– Hz, 750–400 nm) to gamma rays. Accelerating charges radiate; thermally agitated charges in matter emit a continuous spectrum: thermal radiation.
Blackbodies and the cavity radiator
The spectral radiancy is the power emitted per unit area in . Real surfaces emit a fraction (emissivity) of the ideal maximum; a blackbody is the ideal absorber-and-emitter. The lab realization is a cavity with a small hole: entering radiation rattles around and is absorbed before escaping, so the hole absorbs everything — it is a blackbody — and its leakage samples the equilibrium energy density inside. A kinetic-theory angle average relates the two: .
Kirchhoff's law: why the spectrum is universal
Why should the glow depend on temperature alone and not on the material? Kirchhoff (1859) answered before anyone knew the spectrum. Let the spectral irradiance be the power per unit area and unit frequency falling on a surface, and its spectral absorptance () the fraction it absorbs. Place any body inside a closed cavity whose walls are held at temperature , and wait. At equilibrium the body must emit, in every frequency band, exactly what it absorbs in that band: . The balance has to hold band by band, not just in total. Otherwise a filter passing only one band would let the body warm or cool spontaneously against an equal-temperature cavity, a violation of the second law. (The same argument works direction by direction and polarization by polarization.) The irradiance inside the cavity is the same whatever body sits in it, so Kirchhoff's law follows: the ratio is a universal function of and , identical for every material. A blackbody has , so its emission is that universal function, . Two corollaries:
- Good absorbers are good emitters: a surface's emissivity at each frequency equals its absorptance, . Polished silver, which absorbs little, glows feebly when red hot; soot glows brightly.
- Every real body radiates times the blackbody spectrum at its temperature, so finding once describes thermal radiation from everything. That universal function is what Rayleigh, Jeans and Planck set out to derive.
The empirical laws
Two facts were nailed down before 1900. Stefan–Boltzmann (1879/84): the total radiancy is
Wien displacement (1893): the peak of the wavelength spectrum obeys
A 5800 K surface (the Sun) peaks near 500 nm, mid-visible; your 310 K body peaks near 9.4 μm.
Rayleigh–Jeans: counting modes, feeding them equipartition
Take a cubic cavity of side () with conducting walls, so fields vanish at the walls — the 3D standing waves of P.1.1, with , The dispersion relation gives
Modes are lattice points in the positive octant of -space (sign flips give the same standing wave). Counting points below frequency as the octant volume of a sphere of radius , times 2 for polarization:
Classically each mode is a harmonic degree of freedom in equilibrium, and equipartition (Boltzmann-weighting over a continuum of energies, ) assigns it independent of , with . Modes × energy-per-mode is the Rayleigh–Jeans law:
It fits experiment at low frequency — and the total energy diverges: . Every oven should contain infinite energy, mostly beyond the ultraviolet: the ultraviolet catastrophe. Nothing here is sloppy — the mode counting survives into quantum theory unchanged, and equipartition is a theorem. Classical physics itself is wrong.
Planck's hypothesis and the quantized average energy
Planck (1900) kept the mode counting and changed the energy assignment: a mode of frequency may only hold
Boltzmann factors still weight each allowed energy, but integrals become sums. With and , both sums are geometric:
Multiplying by the unchanged mode density gives Planck's law:
Low frequency (): , so — Rayleigh–Jeans recovered exactly where it worked. High frequency (): , the exponential Wien form . Modes whose quantum exceeds the thermal budget are almost never excited: discreteness starves the ultraviolet.
The demo plots the same physics per unit wavelength, which moves the peak (the caution under Wien displacement below explains why), with the Rayleigh–Jeans curve as an optional overlay:
Interactive demo: Blackbody spectrum. Heat a black body and watch Planck’s curve rise and its peak slide, beside the classical ultraviolet catastrophe.
Caution. Planck quantized the energies of the cavity modes (equivalently, of the material oscillators exchanging energy with them) — he did not claim free light is made of particles. Radiation in flight was still, for Planck, a classical wave. The bolder step — the photon — is Einstein's (1905), next course: P.3.1 Light as Particles.
Stefan–Boltzmann from Planck
Integrate over all frequencies with , :
using . With :
The empirical law now follows from first principles. Historically the logic ran in reverse: Planck fitted his law to the data and extracted the first accurate values of both and .
Wien displacement from Planck
Maximize over : setting the derivative to zero, , i.e.
a transcendental equation with nonzero root . Hence .
Caution. The peak of the wavelength distribution is not at . Since with Jacobian , the -form is , whose maximum solves , root — giving the familiar . Same spectrum, different binning; always say which variable you maximized over.
Looking ahead: a cavity mode is a harmonic oscillator
The ladder is no accident: each electromagnetic mode is mathematically a harmonic oscillator, whose exact quantum levels are — the ladder returns, with a zero-point offset, in P.5.3 The Harmonic Oscillator. The same quantized-mode structure, engineered in microwave resonators coupled to artificial atoms, is circuit quantum electrodynamics — the physics of superconducting quantum processors (Term 4.4).
Worked Examples
Example 1 — The Sun as a blackbody
Solar surface: K, radius m.
Peak: m nm — mid-visible, matching the evolution of eyes. Flux: . Luminosity: W — the accepted solar output, from two constants and a temperature.
Example 2 — Why high-frequency modes freeze out
At K, J eV.
Radio mode, GHz: J, so and — equipartition holds to 0.01%; Rayleigh–Jeans is excellent here.
Visible mode, Hz: J eV, so and J — below equipartition by a factor . The mode exists, but the bath almost never scrapes together its first quantum. That suppression is the resolution of the catastrophe — and why a warm room is dark.
Hands-on (Python)
import numpy as np
import matplotlib.pyplot as plt
from scipy.integrate import quad
from scipy.optimize import brentq
h, c, kB = 6.626e-34, 2.998e8, 1.381e-23 # J s, m/s, J/K
def planck(nu, T):
"""Spectral energy density u(nu,T) in J m^-3 Hz^-1."""
return (8 * np.pi * h * nu**3 / c**3) / np.expm1(h * nu / (kB * T))
def rayleigh_jeans(nu, T):
return 8 * np.pi * nu**2 * kB * T / c**3
def wien_approx(nu, T):
return (8 * np.pi * h * nu**3 / c**3) * np.exp(-h * nu / (kB * T))
# --- 1. Planck vs Rayleigh-Jeans vs Wien at T = 5800 K -------------------
T = 5800.0
nu = np.linspace(1e12, 2.5e15, 2000)
plt.plot(nu, planck(nu, T), label="Planck")
plt.plot(nu, rayleigh_jeans(nu, T), "--", label="Rayleigh–Jeans (diverges)")
plt.plot(nu, wien_approx(nu, T), ":", label="Wien approximation")
plt.ylim(0, 1.8 * planck(nu, T).max()); plt.xlabel(r"$\nu$ (Hz)")
plt.ylabel(r"$u(\nu,T)$"); plt.legend(); plt.title("T = 5800 K"); plt.show()
# Expected: RJ hugs Planck at low nu then blows up; Wien matches the high-nu tail.
# --- 2. Verify the T^4 law and extract sigma ------------------------------
for T in [300.0, 1000.0, 3000.0, 5800.0]:
nu_max = 100 * kB * T / h # integrand is dead beyond x = 100
u_tot, _ = quad(planck, 1.0, nu_max, args=(T,))
print(f"T = {T:6.0f} K sigma = {(c/4) * u_tot / T**4:.4e}")
# Expected: sigma = 5.676e-08 W m^-2 K^-4 for EVERY T -> R_T = sigma T^4.
# (CODATA: 5.670e-08; the 0.1% offset is rounding in our 4-digit h, kB.)
# --- 3. Wien displacement via brentq, applied to the CMB ------------------
x_nu = brentq(lambda x: x - 3 * (1 - np.exp(-x)), 0.1, 10)
x_lam = brentq(lambda x: x - 5 * (1 - np.exp(-x)), 0.1, 10)
print(x_nu, x_lam) # 2.8214... 4.9651...
print(f"Wien constant = {h*c/(x_lam*kB):.4e} m K") # 2.898e-03 (verified)
T_cmb = 2.725 # cosmic microwave background
print(f"CMB peak = {x_nu * kB * T_cmb / h / 1e9:.1f} GHz") # ~160.2 GHzThe CMB — the 2.725 K afterglow of the Big Bang — is the most perfect blackbody ever measured; COBE found deviations from Planck's law below 50 parts per million.
Exercises
E1 (easy). Your body: K, area , in the infrared. Find and the total power you radiate.
Solution
m (far infrared — thermal cameras look here). W. You also absorb W from a 293 K room; the net 150–200 W is your metabolic scale.
E2 (easy). Expand Planck's for one order beyond equipartition and show .
Solution
With : , so . Quantization always lowers the average below equipartition, more at higher frequency.
E3 (medium). Reproduce the geometric-sum derivation of without looking, evaluating both sums explicitly.
Solution
Let , . Partition sum ; energy sum . Ratio: . Limits: as ; as .
E4 (medium). Compute the CMB's total energy density at K, in and .
Solution
and , so . Every cubic centimeter of the universe holds about a quarter electron-volt of primordial light.
E5 (hard). Derive the -form of Planck's law from the -form, maximize it to get , and compute Wien's constant. Then explain in one sentence why .
Solution
Equal energy in corresponding bins: . With , maximizing gives , i.e. , root ; then . ✓ The two peaks differ because maximizing a density depends on the variable it is a density in — the Jacobian reweights the spectrum, so .
E6 (easy). Stefan's law (1879) began with data published by Tyndall: a platinum wire at 1200 °C radiated about 11.7 times as much as at 525 °C. (a) Show that a law fits, and what it would have predicted had the temperatures been used in Celsius. (b) Platinum is far from black. What does the agreement silently assume, by Kirchhoff's law?
Solution
(a) In kelvin the ratio is , and , within 1% of the measured 11.7. In Celsius, , wildly off: only an absolute temperature can enter a power law. (b) A real surface radiates , so the measured ratio is . The fit assumes the platinum's emissivity was the same at both temperatures, which is not true of metals in general. The law was put on firm ground later: Boltzmann derived it from thermodynamics in 1884, and cavity measurements in the 1890s confirmed it for true blackbody radiation.
E7 (easy). Two stars have their spectral peaks (per unit wavelength) at 510 nm and 350 nm. (a) Find their surface temperatures. (b) Find the ratio of the power each radiates per unit area of surface. (c) Can you tell which star is more luminous?
Solution
(a) : K and K. The bluer star is hotter. (b) : . (c) No. Luminosity is , and the radius is not known: a cool giant easily outshines a hot dwarf. Color gives temperature; it takes a distance or a size as well to get luminosity.
Checkpoint
- Why does a small hole in a cavity behave as a perfect blackbody?
- Derive the mode density , identifying where the octant factor and the polarization factor 2 enter.
- Which classical ingredient causes the ultraviolet catastrophe — mode counting or equipartition — and how does Planck's hypothesis repair it?
- Show in two lines how Planck's law reduces to Rayleigh–Jeans for and to Wien's exponential for .
- What did Planck quantize — and what did he not quantize?
- State Kirchhoff's law. Why does it make the blackbody spectrum a universal function of and ?
Answers
- Any ray entering the hole reflects many times and is absorbed before escaping, so the hole absorbs essentially everything (); in equilibrium it must therefore also emit the ideal blackbody spectrum of the cavity interior.
- Standing waves require with ; counting lattice points inside the sphere uses the positive octant only (factor ), and each spatial mode has two transverse polarizations (factor 2): , whose -derivative per volume is .
- Equipartition. The mode counting survives into QM; the error is giving every mode . With , exponentially at high , so the total energy integral converges.
- : , so . : drop the , so .
- He quantized the allowed energies of cavity modes / material oscillators () — energy exchange with radiation. He did not quantize free light; the photon is Einstein's step, in P.3.1.
- In equilibrium a body emits, band by band, what it absorbs: . The irradiance inside an isothermal cavity is the same whatever body sits there, so is the same for all materials. A blackbody () emits exactly that universal function, and every other body emits a fraction of it.
Further Reading
- [ER] Eisberg & Resnick, §1.1–1.6 — thermal radiation, cavity mode counting, and Planck's postulate; the definitive elementary treatment.
- [ER] Eisberg & Resnick, Appendix to Ch. 1 — the equipartition theorem and its breakdown.
- [Gri] Griffiths & Schroeter, §5.4 — the photon gas and the blackbody spectrum, revisited with proper quantum statistics.
← Prev: Hamiltonian Mechanics · Up: Pre-Term · Next: Atomic Models & Spectral Series →