The Rydberg formula is the mathematical formula to compute the wavelength of light. When an electron changes from one atomic orbit to another one, then the energy of electron changes. When the electron changes from one orbit with high energy to a lower energy state, then the photon of light is created. Also, when the electron moves from low energy to a higher energy state, then the photon of light is absorbed by the atom. In this topic, we will discuss the Rydberg Formula with examples. Let us learn it!
Source: en.wikipedia.org
Rydberg Formula
Description of Rydberg’s Equation:
Each element has a distinct spectral fingerprint. When an element in the gaseous state is heated, then it will give off light. When this light passes through a prism, bright lines of different colors can be distinguished. Each element is slightly different from other elements. This discovery was the beginning of the study of spectroscopy.
Johannes Rydberg was a Swedish physicist who found the mathematical relationship between one spectral line and the next of certain elements. He discovered that there was an integer relationship between the wavenumbers of successive lines. His findings were combined with Bohr’s model of the atom to create this formula.
Rydberg Formula
\( \frac{1}{\lambda} = RZ^2(\frac{1}{n_1^2}\frac{1}{n_2^2}) \)
Where
\(\lambda\)  The wavelength of the photon. 
R  Rydberg’s constant \((1.0973731568539(55) \times 10^7 m^{1})\) 
Z  The atomic number of the atom 
\(n_1 and n_2\)  Integers where\( n_2 > n_1\). 
It was later found that \(n_2 and n_1\) were related to the principal quantum number or energy quantum number. This formula works very well for transitions between energy levels of the hydrogen atom. It is because H is with only one electron.
For atoms with more than one electrons, this formula begins to break down and give incorrect results. This was due to the inaccuracy that the amount of screening for inner electrons for outer electron transitions varies.
We can use the Rydberg formula for hydrogen to obtain its spectral lines. Setting \(n_1\) to 1 and running \(n_2\) from 2 to infinity yields to get the Lyman series.
For most problems, we will deal with hydrogen so we can use the formula:
\(\frac{1}{\lambda} = R_H(\frac{1}{n_1^2}\frac{1}{n_2^2})\)
where
\(\lambda\)  Wavelength of the photon. 
\(R_H\)  Rydberg’s constant due to H 
\(n_1 and n_2\)  Integers where \(n_2 > n_1\).

Johannes Rydberg was a Swedish physicist who did experiments to find a mathematical relationship between one spectral line and the next of certain elements. He then discovered that there was an integer relationship between the wavenumbers of successive lines.
It was first empirically stated in 1888 by him, and then theoretically by Niels Bohr in 1913. Niels Bohr used a primitive form of quantum mechanics. The formula directly gives the equations used to calculate the wavelengths of the spectral series of H.
Solved Examples
Q.1: Find the wavelength of the electromagnetic radiation that is emitted from an electron relaxes from n = 3 to n = 1.
Solution: We have the Rydberg equation:
\(\frac{1}{\lambda} = R_H(\frac{1}{n_1^2}\frac{1}{n_2^2})\)
Now put the known vakues,
\(n_1\) = 1
and \(n_2\) = 3.
Use \(R_H\) = 1.9074 \(\times 10^7 m^{1}\).
\(\frac{1}{\lambda}\) = \(R_H(\frac{1}{n_1^2}\frac{1}{n_2^2})\)
= \(1.0947 \times 10^7 (\frac{1}{1^2}\frac{1}{3^2})\)
= \(1.0947 \times 10^7 \times \frac{8}{9}\)
= \(0.973 \times 10^7 \)
\(\lambda = 1.025 \times 10^{7}\; meter\)
This formula gives a wavelength in meters using this value for Rydberg’s constant.