Red shift & blue shift

The Doppler effect for light (C.5.3) and the spectral lines of stars (C.5.4), with real wavelengths.

1 · Move the star

Drag the star towards the Earth or away from it, or use the slider. The light wave between them squashes or stretches, and the star's hydrogen lines move along the spectrum. (The wave's colour turns red or blue as a reminder of the direction; a real star's colour hardly changes at these speeds. The shift you can measure is in the lines.)

What the spectrometer shows
Data booklet, C.5:

Symbols (IB data booklet)

Δfchange/shift in frequency
ffrequency of emitted wave
Δλchange/shift in wavelength: observed − emitted. Positive is a red shift, negative a blue shift.
λwavelength of emitted wave: the line as measured in the lab
vrelative speed between source and observer
cspeed of light (constant), 3.00 × 108 m s−1

2 · Seven stars

Each star's light has passed through a spectrometer. Find what each star is made of, which way its lines have shifted, and how fast it is moving.

Step 1 Click a star to put it in the spectrometer.
Step 2 Match the pattern of its lines to hydrogen, helium or neon. The spacing of the lines is the fingerprint.
Step 3 Click a line on the star's spectrum, then the same line on the element, to read both wavelengths.
Step 4 Δλ = observed − lab. Then v = c Δλ/λ.
Click a line to read its wavelength.

Speeds are checked to within 5%. Rounding the wavelengths to 0.1 nm is close enough. The shifts are drawn to scale: real stars in our galaxy move far more slowly, so their shifts are smaller still.