Spectral lines, the Doppler shift and line broadening
- Builds on
- Sections 4.6 and S4
- Reading time
- 40 min
- Exercises
- 4
- Olympiad problems
- 1
In 1814 Joseph von Fraunhofer spread sunlight into a long spectrum and found it crossed by hundreds of fine dark lines. Two close lines in the yellow, at 589.0 and 589.6 nm, appear at the same wavelengths as the bright yellow light given out by salt in a flame, so they come from sodium. In 1868 astronomers watching an eclipse found a bright yellow line at 587.6 nm in the glowing gas at the edge of the Sun that matched no element known on Earth. It was named helium, after the Greek word for the Sun, and was found on Earth only in 1895. In this section we see how such lines form, how they sort the stars by temperature, and what the shape and position of a single line tell us about the star that made it.
4.9.1How lines form
A cloud of thin hydrogen gas is heated and seen against a dark sky. What does its spectrum look like?
An atom can absorb or give out a photon only if its energy matches a jump between two of the atom's levels, as Section S4 showed for hydrogen. Each element has its own set of levels, and so its own set of wavelengths, which identify it as surely as a fingerprint. Three kinds of spectrum follow from this, first set out by Gustav Kirchhoff in 1859.
- A hot, dense body, such as a lamp filament or the deep layers of a star, gives a continuous spectrum, light at every wavelength, close to the blackbody curve of Section 4.6.
- A thin, hot gas seen against a dark background gives an emission-line spectrum, bright lines at the wavelengths of its atoms. The red glow of hydrogen in nebulae such as the Orion Nebula is one example.
- A thin gas in front of a hotter source of continuous light absorbs at its own wavelengths and gives an absorption-line spectrum, a continuous spectrum crossed by dark lines.
The spectrum of a star is of the third kind. The deep layers of the star give continuous light, and the cooler gas of its outer layers absorbs at its own wavelengths. The light absorbed is given out again, but in all directions, so less of it travels on towards us at those wavelengths and the lines look dark.
4.9.2Spectral classes
The lines in a star's spectrum depend far more on its temperature than on what it is made of, since almost all stars are mostly hydrogen and helium. In a cool star the electrons of hydrogen sit in the lowest level,
Astronomers sort stars into spectral classes by their lines. In order of falling temperature the classes are O, B, A, F, G, K and M, each divided into ten subclasses from 0 to 9, so the Sun, of class G2, is a little cooler than a G0 star.
| Class | Temperature (K) | Strongest lines | Example |
|---|---|---|---|
| O | above 30 000 | ionised helium | Alnitak, O9.5 |
| B | 10 000 to 30 000 | neutral helium | Spica, B1 |
| A | 7500 to 10 000 | hydrogen, the Balmer lines | Vega, A0 |
| F | 6000 to 7500 | hydrogen, ionised calcium | Procyon, F5 |
| G | 5200 to 6000 | ionised calcium, metals | the Sun, G2 |
| K | 3700 to 5200 | neutral metals | Arcturus, K2 |
| M | below 3700 | titanium oxide | Betelgeuse, M2 |
A Roman numeral after the class gives the luminosity class, from I for supergiants through III for giants to V for ordinary stars like the Sun, which are called dwarfs. A giant has a thin, spread-out atmosphere, in which atoms collide less often than in the dense atmosphere of a dwarf, so its lines are narrower. The full type of Betelgeuse is M2 Ib, a cool supergiant, and that of the Sun is G2 V.
Procyon, of class F5, has a surface temperature of about 6550 K. At what wavelength does its spectrum peak?
4.9.3The position of a line
A line from a moving star is shifted by the Doppler effect of (S.30). Comparing the wavelength of the line with its , measured in the laboratory, gives the star's radial velocity, the part of its velocity along our line of sight. Every line in the spectrum is shifted by the same fraction of its wavelength, which is how astronomers know that a shift is due to motion and not to some other cause.
The Hα line, of rest wavelength 656.28 nm, is seen at 656.50 nm in a star's spectrum. What is the star's radial velocity?
4.9.4The width of a line
A line is never infinitely sharp. The atoms in a star's atmosphere move in all directions with speeds set by the temperature (Section S4), and each atom absorbs at a wavelength shifted by its own Doppler shift. Together they spread the line over a range of wavelengths, an effect called thermal broadening. Its width depends on the typical speed of the atoms,
| the thermal width, the full width of the line at half its depth | |
| the temperature of the gas and the mass of one of its atoms | |
| the full width that rotation gives the line, from edge to edge | |
| the speed of the star's equator times the sine of the angle |
| Centre of the line | |
|---|---|
| Width from the heat of the gas | |
| Width from rotation |
What is the thermal width of the Hα line in gas at 5772 K, the temperature of the Sun's surface? The mass of a hydrogen atom is
By (4.17),
The Sun's equator moves at about 2.0 km/s. Seen from far away in the plane of its equator, how wide would the rotation make the Hα line?
Seen in the plane of the equator,
The width is
- A Doppler shift gives only the radial velocity. A star moving across our line of sight shows no shift at all, however fast it moves.
- Dark lines do not mean that a star's gas is cold. They mean only that the outer layers are cooler than the layers below them.
- The thermal width goes as
, so a gas four times as hot gives lines only twice as wide.
- 4.9.1
The Hβ line, of rest wavelength 486.13 nm, is seen at 485.90 nm. What is the star's radial velocity? A star coming towards us has a negative radial velocity.
km/sBy (S.30),
so the star comes towards us at 142 km/s.
- 4.9.2
Rotation widens the Hα line of a star to 0.20 nm from edge to edge. What is its
?km/sBy (4.17),
- 4.9.3
The gas in one star's atmosphere is four times as hot as in another's. How many times as wide are its lines from thermal broadening alone?
timesThe thermal width goes as , so it is times as wide. - 4.9.4
In which spectral class are the Balmer lines of hydrogen strongest?
The answer is (c). The Balmer lines start from level 2 of hydrogen, which is most occupied near 10 000 K, the temperature of class A stars. Cooler stars keep their electrons in level 1, and hotter stars have lost them.
2023A line from a magnetic white dwarf5 points
Adapted from IOAA 2023 (Katowice), theory problem Q2. We have restated it in our own words and kept the original data. The solution was last checked on 20 October 2026.
An emission line of wavelength 600 nm is seen in the spectrum of a white dwarf. Assume that it comes from free electrons, moving much slower than light, that circle in the star's magnetic field.
(a) Find the magnetic flux density
(b) Estimate the wavelength of another line whose discovery would confirm that the lines come from the particles of a plasma circling in the field.
-
The magnetic force supplies the force towards the centre of the circle,
, so . The time for one circle is , which does not depend on the speed. -
The light has the period
and so the wavelength . Turning this round,(3 points)
-
The other particles of the plasma are mostly protons, 1836 times as heavy as electrons. They circle 1836 times more slowly and give a line at
nm mm, in the microwave band. (2 points)
AnswerThe field is about