Spherical Harmonics as Angular Wavefunctions

Point an electron microscope at a hydrogen atom and you will never see a little planet orbiting a nucleus; you will see a fuzzy cloud shaped like a dumbbell, a donut, or a four-lobed clover. Those shapes are not arbitrary artistic choices — they are the direct, visualizable output of a single family of functions called the spherical harmonics, Ylm(θ,ϕ)Y_l^m(\theta,\phi). Every angular feature of every atomic orbital — the number of lobes, the presence of nodal cones and planes, the way a pzp_z orbital points along one axis while a dxyd_{xy} orbital points between two axes — is encoded in these functions, and nowhere else. The radial part of the wavefunction controls only how far the electron density extends from the nucleus; the angular part decides its entire geometric character, and that geometric character is what determines bonding directionality, hybridization, and spectroscopic selection rules. Spherical harmonics matter because they are the unique simultaneous eigenfunctions of the two commuting angular momentum operators L^2\hat{L}^2 and L^z\hat{L}_z, the operators whose eigenvalues you already associate with the quantum numbers ll and mm. Knowing the eigenvalues alone tells you how much angular momentum an electron carries and how it is projected along a chosen axis, but it does not tell you what the electron's probability cloud looks like in space. The spherical harmonics fill that gap: they are the actual functions of the two angles θ\theta (colatitude) and ϕ\phi (azimuth) that solve the eigenvalue equations, and their explicit forms are where quantum numbers become pictures. The big picture is this: separating the Schrödinger equation for any central-force problem (the hydrogen atom, a rigid rotor, a particle on a sphere) always factors the wavefunction into a radial function times an angular function, and that angular function is always a spherical harmonic, regardless of the potential's radial form. This universality is why the same pp, dd, ff orbital shapes recur throughout the periodic table, in ligand field theory, in NMR quadrupolar coupling, and in the theory of molecular rotation spectra — the angular mathematics is identical every time a particle moves under a spherically symmetric influence. This article builds the spherical harmonics from the eigenvalue problem, works through their explicit forms and nodal counting rules, connects them concretely to the familiar real orbital shapes (pxp_x, pyp_y, dz2d_{z^2}, and so on), and shows through fully worked examples exactly how to verify that a given function is an eigenfunction, count its nodes, and normalize it. It closes by pointing toward how these same functions govern orbital magnetic moments and space quantization.

Key takeaways
  • Ylm(θ,ϕ)Y_l^m(\theta,\phi) are simultaneous eigenfunctions of L^2\hat{L}^2 and L^z\hat{L}_z with eigenvalues ℏ2l(l+1)\hbar^2 l(l+1) and ℏm\hbar m.
  • They arise as the angular factor in any separable central-force Schrödinger equation, not just for hydrogen.
  • Each YlmY_l^m has exactly ll total nodal surfaces on the sphere: l−∣m∣l - |m| conical (latitude) nodes and ∣m∣|m| planar (longitude) nodes.
  • Real atomic orbitals (px,py,dxyp_x,p_y,d_{xy}, …) are specific real linear combinations of complex YlmY_l^m and Yl−mY_l^{-m}.
  • Orthonormality, ∫Ylm∗Yl′m′ dΩ=δll′δmm′\int Y_l^{m*} Y_{l'}^{m'}\, d\Omega = \delta_{ll'}\delta_{mm'}, underlies all angular selection rules in spectroscopy.
  • Key idea: the shape of every atomic orbital is nothing but a spherical harmonic — a standing wave on a sphere fixed entirely by the quantum numbers ll and mm.

Where this lives today

Spherical harmonics are not a historical curiosity confined to textbook hydrogen problems — they are the working angular basis of modern electronic structure theory, spectroscopy, and materials science. Every quantum chemistry software package (Gaussian, ORCA, Psi4, VASP) expands molecular orbitals in atom-centered basis functions whose angular part is literally a real spherical harmonic (or a Cartesian-Gaussian combination equivalent to one), so every geometry optimization and every computed IR or UV spectrum silently relies on the mathematics developed here. In ligand-field and crystal-field theory, the splitting of dd and ff orbital energies in an octahedral or tetrahedral environment is computed by evaluating how the electrostatic potential of surrounding ligands overlaps with each YlmY_l^m's nodal pattern — the reason dz2d_{z^2} and dx2−y2d_{x^2-y^2} (the ege_g set) point directly at octahedral ligands while dxy,dxz,dyzd_{xy}, d_{xz}, d_{yz} (the t2gt_{2g} set) point between them is entirely a statement about where each spherical harmonic's lobes lie relative to the coordinate axes. In NMR and NQR spectroscopy, the electric field gradient tensor that couples to nuclear quadrupole moments is expanded in second-rank spherical harmonics (l=2l=2), and selection rules for spin transitions follow directly from the orthogonality integral ∫Yl′m′∗Ylm dΩ\int Y_{l'}^{m'*}Y_l^m\,d\Omega. In astrophysics and geophysics, the same functions describe multipole expansions of the cosmic microwave background and of Earth's gravitational and magnetic fields — the mathematics is identical because the underlying equation (Laplace's equation on a sphere) is identical. Finally, in the design of single-molecule magnets and lanthanide qubits, chemists deliberately choose ligand geometries that reinforce the natural nodal pattern of a targeted m=0m=0 ff-orbital, directly exploiting the shape of Yl0Y_l^0 discussed above — a bridge that leads naturally into how these angular states respond to an external field, the subject of orbital magnetic moments and space quantization.

Ask the tutor: How do these same YlmY_l^m combine with an external magnetic field to produce the discrete orientations described by space quantization?

The physical picture — thorough prose

Imagine an electron confined only by a force that depends solely on distance from a center — no other direction is singled out. Because the potential energy has no angular dependence, the Hamiltonian commutes with the angular momentum operators, and the wavefunction can be chosen to factor as

ψ(r,θ,ϕ)=R(r) Ylm(θ,ϕ).\psi(r,\theta,\phi) = R(r)\, Y_l^m(\theta,\phi).

The radial factor R(r)R(r) depends on the specific potential (Coulomb, harmonic, square well), but the angular factor Ylm(θ,ϕ)Y_l^m(\theta,\phi) does not — it is completely determined by the requirement that it be a well-behaved (single-valued, finite, continuous) eigenfunction of L^2\hat{L}^2 and L^z\hat{L}_z on the surface of a sphere. This is why a 3pz3p_z orbital and a 2pz2p_z orbital have identical angular shape and differ only in how far the density extends radially and how many radial nodes it has. Think of Ylm(θ,ϕ)Y_l^m(\theta,\phi) as a standing wave painted on the surface of a sphere, exactly analogous to the standing waves on a vibrating drumhead. A drumhead vibrating in its fundamental mode has no nodes; higher overtones have circular and diametral nodal lines. On a sphere, the analogous nodal patterns are latitude circles (nodal cones, counted by l−∣m∣l - |m|) and longitude great-circles through the poles (nodal planes, counted by ∣m∣|m|). The total node count on the sphere is always ll, split between these two families according to mm. This nodal bookkeeping is the single most useful mnemonic for predicting or checking orbital shapes without consulting a table. The quantum number ll sets the magnitude of the orbital angular momentum, ∣L∣=ℏl(l+1)|\mathbf{L}| = \hbar\sqrt{l(l+1)}, and equivalently sets the total node count and overall "waviness" of the angular wavefunction. The quantum number mm sets the projection of the angular momentum onto a chosen zz-axis, Lz=mℏL_z = m\hbar, and equivalently sets how the wave is distributed between conical and planar nodes: large ∣m∣|m| pushes nodes into vertical planes through the axis (donut-like, "in-plane" density concentrated at the equator), while m=0m = 0 pushes all nodes into cones (density concentrated along the poles).

Figure
Nodal surfaces of Y₂⁰, Y₂¹, and Y₂² on the unit sphere — all three have l = 2, hence 2 total nodes, split differently between cones and planes
l=2, m=0 2 conical nodes, 0 planar (d_z² angular shape) l=2, m=±1 1 conical node, 1 planar (d_xz, d_yz angular shape) l=2, m=±2 0 conical nodes, 2 planar (d_xy, d_x²-y² angular shape)

The transition from complex YlmY_l^m to the familiar textbook orbital pictures happens because YlmY_l^m and Yl−mY_l^{-m} are degenerate (same L^2\hat{L}^2 and, absent a magnetic field, same energy), so any linear combination of them is an equally valid stationary-state angular function. Chemists take specific real combinations — cos⁡(mϕ)\cos(m\phi) and sin⁡(mϕ)\sin(m\phi) combinations — because real functions are easier to draw, hybridize, and use in building molecular orbitals. The price is that these real combinations are no longer eigenfunctions of L^z\hat{L}_z individually (only of L^2\hat{L}^2), which is exactly why "real pxp_x" orbitals do not carry a sharp, well-defined LzL_z the way Y1+1Y_1^{+1} does.

Figure
From complex Y₁^m to real p-orbitals: the same l=1 shell, recombined
Complex eigenfunctions of L̂² and L̂z (l=1) Y₁⁰ ∝ cosθ Y₁^{+1} ∝ −sinθ e^{iφ} Y₁^{−1} ∝ sinθ e^{−iφ} real combos Real angular functions (eigenfunctions of L̂² only) p_z = Y₁⁰ ∝ cosθ p_x = (Y₁^{-1} − Y₁^{+1})/√2 ∝ sinθ cosφ p_y = i(Y₁^{-1} + Y₁^{+1})/√2 ∝ sinθ sinφ p_z lobes (z axis) p_x lobes (x axis) p_y lobes (y axis)

The core ideas

The defining equations are the two simultaneous eigenvalue relations that spherical harmonics must satisfy:

L^2 Ylm(θ,ϕ)=ℏ2 l(l+1) Ylm(θ,ϕ),l=0,1,2,…\hat{L}^2\, Y_l^m(\theta,\phi) = \hbar^2\, l(l+1)\, Y_l^m(\theta,\phi), \qquad l = 0, 1, 2, \dots

where: L^2\hat{L}^2 is the total angular momentum squared operator (a second-order differential operator in θ,ϕ\theta,\phi only); ll is the azimuthal (angular momentum) quantum number; ℏ2l(l+1)\hbar^2 l(l+1) is the eigenvalue, giving orbital angular momentum magnitude ∣L∣=ℏl(l+1)|\mathbf L|=\hbar\sqrt{l(l+1)}.

L^z Ylm(θ,ϕ)=mℏ Ylm(θ,ϕ),m=−l,−l+1,…,l\hat{L}_z\, Y_l^m(\theta,\phi) = m\hbar\, Y_l^m(\theta,\phi), \qquad m = -l, -l+1, \dots, l

where: L^z=−iℏ ∂/∂ϕ\hat{L}_z = -i\hbar\,\partial/\partial\phi is the zz-projection operator; mm is the magnetic quantum number restricted to 2l+12l+1 integer values for a given ll; mℏm\hbar is the sharply defined projection of angular momentum on the chosen axis. The explicit closed form, separating the θ\theta- and ϕ\phi-dependence, is

Ylm(θ,ϕ)=Nlm Pl∣m∣(cos⁡θ) eimϕY_l^m(\theta,\phi) = N_{lm}\, P_l^{|m|}(\cos\theta)\, e^{im\phi}

where: Nlm=(−1)m2l+14π(l−∣m∣)!(l+∣m∣)!N_{lm} = (-1)^m\sqrt{\dfrac{2l+1}{4\pi}\dfrac{(l-|m|)!}{(l+|m|)!}} is the normalization constant (sign convention varies by textbook — this is the Condon–Shortley phase); Pl∣m∣(cos⁡θ)P_l^{|m|}(\cos\theta) is the associated Legendre function, a polynomial in cos⁡θ\cos\theta (times sin⁡∣m∣θ\sin^{|m|}\theta) that carries the θ\theta-dependence and all conical nodes; eimϕe^{im\phi} is the single-valued azimuthal factor carrying the planar nodes and the definite LzL_z eigenvalue. The orthonormality relation, essential for every selection-rule and matrix-element calculation, is

∫02π ⁣ ⁣∫0πYl′m′∗(θ,ϕ) Ylm(θ,ϕ) sin⁡θ dθ dϕ=δll′ δmm′\int_0^{2\pi}\!\!\int_0^{\pi} Y_{l'}^{m'*}(\theta,\phi)\, Y_l^{m}(\theta,\phi)\, \sin\theta\, d\theta\, d\phi = \delta_{ll'}\,\delta_{mm'}

where: sin⁡θ dθ dϕ\sin\theta\, d\theta\, d\phi is the solid-angle element dΩd\Omega on the unit sphere; δll′\delta_{ll'} and δmm′\delta_{mm'} are Kronecker deltas enforcing that different (l,m)(l,m) angular states are orthogonal — the geometric root of why, for example, an ss-orbital and a pp-orbital on the same atom have zero angular overlap. Finally the node-counting rule, which lets you read off orbital shape without evaluating any integral:

ncone=l−∣m∣,nplane=∣m∣,ncone+nplane=ln_{\text{cone}} = l - |m|, \qquad n_{\text{plane}} = |m|, \qquad n_{\text{cone}} + n_{\text{plane}} = l

where: nconen_{\text{cone}} counts the nodal cones (values of θ\theta where Pl∣m∣(cos⁡θ)=0P_l^{|m|}(\cos\theta)=0, excluding the poles themselves unless l=∣m∣l=|m|); nplanen_{\text{plane}} counts the nodal half-planes through the polar axis where cos⁡(mϕ)\cos(m\phi) or sin⁡(mϕ)\sin(m\phi) vanishes; the total is always ll, independent of how it is partitioned.

Derivation AConstructing Y₁⁰ and Y₁¹ from the eigenvalue equations directly

Goal. Starting only from the differential forms of L^2\hat{L}^2 and L^z\hat{L}_z in spherical coordinates, construct the explicit normalized l=1l=1 spherical harmonics and confirm their eigenvalues, without simply quoting a table.

Step 1 — write the operators. In spherical coordinates,

L^z=−iℏ ∂∂ϕ,L^2=−ℏ2[1sin⁡θ∂∂θ ⁣(sin⁡θ ∂∂θ)+1sin⁡2θ∂2∂ϕ2].\hat{L}_z = -i\hbar\,\frac{\partial}{\partial\phi}, \qquad \hat{L}^2 = -\hbar^2\left[\frac{1}{\sin\theta}\frac{\partial}{\partial\theta}\!\left(\sin\theta\,\frac{\partial}{\partial\theta}\right) + \frac{1}{\sin^2\theta}\frac{\partial^2}{\partial\phi^2}\right].

Because L^z\hat{L}_z acts only on ϕ\phi, any joint eigenfunction must have the form Θ(θ) Φ(ϕ)\Theta(\theta)\,\Phi(\phi) with Φ(ϕ)=eimϕ\Phi(\phi)=e^{im\phi}, and single-valuedness Φ(ϕ+2π)=Φ(ϕ)\Phi(\phi+2\pi)=\Phi(\phi) forces mm to be an integer.

Step 2 — try the m=0m=0, l=1l=1 case: Θ(θ)=cos⁡θ\Theta(\theta)=\cos\theta. Substitute Y=cos⁡θY = \cos\theta (no ϕ\phi-dependence, so the ∂2/∂ϕ2\partial^2/\partial\phi^2 term vanishes):

L^2cos⁡θ=−ℏ21sin⁡θddθ(sin⁡θ ddθcos⁡θ)=−ℏ21sin⁡θddθ(−sin⁡2θ).\hat{L}^2 \cos\theta = -\hbar^2 \frac{1}{\sin\theta}\frac{d}{d\theta}\left(\sin\theta\,\frac{d}{d\theta}\cos\theta\right) = -\hbar^2\frac{1}{\sin\theta}\frac{d}{d\theta}\left(-\sin^2\theta\right).

Differentiating, ddθ(−sin⁡2θ)=−2sin⁡θcos⁡θ\dfrac{d}{d\theta}(-\sin^2\theta) = -2\sin\theta\cos\theta, so

L^2cos⁡θ=−ℏ2 −2sin⁡θcos⁡θsin⁡θ=2ℏ2cos⁡θ.\hat{L}^2\cos\theta = -\hbar^2\,\frac{-2\sin\theta\cos\theta}{\sin\theta} = 2\hbar^2\cos\theta.

This matches ℏ2l(l+1)cos⁡θ\hbar^2 l(l+1)\cos\theta with l(l+1)=2l(l+1)=2, i.e. l=1l=1. Also L^zcos⁡θ=0=0⋅ℏcos⁡θ\hat{L}_z\cos\theta = 0 = 0\cdot\hbar\cos\theta, confirming m=0m=0. So cos⁡θ\cos\theta (up to normalization) is Y10Y_1^0.

Step 3 — normalize. Require ∫02π ⁣ ⁣∫0π∣Ncos⁡θ∣2sin⁡θ dθ dϕ=1\displaystyle\int_0^{2\pi}\!\!\int_0^\pi |N\cos\theta|^2 \sin\theta\,d\theta\,d\phi = 1. The ϕ\phi-integral gives 2π2\pi; the θ\theta-integral is ∫0πcos⁡2θsin⁡θ dθ=2/3\int_0^\pi \cos^2\theta\sin\theta\,d\theta = 2/3 (substitute u=cos⁡θu=\cos\theta, giving ∫−11u2du=2/3\int_{-1}^{1}u^2du=2/3). So N2(2π)(2/3)=1N^2(2\pi)(2/3)=1, giving N=3/4πN=\sqrt{3/4\pi}, hence

Y10(θ,ϕ)=34π cos⁡θ.Y_1^0(\theta,\phi) = \sqrt{\frac{3}{4\pi}}\,\cos\theta.

Step 4 — try m=+1m=+1: Θ(θ)=sin⁡θ\Theta(\theta)=\sin\theta, Φ(ϕ)=eiϕ\Phi(\phi)=e^{i\phi}. Substitute Y=sin⁡θ eiϕY=\sin\theta\, e^{i\phi}. The ϕ\phi-part contributes 1sin⁡2θ∂2∂ϕ2eiϕ=−1sin⁡2θeiϕ\dfrac{1}{\sin^2\theta}\dfrac{\partial^2}{\partial\phi^2}e^{i\phi} = -\dfrac{1}{\sin^2\theta}e^{i\phi}. The θ\theta-part:

1sin⁡θddθ(sin⁡θ ddθsin⁡θ)=1sin⁡θddθ(sin⁡θcos⁡θ)=1sin⁡θ(cos⁡2θ−sin⁡2θ).\frac{1}{\sin\theta}\frac{d}{d\theta}\left(\sin\theta\,\frac{d}{d\theta}\sin\theta\right) =\frac{1}{\sin\theta}\frac{d}{d\theta}(\sin\theta\cos\theta) =\frac{1}{\sin\theta}\left(\cos^2\theta-\sin^2\theta\right).

Combine: using cos⁡2θ−sin⁡2θ=1−2sin⁡2θ\cos^2\theta - \sin^2\theta = 1-2\sin^2\theta,

L^2(sin⁡θ eiϕ)=−ℏ2eiϕ[1−2sin⁡2θsin⁡θ−1sin⁡θ]=−ℏ2eiϕ[−2sin⁡2θsin⁡θ]=2ℏ2sin⁡θ eiϕ.\hat{L}^2(\sin\theta\,e^{i\phi}) = -\hbar^2 e^{i\phi}\left[\frac{1-2\sin^2\theta}{\sin\theta} - \frac{1}{\sin\theta}\right] = -\hbar^2 e^{i\phi}\left[\frac{-2\sin^2\theta}{\sin\theta}\right] = 2\hbar^2 \sin\theta\, e^{i\phi}.

Again l(l+1)=2⇒l=1l(l+1)=2 \Rightarrow l=1, confirming this is a genuine l=1l=1 partner. Applying L^z\hat{L}_z: L^z(sin⁡θ eiϕ)=−iℏ(i)sin⁡θ eiϕ=ℏsin⁡θ eiϕ\hat{L}_z (\sin\theta\,e^{i\phi}) = -i\hbar(i)\sin\theta\,e^{i\phi} = \hbar\sin\theta\,e^{i\phi}, so m=+1m=+1 as expected.

Step 5 — normalize with the Condon–Shortley sign. The conventional choice carries a leading minus sign for odd mm:

Y11(θ,ϕ)=−38π sin⁡θ eiϕ.Y_1^{1}(\theta,\phi) = -\sqrt{\frac{3}{8\pi}}\,\sin\theta\, e^{i\phi}.

The normalization constant 3/8π\sqrt{3/8\pi} follows the same integral procedure as Step 3 (the θ\theta-integral of sin⁡2θ⋅sin⁡θ\sin^2\theta\cdot\sin\theta over [0,π][0,\pi] equals 4/34/3, and 2π⋅N2⋅4/3=12\pi\cdot N^2\cdot 4/3=1 gives N2=3/(8π)N^2 = 3/(8\pi)). This completes the explicit construction of the l=1l=1 triplet directly from the operators, with no unexplained table lookup.

Go deeper · Derivation B · 2 minNode counting from the associated Legendre polynomial: why d_z² has two nodal cones
Derivation BNode counting from the associated Legendre polynomial: why d_z² has two nodal cones

Goal. Show, using only the polynomial structure of Pl∣m∣(cos⁡θ)P_l^{|m|}(\cos\theta) and eimϕe^{im\phi}, that the total node count on the sphere is exactly ll, split as l−∣m∣l-|m| cones and ∣m∣|m| planes — then apply it to confirm the two nodal cones of the dz2d_{z^2} orbital (l=2,m=0l=2,m=0).

Step 1 — the planar nodes come from the azimuthal factor. The real (chemist's) angular functions built from e±imϕe^{\pm im\phi} are proportional to cos⁡(mϕ)\cos(m\phi) or sin⁡(mϕ)\sin(m\phi). Over one full turn ϕ∈[0,2π)\phi\in[0,2\pi), the function cos⁡(mϕ)\cos(m\phi) has exactly 2m2m zeros, but each zero of cos⁡(mϕ)\cos(m\phi) at fixed ϕ\phi corresponds to an entire half-plane (a full meridian from pole to pole) where the wavefunction vanishes for all θ\theta. Counting only distinct full nodal planes (not half-planes, since a plane through the polar axis has two halves related by ϕ→ϕ+π\phi \to \phi+\pi), one finds exactly ∣m∣|m| nodal planes.

Step 2 — the conical nodes come from the associated Legendre factor. Pl∣m∣(cos⁡θ)P_l^{|m|}(\cos\theta), viewed as a function of x=cos⁡θx=\cos\theta on the open interval (−1,1)(-1,1), is (up to normalization) the ∣m∣|m|-th derivative of the degree-ll Legendre polynomial Pl(x)P_l(x) times (1−x2)∣m∣/2(1-x^2)^{|m|/2}:

Pl∣m∣(x)=(−1)∣m∣(1−x2)∣m∣/2d∣m∣dx∣m∣Pl(x).P_l^{|m|}(x) = (-1)^{|m|}(1-x^2)^{|m|/2}\frac{d^{|m|}}{dx^{|m|}}P_l(x).

The polynomial Pl(x)P_l(x) has degree ll and exactly ll real roots in (−1,1)(-1,1) (a standard property of Legendre polynomials, following from their orthogonality on [−1,1][-1,1]). Differentiating ∣m∣|m| times reduces the degree by ∣m∣|m| and, by Rolle's theorem applied repeatedly between consecutive roots, reduces the root count by exactly ∣m∣|m| as well: each derivative removes one root while never destroying more than one. So d∣m∣Pl/dx∣m∣d^{|m|}P_l/dx^{|m|} has exactly l−∣m∣l-|m| roots in (−1,1)(-1,1), each corresponding to one value of θ\theta, hence one nodal cone.

Step 3 — total node count. Adding the two families,

ncone+nplane=(l−∣m∣)+∣m∣=l,n_{\text{cone}} + n_{\text{plane}} = (l - |m|) + |m| = l,

independent of mm. This confirms the node-counting rule stated above directly from the polynomial degree argument rather than by inspection of tabulated functions.

Step 4 — apply to dz2d_{z^2} (l=2,m=0l=2, m=0). Here P20(x)=P2(x)=12(3x2−1)P_2^0(x) = P_2(x) = \tfrac12(3x^2-1). Setting P2(cos⁡θ)=0P_2(\cos\theta)=0 gives cos⁡2θ=1/3\cos^2\theta = 1/3, i.e. cos⁡θ=±1/3\cos\theta = \pm 1/\sqrt3, so

θ=arccos⁡(1/3)≈54.7∘andθ=arccos⁡(−1/3)≈125.3∘.\theta = \arccos(1/\sqrt3) \approx 54.7^\circ \quad\text{and}\quad \theta = \arccos(-1/\sqrt3)\approx 125.3^\circ.

These are exactly two distinct latitude circles (two nodal cones, symmetric about the equator), matching ncone=l−∣m∣=2−0=2n_{\text{cone}}=l-|m|=2-0=2 and nplane=∣m∣=0n_{\text{plane}}=|m|=0 — precisely the two cones bracketing the familiar "donut plus two lobes" dz2d_{z^2} shape, with no nodal planes through the zz-axis, consistent with the fact that dz2d_{z^2} has full rotational symmetry about zz.

Worked examples

Example 1 (foundational): verify that Y21Y_2^{1} is a joint eigenfunction and read off its eigenvalues. The tabulated (Condon–Shortley) form is

Y21(θ,ϕ)=−158π sin⁡θcos⁡θ eiϕ.Y_2^{1}(\theta,\phi) = -\sqrt{\frac{15}{8\pi}}\,\sin\theta\cos\theta\, e^{i\phi}.

Apply L^z=−iℏ ∂/∂ϕ\hat{L}_z = -i\hbar\,\partial/\partial\phi first, since it is the simpler operator:

L^zY21=−iℏ⋅(i)(−158πsin⁡θcos⁡θ eiϕ)=ℏ(−158πsin⁡θcos⁡θ eiϕ)=ℏ Y21,\hat{L}_z Y_2^1 = -i\hbar \cdot (i)\left(-\sqrt{\tfrac{15}{8\pi}}\sin\theta\cos\theta\,e^{i\phi}\right) = \hbar\left(-\sqrt{\tfrac{15}{8\pi}}\sin\theta\cos\theta\,e^{i\phi}\right) = \hbar\, Y_2^1,

confirming m=+1m=+1, i.e. Lz=1ℏL_z = 1\hbar, a sharp, definite value (not an average). Now apply L^2\hat L^2. Write f(θ)=sin⁡θcos⁡θf(\theta) = \sin\theta\cos\theta so Y21∝f(θ)eiϕY_2^1 \propto f(\theta) e^{i\phi}. Using

L^2=−ℏ2[1sin⁡θddθ(sin⁡θddθ)−1sin⁡2θ](for m=1),\hat L^2 = -\hbar^2\left[\frac{1}{\sin\theta}\frac{d}{d\theta}\Big(\sin\theta\frac{d}{d\theta}\Big) - \frac{1}{\sin^2\theta}\right]\quad(\text{for }m=1),

compute sin⁡θ df/dθ=sin⁡θ(cos⁡2θ−sin⁡2θ)\sin\theta\, df/d\theta = \sin\theta(\cos^2\theta - \sin^2\theta). Differentiate again:

ddθ[sin⁡θ(cos⁡2θ−sin⁡2θ)]=cos⁡θ(cos⁡2θ−sin⁡2θ)+sin⁡θ(−2sin⁡θcos⁡θ−2sin⁡θcos⁡θ).\frac{d}{d\theta}\left[\sin\theta(\cos^2\theta-\sin^2\theta)\right] = \cos\theta(\cos^2\theta-\sin^2\theta) + \sin\theta(-2\sin\theta\cos\theta-2\sin\theta\cos\theta).

Simplify: cos⁡θ(cos⁡2θ−sin⁡2θ)−4sin⁡2θcos⁡θ=cos⁡θ[cos⁡2θ−sin⁡2θ−4sin⁡2θ]=cos⁡θ[cos⁡2θ−5sin⁡2θ]\cos\theta(\cos^2\theta - \sin^2\theta) - 4\sin^2\theta\cos\theta = \cos\theta\left[\cos^2\theta - \sin^2\theta - 4\sin^2\theta\right] = \cos\theta\left[\cos^2\theta - 5\sin^2\theta\right]. Divide by sin⁡θ\sin\theta and subtract f/sin⁡2θ=cos⁡θ/sin⁡θf/\sin^2\theta = \cos\theta/\sin\theta:

cos⁡θ(cos⁡2θ−5sin⁡2θ)sin⁡θ−cos⁡θsin⁡θ=cos⁡θsin⁡θ[cos⁡2θ−5sin⁡2θ−1].\frac{\cos\theta(\cos^2\theta-5\sin^2\theta)}{\sin\theta} - \frac{\cos\theta}{\sin\theta} = \frac{\cos\theta}{\sin\theta}\left[\cos^2\theta - 5\sin^2\theta - 1\right].

Using cos⁡2θ=1−sin⁡2θ\cos^2\theta = 1-\sin^2\theta: cos⁡2θ−5sin⁡2θ−1=−6sin⁡2θ\cos^2\theta - 5\sin^2\theta - 1 = -6\sin^2\theta. So the bracket becomes cos⁡θ(−6sin⁡2θ)/sin⁡θ=−6sin⁡θcos⁡θ=−6f(θ)\cos\theta(-6\sin^2\theta)/\sin\theta = -6\sin\theta\cos\theta = -6f(\theta). Therefore L^2Y21=−ℏ2(−6)Y21=6ℏ2Y21=ℏ2⋅2(2+1) Y21\hat L^2 Y_2^1 = -\hbar^2(-6)Y_2^1 = 6\hbar^2 Y_2^1 = \hbar^2\cdot 2(2+1)\, Y_2^1, confirming l=2l=2 exactly as labeled. This orbital's angular momentum magnitude is ∣L∣=ℏ6≈2.449 ℏ|\mathbf L| = \hbar\sqrt{6} \approx 2.449\,\hbar, and Lz=ℏL_z=\hbar is its sharp projection — note ∣L∣>∣Lz∣|\mathbf L| > |L_z| always (here 6ℏ\sqrt6 \hbar vs 1ℏ1\hbar), reflecting that LzL_z can never equal ∣L∣|\mathbf L| except in the classical limit.

Example 2 (applied): use nodal counting to identify the angular function responsible for a lanthanide ff-orbital lobe pattern used in single-molecule magnet design. A common fz3f_{z^3}-type orbital (the l=3,m=0l=3, m=0 combination, real by construction since m=0m=0) appears in the electronic structure of Dy3+\mathrm{Dy}^{3+}-based single-molecule magnets, where the shape of the 4f4f electron density controls the magnetic anisotropy axis. Predict its nodal cone count without consulting a table. For l=3,m=0l=3, m=0: ncone=l−∣m∣=3−0=3n_{\text{cone}} = l - |m| = 3-0 = 3, and nplane=0n_{\text{plane}}=0. So the angular wavefunction must vanish along three distinct latitude circles and possess no vertical nodal planes — meaning it is axially symmetric about zz (like dz2d_{z^2}, but with one more cone). Check against the explicit polynomial P30(cos⁡θ)=12(5cos⁡3θ−3cos⁡θ)P_3^0(\cos\theta) = \tfrac12(5\cos^3\theta - 3\cos\theta). Setting x=cos⁡θx=\cos\theta:

12x(5x2−3)=0⇒x=0  or  x2=3/5.\tfrac12 x(5x^2-3) = 0 \quad\Rightarrow\quad x = 0 \ \text{ or } \ x^2 = 3/5.

So cos⁡θ=0\cos\theta = 0 (equator, θ=90∘\theta=90^\circ), and cos⁡θ=±3/5=±0.7746\cos\theta = \pm\sqrt{3/5} = \pm 0.7746, giving θ≈39.2∘\theta \approx 39.2^\circ and θ≈140.8∘\theta \approx 140.8^\circ. That is three nodal cones exactly as predicted — one at the equator and a symmetric pair above and below it — separating four polar/equatorial density lobes along the zz-axis. This axial lobe structure, predicted purely from the node-counting rule, is precisely why m=0m=0, "stretched" ff and dd orbitals are the ones ligand-field engineers select (via oblate/prolate ligand geometry) to enhance the axial magnetic anisotropy in molecular magnets: an m=0m=0 orbital's charge density lies preferentially along one axis, reinforcing rather than fighting the desired easy-axis of magnetization.

Example 3 (exam/competition level): compute the expectation value ⟨Lz⟩\langle L_z \rangle and the angular probability at a specific off-axis point for the real pxp_x orbital, and show it is not an L^z\hat L_z eigenfunction. The real pxp_x angular function is Ypx(θ,ϕ)=3/4π sin⁡θcos⁡ϕY_{p_x}(\theta,\phi) = \sqrt{3/4\pi}\,\sin\theta\cos\phi (normalized). Two tasks: (a) show pxp_x is not an eigenfunction of L^z\hat L_z, and (b) compute ⟨Lz⟩\langle L_z\rangle and the probability density at the specific off-special angle θ=50∘\theta = 50^\circ, ϕ=35∘\phi = 35^\circ. (a) Write cos⁡ϕ=12(eiϕ+e−iϕ)\cos\phi = \tfrac12(e^{i\phi}+e^{-i\phi}), so px∝sin⁡θ eiϕ+sin⁡θ e−iϕp_x \propto \sin\theta\,e^{i\phi} + \sin\theta\,e^{-i\phi}, i.e. pxp_x is an equal-weight superposition of the m=+1m=+1 and m=−1m=-1 eigenfunctions. Applying L^z\hat L_z term by term gives +ℏ+\hbar on the first piece and −ℏ-\hbar on the second — two different eigenvalues from the two pieces, so the sum cannot be an eigenfunction of L^z\hat L_z (an eigenfunction must return the same multiple of itself). (b) Because px=12(Y1−1−Y11)p_x = \dfrac{1}{\sqrt2}\left(Y_1^{-1} - Y_1^{1}\right) (using the standard normalized combination), and Y1−1,Y11Y_1^{-1}, Y_1^{1} are orthonormal with L^z\hat L_z eigenvalues −ℏ,+ℏ-\hbar,+\hbar respectively,

⟨Lz⟩=12(−ℏ)+12(+ℏ)=0.\langle L_z \rangle = \tfrac12(-\hbar) + \tfrac12(+\hbar) = 0.

So the average zz-projection is zero (by the xx–zz symmetry of the pxp_x lobe pattern), even though no single measurement of LzL_z on a pxp_x electron would ever return 00 — every individual measurement collapses the state to either +ℏ+\hbar or −ℏ-\hbar, each with probability 1/21/2, and the average of many such measurements is zero. This is a sharp illustration that ⟨Lz⟩=0\langle L_z\rangle = 0 does not mean Lz=0L_z=0 is ever observed. Now evaluate the probability density at θ=50∘\theta=50^\circ, ϕ=35∘\phi=35^\circ. Compute sin⁡(50∘)=0.7660\sin(50^\circ) = 0.7660 and cos⁡(35∘)=0.8192\cos(35^\circ) = 0.8192. Then

Ypx(50∘,35∘)=34π (0.7660)(0.8192)=(0.4886)(0.6275)=0.3066.Y_{p_x}(50^\circ, 35^\circ) = \sqrt{\frac{3}{4\pi}}\,(0.7660)(0.8192) = (0.4886)(0.6275) = 0.3066.

The angular probability density is ∣Ypx∣2=(0.3066)2=0.09400|Y_{p_x}|^2 = (0.3066)^2 = 0.09400, and the probability of finding the electron in a small solid angle dΩ=sin⁡θ dθ dϕd\Omega = \sin\theta\, d\theta\, d\phi around this direction (say dθ=dϕ=0.01d\theta=d\phi=0.01 rad) is

∣Ypx∣2sin⁡θ dθ dϕ=(0.09400)(0.7660)(0.01)(0.01)=7.20×10−6.|Y_{p_x}|^2 \sin\theta\, d\theta\, d\phi = (0.09400)(0.7660)(0.01)(0.01) = 7.20\times10^{-6}.

As a limiting-case check: at θ=90∘,ϕ=0∘\theta=90^\circ,\phi=0^\circ (along the +x+x axis, the lobe maximum), Ypx=3/4π (1)(1)=0.4886Y_{p_x}=\sqrt{3/4\pi}\,(1)(1)=0.4886 and ∣Ypx∣2=0.2387|Y_{p_x}|^2=0.2387, larger than the off-axis value computed above, exactly as expected since the pxp_x lobe is a maximum along xx and vanishes at θ=0\theta=0 (the poles, where sin⁡θ=0\sin\theta=0) — confirming the sin⁡θ\sin\theta nodal-cone structure at the poles that pp-orbitals always exhibit.

Limiting cases, scope & common traps

Limit / regimeBehavior of YlmY_l^mInterpretation
l=0l=0Y00=1/4πY_0^0 = 1/\sqrt{4\pi}, constantss-orbitals: perfectly spherical, zero angular nodes, zero angular momentum
m=0m=0, any llFunction of θ\theta only, all ll nodes are conesAxially symmetric ("stretched") orbitals: pz,dz2,fz3p_z, d_{z^2}, f_{z^3}
∣m∣=l|m|=l (maximal)Yl±l∝sin⁡lθ e±ilϕY_l^{\pm l}\propto \sin^l\theta\, e^{\pm il\phi}, all ll nodes are planes"Ring/donut" orbitals concentrated at the equator, e.g. dxy,dx2−y2d_{xy}, d_{x^2-y^2}
l→∞l \to \infty at fixed m/lm/lAngular density localizes toward classical orbital planeCorrespondence-principle limit: quantum "cloud" approaches a classical orbit
Real vs. complex combinationsReal YY's are eigenfunctions of L^2\hat L^2 onlyNeeded for hybridization/bonding pictures, but LzL_z is not sharp for px,py,dxyp_x, p_y, d_{xy}, etc.
Non-central potentials (e.g. molecules, crystal fields)YlmY_l^m no longer exact eigenfunctions of the molecular HamiltonianStill used as a symmetry-adapted basis; true eigenstates are mixtures within a given ll-shell

The chemist behind it

Origins · 1 minAdrien-Marie Legendre and how this was discovered
AL
Adrien-Marie Legendre
1752–1833 · French mathematician, Paris

Legendre developed the polynomials that now bear his name while studying planetary orbit perturbations and the shape of the Earth — problems in classical celestial mechanics, decades before quantum theory existed. The associated Legendre functions Plm(x)P_l^m(x) that form the θ\theta-dependent core of every spherical harmonic emerged from exactly the same mathematics: solving Laplace's equation in spherical coordinates for gravitational and electrostatic potentials. When Schrödinger's equation for the hydrogen atom was separated in 1926, the identical differential equation reappeared, and the same polynomials — unchanged in form — became the angular skeleton of the atomic orbital.

Legendre's functions are a striking example of mathematics developed for one physical problem (celestial mechanics and potential theory) turning out to be exactly the right tool for an entirely different one (quantum atomic structure) a century later, because both problems reduce to the same angular differential equation on a sphere — Laplace's equation shares its angular part with the Schrödinger equation for any central potential.

Origins · 1 minhow this was discovered
History
- 1782 — Legendre introduces the Legendre polynomials while studying the gravitational potential of spheroids.
- 1867 — Thomson and Tait's treatise systematizes spherical harmonics as the general solution to Laplace's equation on a sphere.
- 1926 — Schrödinger separates his equation for the hydrogen atom, showing the angular factor must be a spherical harmonic.
- 1927 — Condon and Shortley fix the now-standard phase convention for YlmY_l^m, used in essentially all modern spectroscopy texts.
- 1930s — Slater and Pauling popularize real combinations of spherical harmonics as the p,d,fp,d,f orbital shapes used in bonding theory.
What exactly is the difference between Yₗᵐ and the "real" p and d orbitals drawn in textbooks?

YlmY_l^m are complex functions and exact simultaneous eigenfunctions of both L^2\hat L^2 and L^z\hat L_z: measuring LzL_z on an electron in the state Y1+1Y_1^{+1} always returns exactly +ℏ+\hbar. The textbook px,py,dxyp_x, p_y, d_{xy}, etc. are specific real linear combinations of Yl+mY_l^{+m} and Yl−mY_l^{-m}, chosen because real functions plot as tangible lobes useful for visualizing bonding and hybridization. These real combinations remain eigenfunctions of L^2\hat L^2 (same ll, same total angular momentum magnitude) but are no longer eigenfunctions of L^z\hat L_z — a measurement of LzL_z on an electron in a "pxp_x orbital" yields +ℏ+\hbar or −ℏ-\hbar with equal probability, never a single sharp value.

Why does the same set of spherical harmonics appear in the hydrogen atom, the rigid rotor, and even geophysics?

Because the angular part of the Schrödinger equation is identical whenever the potential energy depends only on distance from a fixed center (or, for the rigid rotor, when there is no potential at all along the angular coordinates). Separating variables always leaves the same operator, L^2\hat L^2, acting on the angular coordinates, regardless of what radial potential is present. Since YlmY_l^m are defined purely as the eigenfunctions of L^2\hat L^2 and L^z\hat L_z, they are universal to any spherically symmetric problem — atomic orbitals, molecular rotation, multipole expansions of gravitational or electrostatic fields, and even the cosmic microwave background, all reuse the identical function set.

How many total nodes does a spherical harmonic have, and how are they distributed?

A spherical harmonic YlmY_l^m has exactly ll total nodal surfaces intersecting the sphere: l−∣m∣l-|m| nodal cones (surfaces of constant θ\theta) and ∣m∣|m| nodal planes (half-planes of constant ϕ\phi, through the polar axis). The split depends only on ∣m∣|m|, not on the sign of mm. An m=0m=0 function puts all ll nodes into cones (axially symmetric shapes like pzp_z, dz2d_{z^2}), while a maximal ∣m∣=l|m|=l function puts all ll nodes into planes (donut-like shapes like dxyd_{xy}). Intermediate ∣m∣|m| values split the nodes between the two families.

Why is ⟨Lz⟩ = 0 for a p_x orbital even though L_z is never actually measured to be zero?

Because pxp_x is an equal superposition of the m=+1m=+1 and m=−1m=-1 eigenstates of L^z\hat L_z, each with probability 1/21/2. A single measurement of LzL_z always collapses the electron into one of the two eigenstates and returns either +ℏ+\hbar or −ℏ-\hbar — never 0ℏ0\hbar, since 00 is not one of the two possible outcomes for this superposition. The expectation value ⟨Lz⟩=12(+ℏ)+12(−ℏ)=0\langle L_z\rangle = \tfrac12(+\hbar)+\tfrac12(-\hbar)=0 is simply the statistical average over many repeated measurements on identically prepared systems, not the outcome of any individual measurement.

Do spherical harmonics depend on the radial potential — would they change for a harmonic oscillator instead of a hydrogen-like Coulomb potential?

No. Spherical harmonics are defined entirely by the eigenvalue equations for L^2\hat L^2 and L^z\hat L_z, operators that involve only the angular coordinates θ\theta and ϕ\phi and never reference the radial potential. Whether the particle experiences a Coulomb potential, an isotropic three-dimensional harmonic oscillator potential, or a finite spherical well, separating the Schrödinger equation always factors out the identical set of YlmY_l^m; only the radial equation, and hence the radial function R(r)R(r) and the energy levels, change with the potential.

Why do chemists say d orbitals have "five" shapes but there are only three real Cartesian axes?

For l=2l=2 there are 2l+1=52l+1=5 independent degenerate angular functions, matching the five allowed mm values (−2,−1,0,+1,+2-2,-1,0,+1,+2). The five real combinations conventionally used are dz2,dx2−y2,dxy,dxz,dyzd_{z^2}, d_{x^2-y^2}, d_{xy}, d_{xz}, d_{yz} — five genuinely different, mutually orthogonal angular shapes, even though only three Cartesian axes exist, because the shapes are built from quadratic combinations of x,y,zx,y,z (degree-2 harmonic polynomials), not from the axes themselves. There is no way to reduce five orthogonal degree-2 spherical harmonics to fewer than five independent real functions; the count of 2l+12l+1 is fixed by the representation theory of the rotation group, not by the dimensionality of ordinary space.

How do spherical harmonics connect to selection rules in UV-Vis and IR spectroscopy?

Transition probabilities depend on matrix elements of the dipole operator, ⟨f∣r^∣i⟩\langle f|\hat{\mathbf r}|i\rangle, and the position operator's angular part is itself proportional to l=1l=1 spherical harmonics (x,y,z∝r Y1mx,y,z \propto r\,Y_1^m). Because of the orthogonality integral ∫Yl′m′∗Y1mYlm′′ dΩ\int Y_{l'}^{m'*}Y_1^{m}Y_l^{m''}\,d\Omega, this integral is nonzero only for specific combinations of l,l′,m,m′l,l',m,m' — giving rise directly to the familiar selection rules Δl=±1\Delta l = \pm 1 and Δm=0,±1\Delta m = 0,\pm1 for electric-dipole-allowed atomic and molecular transitions.