The Rydberg formula calculates the wavelengths of spectral lines in atomic hydrogen.Hydrogen — the simplest atom — does not glow randomly, but in strictly defined colors: red, cyan, and several violet lines. The frequencies of this light obey a clear mathematical rule, similar to the difference of two simple fractions. It is like a combination lock of the atom: only certain number combinations are allowed. This regularity became the first hint that completely new laws operate inside the atom, not the usual mechanics.
In 1885, Johann Jakob Balmer, a mathematics teacher in Basel, derived a simple formula for the four known lines in the visible region of hydrogen (Hα, Hβ, Hγ, Hδ). He wrote it as λ = h · m²/(m² − n²), where h = 364.56 nm, n = 2, m = 3,4,5,6. Just three years later, Johannes Rydberg, working at Lund University, proposed a more convenient form in terms of wavenumbers (1/λ = R (1/n₁² − 1/n₂²)) and showed that it is applicable to alkali metals if integers are replaced by non-integer 'spectral terms'. At the beginning of the 20th century, Bohr's model provided a theoretical basis, and the fine structure of lines required relativistic corrections, which were taken into account by Arnold Sommerfeld.
The Rydberg formula is a working tool for spectroscopists and astrophysicists. For hydrogen, it predicts the position of lines with an accuracy of fractions of an angstrom, allowing calibration of spectrographs. It is used to calculate energy levels, determine ionization potentials, and analyze the composition of stellar atmospheres and gaseous nebulae. Using the Rydberg constant, quantum electrodynamics is tested and fundamental constants are refined. The formula is strictly valid only for isolated atoms in the absence of external fields. In the presence of an electric (Stark) or magnetic (Zeeman) field, the levels split, and the simple formula ceases to work — perturbation theory is required.
Mathematics teacher Johann Balmer, being infinitely curious, in 1885 managed to fit the four visible lines of hydrogen into one short formula, without even suspecting the existence of other series. Later it turned out that his formula is a special case of a more general relation that 'plays' the entire symphony of hydrogen, from ultraviolet to radio waves.





