HexaMoleInteractive Chemistry

Atomic Line Spectra

Drag to turn the view. Scroll or pinch to zoom. Double-click to reset.

About this module

Atomic spectra for analytical chemistry and instrumental analysis, following Skoog, Holler and Crouch, Principles of Instrumental Analysis, 7th edition, chapter 8 (energy-level diagrams of Na, Mg⁺ and Mg, emission, absorption and fluorescence, line widths, the effect of temperature), with chapters 9 and 10 for atomic absorption and emission, and OpenStax Chemistry 2e chapter 6 as the general-chemistry starting point. Every level energy, wavelength and transition probability is from the NIST Handbook of Basic Atomic Spectroscopic Data (SRD 108). Wavelengths above 200 nm are in air (as in Skoog and NIST), below 200 nm in vacuum; the module converts with Edlén’s formula for the refractive index of air, so for example Na D2 is 588.995 nm in air and 589.158 nm in vacuum. Colours on screen are approximate renderings of each wavelength. The timeline appears only where playing does something; Key moments pause on the events that matter.

Key moments

Photons: which metals eject electrons (or none, below every threshold). Hydrogen: the electron drops between two levels, and one photon of exactly that wavelength leaves. Emit · absorb: a photon absorbed, then re-emitted sideways. Fine structure: the whole spectrometer, then zoomed in on the screen. Temperature: 2500 K (Skoog), the 45% jump at 2600 K, and an ICP at 6000 K. Flames & fireworks: the burst. Red diamonds mark the moments; Next ▸ goes to the next one; the space bar plays and pauses.

Photons

E = hν = hc/λ, with hc = 1239.84 eV nm. In the photoelectric effect each photon gives its energy to one electron: KEmax = hν − φ. Brightness (the number of photons) and wavelength (the energy of each) are separate sliders, because “brighter light gives faster electrons” is a common misconception (McKagan et al., Am. J. Phys. 2009). Four metals sit under the same light, as in the OpenStax figure: caesium 2.1, sodium 2.28, calcium 2.9 and zinc 4.3 eV (polycrystalline values from the HyperPhysics table, which draws on the CRC Handbook; work functions depend on the surface and can differ by a few tenths of an eV). The top speed is vmax = √(2KEmax/mₑ). The plot shows the four straight lines KEmax = hν − φ: the same slope h, different thresholds.

Hydrogen

Levels En = −13.598 eV/n² and lines from the Rydberg formula with RH = R∞/(1 + mₑ/mₚ), CODATA. The Balmer lines come out at 656.3, 486.1, 434.0 and 410.2 nm in air (NIST). A line is the difference between two levels, not an orbit. Line heights in the plot are schematic.

Na, Mg⁺, Mg

Partial energy-level diagrams as in Skoog Figures 8-1 and 8-2, drawn with NIST level energies, transition probabilities A and statistical weights g. Na and Mg⁺ each have one outer electron, so their patterns match, but the Mg⁺ 3p–3s gap is 2.11 times Na’s (4.43 against 2.10 eV) and its 3p splitting 5.3 times larger (91.6 against 17.2 cm⁻¹). Mg has two outer electrons: singlet and triplet levels; the 457.1 nm singlet-to-triplet line has an estimated A of about 2 × 10² s⁻¹, about a million times weaker than the 285.2 nm resonance line (5.00 × 10⁸ s⁻¹). Fine-structure splittings are drawn larger than scale so both levels show. Note: the Na lines near 285.3 nm are 3s→5p (330.2/330.3 nm are 3s→4p); the Mg resonance line at 285.2 nm lies only 0.07 nm from them.

Emit · absorb

Emission needs excited atoms; absorption and fluorescence use ground-state atoms. In absorption the excited atoms re-emit in all directions, so the beam loses that colour (Kirchhoff’s 1859 reversal experiment). Fluorescence example from Skoog 8A-1: Na excited at 330.3 nm relaxes without radiation to 3p and emits 589.0/589.6 nm, observed at 90° to the beam.

Fine structure

Play starts on the whole instrument (lamp, slit, grating, screen) and zooms in on the screen. The Mg⁺ lines are in the ultraviolet and are drawn in false colour. The instrument function is a Gaussian with full width equal to the bandpass. Intensities follow g·A of the upper level: Na D2 : D1 = 2 : 1 (equal A, g = 4 and 2); Mg⁺ k : h = 2 : 1; the Mg b triplet shares one upper level, so it follows A = 1.16 : 3.46 : 5.75 × 10⁷ s⁻¹. “Resolved” means the dip between the first two peaks falls below 81% of the smaller peak (Rayleigh-like criterion).

Line widths

Doppler width ΔλD = λ√(8kT ln2/mc²): 0.0044 nm for Na 589 nm at 2500 K. Natural width from A: 1.1 × 10⁻⁵ nm for Na D2 (Lorentzian Δν = A/2π). Skoog’s Example 8-1 uses the cruder uncertainty estimate Δν ≈ 1/τ, 2π larger. Pressure broadening is modelled as a Lorentzian about 90 times the natural width at the default setting (Skoog: flames add 2 to 3 orders of magnitude), combined with Doppler as a Voigt profile. The plot is zoomed on the absorption line and shows the light the source sends in, the share the atoms take out, and what reaches the detector; the monochromator window is usually far wider than the plot. The measured absorbance averages the transmitted light over the monochromator bandpass: a continuum source sees almost nothing, a hollow-cathode lamp line (Doppler width at an assumed 600 K) sees nearly the true value. This is why Alan Walsh proposed line sources for atomic absorption. The 3D view follows real instruments: a hollow-cathode lamp (glass envelope, quartz window, a cathode cup of the analyte metal where the discharge glows, a ring anode) and a slot burner whose flame is a thin sheet about 10 cm long along the light path, so the beam passes through as many atoms as possible.

Temperature

Boltzmann: N*/N₀ = (g*/g₀) exp(−E*/kT). Skoog Example 8-2 for Na (589.3 nm, g*/g₀ = 3): 1.72 × 10⁻⁴ at 2500 K and 2.50 × 10⁻⁴ at 2600 K, a 45% increase; a 10 K change gives about 4%. Emission follows N*, absorption follows N₀, which barely changes. Presets: flame 2500 K (Skoog’s example) and an ICP at 6000 K (Skoog Table 8-1 lists 4000 to 6000 °C). Play heats the atoms from 1500 K to 6000 K. The 3D view shows 4000 atoms with the excited number to scale: none at first, about one at 2500 K, about 200 for Na at 6000 K.

Lamps & neon

Strongest visible lines from the NIST Handbook (relative intensities comparable only within one element). The tube colour is mixed with the CIE 1931 colour-matching functions (Wyman, Sloan and Shirley’s analytic fit) from each lamp’s dominant lines (NIST intensity at least 20% of its strongest line). NIST intensities are rough and depend on the source, so this is approximate. For neon it fails: its strongest NIST lines (692–754 nm) lie where the eye is almost blind, so the computed mix comes out yellow; the tube is drawn red-orange, as Claude’s first tubes were described (“bright red”, 1910). The plot shows all visible Ne I lines of NIST intensity 50 or more. Neon glows red-orange from its many lines between 585 and 725 nm; many “neon” signs contain argon and mercury or a phosphor coating; low-pressure sodium streetlights emit almost only the 589 nm doublet.

Flames & fireworks

Flame-test colours come from neutral atoms (and some molecules) formed in the flame, not from the ions in solution (Duncan, J. Chem. Educ. 102, 4195, 2025). Atomic lines from NIST: Li 670.8, Na 589.0/589.6, K 766.5/769.9, Ca 422.7, Sr 460.7, Ba 553.5 nm; Ca also shows a CaOH band near 554 nm (Skoog Fig. 8-8). Firework colours are mostly molecular bands: SrCl and SrOH red (605–682 nm), BaCl green (507–532 nm), CuCl blue, which decomposes when the flame is too hot (Scientific American, “Pyrotechnics”; RSC Education). Band shapes and the CuCl band positions are schematic.

Practice

Six question types: photon energy, which hydrogen transition gives a line, identify a lamp from its lines, a Boltzmann ratio, which line has the larger Doppler width, and which lines appear in absorption. The Conditions box gives every value needed. Points: 2 on the first try, 1 after a miss or hint, 0 after giving up.

Settings used

Constants: CODATA 2022. Data: NIST Handbook of Basic Atomic Spectroscopic Data (Na I, Mg I, Mg II, H I, He I, Ne I, Hg I, Li, K, Ca, Sr, Ba resonance lines). Misconceptions addressed: absorption by atoms (Savall-Alemany et al., Phys. Rev. Phys. Educ. Res. 12, 010132, 2016: 23% of fourth-year physics students correct on absorption against 67% on emission), line brightness from photon energy, lines as orbits, flame colour from ions, “neon” signs.