Spectra, temperature and the Hertzsprung-Russell diagram
A spectrum shows the wavelengths in the light of a star. The dark lines tell us which gases are in the star's atmosphere, and the peak of the continuous part tells us its temperature, by Wien's law. Stars are sorted into spectral classes O, B, A, F, G, K and M, from the hottest to the coolest. The H-R diagram plots luminosity against temperature.
about 35 min1 simulation2 practice questions
Lesson 3 of 3Show all lessonsHide
Try the code and the simulations beside the lesson.
Splitting the light
A prism or a grating spreads light into a spectrum, a band of colours. Each wavelength goes to its own place. The spectrum of a star holds a lot of information, so astronomers split starlight with a spectrograph instead of just looking at it.
There are three kinds of spectrum.
A continuous spectrum is a smooth band of all colours. A hot solid, a hot liquid or a hot, dense gas gives it. A glowing light bulb is an example.
An emission spectrum is a few bright lines on a dark background. A hot gas at low density gives it. The lines are at special wavelengths.
An absorption spectrum is a continuous spectrum with dark lines. It comes from a cooler gas in front of a hotter source. The gas takes out light at its own wavelengths.
Three horizontal strips, one above the other, each showing a spectrum from violet on the left to red on the right with the wavelength from 400 to 700 nanometres along the bottom. The top strip is a smooth continuous rainbow with no gaps and is labelled continuous spectrum, from a hot solid or dense gas. The middle strip is black with a few thin bright coloured lines, labelled emission spectrum, from a hot thin gas. The bottom strip is a smooth rainbow crossed by thin dark lines at the same places as the bright lines in the middle strip, labelled absorption spectrum, from a cooler gas in front of a hot source.
Every element has its own pattern of lines, like a fingerprint. Hydrogen has four strong lines in the visible spectrum at 656.3nm (red), 486.1nm (blue-green), 434.0nm (violet) and 410.2nm (violet). Sodium has a pair at 589.0nm and 589.6nm (yellow). Calcium has strong lines in the violet at 393.4nm and 396.8nm.
A star is a hot ball, so its glowing surface gives a continuous spectrum. The cooler gas in the layers above the surface takes out light at its own wavelengths. So a star shows an absorption spectrum, and the dark lines tell us which elements are in its atmosphere. Helium was found in the spectrum of the Sun in 1868, before anyone had found it on the Earth. In 1925 Cecilia Payne showed that stars are made mostly of hydrogen and helium.
Temperature and colour
A hot object gives light of every wavelength, but most of it at one wavelength. Wien's law says that the wavelength of the peak is in inverse proportion to the temperature:
λmax=Tb,b=2.898×10−3m K
The hotter the star, the shorter the wavelength of the peak, and the bluer it looks. The Sun is at T=5770K, so λmax=502nm, in the middle of the visible range. Betelgeuse is at 3600K, so its peak is at 805nm, in the infrared, and it looks red. A star at 10000K peaks at 290nm, in the ultraviolet, and it looks blue-white.
Make the star 3 times hotter. By how many times does the wavelength of the peak change?
Spectral classes
Stars are sorted into classes by their spectra, which means by temperature. The classes are O, B, A, F, G, K, M, from the hottest to the coolest. A way to remember the order is "Oh Be A Fine Star, Kiss Me".
Class
Temperature
Example
O
over 30000K
Zeta Puppis
B
10000 to 30000K
Rigel
A
7500 to 10000K
Sirius
F
6000 to 7500K
Procyon
G
5200 to 6000K
the Sun
K
3700 to 5200K
Arcturus
M
2400 to 3700K
Betelgeuse
Books give slightly different borders. Each class is split into ten, from 0 to 9, and the Sun is class G2. Class O and B stars look blue, class G yellow, class K orange and class M red. The strength of the lines changes with the temperature. The hydrogen lines are strongest in class A. Very hot stars have no neutral hydrogen to absorb, and in very cool stars the hydrogen is not excited. So we cannot sort stars by their hydrogen lines alone.
Luminosity, radius and temperature
A star shines from its surface. A hotter surface gives much more light for each square metre, in proportion to T4. A larger star has more surface, in proportion to R2. So
L∝R2T4
L⊙L=(R⊙R)2(5770KT)4
Compare Betelgeuse, with R=800R⊙ and T=3600K, with the Sun. Then L/L⊙=8002×(3600/5770)4=97000. A star can be cool and still very luminous, if it is huge.
The Hertzsprung-Russell diagram
In about 1910 Ejnar Hertzsprung and Henry Norris Russell plotted the luminosity of stars against their temperature. The result is the Hertzsprung-Russell diagram, or H-R diagram. It is not a picture of the sky. By custom the hottest stars are on the left, so the temperature decreases to the right. The luminosity goes up the page, on a scale where each step is a factor of 10 or more.
A graph called the Hertzsprung-Russell diagram. The vertical axis is luminosity compared with the Sun, on a scale where each step is a factor of 10, from 0.0001 at the bottom to 1 million at the top. The horizontal axis is surface temperature, from 40 000 kelvin on the left to 2 500 kelvin on the right, so the temperature falls from left to right, and the spectral classes O, B, A, F, G, K and M are marked along the top. A wide band of dots runs from the top left to the bottom right and is labelled main sequence. A group of dots at the top right is labelled giants, and a group above them is labelled supergiants. A group at the bottom left is labelled white dwarfs. Named stars are marked: the Sun in the middle of the main sequence at 5770 kelvin and luminosity 1, Sirius A on the main sequence above and left of the Sun, Proxima Centauri at the bottom right of the main sequence, Betelgeuse among the supergiants at the top right, Rigel among the supergiants near the top, and Sirius B among the white dwarfs.
The stars do not fall everywhere. They gather in regions:
The main sequence is a band from the hot, luminous stars at the top left to the cool, faint stars at the bottom right. About 9 in 10 stars are on it, and so is the Sun.
Blue giants are above the main sequence on the hot side: hot and very luminous, so they must be large.
Giants are at the top right: cool but luminous, so they must be large.
Supergiants are above the giants: the most luminous stars, with radii up to hundreds of times the Sun's.
White dwarfs are at the bottom left: hot but faint, so they must be small, about the size of the Earth.
The diagram shows size, too. For a given temperature, a more luminous star must be larger, since L∝R2. So lines of equal radius slope across the diagram from the top left to the bottom right.
Worked example. Sirius B has L=0.025L⊙ and T=25000K. How big is it?
The rule.R/R⊙=L/L⊙/(T/5770)2.
The numbers.0.025=0.158 and (25000/5770)2=18.8.
The radius.R=0.158/18.8=0.0084R⊙=5900km, which is slightly smaller than the Earth.
Practise with new numbers
Try it in Python
The program finds the peak wavelength, the luminosity and the class of five stars.
Common mistakes
Thinking that the dark lines are holes in the star. They are light that was taken out by cooler gas above the surface.
Reading the H-R diagram with the temperature increasing to the right. By custom it falls to the right.
Saying that a red star must be faint. A red supergiant is very luminous. It is large.
Thinking that the colour of a star is its only information. The spectrum also gives the gases and the speed.
Remember these
Three spectra: continuous, emission and absorption. A star shows an absorption spectrum.
Each element has its own lines. Dark lines in a star tell us which gases are in its atmosphere.
λmax=b/T, so hotter stars are bluer. The classes O, B, A, F, G, K and M run from hot to cool.
L∝R2T4. On the H-R diagram: main sequence, giants, supergiants and white dwarfs.
Check yourself
Try each one on your own first. If you are stuck, open a hint. Then check with Show the answer.
What kind of spectrum does a glowing light bulb give?
Which is hotter, a class B star or a class K star?
A star has a temperature twice that of another, and the same radius. How many times more luminous is it?
In which part of the H-R diagram would you find a star that is hot and very faint?
References
OpenStax Astronomy 2e, Chapter 5 Radiation and Spectra, sections 5.3 and 5.4.
OpenStax Astronomy 2e, Chapter 17 Analyzing Starlight, sections 17.3 and 17.4, and Chapter 18 The Stars: A Celestial Census, section 18.4.
Enroll free in Reading Starlight: Brightness, Distance and Spectra
Every lesson is open to read. Enrolling also lets you:
Mark lessons done and carry on where you stopped.
Take the tests of this lesson and its course.
Count the course towards the certificate for its chapter.