Experiments on electrical discharge through gases established that atoms are not indivisible but are composed of sub-atomic particles: electrons, protons, and neutrons.
In the mid-1850s, Michael Faraday and other scientists studied electrical discharge in partially evacuated tubes called cathode ray discharge tubes.
In 1897, J.J. Thomson measured the ratio of electrical charge ($e$) to the mass of the electron ($m_e$) using a cathode ray tube by applying mutually perpendicular electrical and magnetic fields:
$$\frac{e}{m_e} = 1.758820 \times 10^{11} \text{ C kg}^{-1}$$
Where $m_e$ is the mass of the electron in kg and $e$ is the magnitude of the charge on the electron in Coulombs (C).
R.A. Millikan determined the charge on the electron using the Millikan's oil drop experiment.
$$m_e = \frac{e}{e/m_e} = 9.1094 \times 10^{-31} \text{ kg}$$
Proposed by J.J. Thomson in 1898, also known as the plum pudding, raisin pudding, or watermelon model.
Rutherford, Geiger, and Marsden bombarded a thin gold foil (thickness $\approx 100 \text{ nm}$) with high-energy $\alpha$-particles.
$$Z = \text{number of protons}$$
$$A = Z + n$$
Two major developments played a key role: the dual character of electromagnetic radiation (wave-like and particle-like) and experimental results regarding atomic spectra.
James Maxwell (1870) proposed that when electrically charged particles move under acceleration, alternating electrical and magnetic fields are produced and transmitted as electromagnetic waves.
$$c = \nu \lambda$$
Some phenomena like black-body radiation and the photoelectric effect could not be explained by wave theory.
$$E = h\nu$$
Where $h$ is Planck's constant ($6.626 \times 10^{-34} \text{ J s}$).
$$h\nu = h\nu_0 + \frac{1}{2}m_e v^2$$
Where $h\nu_0$ is the work function ($W_0$) of the metal, and $\frac{1}{2}m_e v^2$ is the kinetic energy of the ejected electron.
When a ray of white light is passed through a prism, it spreads into a continuous spectrum. However, excited atoms in the gas phase emit light only at specific wavelengths, producing a line spectrum (or atomic spectrum).
$$\bar{\nu} = 109,677 \left( \frac{1}{n_1^2} - \frac{1}{n_2^2} \right) \text{ cm}^{-1}$$
Where $109,677 \text{ cm}^{-1}$ is the Rydberg constant for hydrogen, $n_1$ and $n_2$ are integers such that $n_2 > n_1$.
Neils Bohr (1913) proposed a model based on the following postulates:
$$m_e v r = n \frac{h}{2\pi} \quad (n = 1, 2, 3, \dots)$$
$$r_n = n^2 a_0$$
Where $a_0 = 52.9 \text{ pm}$ (Bohr radius).
$$E_n = -R_H \left( \frac{1}{n^2} \right)$$
Where $R_H$ is the Rydberg constant ($2.18 \times 10^{-18} \text{ J}$). For hydrogen-like ions ($\text{He}^+$, $\text{Li}^{2+}$, etc.):
$$E_n = -2.18 \times 10^{-18} \left( \frac{Z^2}{n^2} \right) \text{ J}$$
$$r_n = \frac{52.9 n^2}{Z} \text{ pm}$$
Louis de Broglie (1924) proposed that matter exhibits both particle and wave-like properties. The de Broglie relation is:
$$\lambda = \frac{h}{mv} = \frac{h}{p}$$
Where $m$ is the mass of the particle, $v$ is its velocity, and $p$ is its momentum.
Werner Heisenberg (1927) stated that it is impossible to determine simultaneously both the exact position and exact momentum (or velocity) of an electron:
$$\Delta x \cdot \Delta p_x \ge \frac{h}{4\pi}$$
$$\Delta x \cdot (m \Delta v_x) \ge \frac{h}{4\pi}$$
Where $\Delta x$ is the uncertainty in position and $\Delta p_x$ (or $\Delta v_x$) is the uncertainty in momentum (or velocity).
Quantum mechanics is a theoretical science that deals with the study of the motions of microscopic objects that have both wave-like and particle-like properties.
Developed by Erwin Schrödinger in 1926, the fundamental equation of quantum mechanics is:
$$\hat{H}\psi = E\psi$$
Where $\hat{H}$ is the Hamiltonian operator, $E$ is the total energy of the system, and $\psi$ is the wave function. The square of the wave function, $|\psi|^2$, represents the probability density of finding the electron at a given point.
Each atomic orbital is designated by three quantum numbers, while an electron is fully described by four:
In multi-electron atoms, the energy of an orbital depends on both $n$ and $l$:
$$1s < 2s < 2p < 3s < 3p < 4s < 3d < 4p < 5s \dots$$
The distribution of electrons into orbitals is called electronic configuration.