Atmosphere (cooler, above) → absorbs at specific wavelengths (Law 3)
We see: a continuous rainbow with dark lines carved into it.
Temperature decreases outward — that’s why absorption, not emission.
Two Myths to Kill Now
Myth 1: “Spectral type tells me what a star is made of.”
It doesn’t — not directly. Spectral type primarily reflects temperature. Stars of wildly different types have nearly identical compositions. (Part 3 will prove this.)
Myth 2: “A redshifted star looks red.”
It doesn’t. “Redshift” means lines shift to longer wavelengths — a fractional change of \({\sim}0.01\%\). A blue O star receding from you is still blue. (Part 4 makes this quantitative.)
Observable → Model → Inference
Observable: Dark lines at specific wavelengths in a stellar spectrum
Model: Kirchhoff’s third law — cooler atmosphere absorbs from hotter photosphere
Inference: The star has a hot interior surrounded by a cooler atmosphere
The dark lines are the key to everything that follows.
🔍 Spectrum Detective — Clue 0: The shape of the spectrum (continuous vs. lines, absorption vs. emission) tells you the physical setup of the source.
Prediction: Which Spectrum?
You look at a glowing neon sign through a spectrograph.
Commit to one answer:
Continuous spectrum — smooth rainbow
Emission spectrum — bright lines on dark background
Absorption spectrum — dark lines in a rainbow
Think–Pair–Share: Design a Kirchhoff Test
Scenario: You have a hydrogen gas tube and a bright white lamp.
How would you set up an experiment to produce a hydrogen emission spectrum?
How would you rearrange to produce a hydrogen absorption spectrum?
Which Kirchhoff law governs each setup?
30 seconds alone → 1 minute with a neighbor → share out
Spectral Lines as Atomic Fingerprints
The Bohr model and discrete energy levels
The Bohr Model: Discrete Energy Levels
Credit: JWST/STScI
Electrons occupy specific energy rungs — they cannot hover between them.
The Reverse: Emission
Credit: JWST/STScI
Same energy gaps → same wavelengths — whether absorbing or emitting.
Antonia Maury — noticed line widths vary → luminosity class
Hired as cheap labor (25–50¢/hr, less than secretaries), denied telescope access — and they transformed astronomy.
Data First, Theory Later
The Harvard classifications demanded explanation:
1925: Cecilia Payne-Gaposchkin proved stars are overwhelmingly hydrogen & helium — arguably the most important PhD in astronomy. Her advisor Russell called it “clearly impossible” before later admitting she was right.
1920s: Eddington’s stellar models explained OBAFGKM as a temperature sequence.
1938: Bethe’s nuclear fusion theory completed the picture.
The pattern was observed first. The physics was built to explain it.
This is Observable → Model → Inference in its purest historical form.
The Spectral Sequence
Credit: NOAO/AURA/NSF
From top to bottom: O → B → A → F → G → K → M
Hot (O): ionized helium lines
Middle (A): strongest hydrogen Balmer lines
Cool (M): molecular bands (TiO)
Spectral features change dramatically — but composition is nearly the same across all types.
Oh Be A Fine Guy/Girl, Kiss Me.
OBAFGKM at a Glance
Type
Color
Temperature
Main-Seq. Prevalence
Dominant Features
O
Blue-violet
\(\gtrsim 30{,}000\ \text{K}\)
\(0.00003\%\)
Ionized helium
B
Blue-white
\(10{,}000\text{–}30{,}000\ \text{K}\)
\(0.13\%\)
Neutral helium, strong H
A
White
\(7{,}500\text{–}10{,}000\ \text{K}\)
\(0.6\%\)
Strongest H Balmer
F
Yellow-white
\(6{,}000\text{–}7{,}500\ \text{K}\)
\(3\%\)
Moderate H, weak metals
G
Yellow
\(5{,}200\text{–}6{,}000\ \text{K}\)
\(7.6\%\)
Weak H, strong metals
K
Orange
\(3{,}700\text{–}5{,}200\ \text{K}\)
\(12.1\%\)
Very weak H, molecular bands
M
Red-orange
\(\lesssim 3{,}700\ \text{K}\)
\(76.5\%\)
TiO molecular bands
M dwarfs are \(76.5\%\) of all stars — too faint to see by eye.
Four Knobs, One Spectrum
What You Measure
What It Tells You
Line positions (which wavelengths are dark)
Composition — which elements are present
Line strength pattern (which species dominate)
Temperature → spectral type (OBAFGKM)
Line widths (narrow vs. broad)
Surface gravity / rotation → luminosity class
Metal line forest (amplitude relative to H)
Metallicity (heavy-element abundance)
Temperature is the dominant knob — it controls line strengths so powerfully that it can mask composition differences entirely.
Why Temperature Controls Line Strength
For H absorption: electron must already be in \(n = 2\)
Fraction in \(n = 2\) depends on temperature: \(\propto e^{-\chi_2/k_BT}\)
Too cool (M stars): almost no atoms in \(n = 2\) → weak H lines
Just right (A stars): maximum population in \(n = 2\) → strongest H lines
Too hot (O stars): hydrogen is ionized → no neutral H → weak H lines
Predict First: Which Type Wins?
All stars are \({\sim}73\%\) hydrogen. Hydrogen Balmer absorption requires electrons already in \(n = 2\), which is \(10.2\ \text{eV}\) above the ground state.
At which spectral type — O, A, G, or M — would you expect the strongest Balmer lines, and why?
Commit to an answer before I show you.
The Goldilocks Problem: A Balmer Line Peak
Two competing effects at work:
Excitation (\(\propto e^{-\chi_2/k_BT}\)): hotter → more atoms in \(n = 2\)
Ionization: hotter → more atoms lose electrons entirely
Temperature
Excitation
Ionization
Balmer strength
\(3{,}000\ \text{K}\) (M)
Very low
Negligible
Weak — no \(n=2\)
\(10{,}000\ \text{K}\) (A)
High
Moderate
Peak — sweet spot
\(35{,}000\ \text{K}\) (O)
Very high
Nearly complete
Weak — no neutral H
Balmer strength rises, peaks at A stars, then falls — a competition, not monotonic growth.
Prediction: Why Weak H Lines?
An M star (\(T \approx 3{,}000\ \text{K}\)) has weak hydrogen Balmer lines.
Which explanation is correct?
M stars have very little hydrogen
M stars are too cool — almost no H atoms in the \(n = 2\) state
M stars are so hot that hydrogen is ionized
M stars are too far away to show lines
The Spectral Sequence Is Temperature
Do O stars have more helium? No — same composition. Temperature ionizes H and excites He.
Do A stars have more hydrogen? No — same abundance. Temperature puts H into \(n = 2\).
Do M stars lack hydrogen? No. Temperature keeps H atoms in \(n = 1\) (ground state).
Same atoms. Different temperatures. Different spectra.
🔍 Spectrum Detective — Clue 2: The pattern of line strengths tells you temperature (spectral type). Strong Balmer? \({\sim}10{,}000\ \text{K}\). TiO bands? Below \({\sim}3{,}700\ \text{K}\).
Quick Check: Spectral Type
Two stars have identical composition. Star X is spectral type A; Star Y is spectral type M. What’s different?
Star X has more hydrogen
Star Y has more metals
Star X is hotter, so more H atoms occupy the \(n = 2\) level
Star Y is closer, so lines appear weaker
Metallicity: A Secondary Effect
Metallicity (\(Z\)) = mass fraction of elements heavier than helium.
Sun: \(Z_\odot \approx 0.014\) — about \(1.4\%\) “metals”
High-\(Z\) stars: more and stronger metal absorption lines
Low-\(Z\) stars: “cleaner” spectra with fewer metal lines
But metallicity is second-order for classification. Two stars at the same temperature with different \(Z\) have the same spectral type — the metal line strengths differ, but which species dominates is set by temperature.
Diagnostic: A real Doppler shift moves all lines by the same fraction \(\Delta\lambda/\lambda_0\). If only one line shifts — it’s a misidentification, not motion.
Worked Example: Radial Velocity from H\(\alpha\)
Problem: H\(\alpha\) observed at \(656.5\ \text{nm}\) (rest: \(656.3\ \text{nm}\)). Approaching or receding?
A \(0.03\%\) shift → \({\sim}91\ \text{km/s}\). Tiny shift, huge velocity.
Quick Check: Doppler Direction
H\(\beta\) (rest: \(486.1\ \text{nm}\)) is observed at \(485.9\ \text{nm}\). The star is…
Approaching (blueshifted — observed wavelength is shorter)
Receding (redshifted)
Stationary (no shift)
Rotating (broadened)
The Doppler Wobble in Action
Think–Pair–Share: Exoplanet Wobble
A star’s H\(\alpha\) line oscillates between \(656.25\ \text{nm}\) and \(656.35\ \text{nm}\) over a 4-day cycle. The rest wavelength is \(656.3\ \text{nm}\).
Is the star moving? How do you know?
What is the velocity amplitude (\(v_r\)) of the wobble?
What could cause a periodic Doppler oscillation?
30 seconds alone → 1 minute with a neighbor → share out
Doppler Unlocks Masses
If a star is in a binary system, its radial velocity oscillates as it orbits.
Measure the oscillation period and amplitude → infer the companion’s mass.
🔍 Spectrum Detective — Clue 3: The shifts of line positions — every line offset by the same fraction — tell you the star’s radial velocity.
Putting It Together
Three clues from one spectrum
One Spectrum, Four Inferences
Observable
What we measure
What we infer
Line positions (which wavelengths are dark)
Wavelengths matched to lab data
Composition
Line strength pattern (which species dominate)
Relative strengths
Temperature → spectral type
Line shifts (offset from lab wavelengths)
Doppler shift \(\Delta\lambda/\lambda_0\)
Radial velocity
Line widths (narrow vs. broad)
Pressure/rotational broadening
Surface gravity → luminosity class
Composition, temperature, motion, and size — from a single observation.
🔍 Spectrum Detective — Case Closed. All clues collected: composition (Clue 1), temperature (Clue 2), velocity (Clue 3). Three independent measurements, one observation.
Mars’s actual surface temperature is \({\sim}210\ \text{K}\). \(T_{\text{eq}} \approx T_{\text{surface}}\) — the greenhouse effect is negligible. Why? CO\(_2\) dominates (\(95\%\)), but the atmosphere is only \(0.6\%\) of Earth’s pressure. Too thin to trap significant IR.
Quick Check: Greenhouse Physics
The greenhouse effect warms Earth because…
CO\(_2\) absorbs incoming visible sunlight
The ozone layer traps heat
Atmospheric gases absorb outgoing infrared radiation and re-emit some downward
Earth’s core heats the surface
Two More Confusions to Clear Up
“Stronger lines = more of that element.” Not necessarily. Line strength depends primarily on temperature — which levels are populated — not abundance. An A star doesn’t have more hydrogen than an M star; it just has the right \(T\) to populate \(n = 2\).
“Absorption lines make a star dimmer.” Negligibly. Absorbed photons are re-emitted in random directions (resonant scattering). Total luminosity is conserved; the spectrum just has narrow dark features carved into it.
(Recall: we killed Myths 1 and 2 — spectral type ≠ composition, and redshift ≠ red star — at the start.)
What Spectra Can’t Tell Us (Directly)
Mass — need binary orbits + Doppler (Lecture 4)
Distance — need parallax or other distance indicator (Lecture 1)
Age — need stellar evolution models (Module 3)
Tangential velocity — Doppler gives only the radial component
Spectra are powerful — but not omnipotent. Every tool has limits.
Summary: Key Takeaways
Kirchhoff’s laws connect spectral appearance to physical conditions — stars show absorption spectra because of their temperature gradient
Spectral lines are atomic fingerprints — energy levels set wavelengths
OBAFGKM is a temperature sequence — same composition, different excitation