Each photon from glowing atomic hydrogen is due to an electron moving from a higher orbit, with radius r n, to a lower orbit, r m. The energy E γ of this photon is the difference in the energies E n and E m of the electron: