๐ŸŒ Astrophysics I

Spectral Classification of Stars

Study smarter with Fiveable

Get study guides, practice questions, and cheatsheets for all your subjects. Join 500,000+ students with a 96% pass rate.

Get Started

Why This Matters

Spectral classification is the astronomer's fingerprinting system. It transforms the light from distant stars into a detailed profile of their temperature, composition, size, and evolutionary stage. You're being tested on your ability to connect observable properties (color, spectral lines, luminosity) to physical characteristics (temperature, mass, chemical makeup) and ultimately to evolutionary status.

The classification schemes aren't arbitrary; they encode the physics of stellar atmospheres and nuclear processes. When you see a star labeled G2V, you should immediately understand what that tells you about its temperature, size, and where it sits on the H-R diagram. Don't just memorize the sequence O-B-A-F-G-K-M. Know why different spectral lines dominate at different temperatures and how luminosity class reveals a star's evolutionary state.


Temperature and the Harvard Sequence

The Harvard classification system organizes stars by surface temperature, which directly controls which spectral lines appear strongest. At higher temperatures, atoms become increasingly ionized, changing which electron transitions are possible and therefore which absorption lines dominate the spectrum.

Harvard Spectral Classification (O, B, A, F, G, K, M)

  • Temperature is the organizing principle. O-type stars exceed 30,000 K while M-type stars fall below 3,700 K, spanning nearly a factor of ten in surface temperature.
  • Each class shows characteristic absorption lines based on which atoms and ions can exist at that temperature. The classic mnemonic: "Oh Be A Fine Girl/Guy, Kiss Me."
  • The sequence reflects ionization physics. Ionized helium lines dominate hot O stars, neutral helium appears in B stars, hydrogen Balmer lines peak in A stars, and molecular bands appear only in cool K and M stars.

Temperature Sequence and Ionization States

The full sequence runs from hottest to coolest:

TypeTemperature RangeKey Spectral Features
O> 30,000 KIonized helium (He II), weak hydrogen
B10,000โ€“30,000 KNeutral helium (He I), moderate hydrogen
A7,500โ€“10,000 KStrongest hydrogen Balmer lines
F6,000โ€“7,500 KWeakening hydrogen, strengthening metals (Ca II)
G5,200โ€“6,000 KProminent Ca II H & K, many metal lines
K3,700โ€“5,200 KStrong metal lines, weak molecular bands appearing
M< 3,700 KMolecular bands (especially TiO), very weak hydrogen

A critical point: hydrogen Balmer lines peak at ~10,000 K (A stars) not because hydrogen is most abundant there, but because that's where the optimal excitation conditions exist. At that temperature, the largest fraction of hydrogen atoms have electrons in the n=2n = 2 level, ready to absorb visible-wavelength photons. In hotter stars, hydrogen is ionized past the point of producing Balmer absorption; in cooler stars, too few atoms are excited to n=2n = 2.

Subdivisions (0โ€“9) provide finer temperature resolution within each class. G2 is hotter than G8. The Sun is classified as G2.

Stellar Color and Temperature

Color directly indicates temperature. Hot stars appear blue-white, cool stars appear orange-red, following blackbody radiation principles.

  • Color indices like Bโˆ’V quantify this relationship. A negative Bโˆ’V indicates a blue (hot) star; a positive Bโˆ’V indicates a red (cool) star.
  • Wien's displacement law connects peak emission wavelength to temperature:

ฮปmax=2.898ร—10โˆ’3ย m\cdotpKT\lambda_{\text{max}} = \frac{2.898 \times 10^{-3} \text{ mยทK}}{T}

For the Sun at ~5,800 K, this gives a peak wavelength around 500 nm (green-yellow), consistent with its G2 classification.

Compare: A-type vs. M-type stars. Both are classified by the Harvard system, but A stars show strong hydrogen Balmer lines at ~10,000 K while M stars show molecular bands (TiO) below 3,700 K. If asked why hydrogen lines aren't strongest in the hottest stars, explain ionization: in O stars, hydrogen is almost fully ionized, leaving few atoms with bound electrons to produce absorption lines.


Spectral Lines as Diagnostic Tools

Absorption and emission lines in stellar spectra act as chemical and physical fingerprints. Each element produces a unique pattern of lines at specific wavelengths, and the strength of these lines depends on temperature, pressure, and abundance.

Spectral Lines and Their Significance

  • Line patterns are element-specific. The wavelengths of absorption lines identify which elements are present in the stellar atmosphere.
  • Line strength depends on excitation conditions, not just abundance. An element can be present in large quantities yet produce weak lines if the temperature isn't right for the relevant electron transitions.
  • Line width reveals physical conditions. Broader lines indicate higher atmospheric pressure (pressure broadening) or rapid stellar rotation (rotational broadening). This distinction between pressure effects and rotation effects matters for luminosity classification.
  • Doppler shifts in spectral lines reveal stellar radial velocity (motion toward or away from us), enabling measurements of binary orbits, stellar winds, and galactic rotation.

The Balmer Series

The Balmer series consists of hydrogen transitions from the n=2n = 2 level to higher levels, producing visible-wavelength absorption lines:

  • HฮฑH\alpha (n=2โ†’3n = 2 \to 3): 656.3 nm (red)
  • HฮฒH\beta (n=2โ†’4n = 2 \to 4): 486.1 nm (blue-green)
  • HฮณH\gamma (n=2โ†’5n = 2 \to 5): 434.0 nm (violet)

These lines reach maximum strength in A-type stars (~10,000 K), where hydrogen atoms are optimally excited to the n=2n = 2 state but not yet fully ionized. Balmer line strength is a primary criterion for distinguishing A stars from neighboring spectral types.

Metallic Lines Across Spectral Types

In astronomy, "metals" refers to all elements heavier than helium. Their spectral lines strengthen in cooler stars where atoms remain neutral or only singly ionized.

  • F, G, and K stars show prominent metal lines, including the calcium H and K lines (393.4 nm and 396.8 nm), numerous iron lines, and the sodium D doublet (589.0/589.6 nm). The Ca II H and K lines are among the strongest features in solar-type spectra.
  • Metal abundance variations reveal stellar population and galactic chemical evolution. Population II stars (old, found in the halo and globular clusters) show weaker metal lines than Population I stars (younger, found in the disk), reflecting the chemical enrichment of the interstellar medium over time.

Compare: Balmer series vs. metallic lines. Both are absorption features, but Balmer lines peak in A stars due to hydrogen excitation physics, while metal lines strengthen in cooler Fโ€“K stars where metals remain un-ionized. Know which dominates at which temperature.


Luminosity and the Two-Dimensional Classification

Temperature alone doesn't fully describe a star. The Morgan-Keenan (MK) system adds luminosity class, creating a two-dimensional classification that places stars precisely on the H-R diagram. Stars of the same temperature can have vastly different luminosities depending on their size and evolutionary stage.

Luminosity Classes (I to V)

ClassNameDescription
Ia, IbSupergiantsMost luminous; massive stars in late evolutionary stages
IIBright giantsIntermediate between supergiants and normal giants
IIIGiantsEvolved stars with expanded envelopes, higher luminosity than main sequence
IVSubgiantsTransitioning off the main sequence, beginning to expand
VMain sequence (dwarfs)Core hydrogen-fusing stars; the Sun is class V

There's also luminosity class VI (subdwarfs) and VII (white dwarfs) in some references, though these are less commonly used in the standard MK system.

The Morgan-Keenan (MK) System

The MK system combines spectral type and luminosity class into a single designation. A complete classification like G2V tells you the temperature (~5,800 K) and evolutionary status (main sequence).

The physical basis for distinguishing luminosity classes is atmospheric pressure. Giants have much lower surface gravity than dwarfs of the same temperature, which means lower atmospheric pressure. Lower pressure produces narrower spectral lines (less pressure broadening). Classification is done by comparing an unknown spectrum to well-characterized reference (standard) stars.

The Hertzsprung-Russell Diagram

The H-R diagram plots luminosity vs. temperature (or equivalently, absolute magnitude vs. spectral type). Temperature increases to the left on the horizontal axis.

  • The main sequence runs diagonally from hot, luminous O stars (upper left) to cool, dim M dwarfs (lower right). About 90% of stars fall on the main sequence.
  • Giants and supergiants occupy the upper right: cool but very luminous because of their enormous radii.
  • White dwarfs appear in the lower left: hot but dim because of their tiny size (roughly Earth-sized). They are stellar remnants, not actively fusing hydrogen.

The luminosity of any star depends on both temperature and radius through the Stefan-Boltzmann relation: L=4ฯ€R2ฯƒT4L = 4\pi R^2 \sigma T^4. This is why a cool giant can outshine a hot dwarf.

Compare: A G2V star (like the Sun) vs. a G2III star. Same spectral type and temperature, but the giant is ~100ร— more luminous due to its much larger radius. Luminosity class is essential for distance determination via spectroscopic parallax.


Mass, Evolution, and Classification Changes

Spectral classification isn't static. Stars change their position in classification space as they evolve. A star's mass determines its evolutionary path, and that path is traced through changing spectral types and luminosity classes.

Mass-Luminosity Relationship

For main-sequence stars, luminosity scales steeply with mass:

LโˆM3.5L \propto M^{3.5}

This means a star with twice the Sun's mass is roughly 23.5โ‰ˆ112^{3.5} \approx 11 times more luminous. The consequences are dramatic:

  • High-mass O-type stars burn through their fuel in just a few million years.
  • Low-mass M dwarfs can sustain hydrogen fusion for trillions of years, far longer than the current age of the universe.

This relationship applies only to main-sequence stars. Giants and supergiants have evolved off this correlation, so you can't use it to infer their masses from luminosity alone.

Stellar Evolution and Classification

Stars move through spectral classes as they evolve. The general pattern for a star leaving the main sequence:

  1. A star exhausts hydrogen in its core and contracts, heating the surrounding shell.
  2. Hydrogen shell burning causes the envelope to expand and cool, increasing luminosity.
  3. The star moves rightward and upward on the H-R diagram (cooler, more luminous).
  4. Luminosity class changes from V โ†’ IV โ†’ III (or higher for massive stars).

A massive star might begin life as an O-type main-sequence star and end as a red supergiant (M-type, class I) before exploding as a supernova. A solar-mass star will eventually become a red giant (K or M, class III) before shedding its envelope and leaving behind a white dwarf.

Spectroscopic Parallax

Spectroscopic parallax is a distance determination method that uses spectral classification rather than geometric measurement. Here's how it works:

  1. Obtain the star's spectrum and classify it (e.g., B3V).
  2. Determine absolute magnitude (MM) from the spectral type and luminosity class, using calibrated tables or the H-R diagram.
  3. Measure apparent magnitude (mm) from photometry.
  4. Apply the distance modulus equation:

mโˆ’M=5logโก10(d)โˆ’5m - M = 5 \log_{10}(d) - 5

Solving for distance: d=10(mโˆ’M+5)/5d = 10^{(m - M + 5)/5} parsecs.

The accuracy of this method depends entirely on correct classification. Misidentifying a giant (class III) as a dwarf (class V) will drastically underestimate the star's absolute magnitude and therefore its distance. Spectroscopic parallax works at much greater distances than trigonometric parallax but carries larger uncertainties.

Compare: Spectroscopic parallax vs. trigonometric parallax. Trigonometric parallax is purely geometric and very precise, but limited to nearby stars (Gaia reaches ~kpc scales with microarcsecond precision). Spectroscopic parallax works at greater distances but depends on the accuracy of the spectral classification.


Unusual and Extreme Stars

Not all stars fit neatly into the standard classification scheme. These outliers reveal extreme physical conditions and rare evolutionary stages.

Wolf-Rayet Stars

Wolf-Rayet (WR) stars are massive, hot stars with powerful stellar winds that produce broad emission lines rather than the absorption lines seen in normal stellar spectra. Their surfaces have been stripped down to helium or heavier elements, with temperatures exceeding 20,000 K (often 50,000โ€“100,000 K).

They're subdivided by composition:

  • WN stars: nitrogen-rich, showing products of CNO-cycle hydrogen burning
  • WC stars: carbon-rich, showing products of helium burning (triple-alpha process)

WR stars represent a late evolutionary stage of the most massive stars (initial masses โ‰ณ25MโŠ™\gtrsim 25 M_\odot) and are considered supernova progenitors on their way to core collapse.

Peculiar Stars

Some stars deviate from standard spectral characteristics for their temperature class. These are designated with a "p" suffix (e.g., Ap stars).

  • Chemically peculiar (CP) stars show unusual elemental abundances. In many cases, this isn't a true composition difference but rather the result of radiative levitation and gravitational settling (diffusion), which sorts elements in stable stellar atmospheres.
  • Magnetic Ap stars exhibit strong, organized magnetic fields (up to several tesla) that create surface abundance patches. As the star rotates, different patches face Earth, producing periodic spectral variability.
  • Binary mass transfer can also produce peculiar spectra, as material from a companion star alters the surface composition (e.g., barium stars enriched by a former AGB companion).

Compare: Wolf-Rayet stars vs. O-type main-sequence stars. Both are hot and massive, but Wolf-Rayet stars show emission lines from dense, optically thick stellar winds, while O stars show absorption lines from a relatively transparent atmosphere. Wolf-Rayet stars represent a later evolutionary stage with exposed inner layers.


Quick Reference Table

ConceptBest Examples
Temperature sequenceO โ†’ B โ†’ A โ†’ F โ†’ G โ†’ K โ†’ M (hot to cool)
Hydrogen line maximumA-type stars (~10,000 K, optimal Balmer excitation)
Metal line prominenceF, G, K stars (cool enough for neutral metals)
Main-sequence starsLuminosity class V (Sun = G2V)
Evolved giantsLuminosity classes III, II, I
Mass-luminosity relationLโˆM3.5L \propto M^{3.5} for main-sequence stars
Distance determinationSpectroscopic parallax using MK classification
Pressure broadeningGiants have narrower lines than dwarfs (lower surface gravity)
Extreme stellar windsWolf-Rayet stars (emission-line spectra)

Self-Check Questions

  1. Why do hydrogen Balmer lines peak in A-type stars rather than in hotter O-type stars where hydrogen is equally abundant?

  2. Two stars have identical spectral type G2 but different luminosity classes (V and III). Which is more luminous, and what physical property explains the difference?

  3. Compare and contrast how temperature affects the spectra of B-type stars versus K-type stars. What types of spectral features dominate in each, and why?

  4. If you observe a star with strong TiO molecular bands, what can you immediately conclude about its temperature, and why can't these molecules exist in hotter stars?

  5. Outline the spectroscopic parallax method for determining stellar distance. What classification information do you need, and where is the method most vulnerable to error?

  6. A star is classified as WN5. What does this tell you about its evolutionary stage, surface composition, and spectral appearance compared to a normal O-type star?