Astronomy Labs

Observational Astronomy › Optical astronomy

Astronomical spectroscopy

A spectrograph spreads starlight into a rainbow in which atoms and molecules leave identifying fingerprints; a shift of the whole pattern reveals how fast the source moves.

university · Birth of astrophysics · Modern universe · Precision & multi-messenger era · Reviewed:

Key takeaways

  • A spectrum is a barcode: lines at exact wavelengths reveal elements and temperature (H-alpha: 656.3 nm).
  • Shifted lines reveal motion along the line of sight: z ≈ Δλ/λ — basis for measuring cosmic expansion and exoplanets.
  • Resolution R = λ/Δλ sets the finesse: R ≈ 100,000 measures stellar wobbles of a few m/s.

What Astronomical spectroscopy means

A spectrograph spreads light into a rainbow and measures how much arrives at each wavelength. Atoms and molecules leave fingerprints in it: hydrogen shows a deep red line at 656.3 nm (H-alpha), sodium a yellow doublet near 589 nm. If the whole pattern is shifted the source is moving, and the fractional shift z ≈ Δλ/λ gives its speed along the line of sight. With resolution R = λ/Δλ around 100,000, we can even measure stellar wobbles of a few m/s caused by orbiting planets.

Try it — interactive simulation

Stellar Spectrum LabSlide the stellar temperature to shift the Planck peak and watch Balmer lines strengthen and fade across OBAFGKM.
410434486656λpeak 500 nmλ (nm) →OBAFGKMhot ← O · B · A · F · G · K · M → cool
Spectral classG
Peak wavelength500 nm
Balmer-line depth17%

Interactive model — simplified for intuition, not precision ephemerides.

Core formulas

Spectral redshiftz = (λ_obs − λ_0)/λ_0

Line shifts compare observed wavelength with a laboratory rest wavelength.

Worked numerical example

Reproduce this compact check for Astronomical spectroscopy: λ₀=656.28 nm, λ_obs=656.94 nm → z≈0.00101 → v≈303 km/s (low-z).

  1. List the given values and required units.
  2. Apply z = (λ_obs − λ₀)/λ₀ with the stated approximation.
  3. Check order of magnitude, units, and one independent physical expectation before accepting the answer.

λ₀=656.28 nm, λ_obs=656.94 nm → z≈0.00101 → v≈303 km/s (low-z)

History & methods

How it is measured or modeled

Acquire calibration data appropriate to the instrument, propagate masks/variance, model the PSF or line-spread function, and test the result against standards or repeat observations. Signal-to-noise alone does not capture calibration systematics. Record assumptions, coordinate/time conventions and an uncertainty budget so another observer can reproduce the result.

Historical development

Ideas related to Astronomical spectroscopy evolved as angular measurement, clocks, optics, spectroscopy, photography, electronics, spacecraft and computation improved. Historical models should be read in the context of the evidence available at the time: later observations often preserved useful mathematics while replacing the underlying physical picture.

Quick quiz

1. Which relation is the anchor formula for this topic?

Editorial note

Anchor: R = λ/Δλ · low-v Doppler z ≈ Δλ/λ.

References & further reading

  1. Astronomy 2e — Spectroscopy in Astronomy (OpenStax)
  2. Hubble Instruments (NASA Science)
  3. Science (ESO)
  4. Universe (NASA Science)
  5. Spectroscopy 101 — Introduction (NASA Science / Webb)
  6. Introduction to the Electromagnetic Spectrum (NASA Science)