Redshift in Astrophysics: Cosmology, Doppler, Gravity

Table of Contents

What Is Redshift in Astrophysics?

Redshift is the fractional increase in the wavelength (or corresponding decrease in the frequency) of light or other electromagnetic radiation as measured by an observer. In astrophysics, redshift is a cornerstone observable: it reveals motions of stars and galaxies, probes the curvature and expansion history of the universe, and tests gravity in strong and weak regimes.

Formally, redshift z is defined by the shift of an observed wavelength λobs relative to a known rest-frame wavelength λrest (for example, a spectral line measured in the lab):

z = (λobs − λrest) / λrest

When z > 0, the light is redshifted; when z < 0, it is blueshifted. Three physical mechanisms produce most observed redshifts:

Hubble constant
Scatter plot of fit of redshifts to Hubble’s law. Patterned after https://books.google.com/books?id=BUgJGypUYF0C&pg=PA7&dq=hubble+constant+H0+date:2005-2010&lr=&as_brr=0&as_pt=ALLTYPES#PPA8,M1
Artist: Brews ohare

Understanding which mechanism is at work—and how they combine—is essential for turning a measured z into physical insight about distance, velocity, mass, and cosmic history. Throughout this article, we connect the definition of redshift to observational techniques and cosmological interpretation, highlighting best practices for disentangling multiple effects.

How Spectral Lines Reveal Velocity and Distance

Spectral lines act like cosmic fingerprints. Elements and molecules absorb or emit light at specific wavelengths dictated by quantum transitions. Because those rest wavelengths are precisely known from laboratory measurements, any shift in astronomical spectra can be attributed to motion, cosmic expansion, or gravity.

Common lines used in extragalactic astronomy include:

  • Hydrogen Balmer series (e.g., Hα at 656.28 nm, Hβ at 486.13 nm) for H II regions and star-forming galaxies.
  • Oxygen lines ([O II] doublet near 372.7 nm; [O III] at 500.7 nm) for ionized gas diagnostics.
  • Lyman-α (121.567 nm) for high-redshift galaxies and the intergalactic medium.
  • Calcium H and K lines (396.8 nm, 393.4 nm) in stellar populations of galaxies.
  • 21-cm line of neutral hydrogen (1.42040575 GHz; 21.106114 cm) for mapping gas in galaxies and large-scale structure.
Cosmic ‘Winter’ Wonderland
Although there are no seasons in space, this cosmic vista invokes thoughts of a frosty winter landscape. It is, in fact, a region called NGC 6357 where radiation from hot, young stars is energizing the cooler gas in the cloud that surrounds them.
Artist: NASA

By comparing observed line positions to these rest-frame values, astronomers compute z. In practice, multiple lines are fit simultaneously to increase robustness and to identify systematics such as line blending, absorption by intervening material, and instrumental calibration issues.

For faint and distant sources, obtaining clear lines can be difficult. That’s where template cross-correlation and spectral energy distribution (SED) fitting come in. A galaxy’s entire spectrum—absorption features, emission lines, and overall continuum shape—is compared to libraries of models at various z values. The best-matching redshift is chosen, often with probabilistic confidence intervals. When spectra are unavailable, photometric redshift techniques estimate z from broadband colors.

Line widths also carry information: velocity dispersion in galaxies, rotational speeds in disks, and outflows in active galactic nuclei (AGN) broaden features. But for redshift, line centers matter most. The care taken to determine a reliable centroid is a major factor in redshift precision, especially for studies that require accurate distances (e.g., baryon acoustic oscillations or the Hubble–Lemaître relation described in Cosmological Redshift and the Expanding Universe).

Cosmological Redshift and the Expanding Universe

Cosmological redshift arises because space itself expands over time. Wavelengths of photons traveling through expanding spacetime are stretched along with the cosmic scale factor, a(t). The redshift can be related to the scale factor when the light was emitted:

1 + z = a(tobs) / a(temit)

This effect does not imply galaxies are moving through space away from us in the usual velocity sense for all distances; rather, the metric that defines distances grows. For small redshifts (z ≪ 1), the cosmological redshift relation reduces to a linear trend between distance and velocity known as the Hubble–Lemaître law:

v ≈ H0 d

Hubble's law original 1929
Original plot of radial velocity-distance relation for galaxies, published by Edwin Hubble in his 1929 paper (DOI: 10.1073/pnas.15.3.168, page 172).
Artist: Едвін Поуелл Габбл

where H0 is the Hubble constant today. At larger z, the relation between luminosity distance and redshift depends on the full expansion history of the universe—including the matter density, dark energy density, and curvature—parametrized in the ΛCDM model. Fitting distance indicators across a wide redshift range constrains these parameters (see From Redshift to Distance: Standard Candles, Rulers, and Cosmology).

Key points about cosmological redshift:

  • It affects all photons traveling through expanding space—optical, infrared, radio, and beyond.
  • It underlies the cosmic microwave background (CMB) temperature today: light last scattered when the universe was hot and dense is redshifted to microwaves.
  • It is central to mapping the Lyman-α forest, BAO features, and the growth of structure through galaxy redshift surveys.
  • It differs from Doppler redshift, though at low z they can be confused without careful modeling of peculiar motions.

An intuitive analogy compares the universe to a rising loaf of raisin bread: as the dough (space) expands, the raisins (galaxies) separate even though they are not necessarily moving through the dough. Nearby raisins have additional small motions due to local gravity, an effect we call peculiar velocity and discuss in Doppler Redshift, Peculiar Velocities, and Local Motions.

Doppler Redshift, Peculiar Velocities, and Local Motions

The Doppler effect is familiar from the changing pitch of a siren as it passes by. Light behaves similarly: if a source and observer move relative to each other, the observed wavelength shifts. For speeds much less than the speed of light, the classical Doppler shift suffices; for high speeds, the relativistic Doppler formula is required.

Relativistic Doppler shift for motion along the line of sight:

1 + z = γ(1 + β) where β = v/c and γ = 1/√(1 − β²).

For small |v| ≪ c, this approximates to z ≈ v/c. This redshift mechanism is vital in various contexts:

  • Stellar radial velocities measure exoplanet-induced wobbles, binary orbits, and cluster dynamics.
  • Galaxy rotation curves are derived from Doppler shifts across disks, informing dark matter inferences.
  • AGN and jets show relativistic beaming and sometimes strong blueshifts on jet-approaching sides.

In cosmology, peculiar velocities—coherent motions due to local gravitational fields—modulate observed redshifts on top of the cosmological signal. Nearby galaxies can appear slightly more redshifted or blueshifted depending on whether they fall toward or recede from massive structures. This is especially important at z ≲ 0.1. Two well-known effects in redshift surveys are:

  • “Fingers of God”: Random motions in virialized clusters elongate structures along the line of sight in redshift space, making clusters look stretched.
  • Kaiser effect: Coherent infall into overdensities compresses structures in redshift space on large scales, informing the growth rate of cosmic structure.

To turn redshift into distance for local galaxies, one often applies a peculiar velocity correction using flow models tied to the cosmic microwave background (CMB) dipole frame or reconstructed density fields. We revisit these practicalities in From Redshift to Distance: Standard Candles, Rulers, and Cosmology and discuss pitfalls in Common Pitfalls, Systematics, and K-Corrections.

Gravitational Redshift and Tests of General Relativity

General relativity predicts that light loses energy climbing out of a gravitational potential well, leading to a longer observed wavelength. This gravitational redshift does not require motion or expansion; it is a property of curved spacetime near mass-energy.

Classic and modern tests include:

  • Pound–Rebka–Snider experiment on Earth, which measured a tiny frequency shift over a vertical height, confirming gravitational redshift to high precision.
  • Solar gravitational redshift observed in spectral lines formed near the Sun’s surface, consistent with expectations when calibrated against convective and line-formation effects.
  • White dwarfs and neutron stars, where high surface gravities produce measurable gravitational redshifts in spectral lines.
  • Stars near the Galactic Center (e.g., S2 orbiting the supermassive black hole), where relativistic effects including gravitational redshift and time dilation have been detected.

In strong gravity regimes, such as near black holes, gravitational redshift blends with Doppler shifts from orbital motion and with lensing magnification. Separating these effects relies on detailed models of accretion disks, relativistic ray tracing, and timing studies (e.g., X-ray reflection spectroscopy). Weaving together Doppler and gravitational shifts is essential when analyzing emission lines like the relativistically broadened iron Kα line observed in some AGN and X-ray binaries.

Measuring Redshift: Spectroscopic and Photometric Methods

Observational cosmology revolves around measuring redshift as accurately and efficiently as possible. Two main approaches exist: spectroscopy and photometry.

Spectroscopic redshift (spec-z)

Spectroscopy disperses light into fine wavelength bins, resolving individual absorption and emission features. The advantages include:

  • High precision: Typical uncertainties Δz ~ 10⁻⁴ to 10⁻⁵ for bright sources.
  • Robust identification: Multiple lines and line ratios reduce confusion and enable diagnostics (ionization state, metallicity, kinematics).
  • Calibration and standards: Laboratory wavelengths provide anchors; arc lamps and sky lines help calibrate spectrographs.

Limitations are exposure time and completeness for faint or high-z sources. Large redshift surveys use multi-object spectrographs to observe thousands of targets per pointing, balancing depth and area.

Photometric redshift (photo-z)

Photometry measures flux through broadband or medium-band filters. The overall SED shape—especially the positions of prominent breaks like the 4000 Å break in galaxies or the Lyman break at high z—allows approximate redshift estimation. Two main families of methods:

  • Template fitting: Compare observed colors to SED libraries as a function of z, marginalizing over dust and star-formation history.
  • Machine learning: Train models (e.g., random forests, neural networks) on spectroscopic samples to predict z for the broader photometric catalog.

Photometric methods enable redshift estimates for millions to billions of sources, crucial for wide surveys that would be infeasible spectroscopically. However, they have larger uncertainties (often Δz/(1+z) ~ 0.02–0.1 depending on data quality) and can suffer from catastrophic outliers where z is misestimated by large factors. Hybrid strategies cross-calibrate photo-z with representative spectroscopic subsamples.

Simple computational examples

At the telescope or in data reduction, the first step is often straightforward. For a single spectral line:

Compute z from an observed and rest wavelength
// Given rest and observed wavelengths (same units)
function redshift(lambda_rest, lambda_obs) {
  return (lambda_obs - lambda_rest) / lambda_rest;
}

// Example: Hα rest = 656.28 nm, observed = 721.91 nm
// z = (721.91 - 656.28) / 656.28 ≈ 0.1

For relativistic radial velocity v from measured z (Doppler, not cosmological):

Relativistic Doppler velocity from z
// c = speed of light
function beta_from_z(z) {
  // 1+z = sqrt((1+beta)/(1-beta))
  const r = (1+z)*(1+z);
  const beta = (r - 1) / (r + 1);
  return beta; // v/c
}

These snippets are pedagogical; real analyses handle line blends, multiple features, instrument response, and uncertainties through model fitting and Bayesian inference.

From Redshift to Distance: Standard Candles, Rulers, and Cosmology

Redshift by itself is not distance. Turning z into a distance requires a cosmological model, because the relation depends on how the universe’s expansion rate has changed over time. Three distance concepts recur:

  • Comoving distance: Separates galaxies fixed to the Hubble flow; useful for large-scale structure and theory.
  • Luminosity distance: Relates measured flux to intrinsic luminosity; central to supernova cosmology.
  • Angular diameter distance: Relates physical sizes to angular sizes; used with standard rulers like baryon acoustic oscillations (BAO).

To calibrate cosmology with observations, astronomers use two classes of probes:

Standard candles

Three Steps to the Hubble Constant (2019-25-4489)
This illustration shows the three basic steps astronomers use to calculate how fast the universe expands over time, a value called the Hubble constant.
Artist: NASA, ESA, and A. Feild (STScI)

Objects with known intrinsic luminosities let us infer distances from their observed fluxes, modulo extinction and K-corrections (see Common Pitfalls, Systematics, and K-Corrections).

  • Type Ia supernovae: Empirically standardized through light-curve shape and color, they map the luminosity distance–redshift relation and revealed the accelerated expansion attributed to dark energy.
  • Cepheid variables and tip of the red giant branch: Calibrate the nearby distance ladder, anchoring the absolute scales used by supernovae.

Standard rulers

Features with known physical sizes convert angular separations into distances.

  • Baryon acoustic oscillations (BAO): A preferred clustering scale imprinted by sound waves in the early universe’s plasma; measured in galaxy and quasar clustering and, at higher redshift, in the Lyman-α forest.
  • Sound horizon at recombination: Calibrated by the CMB power spectrum, anchoring distance measurements across cosmic time.

Combining standard candles and rulers over a wide redshift baseline breaks degeneracies among H0, matter density, and dark energy parameters. Redshift-space distortions provide an independent handle on the growth rate of structure, sensitive to both the expansion history and gravity. Weak lensing, cluster abundance, and time delays in gravitationally lensed quasars enrich this picture, each relying on accurate redshift information.

Redshift in Practice: Galaxies, Quasars, Supernovae, and 21-cm

Beyond definitions and methods, redshift is the common language tying together diverse astrophysical phenomena. Here are emblematic arenas where redshift is the key observable.

Galaxies: star formation and assembly history

Galaxy surveys map how star formation rates, metallicities, and morphologies evolve with redshift. Ultraviolet emission and strong lines like [O II] and Hα trace ongoing star formation; the 4000 Å break and Balmer absorption indicate aging stellar populations. At z ≳ 1, atmospheric windows and instrument sensitivity push much of this into the near-infrared, while high-z rest-UV features probe early galaxies. Comparing galaxy properties across z reveals the so-called cosmic noon—the peak of star formation around z ~ 2—and gradual quenching in massive systems toward the present day.

Quasars and AGN: extreme physics across cosmic time

Active galactic nuclei provide bright beacons to high redshift. Broad emission lines from the broad-line region (e.g., C IV, Mg II, Hβ) yield redshifts and black hole mass proxies through line widths. Narrow lines (e.g., [O III]) trace ionized gas on larger scales. Quasar redshift catalogs power studies of BAO in the Lyman-α forest, intergalactic medium metal enrichment, and the reionization history at early times. At very high z, damping wing signatures in Lyman-α can constrain neutral hydrogen in the intergalactic medium.

Type Ia supernovae: cosmic expansion history

Type Ia supernovae remain pivotal for mapping luminosity distances out to z ~ 1 and beyond. Each event’s host galaxy redshift anchors the supernova’s position on the Hubble diagram, while light-curve standardization reduces intrinsic scatter. Subtleties include host mass correlations, dust extinction, and selection effects that require meticulous modeling (see Common Pitfalls, Systematics, and K-Corrections).

Neutral hydrogen and the 21-cm line

At radio wavelengths, the 21-cm hyperfine transition of neutral hydrogen (HI) allows measurements of gas kinematics and distribution. For nearby galaxies, spatially resolved 21-cm spectroscopy yields rotation curves and dynamical masses. At higher redshift, intensity mapping techniques target the aggregate HI emission, aiming to trace large-scale structure and BAO without detecting individual galaxies. The 21-cm line’s rest frequency translates directly into z via νobs = νrest / (1 + z).

Gravitational lensing and time delays

Strong lensing of background quasars and galaxies by massive foreground halos produces multiple images with different path lengths and gravitational potentials. The time delays between image light curves depend on the lens mass model and the geometry set by redshifts of the lens and source. Precise redshifts for both are indispensable for inferring distances and constraining H0.

Common Pitfalls, Systematics, and K-Corrections

Interpreting redshift measurements demands vigilance against biases and model dependencies. Here are key challenges and practical remedies.

Spectral confusion and line misidentification

When only one emission line is detected, it can be ambiguous: Is a single line [O II] at moderate z or Lyman-α at high z? Resolution, line asymmetry (notably in Lyman-α), continuum breaks, and ancillary photometry help resolve this. Observers often seek corroborating lines or rely on photometric priors.

Instrumental calibration

Wavelength solutions rely on calibration lamps and sky emission lines; flexure, temperature drift, and pixel mapping can introduce systematic offsets. Cross-checks with standard stars, simultaneous reference spectra, and careful error propagation are essential.

Selection effects and Malmquist bias

Flux-limited surveys preferentially include intrinsically brighter objects at higher redshift, biasing inferred trends. Volume corrections, forward modeling, and completeness simulations mitigate these biases. For supernova cosmology, selection functions must be explicitly modeled to avoid skewing the Hubble diagram.

Peculiar velocity corrections

At low z, ignoring peculiar velocities can inflate scatter and bias H0 estimates. Transforming to the CMB rest frame, applying flow models, and combining independent distance indicators reduce uncertainty. See Doppler Redshift, Peculiar Velocities, and Local Motions for conceptual background.

K-corrections and SED evolution

Because redshift moves rest-frame light into different observed bands, comparing intrinsic luminosities or colors across z requires K-corrections. These corrections depend on the source SED and filter curves; they can be nontrivial for evolving populations. For example, comparing rest-frame B-band luminosities at different redshifts means using models to correct observed magnitudes back to B-band. Evolutionary corrections may also be applied to account for physical changes in the sources over time.

Photometric redshift outliers

Photo-z pipelines must report full probability distributions P(z), not just point estimates, and propagate them into science analyses. Calibration with spectroscopic subsamples across color and magnitude space helps, as does using medium-band filters to sharpen SED features. Quality flags and machine-learning uncertainty estimates reduce contamination from outliers.

Foregrounds and absorption

Dust extinction in the Milky Way and in host galaxies dims and reddens sources, potentially mimicking redshift-dependent trends. Intervening absorbers imprint lines (e.g., Mg II systems) that can complicate continuum fits. Multiwavelength observations and extinction maps improve corrections.

Redshift Surveys and the Large-Scale Structure of the Universe

Galaxy redshift surveys chart the three-dimensional distribution of matter, revealing a cosmic web of filaments, clusters, and voids. Structures grow from tiny primordial fluctuations through gravitational instability, and their statistical properties encode cosmological information.

Cosmic web texture (10 Gly span)
Cosmic web visualization spanning ten gigalight-years, showing filaments of dark matter and galaxies with dense nodes representing galaxy clusters.
Artist: Unmismoobjetivo

Essential survey ingredients include:

  • Wide area: To beat cosmic variance and capture large-scale modes.
  • Depth: To sample a broad redshift range and evolutionary baseline.
  • Uniform selection: To simplify the connection between observed catalogs and underlying matter.
  • Accurate redshifts: To resolve radial positions and redshift-space distortions.

Clustering statistics—two-point correlation functions, power spectra, and higher-order moments—extract signals like the BAO scale and the growth rate of structure via redshift-space distortions. Cross-correlations with weak lensing shear fields, CMB lensing, and 21-cm maps increase robustness and break parameter degeneracies. Peculiar velocity surveys add complementary constraints on the matter distribution, while void analyses probe dark energy and modified gravity in underdense regions.

Redshift information also powers environmental studies within the cosmic web: galaxy colors, morphologies, and star formation rates depend on whether galaxies live in clusters, filaments, or the field. Accurately placing galaxies in 3D is critical to quantifying these trends across cosmic time.

Frequently Asked Questions

Is cosmological redshift the same as Doppler shift?

No. Cosmological redshift arises from the expansion of space and is tied to the scale factor of the universe; Doppler shift is due to motion through space between source and observer. At small redshift, their observational signatures can look similar, but cosmological redshift dominates at large distances. As discussed in Cosmological Redshift and the Expanding Universe, the relation between distance and z depends on the universe’s expansion history, not simply on a recessional velocity.

Can an object be blueshifted in an expanding universe?

Yes. Local motions can overcome the Hubble flow. The Andromeda galaxy (M31), for example, is slightly blueshifted because it and the Milky Way are gravitationally bound and moving toward each other, despite overall cosmic expansion. See Doppler Redshift, Peculiar Velocities, and Local Motions for details on peculiar velocities.

Final Thoughts on Using Redshift to Map the Cosmos

Redshift is the astrophysicist’s universal yardstick. By decoding how light’s wavelength changes, we read the story of cosmic expansion, weigh massive objects, and reconstruct the growth of structure. In practice, using redshift well means understanding three intertwined mechanisms—cosmological expansion, Doppler motion, and gravity—and matching them to robust measurement strategies. Spectroscopy provides precision and diagnostics; photometry delivers scale and statistical power. Turning redshift into distance demands cosmological modeling and cross-checked calibrations using standard candles and rulers. Throughout, attention to systematics—peculiar velocities, selection effects, K-corrections, and calibration—is not optional; it is the difference between suggestive hints and reliable inference.

As upcoming surveys expand our redshift maps, the payoffs will be sharper constraints on dark energy, the matter content of the universe, and tests of gravity across vast baselines. Whether you are modeling galaxy evolution, timing lensed quasars, or surveying neutral hydrogen, redshift remains the unifying parameter that makes cosmic cartography possible.

If you enjoyed this deep dive and want more accessible, expert-level explorations of the universe, consider subscribing to our newsletter. You’ll get future articles on cosmology, galaxies, and observational techniques delivered to your inbox, along with practical guides and curated readings to keep your curiosity fed.

Stay In Touch

Be the first to know about new articles and receive our FREE e-book