Blackbody Radiation and the Planck Law
A blackbody is the simplest thermal object in physics and the most consequential in astronomy: a perfect absorber that, by Kirchhoff's law, is also a perfect emitter, radiating a spectrum fixed by one number — its temperature — and nothing else, not its composition, size, or shape. The practical realization is a cavity with opaque walls held at temperature ; the radiation filling it, sampled through a tiny hole, is blackbody radiation, isotropic and unpolarized. That this spectrum is universal made it the sharpest test of classical physics at the close of the nineteenth century, and classical physics failed it catastrophically. Counting cavity modes and giving each the equipartition energy gives the Rayleigh–Jeans law , whose energy density diverges as the mode count climbs with — the ultraviolet catastrophe. In 1900 Max Planck cut the divergence by a single, reluctant postulate: the energy of an oscillator of frequency comes in whole quanta . High-frequency modes, which cost many quanta to excite, are then frozen out, and the mean energy per mode falls exponentially instead of staying pinned at . The result is the Planck function — the cornerstone of astrophysical radiation theory. It sets the source function in local thermodynamic equilibrium, fixes stellar effective temperatures through the Stefan–Boltzmann law, and describes the cosmic microwave background to better than one part in . Its two limiting forms, Rayleigh–Jeans at low frequency and Wien at high, are the everyday workhorses of radio and optical astronomers. This article assembles the full picture: the spectrum, its derivation from mode counting and quantization, its integrals and limits, and where a real source departs from it.
- A blackbody absorbs all incident radiation and re-emits a spectrum set by its temperature alone; the Planck function gives its specific intensity.
- Quantization replaces the classical equipartition energy per mode with the Bose–Einstein mean energy , curing the ultraviolet catastrophe.
- In the Rayleigh–Jeans limit (), ; in the Wien limit () it falls exponentially as .
- Integrating over frequency gives the Stefan–Boltzmann law ; locating the peak gives Wien's displacement law .
- In local thermodynamic equilibrium the source function equals , so an optically thick isothermal medium emerges as a blackbody — the reason stars approximate one.
- The cosmic microwave background is the most perfect known blackbody, at , peaking near 160 GHz.
- Key idea: quantizing electromagnetic energy in units of replaces the classical per mode with the Bose–Einstein occupation , giving a spectrum that peaks and then falls exponentially and depends only on .
Quantizing electromagnetic energy in units of replaces the classical equipartition energy per mode with the Bose–Einstein mean occupation , producing a spectrum that peaks and then falls exponentially, and depends only on .
Where this lives today
The Planck function is not a historical relic; it is the working currency of modern observational astrophysics. Stellar effective temperatures are defined through , and fitting the continuum of a spectrum to yields a colour temperature used to classify every star. In cosmology the CMB is the deepest application: the COBE/FIRAS spectrum measured in the early 1990s remains the most perfect blackbody ever recorded, with departures below one part in , and its near-perfect thermality is direct evidence that the early universe was in thermal equilibrium — the temperature scaling places it near at recombination (). The frontier now is the hunt for tiny predicted departures from a pure Planck spectrum: -type and -type spectral distortions imprinted by energy release before recombination, the target of proposed missions like PIXIE and the ESA Voyage 2050 studies, which would probe physics no anisotropy map can reach. Closer to home, infrared thermography, pyrometry, and the calibration of every space telescope's detectors rest on the same Stefan–Boltzmann and Planck relations, and radio interferometers from the VLA to ALMA report their maps in the brightness-temperature units that the Rayleigh–Jeans limit makes natural.
The physical picture
Picture photons rattling inside a hot oven. Each standing-wave mode of the cavity is an independent electromagnetic oscillator, and classically each should hold the equipartition energy . But the number of modes with frequency below grows without bound as , so the number in a band grows as , and if every one carried the oven would glow infinitely bright in the ultraviolet. Quantization is what saves the picture. To excite a mode of frequency you must pay at least one whole quantum ; when that price is almost never affordable from the thermal bath, so those modes sit dark in their ground state. The Planck curve is the equilibrium compromise between two competing counts — a mode density rising as , and a mean energy per mode collapsing exponentially once exceeds . Their product peaks and falls off on both sides, a single universal shape locked to the temperature.
Because is the intensity inside an equilibrium cavity, it is the maximum any thermal emitter can achieve at temperature : a real source whose emissivity is below one at some frequency lies under the Planck curve there, never above it — that is Kirchhoff's law in action. This ceiling is why the spectrum is so useful as a reference. The cosmic microwave background is the sharpest realization nature offers, and its measured spectrum is a textbook Planck curve at a single temperature. The second figure shows that curve on real axes, with the peak carrying genuine numbers.
The core equations
The central object is the Planck function in its frequency form: the specific intensity per unit frequency emitted by a blackbody at temperature . Every other relation in the article is a change of variable, an integral, or a limit of this one line.
where: — specific intensity per unit frequency, ; — Planck constant, ; — frequency; — speed of light, ; — Boltzmann constant, ; — absolute temperature. Reading it: the prefactor is the rising mode density times one quantum, and the factor is the Bose occupation that cuts the high-frequency tail. Spectroscopists work per unit wavelength, and the two are genuinely different functions because a spectral band maps to an unequal band . The wavelength form carries an extra pair of powers from the Jacobian.
where: — specific intensity per unit wavelength, ; — wavelength. Because the transformation is not linear in the variable, the peak of does not sit at — a trap developed in the warning below. The factor that does all the physical work is the Bose–Einstein mean occupation number: the average number of photons in a single cavity mode of frequency at temperature .
where: — mean number of photons per mode; — energy of one photon of frequency . Multiplying by the quantum gives the mean energy per mode, , which tends to when and to when . Astronomers frequently need the energy stored in the radiation field itself. For the isotropic cavity field the spectral energy density is times the intensity.
where: — energy per unit volume per unit frequency, ; the factor comes from integrating an isotropic intensity over solid angle. Integrating over all frequencies collapses the spectrum to a single power law in temperature — the origin of the scaling.
where: — total radiation energy density, ; — radiation constant, . The flux streaming out of a blackbody surface is times this energy density, which is the Stefan–Boltzmann law.
where: — emergent flux from a blackbody surface, ; — Stefan–Boltzmann constant, . Finally, the bridge to real astrophysical media: in local thermodynamic equilibrium the emission and absorption balance so that the source function — the ratio of emissivity to opacity — is exactly the Planck function.
where: — source function, ; the equality holds wherever collisions maintain a common local temperature for matter and radiation. This is why solving the transfer equation for an optically thick isothermal slab returns a blackbody spectrum.
The goal is to build from first principles by combining two independent ingredients — how many electromagnetic modes a cavity supports in a frequency band, and how much energy each mode holds on average once its energy is quantized — and to show that the quantization is the one and only step that separates the correct spectrum from the classical Rayleigh–Jeans divergence. We count standing waves in a conducting box, apply the Boltzmann distribution to a ladder of energy levels spaced by , take the product, and convert the resulting energy density to a specific intensity.
Step 1. Count the modes. Standing waves in a cubic cavity of side have for non-negative integers ; counting lattice points in the positive octant of a spherical shell of radius and multiplying by two transverse polarizations gives a mode density per unit volume . Why: this factor is purely geometric and classical — Rayleigh and Jeans had it right; the error was never in the counting.
Step 2. Compute the mean energy per mode with quantized levels. Restricting a mode's energy to integer multiples of and weighting each level by the Boltzmann factor gives , since both sums are geometric series. Why: this is Planck's decisive break — the continuous equipartition result is replaced by a quantity that decays exponentially once , freezing out the high-frequency modes.
Step 3. Multiply mode density by mean energy per mode to get the spectral energy density: . Why: the from counting and the from the quantum combine to the prefactor, while the Bose denominator supplies the cutoff that makes the frequency integral converge.
Step 4. Convert energy density to specific intensity. For an isotropic radiation field the energy density and intensity are related by , so , the boxed Planck law. Why: intensity is the observable an astronomer measures along a line of sight, so this last conversion is what makes the cavity result usable for stars and the CMB. *Verified: reduces to Rayleigh–Jeans for and to Wien for ; matches Carroll & Ostlie Eq. 3.22 and Rybicki & Lightman Ch. 1.*
Go deeper · Derivation B · 1 minThe Stefan–Boltzmann law by integration
The goal is to collapse the full Planck spectrum into a single number — the total energy radiated per unit area — and to show that the temperature dependence is exactly the fourth power, with a constant built only from , , and . The strategy is to integrate the spectral energy density over all frequencies, extract the temperature scaling by a dimensionless substitution, evaluate the remaining pure number as a standard Bose integral, and convert energy density to emergent flux.
Step 1. Set up the integral. The total energy density is . Why: the ultraviolet catastrophe was precisely the statement that this integral diverges for the classical integrand; here the Bose denominator guarantees convergence.
Step 2. Substitute , so and , giving . Why: every factor of temperature is pulled outside the integral in one stroke, so the law is visible before any number is computed — the integral is a pure constant.
Step 3. Evaluate the Bose integral. Expanding and integrating term by term gives . Why: this is the single transcendental input; and are standard, so the whole constant reduces to elementary factors and powers of .
Step 4. Collect and convert to flux. Then , and the flux leaving a surface is with . Why: the factor is the standard angular average converting an isotropic interior energy density to a one-sided emergent flux; putting numbers in gives , the measured value. *Verified: numerically and , both matching CODATA; consistency holds exactly.*
Go deeper · Derivation C · 1 minWien's displacement law by locating the peak
The goal is to find where the wavelength-form Planck spectrum is brightest and to show that the product of peak wavelength and temperature is a universal constant — the reason a hotter body is bluer. The method is to differentiate with respect to at fixed , set the derivative to zero, reduce the condition to a transcendental equation in the single dimensionless variable , and solve it numerically.
Step 1. Differentiate. Writing and setting produces, after clearing common factors, the condition with . Why: the two competing -dependences — the prefactor pushing the peak blue and the exponential pushing it red — balance exactly at the maximum, and that balance is the whole content of the displacement law.
Step 2. Reduce and solve. Rearranged, the condition is , a transcendental equation whose nonzero root is . Why: no closed form exists, but the root is a fixed pure number, so it converts directly into a dimensional constant that is the same for every blackbody.
Step 3. Assemble the constant. Then , i.e. . Why: this is Wien's displacement law; repeating the same steps on instead gives the different root , which is exactly why the frequency and wavelength peaks disagree. *Verified: solves and gives ; the peak root gives .*
Limiting cases
The behaviour of is governed entirely by the dimensionless ratio : whether a photon quantum is small or large compared with the thermal energy.
| Case | Result | Meaning |
|---|---|---|
| Rayleigh–Jeans () | Low-frequency / radio regime; linear in , independent of — the classical result, valid where . | |
| Wien () | High-frequency tail; exponential cutoff. Historically Wien's fit before Planck; accurate on the blue side of the peak. | |
| Frequency peak | Maximum of ; root of . | |
| Wavelength peak | Maximum of ; root of . Hotter bodies peak bluer. | |
| Total flux | Integral over all frequencies; . |
Worked examples
1 · The Sun as a blackbody (fully worked)
Treat the Sun as a blackbody at its effective temperature (radius ). Find the wavelength of peak , the wavelength at which peaks, the emergent surface flux, and the total luminosity.
Step 1. Wavelength peak from Wien's law: , in the green — which is why the solar spectrum peaks in the middle of the visible band our eyes evolved to use.
Step 2. Frequency peak, to expose the trap. Here , which corresponds to in the near-infrared. The two "peaks" differ by nearly a factor of two — a direct demonstration of the warning above.
Step 3. Surface flux from Stefan–Boltzmann: . Every square metre of the photosphere radiates about 63 megawatts.
Step 4. Luminosity by multiplying by the surface area: , matching the measured solar luminosity — a clean confirmation that a single-temperature blackbody captures the Sun's bulk output.
2 · The cosmic microwave background (fully worked)
The CMB is a near-perfect blackbody at . Find the frequency of peak , the wavelength of peak , and the total radiation energy density.
Step 1. Frequency peak: . This is the microwave band, and it is the frequency the COBE/FIRAS instrument was tuned around.
Step 2. Wavelength peak: . Note that — the same -versus- shift as for the Sun.
Step 3. Energy density from : . Dividing by the electron-volt gives — the CMB photons carry a diffuse but perfectly uniform energy density filling all of space, and the corresponding photon number density is about .
3 · Rayleigh–Jeans and brightness temperature (radio)
A thermal radio source at is observed at . Confirm the Rayleigh–Jeans limit applies and compute the intensity.
Step 1. Check the regime: , so the Rayleigh–Jeans form holds to better than a part in a thousand.
Step 2. Apply . Because intensity is linear in here, radio astronomers simply report the brightness temperature defined by ; for this optically thick thermal source equals the physical temperature, but for a non-thermal source is just a convenient linear stand-in for intensity.
Physics of the portrait
The Planck function is the equation that opened the twentieth century. It is worth remembering that its author did not believe the physics he had introduced — he called the quantum "an act of desperation," a bookkeeping trick to fit a curve — and spent years trying to derive it away before conceding that energy really does come in lumps.
Origins · 1 minMax Planck and how this was discovered
Max Planck was a conservative Berlin thermodynamicist, temperamentally the last person one would expect to overturn classical physics. Through the 1890s he worked on the blackbody spectrum as a problem in irreversibility and entropy, and in October 1900, prompted by new far-infrared measurements from Lummer, Pringsheim, Rubens, and Kurlbaum that broke Wien's exponential fit, he guessed an interpolation formula between the Rayleigh–Jeans and Wien limits that matched the data perfectly. Forced to justify it, in December 1900 he found he could derive it only by assuming the oscillators in the cavity walls exchanged energy in discrete elements , introducing a new constant of nature . He regarded the quantization as a formal device and hoped to recover the continuum; instead Einstein in 1905 took the quanta literally to explain the photoelectric effect, and Bose and Einstein in 1924 showed the statistics were those of a gas of indistinguishable photons — recovering Planck's occupation number from pure counting. Planck received the 1918 Nobel Prize; the constant, the spectrum, and the units all now bear his name, and the satellite that measured the CMB to exquisite precision was called Planck in his honour.
Going further
Texts. Carroll & Ostlie, An Introduction to Modern Astrophysics, 2nd ed., Ch. 3 · Rybicki & Lightman, Radiative Processes in Astrophysics, Ch. 1 · Ryden, Introduction to Cosmology, 2nd ed., Ch. 2 & 8 · Dodelson, Modern Cosmology, Ch. 1–2 · Mo, van den Bosch & White, Galaxy Formation and Evolution, Ch. 3 · Binney & Tremaine, Galactic Dynamics, App. on radiative quantities.
Provenance. Equations from Carroll & Ostlie Ch. 3, Rybicki & Lightman Ch. 1, and Ryden Ch. 2. A verifier should recompute: (1) the Bose integral ; (2) and ; (3) the Wien peaks — from giving , and from ; (4) the Rayleigh–Jeans and Wien limits by expanding ; (5) worked-example numbers — solar , , at , and CMB , at . Constants are CODATA/IAU standard values.
Prerequisites. Specific Intensity and Radiative Flux · Local Thermodynamic Equilibrium · Kirchhoff's Laws and Thermal Emission. Leads to. Stefan–Boltzmann and Wien Displacement Laws · Emission and the Source Function · The Equation of Radiative Transfer.
Ask the tutor: Ask me to derive Wien's displacement constant from scratch, or to work out why the CMB stays a perfect blackbody even as the universe expands.
Why is a blackbody spectrum independent of the material?
Because it is the spectrum of radiation in thermodynamic equilibrium, and equilibrium erases the memory of how the radiation was made. Inside an opaque cavity a photon is absorbed and re-emitted enormously many times before it escapes, so the emergent spectrum reflects only the wall temperature, not the wall's chemistry. Kirchhoff proved this in 1859 with a thermodynamic argument: if two cavities at the same temperature but of different materials had different spectra, you could connect them and drive a net heat flow from cold to hot, violating the second law. So the spectrum must be a universal function of and alone — the function Planck later wrote down.
What exactly went wrong in the ultraviolet catastrophe?
Classical statistical mechanics assigns every quadratic degree of freedom the energy (equipartition), and each cavity mode is such a degree of freedom. But the number of modes in a frequency band grows as without limit, so the total energy diverges — the field should carry infinite energy, concentrated at high (ultraviolet) frequencies. The Rayleigh–Jeans law captures this and matches experiment only at low frequency, then runs away. Quantization fixes it by making the mean energy per mode rather than : for this is exponentially small, so high-frequency modes contribute almost nothing and the integral converges.
Are real stars actually blackbodies?
Only approximately, and it is worth being precise about the sense in which they are. A star has no solid surface; its photosphere is a layer where the gas becomes transparent, and the different wavelengths escape from different depths at slightly different temperatures. Where the gas is optically thick and near local thermodynamic equilibrium the emergent continuum is close to , which is why a single effective temperature describes the bulk output well. But superimposed on that continuum are absorption lines from atoms in the cooler outer layers, and in the ultraviolet and in the cores of strong lines the assumption of LTE fails, so the true spectrum departs from any single Planck curve. The blackbody is the zeroth-order model, refined by stellar-atmosphere theory.
Why does the frequency-form peak differ from the wavelength-form peak?
Because "per unit frequency" and "per unit wavelength" slice the spectrum into unequal bins. A fixed frequency interval maps to a wavelength interval , which is wide at long wavelengths and narrow at short ones. When you re-bin into you multiply by that stretching factor , and multiplying a function by a monotonic factor moves its maximum. The upshot: peaks at while peaks at . Both are correct; they simply answer different questions ("most energy per Hz" versus "most energy per nm"), so you must always state which form you mean.
Where do the Stefan–Boltzmann and radiation constants come from?
They are not independent constants of nature but combinations of , , and fixed once you integrate the Planck spectrum. Carrying out pulls out and leaves the pure number from the Bose integral, giving the radiation constant . The flux leaving a surface is times the interior energy density, so . Historically Stefan (1879) and Boltzmann (1884) found the law before anyone could compute the constant; Planck's spectrum was the first theory to predict its value.
What is brightness temperature, and is it a real temperature?
Brightness temperature is defined by inverting the Rayleigh–Jeans law: , so it is simply the intensity re-expressed in kelvin. It is a genuine physical temperature only for an optically thick thermal source in LTE, where and . For an optically thin source, a non-thermal synchrotron source, or a maser, is just a convenient linear label for intensity and can be wildly larger than any real temperature — pulsar and quasar cores reach , which no thermal population could produce. Radio astronomers use it because at their frequencies , so intensity and temperature are proportional and detector noise is naturally quoted the same way.