Astrophysics

Radiative Transfer

How light propagates through matter — the equation that turns a star's structure into a spectrum

Radiative transfer is the physics of how radiation propagates through matter, gaining energy by emission and losing it to absorption and scattering. Every photon you record from a star, nebula, or planetary atmosphere carries the imprint of this bookkeeping. Its master equation, dI_ν/dτ_ν = I_ν − S_ν, links the specific intensity I_ν to the optical depth τ_ν and the source function S_ν = j_ν/α_ν. In local thermodynamic equilibrium the source function is just the Planck function B_ν(T) (Kirchhoff's law, 1859). The Eddington–Barbier relation reveals that we see down to optical depth τ ≈ 2/3 — the layer we call the photosphere, which for the Sun sits near 5772 K and only about 100 km deep. Where atomic opacity spikes, that visible layer rises into cooler gas, printing the dark absorption lines Fraunhofer first catalogued in 1814.

  • Transfer equationdI_ν/dτ_ν = I_ν − S_ν
  • Optical depthdτ_ν = −α_ν ds (dimensionless)
  • Source function (LTE)S_ν = B_ν(T) (Kirchhoff, 1859)
  • We see toτ ≈ 2/3 (Eddington–Barbier)
  • Solar photosphereT ≈ 5772 K, ≈ 100 km deep
  • Continuum opacity source (Sun)H⁻ ion (bound-free & free-free)

Interactive visualization

Press play, or step through manually. The visualization is yours to drive — try it before reading on.

Open visualization fullscreen ↗

Watch the 60-second explainer

A condensed visual walkthrough — narrated, captioned, under a minute.

Why radiative transfer matters

Almost everything we know about the universe beyond the Solar System arrives as light, and light never reaches us untouched. Between the source and the detector it is absorbed, re-emitted, and scattered by gas, dust, and plasma. Radiative transfer is the theory that decodes this — the bridge between what a star or nebula is and what its spectrum looks like. Without it, a spectrum is just a wiggly line; with it, that line yields temperature, pressure, density, chemical abundance, magnetic field, velocity, and even the age of a stellar population.

  • Stellar atmospheres. Effective temperature, surface gravity, and elemental abundances are all extracted by matching model spectra to observed line strengths — pure radiative transfer.
  • Photospheres and limb darkening. The τ ≈ 2/3 rule defines the visible surface of every star and explains why the solar disk fades toward its edge.
  • Line formation. The 100,000+ absorption lines in the solar spectrum are each a resolved radiative-transfer problem in a specific atomic transition.
  • Interstellar medium & nebulae. Emission and absorption along a sightline reveal column densities of H I, CO, and dust.
  • Exoplanet atmospheres. Transmission spectroscopy is transfer through a thin annulus of atmosphere backlit by the host star.
  • The cosmic microwave background. The CMB is the radiation field that decoupled when the universe's optical depth to Thomson scattering fell below one at recombination.

How it works, step by step

Follow a pencil-thin beam of radiation of frequency ν as it crosses a slab of gas of thickness ds along its direction of travel.

  1. Define the specific intensity. I_ν is the energy carried per unit time, area, solid angle, and frequency (units W m⁻² Hz⁻¹ sr⁻¹). Unlike flux, intensity is conserved along a ray in empty space — it does not fall off with distance — which is exactly why it is the natural variable for transfer.
  2. Account for losses. Over ds the beam loses dI_ν = −α_ν I_ν ds, where α_ν is the absorption (extinction) coefficient in m⁻¹, combining true absorption and scattering out of the beam.
  3. Account for gains. The same slab emits, adding dI_ν = +j_ν ds, where j_ν is the emission coefficient (W m⁻³ Hz⁻¹ sr⁻¹). Combine both: dI_ν/ds = −α_ν I_ν + j_ν.
  4. Switch to optical depth. Define dτ_ν = −α_ν ds, measured inward from the observer. Dividing through by −α_ν gives the clean form dI_ν/dτ_ν = I_ν − S_ν, where S_ν ≡ j_ν/α_ν is the source function. Optical depth, not physical distance, is the natural ruler: it counts photon mean free paths.
  5. Read off the two limits. If I_ν > S_ν the beam is brighter than the local emission, so it loses net energy; if I_ν < S_ν it is dimmer and gains. Radiation always relaxes toward the source function.
  6. Write the formal solution. Integrating along the ray gives the emergent intensity I_ν(0) = ∫₀^∞ S_ν(t) e^(−t) dt. The exponential e^(−t) is the fog of optical depth: deeper layers contribute, but exponentially attenuated. You see an emission-weighted average of S_ν, dominated by the region near τ ≈ 1.
  7. Locate the photosphere. Expand S_ν linearly in τ, S_ν(τ) ≈ a + bτ, and the integral collapses to the Eddington–Barbier result I_ν(0) ≈ a + b = S_ν(τ = 1) for a normal ray, and S_ν(τ ≈ 2/3) for the disk-integrated flux. That depth is the layer we actually observe.
  8. Form the lines. At a frequency where a bound-bound transition boosts α_ν, the τ = 2/3 surface floats higher into cooler gas with a smaller B_ν(T). The core of the line is therefore darker than the continuum — a Fraunhofer absorption line.

The equation of transfer and its symbols

The compact equation of transfer, valid for a static, plane-parallel or arbitrary geometry once τ is measured along the ray, is:

dIν / dτν = Iν − Sν

with the source function defined as Sν = jν / αν and optical depth by ν = −αν ds. Its along-the-ray formal solution between optical depths τ₁ (source) and τ₂ (observer) is:

Iν(τ₂) = Iν(τ₁) e−(τ₁−τ₂) + ∫ Sν(t) e−(t−τ₂) dt

SymbolMeaningUnits
IνSpecific (monochromatic) intensityW m⁻² Hz⁻¹ sr⁻¹
νFrequency of the radiationHz
ανAbsorption / extinction coefficient (opacity per length)m⁻¹
jνEmission coefficientW m⁻³ Hz⁻¹ sr⁻¹
τνOptical depth (mean free paths along the ray)dimensionless
Sν = jννSource functionW m⁻² Hz⁻¹ sr⁻¹
Bν(T)Planck blackbody function (Sν in LTE)W m⁻² Hz⁻¹ sr⁻¹
JνMean intensity (Sν for pure scattering)W m⁻² Hz⁻¹ sr⁻¹
μ = cos θCosine of angle between ray and outward normaldimensionless

Kirchhoff's law of thermal radiation (Gustav Kirchhoff, 1859) fixes the ratio in thermal equilibrium: jνν = Bν(T). A good absorber at a frequency is an equally good emitter there — which is why the same atomic transition that carves an absorption line can produce a bright emission line when the geometry is reversed.

Optical depth: the numbers that matter

Optical depth is the single most important number in the whole subject because the observable behaviour flips completely across τ = 1. The transmitted fraction of a background beam is e−τ:

Optical depth τTransmitted fraction e−τRegimeWhat you observe
0.0199.0%Very optically thinSee straight through; faint self-emission
0.190.5%Optically thinThin nebula; intensity ∝ column density
136.8%Unit optical depth≈ 63% of a background beam absorbed
2/3 ≈ 0.6751.3%PhotosphereLayer whose Sν sets the emergent flux
50.67%Optically thickOnly the outer skin visible
> 10⁶≈ 0Extremely thick (stellar interior)Radiation diffuses; near-perfect blackbody

Inside the Sun the optical depth from centre to surface is of order 10¹¹, so a photon random-walks for tens of thousands of years to escape, even though a straight-line crossing at c would take about 2.3 seconds. In the deep, thick interior the equation of transfer reduces to the diffusion approximation, in which the radiative flux Fν = −(4π/3αν) dBν/dz flows down the temperature gradient — this is what carries most of the Sun's luminosity through its radiative zone.

Worked example: the solar photosphere

Consider a ray leaving the centre of the solar disk (μ = 1). By Eddington–Barbier, the emergent continuum intensity equals Bν evaluated where τν = 1 along that ray; the disk-integrated flux corresponds to τ ≈ 2/3. The dominant continuum opacity in the visible is the negative hydrogen ion, H⁻, formed when a neutral H atom loosely binds an extra electron — a source Rupert Wildt identified in 1939. At τ500nm = 2/3 the local temperature is ≈ 5772 K (the Sun's effective temperature, set by L = 4πR²σTeff⁴). Move to the core of a strong line — say the Ca II K line at 393.4 nm — and the bound-bound opacity is orders of magnitude higher, so τ = 2/3 is reached far higher, in gas near 4400 K. The intensity ratio between line core and continuum is roughly Bν(4400 K)/Bν(5772 K), a deep, dark line. This is the quantitative origin of the Fraunhofer spectrum (Joseph von Fraunhofer catalogued 574 solar lines in 1814–1815).

Limb darkening falls out of the same relation. Looking toward the edge of the disk you view along a slanted ray (small μ), which reaches τ = 2/3 higher up in cooler gas, so the limb looks dimmer and redder than disk centre. The measured limb-darkening curve of the Sun is a direct probe of the temperature-versus-optical-depth structure of its atmosphere.

Common misconceptions

  • Optical depth is a distance. No — it is dimensionless, counting mean free paths. One centimetre of dense fog and a light-year of thin interstellar gas can share the same τ.
  • We see the "surface" of a star. Stars have no solid surface; the photosphere is simply the fuzzy layer where τ falls to ≈ 2/3, a few hundred kilometres thick out of a 700,000 km radius.
  • The source function is a property of the light. It is a property of the matter — the ratio jνν set by the gas's temperature, density, and atomic state.
  • Absorption lines mean the element is missing. The opposite — a strong line means that species is abundant enough to raise τ and lift the visible layer into cooler gas.
  • Emission and absorption lines require different physics. Same transition, same Kirchhoff ratio; only the temperature gradient along the sightline decides whether you see a dip or a spike.
  • LTE always holds. It fails in thin, low-density, or strongly-irradiated regions where radiative rates outrun collisions, forcing a full non-LTE treatment.

Frequently asked questions

What is optical depth?

Optical depth τ_ν is the dimensionless number of mean free paths a photon must cross through a medium: dτ_ν = −α_ν ds, where α_ν is the absorption coefficient (units 1/m). A slab with τ = 1 attenuates a background beam by a factor e ≈ 2.72 (about 63% absorbed). τ ≪ 1 means optically thin — you see straight through and radiation escapes freely. τ ≫ 1 means optically thick — you only see the outermost skin. The transmitted fraction along a ray is e^(−τ).

What is the equation of radiative transfer?

In its compact form the equation of transfer is dI_ν/dτ_ν = I_ν − S_ν, where I_ν is the specific intensity, τ_ν is the optical depth measured into the medium, and S_ν = j_ν/α_ν is the source function (emission coefficient divided by absorption coefficient). Intensity falls where emission is weaker than the local field and grows where emission exceeds it. Along a ray the formal solution is I_ν(0) = ∫ S_ν(t) e^(−t) dt, an emission-weighted average of the source function seen through the fog of optical depth.

What is the source function?

The source function S_ν is the ratio of the emission coefficient to the absorption coefficient, S_ν = j_ν/α_ν. It is the intensity the gas would relax toward if it were arbitrarily thick and uniform. For pure absorption plus thermal emission in local thermodynamic equilibrium (LTE), S_ν equals the Planck function B_ν(T) — this is Kirchhoff's law. For pure isotropic scattering, S_ν equals the mean intensity J_ν, which couples every point to the whole radiation field and makes the problem non-local.

Why do we see the photosphere at optical depth 2/3?

The Eddington–Barbier relation says the emergent intensity from a stellar surface equals the source function evaluated at optical depth τ ≈ 2/3 along the line of sight: I_ν(0, μ) ≈ S_ν(τ_ν = μ), and for the disk-integrated flux the effective depth is τ ≈ 2/3. That layer is the photosphere — the visible surface. Its temperature defines the effective temperature: for the Sun the photosphere sits near T ≈ 5772 K, spans only a few hundred kilometres, and lies about 100 km deep where τ_500nm = 2/3.

What is local thermodynamic equilibrium (LTE)?

LTE assumes that at each point the gas is described by a single local temperature T: level populations follow Boltzmann statistics, ionization follows the Saha equation, and the source function equals the Planck function B_ν(T). It holds when collisions dominate over radiative rates, which is true deep in stellar atmospheres where densities are high. LTE breaks down in the thin upper photosphere and chromosphere, in stellar winds, and in nebulae, where non-LTE (NLTE) transfer — solving statistical equilibrium and transfer together — is required.

How do spectral lines form?

A spectral line is a frequency where a bound-bound atomic transition sharply raises the opacity α_ν. Extra opacity means τ = 2/3 is reached higher in the atmosphere, at cooler layers, so the emergent intensity in the line core samples a lower source function than the neighbouring continuum. Against a temperature that falls outward, that prints a dark absorption line. Where temperature rises outward — as in the solar chromosphere or a stellar wind — the same opacity produces bright emission lines instead.

What is the difference between optically thin and optically thick?

Optically thin (τ ≪ 1) means photons escape after almost no interaction; every emitting atom contributes to what you see, the spectrum shows the medium's own emission, and intensity scales with column density. Optically thick (τ ≫ 1) means photons are absorbed and re-emitted many times before escaping; you see only the last scattering skin, the spectrum tends toward a thermal blackbody, and the interior is hidden. Stellar interiors are extremely thick; a diffuse nebula or an interstellar cloud is often thin.