The Four Quantum Numbers

Every electron in every atom on the periodic table can be labeled with just four numbers. From those four numbers alone you can predict the shape of the periodic table. You can also predict the color of a ruby, and the reason neon refuses to bond. You can even predict the reason iron is magnetic. That is an extraordinary amount of chemistry to extract from what looks like bookkeeping. But the four quantum numbers are not bookkeeping. They are the eigenvalue labels of a genuinely three-dimensional standing wave. Each one answers a distinct physical question about that wave. The hook is this: when you solve the The Schrödinger Equation and Atomic Wavefunctions problem for hydrogen, the solutions do not come out as a single continuous family. They come out quantized, indexed by integers. This happens because a wave confined by a Coulomb potential in three dimensions can only stand still. It can only be a stationary state for specific combinations of energy, angular momentum, and orientation. Those integers are nn, ll, and mlm_l. A fourth number, msm_s, is not even predicted by the non-relativistic Schrödinger equation at all. It is an experimental fact that the electron behaves as if it spins. Dirac's relativistic quantum mechanics later derived this from first principles. Pauli's exclusion principle turns it into the organizing rule of the entire periodic table. Why does this matter beyond hydrogen? Every multi-electron atom is built, to an excellent first approximation, by populating hydrogen-like orbitals with electrons one at a time. This process obeys the Pauli exclusion principle and Hund's rules. The four quantum numbers are the "address" of each electron in this scheme. nn tells you the shell, ll tells you the subshell, and hence the orbital shape. mlm_l tells you which orbital within that subshell, and msm_s tells you the spin. No two electrons in an atom may share all four values. This single sentence is the reason atoms have shell structure. It is the reason the periodic table has blocks. It is the reason chemistry exists as a subject distinct from a chart of identical featureless atoms. This article builds the four quantum numbers from the physics of the confined wave. It states precisely which values are allowed and why. It connects each one to something you can see: orbital energy ordering, nodal patterns, degeneracy, and fine structure. This fine structure shows up in spectroscopy and magnetism. It sets up the shapes and boundary surfaces of orbitals. It also covers the split between radial and angular wavefunction behavior. Both of these follow directly from the quantum numbers introduced here.

Key takeaways
  • n=1,2,3,…n = 1, 2, 3,\dots (principal quantum number) sets the shell and, for hydrogen-like atoms, the energy: En=−13.6 eV Z2/n2E_n = -13.6\,\text{eV}\,Z^2/n^2.
  • l=0,1,…,n−1l = 0, 1, \dots, n-1 (azimuthal/angular momentum quantum number) sets orbital shape (s, p, d, f) and the orbital angular momentum magnitude l(l+1)ℏ\sqrt{l(l+1)}\hbar.
  • ml=−l,…,+lm_l = -l, \dots, +l (magnetic quantum number) sets orbital orientation/degeneracy: 2l+12l+1 orbitals per subshell, split by an external field.
  • ms=±12m_s = \pm\tfrac12 (spin quantum number) is an intrinsic, non-orbital property with no classical analogue but a real magnetic moment.
  • The Pauli exclusion principle — no two electrons share all four numbers — forces each spatial orbital to hold at most two electrons, of opposite spin.
  • Key idea: the four quantum numbers are the complete set of labels for a stationary-state solution of the atomic Schrödinger (and, for spin, Dirac) equation, and the Pauli principle converts that labeling scheme into the entire structure of the periodic table.
The core insight

A bound electron's stationary state is uniquely specified by four quantum numbers (n,l,ml,ms)(n, l, m_l, m_s); quantization is forced by boundary conditions on a confined wave, and the Pauli exclusion principle (no two electrons share all four) generates atomic shell structure and the periodic table.

Where this lives today

The four quantum numbers are not a historical curiosity confined to introductory courses — they are the working vocabulary of modern spectroscopy, magnetism, and materials design. In electron paramagnetic resonance (EPR) and NMR-adjacent techniques, the spin quantum number msm_s (and its nuclear analogue) is the entire signal: applying a magnetic field splits the ms=±12m_s = \pm\tfrac12 states by the Zeeman energy gμBBg\mu_B B, and the transition between them is the measured resonance, used to characterize everything from radical intermediates in organic reactions to the oxidation state and coordination geometry of copper and iron centers in metalloenzymes. In transition-metal and lanthanide chemistry, the mlm_l degeneracy of dd and ff orbitals is precisely what Crystal Field Theory (foreshadowed by the same 2l+12l+1 counting used here) splits into distinct energy levels under a ligand field, giving rise to d–d transitions and the vivid colors of transition-metal complexes — rubies red from Cr3+\text{Cr}^{3+}, emeralds green from the same ion in a different host, and the intense colors of permanganate and dichromate ions all trace back to how mlm_l-labeled orbitals of a given ll split apart once spherical symmetry is broken by surrounding ligands. In quantum computing and quantum information science, individual electron or nuclear spins (ms=±12m_s = \pm\tfrac12, a natural two-level system) are used directly as qubits — nitrogen-vacancy centers in diamond and trapped-ion qubits both exploit exactly this two-valued spin degree of freedom, engineered and manipulated with the same physics that explains why silver atoms split into two beams in 1922. In astrophysics and analytical chemistry, the principal quantum number's energy formula En∝−Z2/n2E_n \propto -Z^2/n^2 underlies the entire interpretation of atomic emission and absorption spectra — from the Balmer series used to measure the redshift of distant galaxies, to flame tests and atomic absorption spectroscopy used routinely to quantify trace metals in environmental and clinical samples. Finally, the entire logical structure of the periodic table — why the second period has 8 elements, the third has 8 (not 18, because 3d3d fills later), the fourth has 18, and the sixth has 32 with an inserted 14-element lanthanide block — is nothing more than the shell-capacity arithmetic 2(2l+1)2(2l+1) worked out here, applied subshell by subshell in the order fixed by the interplay of nn and ll.

Ask the tutor: How does the interleaving of subshells across different nn (the (n+l)(n+l) / Madelung filling rule) actually decide the real order in which orbitals fill, and why does 4s fill before 3d despite having a larger nn?

The physical picture

Start from the picture you already have of the hydrogen atom as a standing wave: an electron bound to a proton by the Coulomb potential V(r)=−e2/4πε0rV(r) = -e^2/4\pi\varepsilon_0 r, described by a wavefunction ψ(r,θ,ϕ)\psi(r,\theta,\phi) that solves the time-independent Schrödinger equation H^ψ=Eψ\hat{H}\psi = E\psi. Because the potential is spherically symmetric, the natural coordinate system is spherical polar (r,θ,ϕ)(r, \theta, \phi), and the equation separates into a radial part R(r)R(r) and an angular part Y(θ,ϕ)Y(\theta,\phi):

ψn,l,ml(r,θ,ϕ)=Rn,l(r) Ylml(θ,ϕ)\psi_{n,l,m_l}(r,\theta,\phi) = R_{n,l}(r)\, Y_l^{m_l}(\theta,\phi)

Each of the three integers that appears as a subscript here is not an arbitrary label — it is forced by a boundary condition. The radial equation, solved subject to the requirement that ψ→0\psi \to 0 as r→∞r \to \infty (the electron is bound, not free) and that ψ\psi stays finite at r=0r=0, has acceptable solutions only for certain energies, indexed by a positive integer nn. The angular equation, solved subject to the requirement that Y(θ,ϕ)Y(\theta,\phi) be single-valued as ϕ→ϕ+2π\phi \to \phi + 2\pi (you come back to the same point in space and must get the same wave value), forces ll to be a non-negative integer and mlm_l to be an integer confined to −l≤ml≤l-l \le m_l \le l. None of this is asserted by fiat; it is what "the wave must close on itself smoothly" means in three dimensions. The fourth quantum number, msm_s, enters differently. It does not come from solving the spatial Schrödinger equation at all. Stern and Gerlach's 1922 experiment — passing silver atoms through an inhomogeneous magnetic field — showed a beam splitting into exactly two spots, not the odd number expected from orbital angular momentum quantization (2l+12l+1 is always odd). This demanded a new, intrinsically two-valued degree of freedom. Dirac's 1928 relativistic wave equation later showed that this "spin" of ±ℏ/2\pm\hbar/2 is not an ad hoc patch but a structural requirement of combining quantum mechanics with special relativity for a spin-12\tfrac12 particle.

Figure
The nested quantum numbers: shell, subshell, orbital, and spin
n = 3 shell, showing subshells, orbitals, and spin slots shell n = 3 l = 0 (3s) m_l = 0 → 1 orbital ↑↓ l = 1 (3p) m_l = −1, 0, +1 → 3 orbitals ↑↓ ↑↓ ↑↓ l = 2 (3d) m_l = −2…+2 → 5 orbitals ↑↓ ↑↓ ↑↓ ↑↓ ↑↓ Each box = one (n,l,m_l) orbital. Each orbital holds 2 e⁻ with m_s = +1/2 (↑) and −1/2 (↓). Total electrons in n=3 shell: 2(1) + 2(3) + 2(5) = 18 = 2n² Degeneracy per subshell = 2l+1 orbitals Capacity per subshell = 2(2l+1) electrons

The picture that emerges is nested, like Russian dolls. The shell (nn) contains subshells (ll), each subshell contains orbitals (mlm_l), and each orbital holds up to two electrons distinguished only by spin (msm_s). This nesting is not decorative — it is literally how you read off the electron configuration of any atom and, from that, its position in the periodic table.

Figure
Radial nodes, angular nodes, and total nodes for a few orbitals
Node counting: total nodes = n − 1 Orbital n l angular nodes = l radial nodes = n−l−1 total = n−1 1s10000 2s20011 2p21101 3s30022 3p31112 3d32202 n fixes total node count; l trades radial nodes for angular ones without changing the total.

The core ideas

The allowed values of each quantum number, and what each governs physically, are summarized by these relationships.

n=1,2,3,…(principal quantum number)n = 1, 2, 3, \dots \qquad (\text{principal quantum number})

where: nn indexes the shell and, for a one-electron (hydrogenic) atom of nuclear charge ZZ, fixes the orbital energy completely via

En=−Z2n2 (13.6 eV)E_n = -\frac{Z^2}{n^2}\,(13.6\ \text{eV})

Reading: larger nn means larger average orbital radius, more nodes, and (in hydrogen only) higher energy determined by nn alone — a degeneracy that is lifted in multi-electron atoms because of electron-electron shielding.

l=0,1,2,…,(n−1)(azimuthal / orbital angular momentum quantum number)l = 0, 1, 2, \dots, (n-1) \qquad (\text{azimuthal / orbital angular momentum quantum number})

where: ll fixes the magnitude of orbital angular momentum,

∣L∣=l(l+1) ℏ|\mathbf{L}| = \sqrt{l(l+1)}\,\hbar

Reading: l=0,1,2,3l = 0,1,2,3 correspond to the familiar s, p, d, f labels (from the historical spectroscopic terms sharp, principal, diffuse, fundamental); ll also fixes the number of angular nodes in the orbital, which is why s orbitals are spherical (no angular nodes) and p orbitals have one nodal plane.

ml=−l,−(l−1),…,0,…,+l(magnetic quantum number),(2l+1) valuesm_l = -l, -(l-1), \dots, 0, \dots, +l \qquad (\text{magnetic quantum number}), \quad (2l+1)\ \text{values}

where: mlm_l fixes the projection of orbital angular momentum along a chosen axis (conventionally zz),

Lz=mlℏL_z = m_l \hbar

Reading: in the absence of an external field all 2l+12l+1 orbitals in a subshell are degenerate; switching on a magnetic field splits them by energy proportional to mlm_l — the Zeeman effect, the historical origin of the name "magnetic quantum number."

ms=−12,+12(spin magnetic quantum number)m_s = -\tfrac{1}{2}, +\tfrac{1}{2} \qquad (\text{spin magnetic quantum number})

where: msm_s fixes the projection of intrinsic spin angular momentum along zz, Sz=msℏS_z = m_s\hbar, for a particle of total spin quantum number s=12s = \tfrac12 (so ∣S∣=s(s+1)ℏ=32ℏ|\mathbf{S}| = \sqrt{s(s+1)}\hbar = \frac{\sqrt3}{2}\hbar). Reading: spin has no classical orbital analogue — it survives even for an electron at rest — and it is spin, not charge or mass, that makes the electron obey Fermi-Dirac statistics and the Pauli exclusion principle. Finally, the rule that ties all four together into chemistry:

Pauli exclusion principle: no two electrons in the same atom may have identical (n,l,ml,ms)\text{Pauli exclusion principle: no two electrons in the same atom may have identical } (n, l, m_l, m_s)

This is not derivable from the Schrödinger equation for a single particle; it is a postulate about the antisymmetry of the total multi-electron wavefunction under particle exchange, forced by the fact that electrons are indistinguishable fermions. Its consequence, for our purposes, is completely mechanical: since msm_s only has two values, each unique orbital (n,l,ml)(n,l,m_l) can hold at most two electrons, and they must have opposite spin.

Derivation AWhy the angular quantum numbers must be integers: single-valuedness of the wavefunction

Goal. Show that the boundary condition on the azimuthal wavefunction forces mlm_l to be an integer, and that combined with the angular (Legendre) equation this forces ll to be a non-negative integer with ∣ml∣≤l|m_l| \le l.

Step 1 — separate the angular equation. After separating variables in the full Schrödinger equation for a central potential, the angular part Y(θ,ϕ)Y(\theta,\phi) itself separates further into Y(θ,ϕ)=Θ(θ)Φ(ϕ)Y(\theta,\phi) = \Theta(\theta)\Phi(\phi), and the azimuthal equation reduces to a simple harmonic-oscillator-like equation

d2Φdϕ2=−m2Φ\frac{d^2\Phi}{d\phi^2} = -m^2 \Phi

whose general solution is Φ(ϕ)=eimϕ\Phi(\phi) = e^{im\phi}, with mm at this stage an arbitrary complex separation constant.

Step 2 — impose single-valuedness. The angle ϕ\phi and ϕ+2π\phi + 2\pi describe the same physical point in space, so the wavefunction must satisfy

Φ(ϕ+2π)=Φ(ϕ)\Phi(\phi + 2\pi) = \Phi(\phi)

Substituting the solution: eim(ϕ+2π)=eimϕe^{im(\phi+2\pi)} = e^{im\phi}, which requires ei2πm=1e^{i2\pi m} = 1. This forces mm to be an integer — not a half-integer, not an arbitrary real number. This integer is renamed mlm_l once the polar equation is brought in.

Step 3 — solve the polar equation and demand finiteness at the poles. The θ\theta-equation (the associated Legendre equation) has the constant ml2m_l^2 built into it from Step 2. Its solutions, the associated Legendre functions Plml(cos⁡θ)P_l^{m_l}(\cos\theta), blow up at θ=0\theta = 0 and θ=π\theta = \pi (the poles of the sphere) unless the equation's other separation constant takes the specific form l(l+1)l(l+1) with ll a non-negative integer, and unless ∣ml∣≤l|m_l| \le l. Both restrictions come from demanding that Θ(θ)\Theta(\theta) stay finite over the entire physical domain 0≤θ≤π0 \le \theta \le \pi, exactly parallel to demanding R(r)→0R(r) \to 0 at infinity in the radial problem.

Step 4 — collect the allowed set. Putting Steps 2 and 3 together:

l=0,1,2,…ml=−l,−(l−1),…,+ll = 0, 1, 2, \dots \qquad m_l = -l, -(l-1), \dots, +l

So for a given ll there are exactly 2l+12l+1 integer values of mlm_l — this is where the "3 p-orbitals," "5 d-orbitals," "7 f-orbitals" counts come from, with no free parameters to adjust.

Check against a non-round case. Take l=3l = 3 (an f subshell). The formula gives 2(3)+1=72(3)+1 = 7 values of mlm_l: −3,−2,−1,0,1,2,3-3,-2,-1,0,1,2,3. This matches the well-known fact that an f subshell holds 7 orbitals and, with two electrons each, 1414 electrons — exactly the width of the lanthanide/actinide rows of the periodic table. No special or symmetric input was needed to see this; the same bookkeeping applies for any ll.

Go deeper · Derivation B · 2 minWhy n bounds l: the radial equation's finiteness condition
Derivation BWhy n bounds l: the radial equation's finiteness condition

Goal. Show that ll cannot range freely up to infinity for a given nn — it is capped at l=n−1l = n-1 — by examining what the radial equation demands for a normalizable (bound) state.

Step 1 — write the effective radial equation. After separating the angular part (handled above), the radial function R(r)R(r) satisfies a one-dimensional Schrödinger-like equation with an effective potential that combines the true Coulomb attraction and a centrifugal repulsion term coming from angular momentum:

−ℏ22me1r2ddr(r2dRdr)+[ℏ2l(l+1)2mer2−Ze24πε0r]R=ER-\frac{\hbar^2}{2m_e}\frac{1}{r^2}\frac{d}{dr}\left(r^2\frac{dR}{dr}\right) + \left[\frac{\hbar^2 l(l+1)}{2m_e r^2} - \frac{Ze^2}{4\pi\varepsilon_0 r}\right]R = E R

where the term in l(l+1)l(l+1) is the centrifugal barrier: higher angular momentum pushes the electron away from the nucleus.

Step 2 — demand a normalizable solution. Physically acceptable bound-state solutions require R(r)→0R(r) \to 0 as r→∞r \to \infty (the electron is localized) and R(r)R(r) finite as r→0r \to 0. Solving the equation with a power-series (Frobenius) method, the series must terminate after a finite number of terms, or else R(r)R(r) diverges as r→∞r\to\infty instead of decaying — exactly analogous to how the Hermite polynomials must terminate in the harmonic oscillator problem.

Step 3 — extract the termination condition. The termination condition, worked through the recursion relation of the series, turns out to require that a certain non-negative integer kk (the number of terms retained, related to the radial nodes) satisfy

n≡k+l+1n \equiv k + l + 1

with k=0,1,2,…k = 0, 1, 2, \dots Since k≥0k \ge 0, this immediately gives n≥l+1n \ge l + 1, i.e.

l≤n−1⟺l=0,1,…,(n−1)l \le n - 1 \quad\Longleftrightarrow\quad l = 0, 1, \dots, (n-1)

Step 4 — interpret kk as the radial node count. The integer kk that must be ≥0\ge 0 is precisely the number of radial nodes of the wavefunction, so

number of radial nodes=n−l−1\text{number of radial nodes} = n - l - 1

and the total node count (radial + angular) is n−l−1+l=n−1n - l - 1 + l = n-1, independent of ll — the compact rule shown in the node-counting figure above.

Check against a non-round case. Take n=4n = 4. The allowed ll values are 0,1,2,30,1,2,3 (i.e., 4s, 4p, 4d, 4f) — four subshells, not an arbitrary number. For the 4d orbital specifically (n=4,l=2n=4, l=2): radial nodes =n−l−1=4−2−1=1= n - l - 1 = 4 - 2 - 1 = 1, angular nodes =l=2= l = 2, total =3=n−1= 3 = n-1. This matches the standard picture of a 4d orbital as having one spherical nodal shell threading through the familiar double-lobed d angular pattern.

Limiting case. As l→n−1l \to n-1 (its maximum allowed value for that shell), the radial node count n−l−1→0n-l-1 \to 0: the orbital has no radial nodes at all, just a single smooth radial hump peaking as far out as possible for that nn. This is why 2p2p, 3d3d, 4f4f orbitals (each at l=n−1l=n-1) are the "textbook" cleanest-shaped orbitals in each row, with all their nodal structure being purely angular.

Worked examples

Example 1 — Foundational: listing the complete quantum-number set for n=2n=2. List every allowed (n,l,ml,ms)(n, l, m_l, m_s) combination for the n=2n=2 shell and confirm the shell capacity formula 2n22n^2. For n=2n=2: allowed l=0,1l = 0, 1 (since l≤n−1=1l \le n-1 = 1). For l=0l=0 (the 2s subshell): ml=0m_l = 0 only, one orbital. Two electrons fit, with ms=+12m_s = +\tfrac12 and ms=−12m_s = -\tfrac12. That's the pair (2,0,0,+12)(2,0,0,+\tfrac12) and (2,0,0,−12)(2,0,0,-\tfrac12). For l=1l=1 (the 2p subshell): ml=−1,0,+1m_l = -1, 0, +1, three orbitals. Each holds two electrons of opposite spin, giving six combinations: (2,1,−1,±12)(2,1,-1,\pm\tfrac12), (2,1,0,±12)(2,1,0,\pm\tfrac12), (2,1,+1,±12)(2,1,+1,\pm\tfrac12). Total distinct quantum-number sets: 22 (from 2s) +6+ 6 (from 2p) =8= 8. Check against the shell formula: 2n2=2(2)2=82n^2 = 2(2)^2 = 8. ✓ Matches exactly, and this is precisely why the second period of the periodic table (Li through Ne) has 8 elements — each one adding an electron into this exact set of 8 quantum-number slots.

Example 2 — Applied: identifying an orbital and its degeneracy from spectroscopic shorthand, off the beaten symmetric path. An excited electron in a hypothetical hydrogenic ion is reported to occupy an orbital with n=5n = 5, l=3l = 3. State the subshell label, the number of orbitals in that subshell, the number of angular and radial nodes, and the orbital angular momentum magnitude. Subshell label: l=3l = 3 corresponds to an f orbital, so this is the "5f" subshell. Number of orbitals (mlm_l values): 2l+1=2(3)+1=72l + 1 = 2(3) + 1 = 7. Angular nodes: equal to l=3l = 3. Radial nodes: n−l−1=5−3−1=1n - l - 1 = 5 - 3 - 1 = 1. Total nodes (check): 3+1=4=n−1=5−13 + 1 = 4 = n - 1 = 5-1. ✓ Consistent. Orbital angular momentum magnitude:

∣L∣=l(l+1) ℏ=3⋅4 ℏ=12 ℏ≈3.464 ℏ|\mathbf{L}| = \sqrt{l(l+1)}\,\hbar = \sqrt{3\cdot 4}\,\hbar = \sqrt{12}\,\hbar \approx 3.464\,\hbar

Note this is not lℏ=3ℏl\hbar = 3\hbar — a common error. The quantum mechanical magnitude always exceeds the naive lℏl\hbar because of the l(l+1)\sqrt{l(l+1)} rule; only the zz-projection Lz=mlℏL_z = m_l\hbar ever reaches exactly lℏl\hbar (when ml=lm_l = l), and even then the vector itself is tilted, never perfectly aligned with zz (this is the origin of the "vector model" picture of angular momentum with its characteristic cone of possible orientations).

Example 3 — Exam/competition level: using quantum numbers to justify why Cr has the anomalous configuration [Ar]3d⁵4s¹, and quantifying degeneracy. Chromium (Z=24Z=24) is famous for breaking the naive [Ar]3d⁴4s² filling order, adopting [Ar]3d⁵4s¹ instead. Explain this using quantum numbers and Hund's-rule reasoning, and compute the number of distinct microstates (quantum-number combinations) available to the 3d⁵ configuration. Step 1: The 3d subshell has l=2l=2, so ml=−2,−1,0,+1,+2m_l = -2,-1,0,+1,+2 — five orbitals, degeneracy 2l+1=52l+1=5. Step 2: With five electrons and five orbitals, the lowest-energy arrangement consistent with Hund's rule (maximize total spin before pairing) places one electron in each of the five mlm_l slots, all with parallel spin (ms=+12m_s = +\tfrac12 for all five, by convention). This uses each (n,l,ml)(n,l,m_l) combination exactly once with the same msm_s, so the Pauli principle is satisfied (all four quantum numbers differ because mlm_l differs across the five electrons) and there is zero electron-electron pairing repulsion within the subshell — an unusually stable, symmetric half-filled configuration. Step 3: Compare energetically with the "expected" [Ar]3d⁴4s²: there, one 3d orbital would go empty and the 4s would hold a paired, higher-energy-repulsion electron pair, while the 3d subshell is not half-filled. Promoting one 4s electron into the last empty 3d slot achieves the symmetric half-filled 3d⁵ arrangement (plus a singly occupied 4s¹), which experimentally is lower in overall energy — this is the standard rationalization for the Cr and Mo (and, differently, Cu) anomalies, driven by exchange stabilization that is easiest to see once you have enumerated the ml,msm_l, m_s slots explicitly. Step 4 — counting microstates: for the ground-state term of 3d⁵ (all spins parallel, one electron per orbital), the number of ways to assign five distinguishable-by-mlm_l orbitals to five electrons of fixed spin is just 11 (each orbital gets exactly one, and there's no other way to have all mlm_l singly occupied with only 5 orbitals and 5 electrons). But the general microstate count for nn electrons in gg available spin-orbitals is the binomial

(gn)=(2(2l+1)nelectrons)\binom{g}{n} = \binom{2(2l+1)}{n_{electrons}}

For d5d^5: g=2(2⋅2+1)=10g = 2(2\cdot2+1) = 10 total spin-orbitals (55 orbitals ×2\times 2 spins), and nelectrons=5n_{electrons}=5, so

(105)=252\binom{10}{5} = 252

total microstates are possible for a d5d^5 configuration (only some of which correspond to the maximum-spin ground term, 6S^6S, which itself has degeneracy 2S+1=62S+1 = 6 from S=52S = \tfrac52 arising from five parallel spins). This calculation — routine once quantum numbers are in hand — is exactly the bookkeeping behind term symbols and Hund's rules in transition-metal spectroscopy.

Limiting cases, scope & common traps

SituationWhat happens to the quantum numbersWhy
Hydrogen / one-electron ionsEnergy depends on nn only; all ll for fixed nn are degenerateNo electron–electron repulsion to break the "accidental" Coulomb degeneracy
Multi-electron atomsEnergy depends on both nn and ll (e.g. 4s4s often below 3d3d in filling order)Penetration/shielding: different ll have different radial density near the nucleus
External magnetic field appliedmlm_l degeneracy lifted (Zeeman splitting); energy ∝ml\propto m_lLz=mlℏL_z = m_l\hbar couples to the field via the orbital magnetic moment
Free (unbound) electron, E>0E>0nn no longer meaningful; energy is continuous, not quantizedBoundary condition ψ→0\psi \to 0 at ∞\infty no longer applies — no standing wave forced
l=0l = 0 (any s orbital)Zero orbital angular momentum, ml=0m_l = 0 only, spherically symmetric, finite density at nucleusl(l+1)ℏ=0\sqrt{l(l+1)}\hbar = 0; no centrifugal barrier, so R(0)≠0R(0) \ne 0 (important for Fermi contact/hyperfine effects)
n→∞n \to \inftyEnergy levels crowd together, En→0−E_n \to 0^-; orbital radius →∞\to \inftyEn∝−1/n2E_n \propto -1/n^2; this is the ionization limit and the Rydberg series convergence

The chemist behind it

Origins · 1 minWolfgang Pauli and how this was discovered
WP
Wolfgang Pauli
1900-1958 · Vienna and Zurich, foundational quantum mechanics

Pauli formulated the exclusion principle in 1925, initially as a phenomenological rule to explain atomic spectra and the periodic table's shell closures, before spin itself was even fully understood as an intrinsic angular momentum. He introduced what he first called a electron's "two-valuedness not describable classically" — what we now call msm_s — a year before Uhlenbeck and Goudsmit's explicit spin proposal. Pauli was famously the theorist's theorist: ferociously rigorous, unsparing in criticism (his stock put-down for weak work was "not even wrong"), and central to nearly every major foundational debate in 1920s–30s quantum theory, from spin-statistics to the neutrino. The exclusion principle later earned him the 1945 Nobel Prize in Physics, awarded "for the discovery of the Exclusion Principle, also called the Pauli Principle."

History
- 1913 — Bohr proposes quantized electron orbits, introducing the first (implicit) quantum number, an integer indexing allowed orbits.
- 1916 — Sommerfeld extends Bohr's model with elliptical orbits, introducing an azimuthal quantum number (precursor to ll) and a magnetic quantum number under an applied field.
- 1922 — Stern and Gerlach observe silver atoms splitting into two discrete beams in an inhomogeneous magnetic field, the experimental fingerprint of a two-valued intrinsic degree of freedom.
- 1925 — Uhlenbeck and Goudsmit propose electron spin explicitly; Pauli formulates the exclusion principle the same year.
- 1926 — Schrödinger's wave equation reproduces nn, ll, mlm_l as natural eigenvalue labels from first principles, without any ad hoc orbit picture.
- 1928 — Dirac's relativistic wave equation derives electron spin and its magnetic moment (g ≈ 2) from combining quantum mechanics with special relativity, rather than postulating it.
Why can't l equal n instead of being capped at n−1?

The cap comes directly from requiring the radial wavefunction to be normalizable — to actually decay to zero far from the nucleus rather than blow up. Solving the radial Schrödinger equation by series methods, the series describing R(r)R(r) must terminate after a finite number of terms for the solution to decay properly, and that termination condition mathematically forces n=k+l+1n = k + l + 1 for some non-negative integer kk (the radial node count). Since kk cannot be negative, ll is capped at n−1n-1. Physically, larger ll means more angular momentum and a stronger centrifugal barrier keeping the electron away from the nucleus; at l=nl=n, there would be no room left in the shell for even a single radial node, and the required termination fails.

Is m_s really a separate, independent quantum number, or is it derived from the others?

It is independent in the sense that it does not appear anywhere in the non-relativistic Schrödinger equation for the atom — it must be added by hand (or, more properly, discovered experimentally via the Stern–Gerlach result and Uhlenbeck–Goudsmit's proposal). It becomes a natural, derived feature only once you use the relativistic Dirac equation, which automatically produces a spin-12\tfrac12 degree of freedom for the electron as a consequence of requiring the wave equation to be consistent with special relativity. So in the everyday non-relativistic framework used in general chemistry, treat msm_s as a genuinely independent fourth label; in a fully relativistic treatment it is derived, not postulated.

Why do we use letters s, p, d, f instead of just saying l = 0, 1, 2, 3?

Purely historical, but the labels persist because they're useful shorthand. Nineteenth- and early twentieth-century spectroscopists classified atomic emission lines by their appearance before anyone knew about orbital angular momentum: "sharp" lines (s), "principal" lines (the strongest, most prominent ones, p), "diffuse" lines (d), and "fundamental" lines (f). When quantum mechanics later explained these series in terms of the angular momentum quantum number ll, the old spectroscopic letters were simply mapped onto l=0,1,2,3l = 0,1,2,3 and kept, because everyone already used them. Beyond f, the labels continue alphabetically (g, h, …) but such high-ll orbitals are rarely populated in known atoms' ground states.

How does the shell capacity formula 2n² connect to the periodic table's row lengths?

It doesn't connect directly and cleanly, which is exactly the subtlety worth knowing. The formula 2n22n^2 gives the total number of electrons a given principal shell nn can hold if it were filled all at once, and it correctly predicts row lengths for n=1n=1 (2 elements) and n=2n=2 (8 elements). But starting from period 4, subshells from different nn interleave in filling order — 4s4s fills before 3d3d — so period lengths (2, 8, 8, 18, 18, 32) follow the actual filling sequence of subshells (governed by n+ln+l ordering, roughly the Madelung rule) rather than the pure 2n22n^2 shell-completion formula. The quantum numbers are still the entire basis for both statements; you just have to track subshells, not whole shells, once penetration and shielding matter.

What happens to these quantum numbers in a multi-electron atom — are they still exact?

Strictly, no. The clean separation into n,l,ml,msn, l, m_l, m_s with sharp, well-defined values is an exact result only for a single electron in a purely central (Coulombic) potential — hydrogen and hydrogen-like ions. In a real multi-electron atom, electron-electron repulsion is not perfectly spherically symmetric in an instantaneous sense, and true stationary states are more complicated many-electron functions. The orbital approximation — assigning each electron its own hydrogen-like (n,l,ml,ms)(n,l,m_l,m_s) label and building the total wavefunction from these — is an excellent and enormously useful approximation (the basis of the entire aufbau/electron-configuration approach), but it is an approximation, refined further by configuration interaction and other many-body methods when high precision is needed.

Why does spin give rise to a magnetic moment if the electron isn't literally a spinning charged ball?

Any angular momentum associated with charge produces a magnetic moment in quantum mechanics, whether or not there's a classical "spinning" picture behind it — the moment is simply a structural feature of how charge and angular momentum couple, formalized by the Dirac equation for spin. The electron's spin magnetic moment is μs=−gsμBs(s+1)\mu_s = -g_s\mu_B\sqrt{s(s+1)}, with the spin g-factor gs≈2.0023g_s \approx 2.0023 — famously close to, but not exactly, the classical-orbital value of 1, and the small deviation from exactly 2 is itself one of the most precisely tested predictions in all of physics, computed by quantum electrodynamics.

Do all four quantum numbers matter equally for chemistry, or is one "more important"?

For predicting reactivity, bonding, and periodic trends, nn and ll do the heaviest lifting: they set orbital energy ordering, size, and shape, which determine which orbitals overlap in bonding and how electronegative or reducing an element is. mlm_l mostly matters for understanding orbital orientation in bonding (e.g., why px,py,pzp_x, p_y, p_z point along different axes for σ\sigma vs π\pi overlap) and for magnetic/spectroscopic splitting. msm_s, via the Pauli principle, is arguably the single most consequential one structurally — without the two-valued spin restriction, all electrons in an atom could pile into the 1s orbital, and there would be no shell structure, no periodic table, and no chemistry as we know it.

Where this leads