Spherical Harmonics
Point a microwave telescope at the sky and you get a temperature map on a sphere — the cosmic microwave background, hot and cold blotches wrapped around the celestial sphere. Walk into a geomagnetic observatory and you find Earth's magnetic field tabulated the same way: a pattern on a sphere. How do you analyze such data? On a line you would reach for Fourier series — decompose into sines and cosines, study one wavelength at a time. This article builds the sphere's answer: the spherical harmonics , the sphere's Fourier modes. Everything is already on the workbench. Separation of Variables in Spherical Coordinates produced the radial powers and the separation constant ; Legendre Polynomials catalogued the axially symmetric angular solutions; Associated Legendre Functions lifted the restriction to and built , the piece that will pair with to restore the full angular dependence. What remains is assembly: bolt to , normalize the product once and for all, and prove the family orthonormal and complete — so that any pattern on a sphere can be taken apart into modes and reassembled, one integral per coefficient. The payoff is the general solution of Laplace's equation with no symmetry assumed — the tool the next article turns into the multipole expansion. But the harmonics outgrew electrostatics long ago: Gauss used them to build the first mathematical model of Earth's magnetism in 1839, and cosmologists use the very same functions to compress the CMB sky into the angular power spectrum .
- A spherical harmonic is an assembled product, , with fixed by unit norm over the sphere.
- The family is orthonormal and complete: any function on the sphere expands as with — Fourier's trick, promoted to the sphere.
- The indices are geography: counts the total nodal lines on the sphere, of which are meridians and are circles of latitude — zonal, sectoral, the rest tesseral.
- For large , harmonics resolve angular features of size — this is why the CMB power spectrum is read off against angular scale.
- Parity: . Unsöld's sum rule: — a filled shell is isotropic.
- With the radial powers attached, the harmonics generate every solution of Laplace's equation: .
- Key idea: spherical harmonics are the simultaneous eigenfunctions of the angular Laplacian (eigenvalue ) and of (eigenvalue ); with the radial powers , attached they generate every solution of Laplace's equation in spherical geometry.
Spherical harmonics are the simultaneous eigenfunctions of the Laplace–Beltrami operator on (eigenvalue , under the sign convention ) and of (eigenvalue ); multiplied by the radial powers or they generate every solution of Laplace's equation in spherical geometry.
Where this lives today
The largest spherical-harmonic computation in science runs on the oldest light in the universe. Cosmologists expand the CMB temperature map as — equation (4) verbatim — and compress the physics into the angular power spectrum , the average power per shell (rotational invariance, the fact that powered Unsöld's theorem, is why averaging over is legitimate). The acoustic peaks — the first at , our scale — encode the universe's age, geometry, and composition. Gauss's own application never stopped running: the International Geomagnetic Reference Field — currently IGRF-14, epoch 2025, revised every five years — represents Earth's main field as a spherical-harmonic potential to degree 13, 195 Gauss coefficients consumed by every smartphone compass. And a quieter modern home: real-time graphics stores incoming light as low- coefficients — nine numbers, through , capture diffuse lighting to about one percent — while spatial audio (ambisonics) encodes full-sphere sound fields the same way, so every VR headset is doing sphere-data arithmetic with the tabulated above.
The physical picture
Think of the sphere's surface as a drumhead with no rim. Its natural vibration patterns are the spherical harmonics, and the two indices are pure geography. The degree counts the nodal circles — curves where the mode vanishes — so it sets the fineness of the pattern: is featureless, splits the sphere into hemispheres, large carves patches roughly across. The order says how those circles are apportioned: run pole-to-pole as meridians, the remaining are rings of constant latitude. Three families result: zonal modes () are stacks of latitude bands; sectoral modes () slice the sphere like an orange; everything in between is tesseral — a curved checkerboard.
The gallery shows the real combinations (patterns in or ); the complex versions have the same nodal parallels but uniform magnitude around each latitude circle. The Fourier analogy is load-bearing: on a circle the complete orthonormal set is , one integer counting nodes. The sphere is two-dimensional, so its catalogue needs two integers — plus one inequality, , inherited from Associated Legendre Functions, where the derivative construction of ran out of polynomial beyond . Each degree holds modes, and everything you do with Fourier series — expand, project, truncate honestly — transfers verbatim. One more picture before the mathematics: the ladder of scales. A degree- mode spreads nodal circles over of colatitude, so its angular scale is — and that is how cosmologists read the CMB: "the first acoustic peak sits at " means the sky is patterned most strongly on scales of , a little bigger than the full Moon.
Assembling the harmonics
Begin by naming what we are not re-deriving. Separation of Variables in Spherical Coordinates split Laplace's equation into a radial Euler equation and an angular eigenvalue problem with separation constant ; Associated Legendre Functions solved the angular problem — single-valuedness quantized to integer , polar regularity selected with . What survives is one compact eigenvalue statement:
where: — the angular part of the Laplacian (the Laplace–Beltrami operator on the unit sphere); — the degree; — the order. It is the sphere's analogue of on the circle, with in the role of : it certifies the harmonics as the natural modes of the surface. The assembled, normalized object — this article's deliverable — is
where: — the associated Legendre function, taken phase-free exactly as constructed in the Associated Legendre Functions article, with no Condon–Shortley factor folded into its own Rodrigues formula; — the Condon–Shortley phase, adopted here explicitly and only here (the greatest source of sign errors in the subject — see the pitfall box; and if you ever substitute a taken from a table that already carries a built-in , drop the from the prefactor in (2), or the sign will be applied twice); the square root — the normalization constant , which the first derivation earns rather than asserts. The same formula covers negative orders, and the conjugation rule means tables need only list .
The goal is to fix the constant in by demanding unit norm over the sphere, then establish full orthonormality. The strategy: factor every sphere integral into an azimuthal times a polar integral — the product structure guarantees this — then spend two recalled results, the elementary integral and the associated Legendre norm from the Associated Legendre Functions article. Watch the integral do the heavy lifting for distinct orders, leaving the Legendre machinery only the equal- case.
Step 1. Write the norm with , so becomes :
Why it factorizes exactly: the integrand is a pure- factor times a pure- factor, and the measure factorizes too — nothing couples the angles.
Step 2. The azimuthal factor is trivial: , so the integral is for every .
Step 3. Quote the polar norm — recalled from the Associated Legendre Functions article, not re-derived, valid for ; negative orders are reached afterward through the conjugation rule rather than by substituting here:
Why the factorials: each of the derivatives in the construction of inflates its magnitude; the ratio is the bookkeeping. At it collapses to the Legendre norm — a built-in check.
Step 4. Demand the product equal one and solve:
The modulus is forced; the phase is convention, and we spend it on the Condon–Shortley factor .
Step 5. Orthogonality. For the azimuthal integral alone kills the overlap: for nonzero integer . For but , the polar integral is the fixed- orthogonality of the , again recalled from Associated Legendre Functions. Every off-diagonal overlap vanishes; every diagonal one is unity by construction. As a consistency check: the sphere integral of returns ; the overlaps of with and of with are and — zero to machine precision. At the prefactor reduces to , matching the normalized Legendre series.
With the constant earned, here is the working stock through — the patterns that carry most of the multipole physics to come:
| harmonic | explicit form | prefactor value | pattern |
|---|---|---|---|
| isotropic | |||
| zonal: north , south | |||
| sectoral: equatorial belt | |||
| zonal: poles , equator | |||
| tesseral: four-quadrant | |||
| sectoral: four orange slices |
Read the table with the gallery in mind: is the sphere's "DC level" — its coefficient is times the angular average; is the hemisphere split; is poles-versus-equator, the shape of every quadrupole to come; the entries carry , hugging the equator as an orange-slice pattern must. And note where the minus signs sit: the on odd- entries is the Condon–Shortley phase of equation (2). Our Associated Legendre Functions article deliberately kept phase-free, so the lives here, in the harmonic's prefactor, and nowhere else — Jackson's choice too; other books bury it inside . Parity comes almost free and matters for multipoles. Inversion, , acts as , : the azimuthal factor picks up , and — one sign flip per derivative on top of the Legendre parity. The product is
where: the -dependence has cancelled (), leaving a parity set by the degree alone. All members of a shell transform identically — which is why an inversion-symmetric charge distribution can have no dipole and no octupole moment: its potential simply cannot contain odd- angular structure.
Fourier's trick on the sphere
Orthonormality is the tool; completeness is the license. The harmonics exhaust the eigenfunctions of the self-adjoint operator (1), and such eigenfunctions span the space — the Sturm–Liouville logic that underwrote Fourier series in Separation of Variables in Cartesian Coordinates. Every square-integrable pattern on the sphere is therefore expandable:
where: — any reasonable function on the sphere (a boundary potential, a temperature map, a planet's field); — its generalized Fourier coefficients, one number per mode. The coefficient formula is derived from the expansion:
Go deeper · Derivation B · 1 minExtracting the coefficients — Fourier's trick on the sphere
The goal is the coefficient formula in equation (4): assuming a function on the sphere expands in harmonics, isolate any single coefficient by one integral. The strategy is Fourier's trick verbatim: multiply by the conjugate of one chosen basis function, integrate, and let orthonormality assassinate every term of the double sum except the chosen one. The one new feature versus the Cartesian version is the conjugate — the basis is complex now — and a mini-expansion tests the machinery on a function whose answer we know by inspection.
Step 1. Hit the assumed expansion with a chosen test harmonic and integrate:
Why the conjugate: the inner product on complex functions is . Forget the star and the projections silently pick up the wrong mode — real bases never punished this.
Step 2. Spend orthonormality: every integral on the right is , so the infinite double sum collapses to the single term . One multiplication, one integration, one Kronecker massacre — and each coefficient is measured independently: refining a truncation never disturbs coefficients already computed.
Step 3. Mini-expansion as a live test: is proportional to , so exactly one coefficient should survive.
Step 4. Confirm: exactly; vanishes by hemisphere cancellation, all die in the integral, and all die by Legendre orthogonality since . As a numerical check: quadrature returns and ; the genuinely -dependent case is Worked Example 1.
Now the destination of this five-article arc. Separation of Variables in Spherical Coordinates proved that the radial factor multiplying a degree- angular mode must be — recalled, not re-derived. Attach the complete angular catalogue and superpose:
where: — interior coefficients, kept when the region contains the origin (where blows up); — exterior coefficients, kept when the region reaches infinity (where blows up). This is the general solution of Laplace's equation with no symmetry assumed — the azimuthally symmetric series of earlier articles is its slice. For a sphere of radius held at the recipe is mechanical: project the data with (4), set inside and outside, and let the first uniqueness theorem certify the result as the answer. The exterior series is also a signpost: its -th term dies as — monopole, dipole, quadrupole, each falling one power faster. Attaching those coefficients to an actual charge density is the business of the next article, Multipole Expansion of the Potential.
The sum rule and the addition theorem
Two structural theorems complete the toolkit. First: what does a complete shell — all modes of one degree, summed in quadrature — look like? Each individual is lumpy. The sum is not:
where: the right side is a pure number — no , no . This is Unsöld's theorem (1927, atomic physics): a filled shell is perfectly isotropic. It is why closed-shell atoms are spherical though every orbital is lumpy — and a ferocious check on any harmonics table: sum the squares at a random point and must appear.
Go deeper · Derivation C · 1 minUnsöld's theorem — a filled shell is isotropic
The goal is equation (6): the shell sum of is the constant . The strategy is a two-move argument that never touches a Legendre function: show the sum is rotation-invariant — forcing it constant on the sphere — then fix the constant by integrating once. The rotation move leans on one structural fact: rotating a degree- harmonic yields another degree- eigenfunction, because the operator in (1) has no preferred axis. An explicit check at closes the loop.
Step 1. Define and rotate. Each rotated harmonic is still an eigenfunction of with eigenvalue , hence a combination of the same shell:
Why is unitary: rotations preserve the area element, hence all inner products; an orthonormal set maps to an orthonormal set, and a change of basis between orthonormal bases is unitary.
Step 2. Compute the shell sum at the rotated point, using unitarity :
Rotations connect every point to every other, so is constant.
Step 3. Fix it by integrating: each term integrates to by normalization, there are terms, and the sphere has area :
Step 4. Explicit check at , straight from the table:
The lumpy of the zonal mode and the equatorial belt of the sectoral pair fit like puzzle pieces. As a numerical check: holds at arbitrary points on the sphere; the five-term sum returns at both and — the brute-force verification is Worked Example 2.
The second theorem powers the entire multipole program. It relates a Legendre polynomial of the angle between two directions to harmonics of each direction separately:
where: — the angle between directions and , with . This is the addition theorem, and its job is separation of variables for geometry: the left side tangles the two directions inside one function; the right side is a finite sum of products, each factor depending on one direction only — exactly what converts the Coulomb kernel into independent multipole contributions. We state it and check it; we do not prove it — the honest proof needs the rotation group (Jackson §3.6) and belongs to a graduate course. But the lowest nontrivial case yields to hand algebra. At the right side reads, from the table,
where: the term produced the first piece; the terms — their Condon–Shortley signs entering squared, , hence harmless — combined their exponentials into the cosine. That is the spherical law of cosines for : the theorem checks. (Numerically, for directions and , and the sum returns ; the sum returns .) Two dividends: at , since , equation (7) collapses to Unsöld's theorem — the addition theorem talking to itself. And inserted into the Legendre expansion of (the generating-function result owned by Legendre Polynomials), it separates source angles from field angles — the multipole expansion for arbitrary geometry falls out, the opening move of the next article.
Limiting cases
| case | result | meaning |
|---|---|---|
| axial symmetry, | the Legendre-series technology is the slice of this article | |
| , constant | truncation at keeps only the angular average — isotropy | |
| large | features of scale | the CMB dictionary: multipole number reads as inverse angular scale |
| inversion | factor | odd- content forbidden for inversion-symmetric sources |
| coincident directions in (7) | Unsöld sum rule | the addition theorem at is the isotropy of a filled shell |
The first row deserves respect: every azimuthally symmetric boundary-value problem of the earlier articles was secretly a spherical-harmonic expansion with all modes silenced by symmetry.
Worked examples
1 · Expanding a real pattern in complex modes (confidence builder)
Expand in spherical harmonics, exactly. Verify numerically at , .
Step 1. Diagnose before integrating. In Cartesian disguise , a degree-1 pattern — only survives. The -content feeds only . Two coefficients to find.
Step 2. Match against the table instead of integrating (legitimate, and faster). Inverting gives and , so
and , all other . Direct numerical projection with (4) confirms: , , with , vanishing to . The signature of a real function: — here , as required.
Step 3. Reconstruct at , : and . Weighting by the coefficients:
Step 4. Add: the imaginary parts cancel — is real — leaving . Direct evaluation: . Exact — a live demonstration of how a real pattern lives in a complex basis: a conjugate pair of modes whose imaginary lumps annihilate.
2 · Auditing Unsöld at degree 2 (exam level)
Verify Unsöld's theorem for by brute force at , : evaluate all five and sum.
Step 1. Ingredients: , so ; , so . No depends on — the modulus of is 1 — so the is a red herring. (Notice this before computing.)
Step 2. The zonal term: , so . Tiny — sits almost on the nodal cone of at .
Step 3. The tesseral pair: each, contributing . The sectoral pair: each, contributing .
Step 4. Sum the shell:
The theorem holds to the last digit. Physically: where the zonal mode goes silent (its nodal cone), the tesseral pair — near its maximum at — picks up the slack. Every dip in one pattern is filled by the others, everywhere, exactly.
Origins · 1 minCarl Friedrich Gauss and how this was discovered
Gauss spent his last two decades on a problem that sounds administrative and turned out to be foundational: what is Earth's magnetic field, mathematically? With Wilhelm Weber he founded the Magnetischer Verein — observatories from Dublin to Beijing taking synchronized readings — and in the 1839 memoir Allgemeine Theorie des Erdmagnetismus did what no one had done before: expanded a real, measured, global magnetic scalar potential in spherical harmonics. He determined 24 coefficients (every mode through degree 4), showed the field's sources are overwhelmingly internal to the planet — settling a century of speculation — and predicted the south magnetic pole close to where Ross's expedition placed it. Geomagnetic coefficients are called Gauss coefficients to this day, and the modern IGRF is literally the same expansion with more terms and satellite data. A characteristic performance from the prince of mathematicians: treat a planet as a boundary-value problem — and win.
Going further
References. Jackson, Classical Electrodynamics, 3rd ed., §3.5–3.6 · Griffiths, Introduction to Electrodynamics, 4th ed., §3.3.2 & §3.4 · Zangwill, Modern Electrodynamics, §7.4–7.5 · Arfken & Weber, Mathematical Methods for Physicists The normalization prefactor squared times the associated-Legendre norm and the azimuthal integral give unity. The radial Euler indices are , from . The low- harmonics are , , ; the Condon–Shortley phase convention follows Jackson. Anchor values used throughout: with reconstruction at ; Unsöld sums and ; the addition-theorem identities; and the parity rule at four pairs.
Builds on: Separation of Variables in Spherical Coordinates · Legendre Polynomials · Laplace's Equation · Boundary Conditions for the Potential Leads to: Uniqueness Theorems for the Potential · Image Charges for a Conducting Sphere · Poisson's Equation
Why do we bother with complex harmonics when every physical pattern is real?
Convenience, not necessity. The real combinations and are an equally good orthonormal basis — geodesy and chemistry use them exclusively (the , orbitals are the real forms of ). The complex set wins because is an eigenfunction of — rotations about the axis act by a phase — and because the addition theorem, the conjugation rule, and quantum mechanics take their cleanest forms with it. A real function simply obeys , exhibited in Worked Example 1.
Where exactly does the Condon–Shortley phase live in this series, and why does anyone want it?
Here — following Jackson — the sits in the prefactor of , and the of the Associated Legendre Functions article are phase-free. Some books absorb it into instead; the harmonics come out identical either way, provided both pieces come from the same book. Why want the phase at all? It makes quantum-mechanical ladder operators act with uniform plus signs and gives the conjugation rule its standard form — bookkeeping chosen by Condon and Shortley in 1935. Fields that never touch ladder operators, like geodesy, happily drop it.
Why are there exactly 2l+1 harmonics of each degree?
Count the orders: runs over the integers from to — values — and the bound was derived in Associated Legendre Functions: constructing takes derivatives of a degree- polynomial, and the -th derivative kills it. Deeper phrasing: the degree- harmonics span the space of homogeneous degree- harmonic polynomials on the sphere, which is -dimensional. Quantum mechanics re-derives the same count as the multiplicity of angular momentum — same functions, different costume.
If my problem is symmetric about the z-axis, do I need any of this?
No — and knowing why is the point. Azimuthal symmetry means no -dependence, so Fourier's trick returns zero for every coefficient, and the expansion collapses to — the Legendre series of Separation of Variables in Spherical Coordinates, with identical results. The full machinery earns its keep once the data have genuine longitude dependence: an off-axis point charge, a tilted external field, a real planet.
What does the degree l actually correspond to physically?
Angular scale, via . A degree- mode has nodal circles, so its features are about across — is the sphere's wavenumber, with eigenvalue in the role of . Cosmology uses the dictionary raw: a feature at multipole in the CMB spectrum is a feature at angular scale on the sky. It also echoes in the radial factors: higher falls off faster, — finer angular detail is harder to see from far away.
The addition theorem looks like abstract bookkeeping — what will it actually do for me?
It performs a separation no ordinary algebra achieves. The kernel depends on the angle between source and field directions — two sets of angles tangled inside , and the Legendre expansion of the kernel leaves still tangled. The addition theorem unties it: a finite sum of products, source factor times field factor. Integrate over the source and each term becomes a fixed number — a multipole moment — multiplying a pure function of field direction. The next article is this maneuver executed with care; the same identity underlies partial-wave scattering and CMB statistics.
How do the CMB's C-ell values relate to the coefficients in this article?
Directly: the anisotropy is expanded exactly as in equation (4), with extracted from the sky map by Fourier's trick. Theories predict only statistics — the universe is one random realization — and rotational invariance forces : one number per shell, by the same logic that proved Unsöld's theorem. The peaks of at are sound waves in the primordial plasma, read through the dictionary; fitting six cosmological parameters to that curve measured the universe's matter budget.