1. Concept
Every element absorbs and emits light at its own set of wavelengths. Find the set in a spectrum and you know the element is there: this is how we know what stars are made of without ever touching one. Real spectra are noisy, though, and real lines can sit almost on top of each other. Reading a spectrum is a careful game of evidence.
Is that dip real?
Noise makes the spectrum wobble up and down at random. Measure the size of the wobble, the standard deviation , in a stretch with no lines. A dip (or peak) is taken as real only if it is much bigger than that: a common rule is more than . Smaller features turn up by chance all the time. A real line also has the right width: it is usually wider than one or two pixels of noise.
Fingerprints, not single lines
An element is present only if all of its strong lines are present. One matching line may be a coincidence; a missing strong line rules the element out.
Strong lines in starlight (air wavelengths, nm): hydrogen Hα 656.3, Hβ 486.1, Hγ 434.0, Hδ 410.2 · sodium D 589.0 and 589.6 · ionised calcium K 393.4 and H 396.8 · magnesium b near 517–518.
If two elements have lines closer together than the spectrograph can separate, a peak there cannot tell them apart. Then the honest answer is “at least one of the two is present”.
Redshift moves every line by the same factor
If the source moves away from us, every wavelength is stretched by the same factor:
So the red lines move more nanometres than the blue ones, but by the same fraction. For speeds much less than light, .
Traps. Naming an element from one dip. Shifting all lines by the same number of nanometres instead of the same factor. Calling a one-pixel spike a line.
2. Explore it
Before reading the worked example, find the dips that go well outside the dashed band. Which one is only noise? (The shallow one near 560 nm: it stays inside the band and is only a pixel or two wide.)
3. Worked example
The three real dips in Figure 1 are at 438.5, 491.1 and 663.0 nm. What are they, and how fast is the star moving?
Their ratios look like hydrogen’s Balmer lines, shifted. Test the idea: if each is a Balmer line, they must all give the same .
The same factor fits all three, so they are Hα, Hβ and Hγ at , and the star moves away at km/s. A single dip could never have told us this: it is the pattern that identifies the element and fixes .
4. From a past paper
INAO 2024, Question 1(g) (official paper: HBCSE). A probe on a distant moon records the emission spectrum of its soil, with noise. The paper shows the spectrum (wavelengths 100 to 200, arbitrary units) and a complete table of the emission lines of six imaginary elements, all strong enough to be seen if the element is there:
| Element | Line 1 | Line 2 | Line 3 |
|---|---|---|---|
| Fh | 193.44 | – | – |
| Dz | 149.18 | 159.73 | – |
| Ab | 111.71 | 122.87 | 177.94 |
| Hm | 132.67 | 139.56 | – |
| Cw | 119.55 | 139.32 | – |
| Xy | 148.90 | 159.69 | – |
Which elements are present?
Our solution. Reading the spectrum: clear peaks stand far above the noise near 119.5, 139.5, 149, 159.5, 178 and 193.5; nothing rises out of the noise near 111.7, 122.9 or 132.7. Now test each element against all of its lines:
- Fh: present. Its only line, 193.44, matches a strong peak that no other element explains.
- Ab: absent. It needs 111.71 and 122.87 too, and both are missing. The peak near 178 is not enough on its own.
- Hm: absent. Its line at 132.67 is missing (its other line, 139.56, could be Cw’s).
- Cw: present. Its lines at 119.55 and 139.32 are both there, and nothing else explains the peak at 119.5.
- Dz and Xy: at least one of them. Their lines (149.18 and 148.90; 159.73 and 159.69) are closer together than the peaks are wide, so the spectrum cannot tell them apart. Both, or either one alone, would fit.
This agrees with the official answer: Fh and Cw present, Ab and Hm absent, Dz and Xy “maybe”. It is exactly the reasoning of a real line identification: every line must be found, and lines too close to separate leave an honest doubt.