Think of an apartment building. To find one person you need their full address: which building, which floor, which apartment, and which of the two roommates. Every electron in an atom has its own four-part address too — the four quantum numbers — and the universe enforces one strict rule: no two electrons in the same atom may share the exact same address.
The four parts each answer a simple question. The principal number $n$ = 1, 2, 3, … says which "floor" (shell) the electron lives on — bigger $n$ means a bigger, higher-energy orbit. The orbital number $\ell$ says what shape the room is: $\ell=0$ is a round $s$ room, $\ell=1$ a dumbbell $p$ room, then $d$, $f$. The magnetic number $m_\ell$ says which way that room points in space. And spin $m_s$ is the electron's own built-in two-way switch: up or down. A neat consequence: floor $n$ can hold exactly $2n^2$ electrons — so the second shell holds 8, which is precisely why the second row of the periodic table has 8 elements.
The deeper rules pin down the allowed values. For a given floor, $\ell$ can only run from $0$ up to $n-1$, and for a given shape $m_\ell$ runs in integer steps from $-\ell$ to $+\ell$ — that's $2\ell+1$ orientations. The angular momentum isn't $m_\ell\hbar$ in length; its true magnitude is $|\vec{L}|=\sqrt{\ell(\ell+1)}\,\hbar$, while only its shadow on the $z$-axis, $L_z=m_\ell\hbar$, is sharp. Spin behaves the same way: $|\vec{S}|=\tfrac{\sqrt{3}}{2}\hbar$ but $S_z=\pm\tfrac{1}{2}\hbar$. Stack these with the Pauli exclusion principle — no repeated address — and the entire periodic table falls out.
Try this in the sim above: (1) Set $n=2$ and drag the $\ell$ slider — it refuses to pass $\ell=1$, because $\ell$ can never reach $n$; then sweep $m_\ell$ and watch the $p$-orbital swing to point along different axes. (2) Switch to Zeeman Splitting, set $\ell=2$, and raise $B$: the single level fans into $2\ell+1=5$ evenly spaced lines. (3) Switch to Stern-Gerlach — the beam always splits into exactly two spots, never a smooth smear. That clean two-way split is spin being stuck at $\pm\tfrac{1}{2}$.
Section 03
Equations & Derivation
Quantum numbers $(n,\ell,m_\ell,m_s)$ uniquely specify each electron state in an atom. They emerge from solving the Schrödinger equation in spherical coordinates plus the introduction of intrinsic spin from relativistic quantum mechanics (Dirac equation).
where $\mu_B = e\hbar/2m_e \approx 9.274\times10^{-24}$ J/T is the Bohr magneton.
Step 5 — Pauli exclusion & periodic table
No two electrons in an atom share all four quantum numbers. This forces electrons into successive shells, producing the periodic structure of the elements.
Mapping to the simulation
Sliders set $n,\ell,m_\ell$; the canvas renders the corresponding orbital probability density and spin orientation. The Stern-Gerlach mode shows beam splitting from spin; Zeeman shows energy levels splitting linearly with $B$; Larmor shows $\vec{S}$ precessing at frequency $\omega_L$.
Reference: Griffiths — Introduction to Quantum Mechanics, 3rd Ed. (2018), Ch. 4 'Quantum Mechanics in Three Dimensions'; HRW 10th Ed., §40 'All About Atoms'; Sakurai & Napolitano — Modern Quantum Mechanics, 2nd Ed., Ch. 3.
Section 04
Frequently Asked Questions
In the orbital mode, lobes are 90% probability isosurfaces of $|\psi_{n\ell m}(\vec{r})|^2$ — the regions where the electron is most likely found. Stern-Gerlach mode shows quantized splitting of an atomic beam in an inhomogeneous magnetic field. Zeeman mode plots energy-level splitting linearly with $B$. Larmor mode visualizes the spin vector precessing about the field axis.
If we modeled the electron as a spinning ball with classical radius and angular momentum $\hbar/2$, its surface would have to move faster than light. Spin is an intrinsic, irreducibly quantum property — it has units of angular momentum and contributes to magnetic moment, but it isn't 'rotation' of anything spatial.
Atomic spectra (every emission/absorption line is a transition between $(n,\ell,m_\ell,m_s)$ states), the periodic table itself (chemistry of an element follows from its valence electron configuration), MRI (nuclear spin precession), atomic clocks (hyperfine transitions), lasers (population of $\ell$-states), and quantum computing (qubits exploit the two $m_s$ states).
Because the wavefunction must be single-valued under rotation by $2\pi$, the angular part $e^{im_\ell\phi}$ requires $m_\ell$ to be an integer. The constraint $\ell < n$ comes from the radial equation — it is the maximum angular momentum a bound state at energy $E_n$ can carry.
A spin-½ rotation by $360°$ does NOT return the wavefunction to itself — it picks up a minus sign. You need a $720°$ rotation. This is verified experimentally with neutron-interferometry experiments and is at the heart of why fermions obey Pauli exclusion (the wavefunction is antisymmetric under exchange).
Yes, photons are spin-1 bosons, but only with $m_s = \pm 1$ (corresponding to left- and right-circular polarization). The $m_s = 0$ state is forbidden because photons are massless and travel at $c$.
Each shell $n$ holds $2n^2$ electrons (factor of 2 from spin). Subshells fill in order of energy following Madelung's rule (1s, 2s, 2p, 3s, 3p, 4s, 3d, …). Chemical similarity in a column reflects identical valence-electron configurations — that's why Li, Na, K all behave alike.
Resources: Khan Academy; HyperPhysics; MIT OpenCourseWare; Paul's Physics Notes.
Section 05
Common Misconceptions
❌ Misconception: Electrons literally spin around their axis like tiny tops.
✅ Correction: Spin is not classical rotation. The intrinsic angular momentum $\hbar/2$ of an electron, combined with its measured size (effectively pointlike), would require superluminal surface speed. Spin emerges naturally from the Dirac equation as a relativistic property of the wavefunction.
❌ Misconception: Quantum number $\ell$ tells you the orbital's energy.
✅ Correction: In hydrogen, energy depends only on $n$ — the $\ell = 0,1,2,\ldots$ subshells of a given $n$ are degenerate. In multi-electron atoms, screening lifts this degeneracy so 2s lies below 2p, but for hydrogen the ℓ-degeneracy is exact.
❌ Misconception: $m_\ell$ tells you the actual direction of the angular momentum vector.
✅ Correction: It tells you only the $z$-component. Because $L^2$ and $L_z$ commute but $L_x, L_y$ do not commute with $L_z$, the vector cannot have all components definite simultaneously. The angular momentum lies on a cone, not along a definite axis.
📖 Reference: Cohen-Tannoudji — Quantum Mechanics, Vol. I, Ch. VI 'General properties of angular momentum'.
❌ Misconception: All electrons in the same orbital have the same energy and are interchangeable.
✅ Correction: Two electrons in the same orbital differ in $m_s$ — they have opposite spin. This is essential: without spin, only one electron would fit per spatial orbital and the periodic table would have only 2-electron rows.
📖 Reference: HRW 10th Ed., §40-8 'The Pauli Exclusion Principle'; Bransden & Joachain — Physics of Atoms and Molecules, Ch. 7.
❌ Misconception: The Stern-Gerlach experiment proves classical magnetic moments are quantized.
✅ Correction: It proves the *direction* of the spin angular momentum is quantized — only two outcomes for spin-½, regardless of how you orient the apparatus. A classical magnet would give a continuous distribution. This is one of the cleanest demonstrations of quantum measurement.
📖 Reference: Sakurai — Modern Quantum Mechanics, 2nd Ed., §1.1 'The Stern-Gerlach Experiment'; Feynman Lectures Vol. III, Ch. 5.
❌ Misconception: A 360° rotation always returns a quantum state to itself.
✅ Correction: For spin-½ (electrons, protons, neutrons, quarks), a $360°$ rotation multiplies the state by $-1$. You need $720°$ for the original state. This was verified in 1975 by Werner et al. using neutron interferometry.
📖 Reference: Sakurai — Modern Quantum Mechanics, §3.2; Werner et al., Phys. Rev. Lett. 35 (1975) 1053.
Misconception research: Singh & Marshman — 'Review of student difficulties in quantum mechanics', Phys. Rev. ST PER 11 (2015); Zhu & Singh, Am. J. Phys. 80 (2012); Mohr et al. — CODATA 2018.