Spectral Line Formation
A spectral line is the fingerprint of a quantized transition. When a bound electron jumps between two discrete levels of an atom, ion, or molecule, the photon it absorbs or emits carries exactly the energy difference, . Because the levels are sharp, the interaction is concentrated in a narrow band of frequencies — a dark absorption line cut into a bright continuum, or a bright emission line against a dark background. The wavelength names the species: the pattern of lines is a barcode that lets us read the chemistry of a star we will never touch. But line formation is more than identification. Three physical strands must be braided together to predict a line. Statistical mechanics — the Boltzmann excitation law and the Saha ionization equation — fixes how many atoms sit in the lower level of the transition. Quantum mechanics — the oscillator strength or Einstein coefficients — fixes how eagerly each atom jumps. And radiative transfer carries the result outward: the line absorption coefficient enters the transfer equation like the continuum opacity but with a sharply peaked frequency dependence, so the emergent line reflects the run of temperature and source function through the atmosphere. Finally, the line is never infinitely sharp. Natural, Doppler, and pressure broadening each stamp the profile with a characteristic shape, and the curve of growth converts the measured equivalent width into a column density. This is why a single dark notch becomes a quantitative measurement of temperature, pressure, composition, velocity, and magnetic field — the engine of stellar and interstellar spectroscopy.
- Spectral lines arise from bound-bound transitions at frequencies fixed by the level spacing, ; the wavelength identifies the atom, ion, or molecule.
- Line strength is the product of three factors — ionization stage (Saha), excitation fraction (Boltzmann), and intrinsic transition probability (oscillator strength) — so a line can be weak even when the element is abundant.
- Absorption versus emission is decided by the source function relative to the background: extra line opacity pushes the surface into higher, cooler layers where is smaller, darkening the line.
- The profile records the environment: a Gaussian Doppler core measures temperature, Lorentzian pressure wings measure density, and their convolution is the Voigt profile.
- The curve of growth links the equivalent width to the column density : linear when weak, flat when saturated, square-root when damping-dominated.
- Key idea: A spectral line is radiative transfer with a sharply frequency-peaked opacity — its position identifies the atom, its strength counts absorbers through Boltzmann and Saha, and its shape records the velocity and pressure environment through the profile function.
A spectral line is radiative transfer with a sharply frequency-peaked opacity: its position identifies the atom, its strength counts absorbers via Boltzmann and Saha, and its shape records the velocity and pressure environment through the profile function.
Where this lives today
Line formation is the daily engine of stellar astrophysics, and its modern incarnation is industrial in scale. Massive spectroscopic surveys — APOGEE, GALAH, and Gaia's RVS spectrograph — measure equivalent widths and full profiles for millions of stars, then feed them to automated synthesis codes that extract temperatures, gravities, microturbulence, and abundances of dozens of elements per star. This is the backbone of Galactic archaeology, which reconstructs the Milky Way's assembly history from the chemical fingerprints of its stars. At the precision frontier, spectrographs such as ESPRESSO on the VLT track Doppler shifts of thousands of lines to below cm/s, hunting for the reflex wobble of Earth-mass exoplanets — a measurement that lives or dies on how line profiles are distorted by stellar surface activity. And where classical analysis assumed LTE, current work solves the coupled statistical-equilibrium and transfer equations in full 3D model atmospheres, because the last decimal of an abundance now bears on questions from the primordial lithium problem to the ages of the oldest stars.
The physical picture
Picture continuum photons streaming upward through a stellar atmosphere. At most wavelengths, the gas is fairly transparent, and the photons we see were launched from deep, hot layers. But at the exact wavelength of a transition the gas is suddenly opaque: those photons escape only from the thin, cool upper layers, and cooler gas radiates less, so that wavelength looks dark. An absorption line is nothing more than a window into a higher, cooler part of the atmosphere — cooler because temperature falls outward through a stellar photosphere; where it instead rises outward, as in a chromosphere, the same extra opacity produces emission lines — and the first figure makes "higher opacity means a higher, colder escape surface" a single picture.
The strength of a line is a product of three main factors: how many atoms are in the right ionization stage (Saha), how many of those sit in the right lower level (Boltzmann), and how eagerly each atom makes the jump (the oscillator strength). Shrink any one factor and the line is weak, however abundant the element, which is why the hydrogen that dominates most stellar atmospheres still produces only feeble Balmer lines in a cool K dwarf and very weak ones in a sufficiently hot O star. The shape of a line is a stopwatch and a barometer at once: thermal motions smear it into a Gaussian core whose width measures temperature, while collisions in dense gas broaden the Lorentzian wings, measuring pressure — but to turn that into a number, you must know where the line sits on the curve of growth, the second figure.
The core equations
The starting point is the Bohr frequency condition: a bound-bound transition emits or absorbs a photon whose energy is exactly the level separation. This is what makes the line a barcode — the wavelength depends only on the atom, not on temperature or density.
where: — Planck constant, ; — photon frequency of the transition; — energies of the upper and lower bound levels. Reading: the wavelength is a fixed property of the species, so a line center identifies the atom or ion. How many atoms populate a given level is set by the Boltzmann law: in equilibrium, the ratio of two-level populations is the ratio of statistical weights times the Boltzmann factor of the energy gap. This is the excitation half of "how many absorbers are available."
where: — number densities in the lower level and upper level ; — statistical weights (degeneracies); — Boltzmann constant, ; — excitation temperature. Reading: higher levels become significantly populated when approaches the excitation energy, which is why high-excitation lines need hot gas. The Saha equation is the ionization counterpart: it gives the ratio of adjacent ionization stages, and unlike Boltzmann, it depends on electron density, because recombination needs an electron to find the ion. The factor is the phase-space volume available to the freed electron.
where: — number densities in ionization stages and ; — electron number density; — partition function of stage ; — electron mass, ; — ionization energy. Reading: raise and the gas ionizes; raise the electron pressure and recombination pushes it back down. These populations feed the line absorption coefficient, which enters the transfer equation like continuum opacity but concentrated by the normalized profile . Its integrated strength is fixed by fundamental constants times the dimensionless oscillator strength.
where: — line opacity per unit length (CGS); — electron charge, mass, and light speed; — oscillator strength of the lower-to-upper transition; — lower-level number density; — normalized profile with . Reading: the constant is the frequency-integrated classical cross-section — the cross-section itself is this constant times — and carries the quantum mechanics. The emergent intensity follows from the formal solution of radiative transfer. Expanded near the surface (Eddington-Barbier), it says the intensity we see equals the source function at optical depth unity along the ray — the single fact behind absorption lines.
where: — emergent specific intensity; — optical depth, ; — source function. Reading: at line center the extra opacity brings to a higher, cooler layer, so is smaller and the line goes dark. The profile itself is the convolution of a Gaussian Doppler core with a Lorentzian damping wing — the Voigt profile. Its two width parameters are the temperature (through the Doppler width) and the pressure-plus-lifetime damping (through ).
where: — Voigt (Hjerting) function; — Doppler width with ; — total damping (natural + collisional); — line center. Reading: small means a nearly Gaussian, thermally broadened line; large means strong Lorentzian wings. Because thermal motion is rarely the whole story, the Doppler width in practice adds a non-thermal microturbulent term in quadrature — thermal motion dominates for light atoms, turbulence can win for heavy ones.
where: — line-center wavelength; — mass of the absorbing atom; — microturbulent velocity; — kinetic temperature. Reading: the thermal term scales as , so an iron line is far narrower than a hydrogen line at the same temperature. Finally, the observable that ties everything to abundance is the equivalent width — the width of a perfectly black rectangle that removes the same total flux as the line. It is resolution-independent, measurable even when the profile is unresolved.
where: — equivalent width; — continuum flux interpolated across the line; — observed flux in the line. Reading: the curve of growth maps to the column density — the number the whole enterprise is built to extract.
The goal is to prove the cornerstone of quantitative spectroscopy: for an unsaturated line the equivalent width is directly proportional to the column density of absorbers, . We start from the emergent flux for a slab of pure line absorption over a continuum, take the optically thin limit so the exponential linearizes, and integrate over the line, using the profile's normalization to collapse the frequency dependence into a single fundamental-constant coefficient.
Step 1. Write the fractional line depth as . Why: for a weak line , so the residual depth is simply the optical depth — this is the approximation that makes the whole thing linear.
Step 2. Convert opacity to a per-column form: (evaluated at ), where is the column density along the line of sight. Why: the equivalent width depends only on how many absorbers lie along the ray, not on how they are distributed in depth.
Step 3. Integrate over the line, , ready to collapse with the profile normalization . Why: the entire shape of the profile drops out because it is normalized — the equivalent width does not care whether the line is Doppler- or pressure-broadened, only how much total absorption it carries.
Step 4. Change variables with , so , so at line center. Collecting terms gives . Why: the equivalent width is exactly linear in and — this is why weak lines are the gold-standard abundance diagnostic and why the "gf-value" is tabulated for every useful line. *The coefficient cm (CGS); a dimensional check confirms that carries units of length, as expected for an equivalent width.*
Go deeper · Derivation B · 1 minBoltzmann and Saha combine to set the lower-level population
The goal is to show why line strength peaks at a characteristic temperature rather than climbing forever with heat, by writing the fraction of an element sitting in the lower level of a transition as the product of an ionization fraction (Saha) and an excitation fraction (Boltzmann). This single product explains the entire OBAFGKM sequence — it is the payoff that turned stellar classification into a temperature scale.
Step 1. The excitation fraction from Boltzmann is , the fraction of ionization stage that sits in the specific lower level . Why: only atoms already in level can absorb the line, and that fraction rises steeply with temperature as approaches .
Step 2. The ionization fraction from Saha is , obtained by summing the Saha ratios over all stages and normalizing. Why: as temperature climbs, atoms are stripped out of stage into , so this fraction eventually collapses even as excitation is still rising.
Step 3. Multiply the two: . Raising pushes the Boltzmann factor up but the Saha factor down, so the product peaks at an intermediate temperature. Why: two opposing exponentials in temperature can produce a maximum — the line is strongest where excitation has turned on but ionization has not yet emptied the stage.
Step 4. Apply to hydrogen: the level that absorbs Balmer photons is barely populated below K, but above K hydrogen is largely ionized. The window between is the A-star regime near K, exactly where Balmer lines peak. Why: this quantitative peak, first computed in the 1920s, is the direct microphysical origin of the spectral sequence. *The Boltzmann fraction rises by a factor from 6000 K to 10000 K, directly explaining the Balmer-strength maximum in A-type stars.*
Go deeper · Derivation C · 1 minNatural line width from the finite lifetime
The goal is to derive the Lorentzian natural profile and its width from a damped-oscillator argument, and to show that the same Lorentzian form governs pressure broadening. An excited level with finite lifetime cannot have a perfectly sharp energy, by the energy-time uncertainty relation, and this intrinsic fuzziness sets the minimum width any line can have — collisions, which shorten the effective lifetime, simply add to .
Step 1. Model the emitted field as a damped oscillation, , decaying with damping constant equal to the inverse lifetime. Why: an excited atom radiates a finite wavetrain, not an eternal sine wave, and a finite wavetrain cannot be monochromatic.
Step 2. Fourier transform to frequency, . Why: the transform of a decaying exponential is a complex Lorentzian amplitude — the finite duration spreads the energy over a band of frequencies.
Step 3. Square to get the power spectrum, , which normalizes to the Lorentzian . Why: this is the intrinsic natural profile — sharply peaked at with slowly falling wings that never quite vanish.
Step 4. Read off the width, , consistent with . Collisions interrupt the wavetrain and add a collisional rate to , giving pressure broadening with the identical Lorentzian shape. Why: natural and pressure broadening are the same mathematics with different clocks — spontaneous decay versus collision rate — which is why both live in the damping wings. *For Hα the natural width Å is roughly times narrower than the thermal Doppler width, consistent with the energy-time uncertainty relation .*
Limiting cases
The character of a line depends on which regime of the curve of growth and which broadening mechanism dominates:
| Case | Result | Meaning |
|---|---|---|
| Weak (linear) lines | Unsaturated: equivalent width grows linearly with the column density of absorbers — the best abundance diagnostics. | |
| Saturated (flat) lines | Core is fully black; adding absorbers barely widens it. Equivalent width nearly independent of — abundances poorly constrained. | |
| Damping (square-root) lines | Strong lines with pressure-broadened Lorentzian wings; growth resumes as the wings soak up flux. | |
| LTE source function | When collisions dominate, the source function is Planckian and Kirchhoff's laws hold exactly. | |
| Light vs heavy atom | Hydrogen lines are broad and thermal; iron lines are narrow, exposing microturbulence and rotation. |
Worked examples
1 · Thermal Doppler width of Hα (fully worked)
Estimate the Doppler width of the hydrogen Hα line ( Å) in a solar-type photosphere at K, compare it to the natural width, and check whether a microturbulence of km/s matters.
Step 1. Thermal speed of hydrogen: .
Step 2. Doppler width (the half-width): , so the full width at half maximum is .
Step 3. Compare to the natural width. With for the Balmer upper level, — about times narrower. In a stellar photosphere the line core is Doppler-dominated; the natural (and pressure) broadening lives only in the far wings.
Step 4. Add microturbulence: with km/s gives — negligible, because for light hydrogen the thermal speed dominates. For an iron line () the thermal speed is times smaller, so the same turbulence would visibly broaden it. The Hα core is thermal, 0.22 Å wide, and a thousand times broader than its natural width.
2 · Why cool stars have weak Balmer lines (Boltzmann)
Compute the fraction of neutral hydrogen atoms sitting in the level (the lower level of the Balmer series) at K and at K, using eV, , .
Step 1. Boltzmann ratio at 6000 K: eV, so .
Step 2. At 10000 K: eV, so .
Step 3. The population jumps by a factor between these temperatures. Since Balmer absorption requires an atom already in , a 6000 K G star has almost none available, so its Balmer lines are weak despite hydrogen's abundance. Raising T from 6000 to 10000 K multiplies the Balmer absorbers by nearly 3000.
Step 4. Push higher and Saha takes over: above K hydrogen ionizes, emptying the neutral level and weakening Balmer again. The two effects together put the peak near K — the A stars. The competition between excitation (Boltzmann) and ionization (Saha) is why Balmer lines peak in A stars, not in the hottest ones.
3 · Column density from a measured equivalent width (curve of growth)
A weak, unsaturated Fe I line at Å with oscillator strength is measured to have mÅ. Estimate the column density of iron atoms in the lower level.
Step 1. Invert the linear curve of growth: , with the constant cm (CGS).
Step 2. Convert units: mÅ cm; Å cm, so .
Step 3. Evaluate: .
Step 4. Check the regime: the problem states the line is weak and unsaturated — equivalently its line-center optical depth is , which is the real test of linearity; the tiny ratio alone would not prove it, since the comparison that matters is against the Doppler width, not . With that assumption the linear formula is valid and the abundance is well constrained. The lower-level iron column is about 2×10¹² cm⁻²; a Saha–Boltzmann correction then converts it to a total iron abundance.
Physics of the portrait
The pieces of line-formation theory were all in place by 1925 — Bohr's levels, Boltzmann's excitation, Saha's ionization, the transfer equation — but it took one doctoral thesis to fit them together and read the composition of the stars.
Origins · 1 minCecilia Payne-Gaposchkin and how this was discovered
Cecilia Payne-Gaposchkin turned the abstract machinery of line formation into the first correct census of the universe. In her 1925 Harvard PhD thesis — often called the most brilliant ever written in astronomy — she combined Saha's newly published ionization equation with the Boltzmann excitation law and applied it to the vast Harvard collection of stellar spectra. The relative strengths of lines from different elements and ionization stages, she showed, are governed almost entirely by temperature through the Saha–Boltzmann product, not by composition: the OBAFGKM sequence is a temperature sequence. Pushing further, she found that hydrogen and helium overwhelmingly dominate stellar matter — hydrogen by roughly a million to one over the metals. The result so contradicted the prevailing belief in Earth-like stellar compositions that Henry Norris Russell persuaded her to call it "almost certainly not real"; within four years he confirmed she had been right. Her work established that a line's strength is a thermometer first and an abundance gauge only second — the lesson of the curve of growth — and it remains the foundation of all stellar abundance analysis.
Going further
Texts. Carroll & Ostlie, An Introduction to Modern Astrophysics, 2nd ed., Ch. 8–9 (Formation of Spectral Lines) · Gray, The Observation and Analysis of Stellar Photospheres, 3rd ed., Ch. 11–16 · Rutten, Radiative Transfer in Stellar Atmospheres (Utrecht lecture notes) · Rybicki & Lightman, Radiative Processes in Astrophysics, Ch. 1–2 · Mihalas, Stellar Atmospheres, 2nd ed. Key numerical benchmarks: the linear curve-of-growth coefficient cm (CGS); the Hα thermal Doppler width Å at 6000 K, roughly times broader than the natural width; the hydrogen Boltzmann fraction rising by a factor from 6000 K to 10000 K; and the Balmer-strength maximum near 9500 K in A stars. Constants (, , , ) are CODATA standard values.
Builds on: The Equation of Radiative Transfer · Opacity and Absorption Coefficients · Emission and the Source Function · The Boltzmann Excitation Equation · The Saha Ionization Equation · Local Thermodynamic Equilibrium. Leads to: Line Broadening Mechanisms · Kirchhoff's Laws and Thermal Emission · Specific Intensity and Radiative Flux.
Ask the tutor: Ask me to walk through a curve-of-growth abundance measurement end to end, or to show exactly how the Saha–Boltzmann product makes Balmer lines peak in A stars.
Why does the wavelength of a line depend only on the atom and not on the star?
Because the wavelength is fixed by the Bohr condition , and the energy levels are intrinsic properties of the atom or ion, set by quantum mechanics. Temperature, pressure, and density change how many atoms occupy each level and how broad the line is, but not where its center sits. That is what makes spectroscopy a chemical assay: a sodium D line at 5890 Å in a flame, the Sun, and a distant galaxy is the same transition, so identifying it identifies the element. Bulk motion Doppler-shifts the whole pattern, but the relative spacing is preserved, so the barcode stays recognizable.
What is the difference between the excitation temperature and the kinetic temperature?
The kinetic temperature describes the Maxwellian distribution of particle speeds and sets the thermal Doppler width. The excitation temperature is whatever value you must plug into the Boltzmann law to reproduce the observed level populations. In local thermodynamic equilibrium (LTE) these coincide, along with the ionization and radiation temperatures, and a single governs everything. In low-density gas — chromospheres, nebulae, the interstellar medium — collisions are too rare to enforce LTE, so populations depart from Boltzmann and the excitation temperature can differ sharply from the kinetic one. Recognizing when LTE fails is a central subtlety of modern abundance work.
How can I separate temperature from pressure using a single strong line?
Fit the full Voigt profile. The Gaussian core is set by Doppler broadening, whose width scales as , so it delivers the temperature (once the atomic mass and microturbulence are accounted for). The Lorentzian wings are set by the damping constant , which grows with collision rate and hence with gas pressure. A strong line shows both features at once — a rounded thermal core flanked by extended pressure wings — so a single Voigt fit disentangles the two. This is why the wings of strong lines such as the Balmer or Na D lines are prized surface-gravity diagnostics: gravity sets photospheric pressure, which sets the wing damping.
Why is the equivalent width preferred over the line depth for measuring abundances?
Because the equivalent width is a conserved integral, immune to the one thing that varies most between instruments: spectral resolution. A spectrograph that cannot resolve the true profile smears a deep narrow line into a shallow broad one, changing the central depth dramatically — but the area removed from the continuum, and hence , is unchanged. Since the curve of growth relates (not depth) to column density, it is both the natural theoretical quantity and the robust observational one, requiring only a well-defined continuum.
What actually happens on the flat part of the curve of growth?
The line core has become optically thick — its center is essentially fully black, absorbing all the continuum flux it possibly can. Adding more absorbers cannot make it darker than black, so the equivalent width grows only through the slow spread of the Doppler wings, the feeble dependence. A tenfold change in column density might then change by only a few percent, so the abundance is poorly constrained and microturbulence errors dominate. Practitioners therefore avoid saturated lines, preferring weak lines on the linear part or, for the strongest transitions, the damping part where the pressure wings restore a usable growth.
Does line formation always assume local thermodynamic equilibrium?
No, and the assumption is increasingly abandoned where precision matters. LTE says the source function is Planckian, , with Saha and Boltzmann holding at the local temperature — excellent deep in dense photospheres where collisions dominate. But in the tenuous upper layers where many strong lines form, radiative rates compete with collisional ones, the populations depart from equilibrium, and the source function is no longer Planckian. Solving this requires the coupled equations of statistical equilibrium and radiative transfer together — the non-LTE problem, whose corrections routinely shift derived abundances by tenths of a dex for elements like oxygen, sodium, and iron.