Spectroscopy in Astronomy: Reading the Light of Stars and Galaxies

Every star is broadcasting. Not radio signals — light, across every wavelength the universe can produce. Spectroscopy is how astronomers intercept that broadcast and decode it, extracting temperature, chemical composition, velocity, and distance from what looks, to the naked eye, like nothing more than a bright dot. This page covers what spectroscopy is, how the technique operates, where astronomers apply it, and the limits that define when one method is preferred over another.

Definition and scope

When light from a star passes through a prism or diffraction grating, it spreads into a spectrum — a rainbow-like band revealing the specific wavelengths that source is emitting or absorbing. The dark lines embedded in that spectrum, called absorption lines, are the fingerprints of individual elements. Hydrogen produces its own pattern. Calcium produces a different one. Iron another. No two elements share the same spectral signature, which makes spectroscopy one of the most precise analytical tools in physical science, applied equally in a university chemistry lab and on the Hubble Space Telescope.

The scope in astronomy is genuinely vast. Spectroscopy applies to the full breadth of astronomical objects and phenomena — individual stars, interstellar gas clouds, exoplanet atmospheres, entire galaxies, and the cosmic microwave background. The technique spans wavelengths far beyond visible light, including ultraviolet, infrared, X-ray, and radio bands, each revealing phenomena invisible to the others.

How it works

The foundational physics traces to the 19th century work of Gustav Kirchhoff and Robert Bunsen, who established three laws governing spectral emission. Those laws remain the operating framework today.

Here is how a modern spectroscopic observation proceeds:

  1. Light collection. A telescope gathers light from the target — a star, galaxy, or nebula — and directs it toward a spectrograph instrument.
  2. Dispersion. Inside the spectrograph, a diffraction grating (or, in older instruments, a prism) separates the incoming light by wavelength, spreading it into a spectrum.
  3. Detection. A charge-coupled device (CCD) detector records the dispersed light, capturing intensity at each wavelength. This is the same basic sensor technology in a digital camera, but calibrated for scientific precision.
  4. Calibration. A known reference lamp — typically thorium-argon — is observed alongside the target so each pixel on the CCD can be assigned an exact wavelength.
  5. Analysis. Software compares the resulting spectrum against a library of known atomic and molecular line positions, identifying elements and measuring line shifts.

The Doppler effect plays a critical role in step five. When a star moves away from Earth, its spectral lines shift toward longer (redder) wavelengths — a redshift. Motion toward Earth produces a blueshift. The magnitude of that shift, expressed as a velocity using the formula v = cΔλ/λ₀, yields precise radial velocity measurements. This is how it works in practice: not just identifying what a star is made of, but tracking how fast it is moving and in which direction.

Common scenarios

Spectroscopy is the primary tool in four major areas of observational astronomy.

Stellar classification. The Harvard spectral classification system — O, B, A, F, G, K, M — is built entirely on spectroscopic signatures. A type O star, with surface temperatures exceeding 30,000 Kelvin, shows ionized helium lines absent in cooler type M stars. The Sun, a G-type star, has a surface temperature near 5,778 Kelvin and shows strong absorption from ionized calcium in its H and K lines.

Exoplanet atmospheres. When an exoplanet transits its host star, a thin sliver of starlight passes through the planet's atmosphere. Elements and molecules in that atmosphere absorb specific wavelengths, imprinting their signatures on the transmission spectrum. NASA's James Webb Space Telescope detected carbon dioxide (CO₂) in the atmosphere of exoplanet WASP-39b using precisely this method, a discovery NASA announced in 2022.

Radial velocity planet detection. A planet's gravitational tug causes its host star to wobble. That wobble produces measurable Doppler shifts in the stellar spectrum, sometimes as small as 1 meter per second — less than a gentle walking pace. This is the same technique used to confirm the first confirmed exoplanets around sun-like stars in the 1990s.

Cosmological redshift. Edwin Hubble's 1929 observation that distant galaxies showed systematically redshifted spectra established the expansion of the universe as an observational fact. Modern surveys like the Sloan Digital Sky Survey (SDSS) have measured spectroscopic redshifts for more than 3 million celestial objects, mapping the three-dimensional large-scale structure of the cosmos.

Decision boundaries

Not every observation benefits from spectroscopy equally. Imaging — capturing direct pictures — provides spatial resolution and is more efficient when mapping extended objects or surveying large fields. Spectroscopy trades field coverage for depth of information; a single long-slit spectrum of one object can take 30 minutes or more of telescope time on a faint target.

The choice between high-resolution and low-resolution spectroscopy also matters. High-resolution spectrographs (resolving power R > 50,000) can separate closely spaced absorption lines and detect small velocity shifts — essential for planet hunting. Low-resolution spectrographs (R ~ 500–1,000) spread fewer photons across fewer pixels, making them more sensitive to faint, distant galaxies where resolving individual lines matters less than measuring the overall redshift.

For amateur astronomers and those newer to the field, the astronomy frequently asked questions page addresses practical entry points — including what equipment makes spectroscopy accessible outside professional observatories. More context on the broader discipline is available on the astronomy authority home page.

The iron line in a stellar spectrum and the redshift of a galaxy a billion light-years away are both written in the same language — wavelength. Spectroscopy is what makes that language readable.

References

References

References