← Going Further 9–12

What Are Stars Made Of?

Topic 14 · Grades 9–12 · Spectra and photons

What this builds on from class
In this unit 8 sections
  1. Light is a mixture of colors
  2. Three kinds of spectrum
  3. Why each element has its own lines
  4. The barcode in sunlight
  5. Reading the stars
  6. Make a spectroscope
  7. Questions
  8. Where to go next

In 1835 the French philosopher Auguste Comte gave an example of something people could never know. We can measure the stars’ distances and how they move, he wrote, but we will never be able to study, by any method, what they are made of. Nobody can go there, and nobody can bring a piece back.

Twenty-four years later he was proved wrong, without anyone leaving the Earth. Today we know that the Sun is about three-quarters hydrogen and a quarter helium, with a pinch of oxygen, carbon, iron and other elements. We know the same for millions of stars. Everything we know about what stars are made of came to us in their light. This topic shows how to read it.

Light is a mixture of colors

You know from Grade 10 that a prism spreads white light into a spectrum, red to violet Grade 10: Dispersion of light, and from Grade 9 that visible light is a small part of the electromagnetic spectrum Grade 9: Electromagnetic spectrum. Each color is light of a different wavelength, measured in nanometers (nm; 1 nm = 10⁻⁹ m):

Color Wavelength (roughly)
violet 400–450 nm
blue 450–490 nm
green 490–565 nm
yellow 565–590 nm
orange 590–625 nm
red 625–700 nm

An instrument that spreads light out carefully enough for the wavelengths to be measured is a spectroscope. With one, you can see that not all light is the same mixture.

Three kinds of spectrum

Look at different lights through a spectroscope and you see three different kinds of spectrum.

  1. A hot solid gives out every color: the wire in an old light bulb, a red-hot iron rod, the glowing coils of a heater. Its spectrum is a smooth band with no gaps, a continuous spectrum. (A hot, dense gas does the same, like the gas at the surface of the Sun.)
  2. A hot, thin gas gives out only a few colors. Its spectrum is a few bright lines on a dark background, an emission spectrum. Each element has its own lines, at its own wavelengths, and no two elements have the same pattern.
  3. When the light of a hot solid passes through a cool gas on its way to you, the gas takes out exactly the colors it would give out if it were hot. The spectrum is the full rainbow with dark lines across it, an absorption spectrum, and the dark lines are in the same places as that gas’s bright lines.
Hot solid: every colora continuous spectrumHot, thin gas: a few bright colorsan emission spectrumCool gas in front of a hot source: dark gapsan absorption spectrumhot filamenthot hydrogen gascool hydrogen gashot filamentprism
Figure 14.1 The three kinds of spectrum, for hydrogen. Hot hydrogen gives four bright lines; cool hydrogen in front of a hot filament takes out exactly those four colors.

These are known as Kirchhoff’s laws of spectra, after the German physicist who worked them out in 1859. The second and third are what make chemistry from far away possible: an element’s lines are its fingerprint, or its barcode, whether they shine bright or show up dark.

Light from a glowing gas

Each tube holds one gas, made to glow by electricity. Pick a gas and look at its light, spread out by a prism. Then try the hot filament.

a tube of hydrogen gas, with electricity through itprism400450500550600650700wavelength (nm)
Brightest lines
434.0 nm (violet), 486.1 nm (blue-green), 656.3 nm (red)

Hydrogen glows pink-purple: its bright red line mixed with blue and violet ones. Only four lines in the visible part, the simplest pattern of any element, because hydrogen is the simplest atom.

You have probably seen sodium’s fingerprint at home. When salty dal boils over onto a gas flame, the flame flashes bright yellow: that is sodium, from the salt, giving out its two yellow lines. Other metals color a flame in their own way, which is how fireworks get their colors.

Nine small tins in a row, each with a flame of a different color: pink-red, red, orange, bright yellow, pale violet, green, blue-green, lilac and pale purple
Figure 14.2 Flame colors. Each tin holds a different metal compound dissolved in methanol. From left: lithium (crimson), strontium (red), calcium (orange), sodium (yellow), barium (pale), boron (green), copper (blue-green), cesium and potassium (lilac). Photo: Hegelrast, CC BY-SA 4.0
An old black-and-white photograph of three men in nineteenth-century suits, one seated between two standing
Figure 14.3 Gustav Kirchhoff (left) and Robert Bunsen (seated), with their friend the chemist Henry Roscoe, around 1862. Photo: Henry Roscoe, Public domain

A street lamp gives a yellow light. Through a spectroscope you see one bright yellow line at 589 nm, and almost nothing else. What gas is in the lamp?

Pick an answer to see why.

Why each element has its own lines

Why should a gas give out only certain colors? The answer is inside its atoms.

You learned in Grade 9 that an atom’s electrons are in shells, and that the shells have different energies: the farther from the nucleus, the more energy. An electron can be in one shell or another, but never in between. So an electron in an atom can only have certain amounts of energy, called its energy levels, like the steps of a staircase: you can stand on a step, but not halfway between two.

When a gas is heated, or electricity passes through it, its atoms are knocked about and some electrons are pushed up to higher levels. They don’t stay there. Within a tiny fraction of a second each one drops back down, and gives out the energy it loses as a little packet of light, a photon.

The photon’s energy is exactly the difference between the two levels. And the energy of a photon decides its color. The German physicist Max Planck found in 1900 that the energy of light comes in packets of

E=hf=hcλ E = hf = \frac{hc}{\lambda}

where f is the light’s frequency, λ its wavelength, c the speed of light (3.00 × 10⁸ m/s) and h a tiny number called Planck’s constant, 6.63 × 10⁻³⁴ J s. So more energy means a higher frequency and a shorter wavelength: a violet photon carries more energy than a red one.

Every atom of hydrogen has the same staircase, so every hydrogen atom can only make the same few drops, and give out the same few colors. Other elements have different staircases, and so different colors. That is the fingerprint.

0 eV: the electron leaves the atomn = 2−3.40 eVn = 3−1.51 eVn = 4−0.85 eVn = 5n = 6n = 1 is far below,at −13.6 eVenergy of the electron656 nm486 nm434 nm410 nm
Figure 14.4 The energy levels of the electron in a hydrogen atom, drawn to scale (1 electronvolt, eV, is 1.60 × 10⁻¹⁹ J). Drops that end on level 2 give out visible light: the bigger the drop, the shorter the wavelength. Drops to level 1 are much bigger and give ultraviolet light, which we can’t see.

The same staircase explains the dark lines. A cool hydrogen atom has its electron on a low step. Light of every color passes by, and the atom can only take a photon whose energy exactly fits one of its jumps up. So it takes exactly the colors it would give out coming down, and those colors go missing from the light that reaches you.

The barcode in sunlight

In 1814 the German glassmaker Joseph von Fraunhofer was testing the glass for telescope lenses. Looking at sunlight through a prism and a small telescope, he saw that the Sun’s rainbow was crossed by dark lines, hundreds of them. He mapped 574 of them, and labeled the strongest with letters, A to K. He had no idea what they were.

The Sun's visible spectrum cut into strips and stacked, red at the top to violet at the bottom, each strip crossed by many thin dark lines
Figure 14.5 The Sun’s spectrum, from red (top left) to violet (bottom right), cut into strips so that it fits on a page. Each dark line is a color taken out by an element in the Sun’s outer layers. Photo: N.A. Sharp, NOAO/NSO/Kitt Peak FTS/AURA/NSF, CC BY 4.0

In 1859 Kirchhoff solved the puzzle. He noticed that two dark lines in the yellow, Fraunhofer’s D lines, were exactly where sodium’s two bright yellow lines are. Then he passed sunlight through a sodium flame, expecting the flame’s yellow light to fill the gaps in. Instead, the dark lines grew darker. The cooler sodium in the flame was taking out the same colors.

So the Sun’s dark lines are absorption lines. The Sun’s hot, dense surface gives out a continuous spectrum, and the cooler gas above it takes out the colors of the elements it contains. Sodium is in the Sun. So, Kirchhoff found, are iron, calcium, magnesium and others: elements we know on Earth, in the Sun, 150 million kilometers away.

Now it’s your turn to read a star.

Star detective

Here are the spectra of three stars. Tap an element to lay its fingerprint, its lines as measured in a laboratory, under the star’s spectrum. If every one of its lines meets a dark line, that element is in the star. Pick the ones you think are there, then check. (Real spectra have thousands of lines; these show only the strongest.)

The Sun: a yellow star, about 5,800 K at its surface400450500550600650700wavelength (nm)HHeNaMgCaFe

Tap the elements you think are in this star, then press Check. An element is there if every one of its lines meets a dark line.

Where do the dark lines in a star’s spectrum come from?

Pick an answer to see why.

Reading the stars

By 1900 astronomers had photographed the spectra of hundreds of thousands of stars, and sorted them by the pattern of their lines. Some showed very strong hydrogen lines, others weak ones; some showed helium, most didn’t. Most astronomers thought the differences showed what the stars were made of, and that stars were made of much the same mix as the Earth’s rocks, iron and all.

A black-and-white photograph of a young woman in a knitted jumper, seated at a desk in an office with filing cabinets
Figure 14.6 Cecilia Payne (later Payne-Gaposchkin) at Harvard College Observatory. Photo: Smithsonian Institution/Science Service, restored by Adam Cuerden, Public domain

A star’s spectrum tells us more than what it is made of:

  • Its temperature, from which lines are strong, and from its color (the colors of stars, red to blue, from Grade 9).
  • How it moves. If a star moves towards us or away, all its lines shift a little, towards blue or towards red. That shift is how we know the universe is expanding: the next topic.
  • Whether it has a hidden partner. A star with an unseen planet or star going round it wobbles, and its lines shift back and forth.

Make a spectroscope

A CD lying on a table, its surface showing bright bands of rainbow colors
Figure 14.7 The surface of a CD splits light into its colors, because its tracks are so close together. Photo: Yann Droneaud from Paris, France, CC BY-SA 2.0

Questions

A star’s spectrum shows strong hydrogen lines but no helium lines. What can you say about helium in the star?

Pick an answer to see why.

a.

Why does a light bulb’s filament give a continuous spectrum, but a tube of hot hydrogen gives only four bright lines?

Answer

In a thin gas, the atoms are far apart, and each gives out light on its own, only in the drops its electrons can make between their fixed energy levels: so only a few wavelengths, hydrogen’s four visible lines. In a hot solid, the atoms are packed tightly and jostle each other, so their energy levels are smeared out and the light is given out at every wavelength: a continuous spectrum.

b.

Explain why the dark lines of an element in an absorption spectrum are at exactly the same wavelengths as the bright lines in its emission spectrum.

Answer

Both come from the same jumps between the same energy levels. When an electron drops from a higher level to a lower one, the atom gives out a photon whose energy is the difference between the levels. When an electron is on the lower level, the atom can absorb only a photon with exactly that energy, to jump up. Equal energies mean equal wavelengths (E = hc/λ), so the colors taken out of the light are the same as the colors a hot gas of that element gives out.

c.

Hydrogen’s violet line has a wavelength of 410.2 nm. Calculate (i) its frequency and (ii) the energy of one photon of it. (iii) Is this more or less energy than a photon of hydrogen’s red line, 3.03 × 10⁻¹⁹ J? Why?

Answer
  • i.f = c ÷ λ = 3.00 × 10⁸ ÷ (410.2 × 10⁻⁹) = 7.31 × 10¹⁴ Hz.
  • ii.E = hf = 6.63 × 10⁻³⁴ × 7.31 × 10¹⁴ = 4.85 × 10⁻¹⁹ J.
  • iii.More: violet light has a shorter wavelength, so a higher frequency, and a photon’s energy is proportional to its frequency. In the atom, the violet line comes from the biggest drop of the four, from level 6 to level 2.
d.

How was helium discovered in the Sun before it was found on Earth?

Answer

During the total eclipse of the Sun on 18 August 1868, seen from India, astronomers looked at the glowing gas around the edge of the hidden Sun through spectroscopes. They saw a bright yellow line at 587.6 nm that matched the lines of no known element; it was near sodium’s yellow lines, but not on them. Norman Lockyer concluded that it came from a new element and named it helium, after the Greek helios, the Sun. It was found on Earth only in 1895, by William Ramsay.

e.

The Sun is about 150 million kilometers away and nobody has taken a sample of it. Explain, step by step, how we know there is sodium in it.

Answer
  1. Sodium heated in a flame in a laboratory gives out two bright yellow lines, at 589.0 and 589.6 nm: its fingerprint.
  2. Sunlight spread out by a spectroscope shows dark lines at exactly 589.0 and 589.6 nm (Fraunhofer’s D lines).
  3. A cool gas takes out of light exactly the wavelengths it gives out when hot (Kirchhoff showed this by passing sunlight through a sodium flame: the D lines grew darker).
  4. So the D lines are made by sodium in the cooler outer layers of the Sun, taking those colors out of the light from the hot surface below.

Where to go next

  • How do we know the universe is expanding? The lines in the light of distant galaxies are all shifted towards red. How that tells us the galaxies are moving away, and the universe is growing.
  • How do we find planets around other stars? The wobble in a star’s lines is one of the ways astronomers have found thousands of them.
  • Where did the atoms in your body come from? The stars are mostly hydrogen and helium. So where did the carbon, oxygen and calcium in you come from?