Spectral lines are the discrete wavelengths of light an atom emits or absorbs when an electron jumps between quantized energy levels, with each photon's energy equal to the difference between those levels (E = hf). Each element's set of lines is unique, like a fingerprint.
Spectral lines are specific, separated wavelengths of light that an atom emits or absorbs. They exist because electrons in an atom can only sit at certain allowed energy levels, not anywhere in between. When an electron drops from a higher level to a lower one, the atom releases a photon whose energy exactly matches the gap (E_photon = E_high − E_low = hf). When an electron absorbs a photon, the photon's energy has to match a gap exactly, or the atom won't take it.
That's why you see lines instead of a smooth rainbow. A continuous spectrum would mean any energy is allowed. Discrete lines mean only certain energies are allowed, which is direct experimental evidence that atomic energy is quantized. Because every element has its own ladder of energy levels, every element has its own pattern of lines. Hydrogen's pattern looks nothing like helium's, which is how astronomers figure out what stars are made of without ever touching one.
Spectral lines live in Unit 7 of AP Physics 2, connected to Topic 7.7 (Wave Functions and Probability) and the surrounding quantum topics. They're the bridge between the photon model of light and the energy-level model of the atom. On the exam, this is where two big ideas collide. Light comes in packets of energy E = hf, and atoms only allow certain electron energies. Put those together and you predict exactly which wavelengths an atom can emit or absorb. Historically, spectral lines were the puzzle that forced physicists toward quantum mechanics, since classical physics couldn't explain why atoms glow at only specific colors. If you can read an energy-level diagram and calculate photon wavelengths from it, you've got the core skill this term tests.
Keep studying AP Physics 2 Unit 7
Energy Levels (Unit 7)
This is the closest concept. Spectral lines are energy levels made visible. Every line corresponds to one specific transition between two levels, so a diagram with n levels predicts a specific, countable set of possible lines.
Photon and Planck's Constant (Unit 7)
Each spectral line is produced by photons of one exact energy, found with E = hf or E = hc/λ. Planck's constant is the conversion factor between the energy gap in the atom and the wavelength of the line you measure.
Emission Spectrum vs Absorption Spectrum (Unit 7)
The same set of lines shows up two ways. A hot gas emits bright lines on a dark background, while a cool gas in front of a light source absorbs those same wavelengths and leaves dark lines in a continuous spectrum. Same energy gaps, opposite appearance.
Balmer Series (Unit 7)
The Balmer series is hydrogen's famous family of visible spectral lines, produced by electrons falling down to the n = 2 level. It's the classic worked example of predicting line wavelengths from an energy-level formula.
Spectral lines show up most often paired with an energy-level diagram. A typical multiple-choice stem gives you an atom with three or four labeled energy levels and asks which transition produces the photon with the longest wavelength (smallest energy gap) or the highest frequency (largest gap). You'll also see questions asking how many distinct spectral lines a set of levels can produce, or whether a given photon can be absorbed (only if its energy matches a gap exactly). On free-response questions, the move is usually quantitative reasoning. Calculate ΔE between levels, convert to wavelength with λ = hc/ΔE, and justify why the spectrum is discrete rather than continuous by appealing to quantized energy levels. The big trap is sign and direction. Emission means the electron drops and the atom loses energy; absorption means it jumps up.
Both spectra contain the exact same wavelengths for a given element, because they come from the same energy gaps. The difference is direction. An emission spectrum shows bright lines from electrons falling down levels and releasing photons. An absorption spectrum shows dark lines where a gas stole those exact wavelengths from a continuous background by kicking electrons up. If a question shows dark lines in a rainbow, it's absorption; bright lines on black means emission.
Spectral lines exist because electrons can only occupy discrete energy levels, so atoms can only emit or absorb photons whose energy exactly matches a gap between levels.
The energy of a spectral line's photon equals the energy difference between two levels, so you calculate its wavelength with ΔE = hf = hc/λ.
A bigger energy gap means a higher-frequency, shorter-wavelength photon, while a smaller gap gives a longer-wavelength photon.
Emission spectra (bright lines) and absorption spectra (dark lines) for the same element contain the same wavelengths, just produced in opposite directions.
Each element's unique pattern of spectral lines acts as a fingerprint, which is how astronomers identify what stars and gas clouds are made of.
Discrete spectral lines are direct experimental evidence that atomic energy is quantized, one of the foundational results of quantum physics.
Spectral lines are the specific wavelengths of light an atom emits or absorbs when its electrons jump between quantized energy levels. Each photon's energy equals the gap between two levels (E = hf), and each element has a unique pattern of lines.
Because electron energies in an atom are quantized. An electron can only move between specific allowed levels, so the atom can only emit or absorb photons with those exact energy differences. Any energy in between is simply not allowed.
An emission spectrum shows bright lines on a dark background from electrons dropping to lower levels and releasing photons. An absorption spectrum shows dark lines in a continuous spectrum where a gas absorbed those exact wavelengths to push electrons up. Same element, same wavelengths, opposite appearance.
No. A photon is only absorbed if its energy exactly matches the gap between the electron's current level and a higher allowed level. A photon with slightly too much or too little energy passes through without being absorbed. This exact-match rule is a favorite multiple-choice trap.
Subtract the two energy levels to get ΔE, then use λ = hc/ΔE. Watch your units, since energy levels are often given in electron volts (eV) and you may need to convert to joules, or use hc ≈ 1240 eV·nm as a shortcut.
Connect this key term to the AP exam workflow: review the course, practice questions, and check related study tools.
Review units, study guides, and course resources.
Check this vocabulary in multiple-choice context.
Apply key concepts in written AP responses.
Estimate the exam score you are working toward.
Review the highest-yield facts before practice.
Put the full course together before test day.