Why do A-type stars show the strongest hydrogen absorption lines even though many other star types also contain large amounts of hydrogen?
Think about your answer, then reveal below.
Model answer: Hydrogen absorption line strength depends not just on how much hydrogen is present but on how many hydrogen atoms are in the right energy state to absorb visible light. In very hot O- and B-type stars, hydrogen is mostly ionized — no bound electrons, no absorption. In very cool K- and M-type stars, hydrogen atoms are in their lowest energy state (ground state) and require ultraviolet, not visible, photons to be excited — so visible absorption lines are weak. A-type stars (~10,000 K) hit the temperature 'sweet spot' where a significant fraction of hydrogen atoms have electrons in the first excited state (n=2), which is exactly the configuration needed to absorb visible-wavelength photons (the Balmer series). Temperature determines the population of that energy level.
This is the key insight that explains why spectral classification reflects temperature: absorption lines are 'thermometers' for the stellar photosphere. The same principle applies to other elements — calcium lines peak in G/K stars, titanium oxide only appears in cool M stars because molecules are destroyed at higher temperatures. Astronomers reading a spectrum aren't just cataloging what elements are present; they're reading the temperature from which quantum transitions are populated. This is what makes spectroscopy so powerful: a single spectrum encodes temperature, composition, and surface gravity.