Principal, Angular, and Magnetic Quantum Numbers

A single electron bound to a proton has exactly three integer labels. Those three integers explain almost everything a chemist draws on paper. Every orbital box in a periodic table traces back to them. Every 1s, 2p, 3d symbol, every nodal surface in an orbital picture, too. They come from three quantum numbers — nn, ll, and mm. These fall directly out of separating the Schrödinger Equation for the Hydrogen Atom into radial and angular pieces. They are not arbitrary bookkeeping devices. Each one is the eigenvalue of a specific physically meaningful operator. Each one answers a specific question about the electron's state. The three numbers divide labor cleanly. The principal quantum number nn sets the energy and the overall size of the orbital. It counts total nodes and governs the coarse shell structure. This structure gives the periodic table its rows. The angular momentum quantum number ll fixes the magnitude of orbital angular momentum. It therefore determines the orbital's shape: spherical for l=0l=0, dumbbell for l=1l=1, cloverleaf for l=2l=2. The magnetic quantum number mm fixes the orbital angular momentum's projection along a chosen axis. It therefore governs how the orbital of a given shape is oriented in space. This distinguishes pxp_x from pyp_y from pzp_z-like combinations. The big picture is that these numbers are not independent free parameters. They are constrained by the mathematics of the Radial Equation and Radial Wavefunctions and the Angular Wavefunctions and Spherical Harmonics. This math forces nn to be a positive integer. It forces ll to run only from 00 to n−1n-1. It forces mm to run only from −l-l to +l+l in integer steps. This nesting is the reason there is one 1s orbital. It is why there is one 2s and three 2p orbitals. It is why there is one 3s, three 3p, and five 3d orbitals. These exact orbital counts build the aufbau diagram and the shape of the periodic table. This article works through where each quantum number comes from. It explains what operator each one diagonalizes. It shows why the allowed-value rules are forced rather than assumed. It also shows how the three numbers combine into the full hydrogen-atom wavefunction ψnℓm\psi_{n\ell m}. It closes by connecting these labels forward to Hydrogen Atom Energy Levels and Degeneracy. It also connects them to the real-space pictures in Shapes of s, p, and d Orbitals.

Key takeaways
  • n=1,2,3,…n = 1, 2, 3, \dots (principal quantum number) sets the orbital energy En=−13.6 eV/n2E_n = -13.6\,\text{eV}/n^2 and the overall radial size/node count.
  • l=0,1,…,n−1l = 0, 1, \dots, n-1 (angular momentum quantum number) sets ∣L∣=ℏl(l+1)|\mathbf{L}| = \hbar\sqrt{l(l+1)} and the orbital's angular shape (s, p, d, f…).
  • m=−l,…,+lm = -l, \dots, +l (magnetic quantum number) sets Lz=mℏL_z = m\hbar, the projection of angular momentum on the zz-axis, and hence orbital orientation.
  • The nesting n>ln > l and ∣m∣≤l|m| \le l is not an extra postulate — it is forced by requiring the radial and angular wavefunctions to be normalizable and single-valued.
  • For each nn there are n2n^2 orbitals (before spin); this is exactly the shell capacity that underlies the periodic table's row lengths (with spin, 2n22n^2 electrons).
  • Key idea: nn, ll, mm are eigenvalues of three mutually commuting operators (H^\hat H, L^2\hat L^2, L^z\hat L_z), so a single hydrogen wavefunction can simultaneously have sharp values of all three.

Where this lives today

The n,ℓ,mn,\ell,m labeling scheme is the backbone of the periodic table itself: the aufbau filling order, the shell structure (K, L, M shells), and the shapes drawn for s, p, d, f orbitals in every general-chemistry course are direct readouts of these three numbers, extended qualitatively (with energy now also depending on ℓ\ell) to multi-electron atoms. In atomic and laser spectroscopy, selection rules for allowed transitions (Δℓ=±1\Delta\ell = \pm1, Δm=0,±1\Delta m = 0,\pm1) — themselves consequences of the angular momentum carried by an emitted photon — are written entirely in terms of these quantum numbers, and they govern which spectral lines appear in stellar spectra, flame tests, and atomic clocks. In magnetic resonance and Zeeman spectroscopy, an external magnetic field couples directly to mm (via the orbital magnetic moment μz=−mμB\mu_z = -m\mu_B), splitting formerly degenerate mm-states into resolvable energy levels — the physical basis of the normal Zeeman effect and a conceptual cousin of NMR's nuclear spin splitting. In materials science and quantum-dot engineering, envelope-function models for electrons confined in nanostructures borrow the same n,ℓ,mn,\ell,m-style labeling for the discrete energy levels of a particle in a spherically or cylindrically symmetric confining potential. In Rydberg-atom physics — used in quantum sensing, precision spectroscopy, and quantum-information experiments — atoms are deliberately excited to very high nn (tens to hundreds), where the n2n^2 degeneracy counting and the large orbital radii (∝n2a0\propto n^2 a_0) directly control experimentally exploited properties like giant dipole moments and long radiative lifetimes.

Ask the tutor: How do the quantum numbers n and ℓ combine to determine the actual orbital energy ordering in a real multi-electron atom, like why does 4s fill before 3d?

The physical picture

An electron bound to a proton is described by a wavefunction ψ(r,θ,ϕ)\psi(r,\theta,\phi) that solves the three-dimensional Schrödinger Equation for the Hydrogen Atom with the Coulomb potential V(r)=−e2/4πε0rV(r) = -e^2/4\pi\varepsilon_0 r. Because VV depends only on rr, the Hamiltonian is separable in spherical coordinates, and the full wavefunction factors as

ψnℓm(r,θ,ϕ)=Rnℓ(r) Yℓm(θ,ϕ)\psi_{n\ell m}(r,\theta,\phi) = R_{n\ell}(r)\, Y_\ell^m(\theta,\phi)

This factorization is the entire reason three quantum numbers exist rather than one. The radial function Rnℓ(r)R_{n\ell}(r) is the object built and solved in the Radial Equation and Radial Wavefunctions treatment; the angular function Yℓm(θ,ϕ)Y_\ell^m(\theta,\phi) — the spherical harmonic — is built in the Angular Wavefunctions and Spherical Harmonics treatment. Each factor comes with its own integer label, and a third integer, nn, emerges when the radial equation is solved subject to the boundary condition that Rnℓ(r)→0R_{n\ell}(r) \to 0 as r→∞r\to\infty (a bound, normalizable state). Physically, nn answers "how much total energy, and how large is the orbital?" The energy of a hydrogenic orbital depends only on nn:

En=−Z2e4me8ε02h2n2=−13.6 eV⋅Z2n2E_n = -\frac{Z^2 e^4 m_e}{8\varepsilon_0^2 h^2 n^2} = -\frac{13.6\ \text{eV}\cdot Z^2}{n^2}

Larger nn means a higher (less negative) energy and, roughly, a larger average radius ⟨r⟩\langle r \rangle, because the electron sits farther from the nucleus on average when it is less tightly bound. The number of radial nodes (spheres where Rnℓ(r)=0R_{n\ell}(r) = 0) is exactly n−ℓ−1n - \ell - 1, so nn also directly counts a physical, drawable feature of the orbital. The number ℓ\ell answers "how much orbital angular momentum, and what overall shape?" It is the eigenvalue label of the total angular momentum operator L^2\hat L^2:

L^2 Yℓm=ℏ2 ℓ(ℓ+1) Yℓm\hat L^2\, Y_\ell^m = \hbar^2\,\ell(\ell+1)\, Y_\ell^m

An ss orbital (ℓ=0\ell=0) carries zero angular momentum and is spherically symmetric — no angular nodes at all. A pp orbital (ℓ=1\ell=1) has one angular (planar) node and its characteristic two-lobed dumbbell shape. A dd orbital (ℓ=2\ell=2) has two angular nodes and the four-lobed cloverleaf (or lobed-with-donut) shapes. In general ℓ\ell counts angular nodes, exactly as n−ℓ−1n-\ell-1 counts radial nodes — together they give the total node count n−1n-1, a clean, memorable rule. The number mm answers "which way does the angular momentum vector point?" It is the eigenvalue label of L^z\hat L_z, the projection of orbital angular momentum onto a chosen quantization axis (conventionally zz, set by an external field or just by convention in a field-free atom):

L^z Yℓm=mℏ Yℓm\hat L_z\, Y_\ell^m = m\hbar\, Y_\ell^m

Because L^z\hat L_z cannot exceed ∣L^∣|\hat L|, mm is bounded by ℓ\ell: it takes the 2ℓ+12\ell+1 values −ℓ,−ℓ+1,…,ℓ-\ell, -\ell+1, \dots, \ell. Physically, mm distinguishes orbitals of identical shape and size but different spatial orientation — the reason there are three pp orbitals rather than one, and five dd orbitals rather than one.

Figure
The nested allowed-value structure of n, l, m
Allowed (n, l, m) combinations n = 1 l = 0 m = 0 → 1 orbital: 1s n = 2 l = 0 m = 0 l = 1 m = −1, 0, +1 → 2s + three 2p = 4 orbitals n = 3 l = 0 m = 0 l = 1 m = −1, 0, +1 l = 2 m = −2, −1, 0, +1, +2 → 9 orbitals (1 + 3 + 5 = 3²) General rule: n ∈ {1,2,3,…} 0 ≤ l ≤ n−1 −l ≤ m ≤ +l → n² orbitals per shell
Figure
Node counting: n, l, and shape
Nodes decompose as (n − l − 1) radial + l angular 2s: n=2, l=0 1 radial node, 0 angular 2p: n=2, l=1 0 radial node, 1 angular (planar) 3d: n=3, l=2 0 radial node, 2 angular (planes)

The core ideas

The full state is labeled by the simultaneous eigenvalues of three commuting operators — the Hamiltonian, total angular momentum squared, and the zz-projection of angular momentum:

H^ ψnℓm=En ψnℓm,L^2 ψnℓm=ℏ2ℓ(ℓ+1) ψnℓm,L^z ψnℓm=mℏ ψnℓm\hat H\, \psi_{n\ell m} = E_n\, \psi_{n\ell m}, \qquad \hat L^2\, \psi_{n\ell m} = \hbar^2 \ell(\ell+1)\, \psi_{n\ell m}, \qquad \hat L_z\, \psi_{n\ell m} = m\hbar\, \psi_{n\ell m}

where:

  • H^\hat H is the hydrogenic Hamiltonian, −ℏ22me∇2−Ze24πε0r-\dfrac{\hbar^2}{2m_e}\nabla^2 - \dfrac{Ze^2}{4\pi\varepsilon_0 r};
  • n=1,2,3,…n = 1, 2, 3, \dots is the principal quantum number;
  • ℓ=0,1,…,n−1\ell = 0, 1, \dots, n-1 is the angular momentum quantum number;
  • m=−ℓ,−ℓ+1,…,+ℓm = -\ell, -\ell+1, \dots, +\ell is the magnetic quantum number.

Reading: because [H^,L^2]=0[\hat H, \hat L^2] = 0 and [L^2,L^z]=0[\hat L^2, \hat L_z] = 0 and [H^,L^z]=0[\hat H, \hat L_z]=0, these three operators share a complete set of simultaneous eigenfunctions — that is exactly why one wavefunction ψnℓm\psi_{n\ell m} can be labeled by all three quantum numbers at once, with no uncertainty-principle conflict between them. The energy formula, restated with the constants grouped as the Rydberg energy, is:

En=−Z2n2 Ry,Ry=13.6 eVE_n = -\frac{Z^2}{n^2}\,\text{Ry}, \qquad \text{Ry} = 13.6\ \text{eV}

where:

  • ZZ is the nuclear charge (1 for hydrogen, 2 for He+^+, etc.);
  • nn is the principal quantum number — the only quantum number that enters the energy for a one-electron atom.

Reading: every orbital sharing the same nn (regardless of ℓ\ell or mm) is exactly degenerate in a pure Coulomb field; this "accidental" degeneracy in ℓ\ell is special to 1/r1/r potentials and is lifted in real many-electron atoms, foreshadowing Hydrogen Atom Energy Levels and Degeneracy. The orbital angular momentum magnitude and its zz-projection are:

∣L∣=ℏℓ(ℓ+1),Lz=mℏ|\mathbf{L}| = \hbar\sqrt{\ell(\ell+1)}, \qquad L_z = m\hbar

where:

  • ∣L∣|\mathbf L| is the total angular momentum length, always strictly greater than ∣Lz∣max⁡=ℓℏ|L_z|_{\max} = \ell\hbar for ℓ>0\ell > 0;
  • mℏm\hbar is one of 2ℓ+12\ell+1 discrete, evenly spaced projections.

Reading: ∣L∣>ℓℏ|\mathbf L| > \ell\hbar whenever ℓ>0\ell>0 because the xx- and yy-components of angular momentum can never simultaneously vanish along with a sharp LzL_z — this is the vector-model geometric statement of the uncertainty relation between Lx,Ly,LzL_x, L_y, L_z, and it is why orbital angular momentum "cones" rather than "points" along zz. Finally, the orbital degeneracy count per shell, which is the single most useful practical number:

gn=∑ℓ=0n−1(2ℓ+1)=n2g_n = \sum_{\ell=0}^{n-1} (2\ell+1) = n^2

where:

  • gng_n is the number of distinct spatial orbitals with principal quantum number nn (before doubling for spin).

Reading: this sum of an arithmetic series collapses to a clean perfect square, and doubling for the two spin states gives 2n22n^2 electrons per shell — 2, 8, 18, 32 — the electron counts that literally set the row lengths of the periodic table.

Derivation AWhy n must be a positive integer

Goal. Show that requiring the radial wavefunction to be normalizable (a bound, physically realizable state) forces the energy to be quantized by a positive integer nn, rather than nn being introduced by assumption.

Step 1 — set up the radial equation. After separating variables, the radial function R(r)R(r) obeys (with u(r)=rR(r)u(r) = rR(r)):

−ℏ22med2udr2+[−Ze24πε0r+ℏ2ℓ(ℓ+1)2mer2]u=Eu-\frac{\hbar^2}{2m_e}\frac{d^2u}{dr^2} + \left[-\frac{Ze^2}{4\pi\varepsilon_0 r} + \frac{\hbar^2 \ell(\ell+1)}{2m_e r^2}\right]u = Eu

This is exactly the equation solved in the Radial Equation and Radial Wavefunctions treatment; the centrifugal term ℏ2ℓ(ℓ+1)/2mer2\hbar^2\ell(\ell+1)/2m_er^2 enters as an effective potential barrier coming from the separated angular part.

Step 2 — examine the large-rr behavior. For a bound state, E<0E<0; write E=−ℏ2κ2/2meE = -\hbar^2\kappa^2/2m_e with κ>0\kappa>0. As r→∞r\to\infty the Coulomb and centrifugal terms become negligible, leaving u′′≈κ2uu'' \approx \kappa^2 u, so u(r)→e−κru(r) \to e^{-\kappa r} (rejecting the growing exponential, which is not normalizable).

Step 3 — substitute a series solution. Writing u(r)=e−κr rℓ+1∑kckrku(r) = e^{-\kappa r}\, r^{\ell+1} \sum_k c_k r^k and inserting into the full equation generates a recursion relation between successive coefficients ckc_k. Direct substitution shows the recursion has the form

ck+1=2κ(k+ℓ+1)−2meZe2/4πε0ℏ2(k+1)(k+2ℓ+2) ckc_{k+1} = \frac{2\kappa(k+\ell+1) - 2m_eZe^2/4\pi\varepsilon_0\hbar^2}{(k+1)(k+2\ell+2)}\, c_k

Step 4 — demand termination of the series. If the series does not terminate, the ratio ck+1/ck→2κ/kc_{k+1}/c_k \to 2\kappa/k for large kk, which is exactly the ratio that reconstructs e+2κre^{+2\kappa r} — an unnormalizable, divergent wavefunction. Physical acceptability therefore requires the series to terminate after a finite number of terms, at some k=kmax⁡k = k_{\max}, meaning the numerator must vanish there:

κ(kmax⁡+ℓ+1)=meZe24πε0ℏ2\kappa(k_{\max}+\ell+1) = \frac{m_eZe^2}{4\pi\varepsilon_0\hbar^2}

Step 5 — identify the principal quantum number. Define n≡kmax⁡+ℓ+1n \equiv k_{\max}+\ell+1. Since kmax⁡=0,1,2,…k_{\max} = 0,1,2,\dots and ℓ≥0\ell \ge 0, this forces nn to be a positive integer with n≥ℓ+1n \ge \ell+1, i.e. ℓ≤n−1\ell \le n-1. Solving for κ\kappa and substituting back into E=−ℏ2κ2/2meE=-\hbar^2\kappa^2/2m_e reproduces

En=−Z2e4me8ε02h2n2E_n = -\frac{Z^2 e^4 m_e}{8\varepsilon_0^2 h^2 n^2}

Conclusion. The integer nn is not an assumption bolted onto the theory — it is forced into existence by demanding the wavefunction decay at infinity instead of blowing up, and the same derivation simultaneously proves ℓ≤n−1\ell \le n-1, tying the two quantum numbers together from first principles.

Go deeper · Derivation B · 1 minWhy m is bounded by ℓ
Derivation BWhy m is bounded by ℓ

Goal. Show that the eigenvalue mm of L^z\hat L_z cannot exceed ℓ\ell in magnitude, using only the angular momentum commutation algebra (the same algebra developed for spherical harmonics in Angular Wavefunctions and Spherical Harmonics).

Step 1 — write the operator identity. Angular momentum components obey [L^x,L^y]=iℏL^z[\hat L_x,\hat L_y]=i\hbar\hat L_z (cyclic), and L^2=L^x2+L^y2+L^z2\hat L^2 = \hat L_x^2+\hat L_y^2+\hat L_z^2. Because L^x2\hat L_x^2 and L^y2\hat L_y^2 are each squares of Hermitian operators, their expectation values in any state are non-negative:

⟨L^x2⟩≥0,⟨L^y2⟩≥0\langle \hat L_x^2 \rangle \ge 0, \qquad \langle \hat L_y^2 \rangle \ge 0

Step 2 — isolate LzL_z's eigenvalue. For a simultaneous eigenstate ∣ℓ,m⟩|\ell,m\rangle of L^2\hat L^2 and L^z\hat L_z,

ℏ2ℓ(ℓ+1)=⟨L^x2⟩+⟨L^y2⟩+m2ℏ2\hbar^2\ell(\ell+1) = \langle \hat L_x^2\rangle + \langle \hat L_y^2\rangle + m^2\hbar^2

Since the first two terms on the right are each ≥0\ge 0,

ℏ2ℓ(ℓ+1)≥m2ℏ2⟹m2≤ℓ(ℓ+1)\hbar^2\ell(\ell+1) \ge m^2\hbar^2 \quad\Longrightarrow\quad m^2 \le \ell(\ell+1)

Step 3 — apply raising/lowering operators. Define L^±=L^x±iL^y\hat L_\pm = \hat L_x \pm i\hat L_y. Acting on ∣ℓ,m⟩|\ell,m\rangle, these raise or lower mm by exactly one unit: L^±∣ℓ,m⟩∝∣ℓ,m±1⟩\hat L_\pm |\ell,m\rangle \propto |\ell, m\pm1\rangle, with norm-squared coefficient

∥L^+∣ℓ,m⟩∥2=ℏ2[ℓ(ℓ+1)−m(m+1)]\big\| \hat L_+|\ell,m\rangle \big\|^2 = \hbar^2\big[\ell(\ell+1) - m(m+1)\big]

Step 4 — demand non-negative norm. A norm-squared can never be negative, so ℓ(ℓ+1)−m(m+1)≥0\ell(\ell+1) - m(m+1) \ge 0 for every mm reached by repeated raising. The ladder must terminate — there must exist a maximum value mmax⁡m_{\max} for which L^+∣ℓ,mmax⁡⟩=0\hat L_+|\ell,m_{\max}\rangle = 0 exactly, which forces

ℓ(ℓ+1)−mmax⁡(mmax⁡+1)=0⟹mmax⁡=ℓ\ell(\ell+1) - m_{\max}(m_{\max}+1) = 0 \quad\Longrightarrow\quad m_{\max} = \ell

By the mirror argument on L^−\hat L_-, the ladder must also terminate at mmin⁡=−ℓm_{\min} = -\ell.

Step 5 — count the states. Since L^±\hat L_\pm shifts mm by exactly integer steps of one, and the ladder runs from −ℓ-\ell to +ℓ+\ell, there are exactly 2ℓ+12\ell+1 allowed values of mm for each ℓ\ell: m=−ℓ,−ℓ+1,…,ℓ−1,ℓm = -\ell,-\ell+1,\dots,\ell-1,\ell.

Conclusion. The bound ∣m∣≤ℓ|m|\le\ell and the integer spacing of mm both follow purely from requiring physically sensible (non-negative-norm) quantum states under the ladder operators — no reference to a specific potential is needed, which is why this same 2ℓ+12\ell+1 counting rule applies to orbital angular momentum in any central-potential problem, not just hydrogen.

Worked examples

Example 1 — Foundational: enumerating the n=4n=4 shell. List every allowed (ℓ,m)(\ell, m) pair for n=4n=4 and count the total number of orbitals, then check against n2n^2. For n=4n=4, ℓ\ell runs from 00 to n−1=3n-1=3:

ℓ=0 ("4s"),ℓ=1 ("4p"),ℓ=2 ("4d"),ℓ=3 ("4f")\ell = 0\ (\text{"4s"}),\quad \ell=1\ (\text{"4p"}),\quad \ell=2\ (\text{"4d"}),\quad \ell=3\ (\text{"4f"})

For each ℓ\ell, mm takes 2ℓ+12\ell+1 values:

ℓ=0: m=0 (1 orbital)ℓ=1: m=−1,0,1 (3 orbitals)\ell=0:\ m=0 \ (1\ \text{orbital}) \qquad \ell=1:\ m=-1,0,1\ (3\ \text{orbitals})
ℓ=2: m=−2,−1,0,1,2 (5 orbitals)ℓ=3: m=−3,…,3 (7 orbitals)\ell=2:\ m=-2,-1,0,1,2\ (5\ \text{orbitals}) \qquad \ell=3:\ m=-3,\dots,3\ (7\ \text{orbitals})

Summing:

1+3+5+7=16=421+3+5+7 = 16 = 4^2

This matches gn=n2g_n = n^2 exactly, confirming the shell-counting formula. As a limiting-case check, for n=1n=1 the same sum gives just 1+0+0+⋯=1=121+0+0+\dots = 1 = 1^2 — a single 1s orbital, consistent with hydrogen's ground state having no ℓ>0\ell>0 options at all (since ℓ≤n−1=0\ell \le n-1 = 0).

Example 2 — Applied: identifying an orbital from spectroscopic node data. A photoelectron/STM-type experiment on a hydrogen-like ion reports an orbital with 2 angular nodes and 1 radial node. Identify nn, ℓ\ell, and the possible values of mm, and state the orbital's letter designation. The angular node count directly gives ℓ\ell, since angular nodes number exactly ℓ\ell:

ℓ=2(a "d"-type orbital)\ell = 2 \quad (\text{a "d"-type orbital})

The radial node count is n−ℓ−1n-\ell-1, so:

n−ℓ−1=1⟹n=ℓ+2=4n - \ell - 1 = 1 \quad\Longrightarrow\quad n = \ell+2 = 4

So this is a 4d4d orbital (n=4, ℓ=2n=4,\ \ell=2). The allowed mm values are those satisfying ∣m∣≤ℓ=2|m|\le\ell=2:

m=−2, −1, 0, +1, +2m = -2,\,-1,\,0,\,+1,\,+2

giving five possible 4d4d orbitals of the same energy in a hydrogenic ion, distinguishable experimentally only by orientation (or, in standard real combinations, by shape/orientation such as dxy,dxz,dyz,dx2−y2,dz2d_{xy}, d_{xz}, d_{yz}, d_{x^2-y^2}, d_{z^2}). As a limiting check: if instead 0 angular nodes had been reported, ℓ\ell would have to be 00 (an ss orbital), and then only a single m=0m=0 state would exist — consistent with the fact that no periodic table s-subshell ever splits into multiple orbitals.

Example 3 — Exam/competition level: total angular momentum magnitude and projection angle for a specific state. For an electron in a 5f5f orbital with m=−2m=-2, compute (a) the magnitude of the orbital angular momentum ∣L∣|\mathbf L| in units of ℏ\hbar, (b) the zz-projection LzL_z, and (c) the angle θ\theta between L\mathbf L and the zz-axis in the semiclassical vector model. Then verify the answer is consistent with the requirement ∣Lz∣≤∣L∣|L_z| \le |\mathbf L|. A "5f5f" orbital means n=5n=5 and ℓ=3\ell=3 (letter code s,p,d,fs,p,d,f for ℓ=0,1,2,3\ell=0,1,2,3). First check the given m=−2m=-2 is allowed: since ∣m∣≤ℓ=3|m|\le \ell=3, m=−2m=-2 is indeed allowed (it is one of −3,−2,−1,0,1,2,3-3,-2,-1,0,1,2,3). (a) The magnitude of orbital angular momentum uses only ℓ\ell, never nn or mm:

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

(b) The zz-projection uses only mm:

Lz=mℏ=−2ℏL_z = m\hbar = -2\hbar

(c) In the semiclassical vector-cone picture, cos⁡θ=Lz/∣L∣\cos\theta = L_z/|\mathbf L|:

cos⁡θ=−2ℏ23 ℏ=−13≈−0.5774\cos\theta = \frac{-2\hbar}{2\sqrt3\,\hbar} = \frac{-1}{\sqrt3} \approx -0.5774
θ=arccos⁡(−0.5774)≈125.3∘\theta = \arccos(-0.5774) \approx 125.3^\circ

Consistency check: ∣Lz∣=2ℏ≈2.000 ℏ|L_z| = 2\hbar \approx 2.000\,\hbar, while ∣L∣≈3.464 ℏ|\mathbf L| \approx 3.464\,\hbar; indeed ∣Lz∣<∣L∣|L_z| < |\mathbf L|, satisfying the bound proven in the second derivation, and the angle is neither 0∘0^\circ nor 180∘180^\circ — the angular momentum vector can never align exactly along zz for ℓ>0\ell>0, precisely because ∣L∣>ℓℏ|\mathbf L| > \ell\hbar strictly whenever ℓ>0\ell>0. As a limiting-case sanity check, if mm had equaled ℓ=3\ell=3 (the maximum allowed), cos⁡θ=3/12=3/2≈0.866\cos\theta = 3/\sqrt{12} = \sqrt{3}/2 \approx 0.866, giving θ≈30.0∘\theta\approx 30.0^\circ — small but never zero, again confirming the vector cannot fully align with the axis.

Limiting cases, scope & common traps

SituationWhat happens to n,ℓ,mn,\ell,mPhysical consequence
n=1n=1Only ℓ=0, m=0\ell=0,\ m=0 allowedGround state 1s is unique; no p,d,fp,d,f possible at all
ℓ=0\ell=0 (any nn)Only m=0m=0s subshells never split into multiple orbitals — spherically symmetric, zero angular momentum
ℓ=n−1\ell = n-1 (maximal)2ℓ+1=2n−12\ell+1 = 2n-1 values of mm, but zero radial nodes"Circular"/high-ℓ\ell orbitals (e.g. Rydberg states) look like classical circular orbits, all angular node, no radial node
Multi-electron atomsn,ℓ,mn,\ell,m still valid labelsDegeneracy in ℓ\ell is lifted — energy now depends on both nn and ℓ\ell due to shielding/penetration, foreshadowing Hydrogen Atom Energy Levels and Degeneracy
External magnetic fieldmm becomes experimentally distinguishableZeeman splitting resolves the 2ℓ+12\ell+1 degenerate mm states into separate energy levels
n→∞n \to \inftyEnergy En→0−E_n \to 0^-Electron becomes essentially unbound; continuum limit, ionization threshold

The chemist behind it

Origins · 1 minErwin Schrödinger and how this was discovered
ES
Erwin Schrödinger
1887–1961 · Zurich, 1926

Schrödinger's 1926 wave-mechanical treatment of the hydrogen atom is where nn, ℓ\ell, and mm first appear together as the natural outputs of separating a wave equation, rather than as postulated "allowed orbits" the way Bohr and Sommerfeld had needed to impose by hand. Where Bohr's 1913 model quantized angular momentum (L=nℏL = n\hbar) as an ad hoc rule to match spectral lines, Schrödinger showed that quantization is an automatic consequence of demanding normalizable solutions to a linear differential equation — the boundary-value problem forces the integers to appear, exactly as worked through above. This reframing, alongside the contemporaneous matrix-mechanics approach of Heisenberg, Born, and Jordan (shown by Schrödinger himself to be mathematically equivalent), replaced "quantized orbits" with "quantized labels on standing waves," which is the picture every modern orbital diagram still uses.

History
- 1885 — Balmer's empirical formula for hydrogen's visible spectral lines hints at an integer-indexed structure later identified with nn.
- 1913 — Bohr introduces quantized circular orbits labeled by a single integer, the historical ancestor of nn, matching the Balmer/Rydberg formula.
- 1916 — Sommerfeld generalizes Bohr's model to elliptical orbits, introducing a second (azimuthal) quantum number, an early ancestor of ℓ\ell, to explain fine spectral splitting.
- 1925 — Uhlenbeck and Goudsmit propose electron spin, adding the fourth quantum number msm_s that completes the modern set alongside n,ℓ,mn,\ell,m.
- 1926 — Schrödinger solves the hydrogen atom via wave mechanics, deriving n,ℓ,mn,\ell,m directly as separation constants rather than assumed quantities, the derivation reproduced above.
Why doesn't m affect the orbital's energy in hydrogen?

Because the hydrogenic Hamiltonian involves only rr (through the Coulomb potential) and the angular momentum operator L^2\hat L^2 (through the kinetic energy's angular part) — it contains no term singling out a particular spatial direction. Since mm only labels the orientation of the angular momentum vector relative to an arbitrarily chosen zz-axis, and the physical Hamiltonian has no preferred direction (it is rotationally symmetric), rotating the whole system cannot change the energy. This symmetry-based degeneracy is broken the instant a real direction is introduced physically, such as an external magnetic field (Zeeman effect) or an electric field (Stark effect), which is exactly why those effects are used experimentally to resolve the otherwise-hidden mm sublevels.

Why is there also no dependence on ℓ in hydrogen, only in multi-electron atoms?

In a strictly 1/r1/r Coulomb potential there is an extra "accidental" symmetry beyond ordinary rotational symmetry (associated with the Laplace–Runge–Lenz vector conserved in classical Kepler orbits), which causes states of different ℓ\ell but the same nn to be exactly degenerate. In a multi-electron atom, inner electrons partially shield the nuclear charge, and this shielding is felt differently depending on how much an orbital "penetrates" toward the nucleus — a property controlled by ℓ\ell at fixed nn (low-ℓ\ell orbitals penetrate more). That breaks the pure 1/r1/r symmetry, so energy becomes a genuine function of both nn and ℓ\ell, which is the origin of orbital energy orderings like 4s4s filling before 3d3d.

Is m the same as electron spin?

No — mm (sometimes written mℓm_\ell to avoid confusion) is the magnetic quantum number for orbital angular momentum, taking integer values from −ℓ-\ell to +ℓ+\ell. Electron spin has its own separate quantum number msm_s, which for an electron takes only two values, +12+\tfrac12 and −12-\tfrac12, because the electron's intrinsic spin quantum number is fixed at s=12s=\tfrac12. Both quantum numbers combine to give the total number of distinct electron states in an orbital — each spatial orbital labeled by (n,ℓ,m)(n,\ell,m) can hold two electrons, one with each msm_s, consistent with the Pauli exclusion principle.

Why are there 2ℓ+1 orbitals for each ℓ instead of some other number?

The count 2ℓ+12\ell+1 comes directly from the ladder-operator argument: raising or lowering operators L^±\hat L_\pm shift mm by exactly one unit each time, and the allowed range runs from −ℓ-\ell to +ℓ+\ell with no gaps, since the ladder can only terminate when the raising or lowering operator annihilates the state, which happens precisely at m=±ℓm=\pm\ell. Counting the integers from −ℓ-\ell to +ℓ+\ell inclusive gives exactly 2ℓ+12\ell+1 values. This is a completely general result for any angular momentum operator satisfying the standard commutation relations, not something special to hydrogen — the same counting applies to nuclear spin states, rigid-rotor states, and other quantized angular momenta.

How do n, ℓ, m relate to the familiar orbital names like 2p_x or 3d_z²?

The letter (s, p, d, f, …) encodes ℓ\ell directly (0, 1, 2, 3, …), and the number in front is nn. The subscript (xx, yy, zz, xyxy, z2z^2, etc.) encodes a particular real linear combination of the complex mm-eigenstates YℓmY_\ell^m, chosen because real combinations are more convenient for chemical bonding pictures. For example, 2px2p_x and 2py2p_y are real combinations of the complex m=+1m=+1 and m=−1m=-1 states at n=2,ℓ=1n=2,\ell=1, while 2pz2p_z is exactly the m=0m=0 state; the details of that recombination are the subject of Shapes of s, p, and d Orbitals and of the underlying Angular Wavefunctions and Spherical Harmonics.

Does the shell capacity formula 2n² still hold in real multi-electron atoms?

The counting formula gn=n2g_n=n^2 spatial orbitals (or 2n22n^2 electrons with spin) is exact for a single hydrogenic electron, and it still correctly counts the maximum capacity of a given principal shell in any atom, because the combinatorics of allowed (ℓ,m,ms)(\ell,m,m_s) values doesn't change. What changes in multi-electron atoms is only the energy ordering in which those orbitals get filled (due to shielding, as noted above), not how many orbitals exist per shell — which is why, for example, the third shell can still eventually hold 18 electrons (2×322\times3^2) even though its 3d3d subshell fills after 4s4s in the aufbau sequence.

Can n, ℓ, m be measured directly in an experiment?

Not usually all at once as "quantum numbers" per se, but their consequences are measured constantly: transition energies (from spectroscopy) reveal nn through the Rydberg formula; angular momentum magnitude and orientation are probed via magnetic-field splitting (Zeeman spectroscopy), which resolves mm; and ℓ\ell shows up in selection rules that dictate which spectral transitions are allowed at all, since an emitted photon carries away one unit of angular momentum, forcing Δℓ=±1\Delta\ell=\pm1. Scanning tunneling microscopy images of adsorbed atoms and molecular orbitals can also visually reveal the angular node patterns tied to ℓ\ell, giving a strikingly direct picture of the shapes these quantum numbers predict.

Before this

Where this leads