Separation of Variables in Spherical Coordinates
Point a coordinate system at a centre of symmetry — a nucleus, a charged sphere, a resonating cavity, a ball cooling in still air — and the whole apparatus of mathematical physics reorganizes around the rotation group. In spherical coordinates the Laplacian, which appears in nearly every linear field equation, splits cleanly into a radial piece and an angular piece acting on disjoint variables. That single algebraic fact makes separation of variables work here: a PDE in three variables collapses into three ODEs tied by two separation constants. The angular machinery — the spherical harmonics , built from associated Legendre functions and complex exponentials — is universal, the same for Laplace, Poisson, Helmholtz, heat, wave, and Schrödinger equations. What distinguishes one problem from another lives entirely in the radial equation. This article is the spherical companion to Cartesian and cylindrical separation. It takes the ansatz and shows how single-valuedness in quantizes the azimuthal constant to an integer , how regularity at the poles quantizes the polar constant to exactly with , and how the radial ODE is Euler for Laplace but spherical Bessel for Helmholtz. The deeper reason the method never fails is symmetry: the Laplacian commutes with , the spherical harmonics carry its irreducible representations, and separation is nothing but the simultaneous diagonalization of and — the structure that organizes the hydrogen atom and the multipole expansion.
- Separation of variables seeks , turning one PDE on a spherical domain into three ODEs linked by two separation constants.
- The Laplacian splits as ; the angular part carries no , so its eigenfunctions are the same for every field equation.
- Single-valuedness gives with integer ; regularity at the poles forces the associated Legendre solution with eigenvalue exactly , , .
- The angular factors combine into the spherical harmonics , a complete orthonormal basis on the sphere and the joint eigenfunctions of and .
- The radial ODE holds the physics: and for Laplace, spherical Bessel functions for Helmholtz; regularity and boundary conditions select the spectrum.
- Key idea: the Laplacian separates in spherical coordinates because it decomposes into commuting radial and angular operators; demanding single-valuedness in φ and regularity at the poles quantizes the angular eigenvalue to exactly ℓ(ℓ+1), producing the spherical harmonics, and the PDE type then fixes only the radial equation.
The Laplacian in spherical coordinates separates because : the radial and angular operators act on disjoint variables. Single-valuedness in and regularity at the poles force the angular eigenvalues to be exactly with integer , producing the spherical harmonics; the PDE type then fixes only the radial ODE.
Where this lives today
Spherical separation is the working coordinate system for anything with a centre. Electronic-structure codes — density-functional theory, Hartree–Fock, quantum chemistry — expand atomic orbitals in radial functions times spherical harmonics, so the angular integrals reduce to tabulated Gaunt coefficients. Cosmologists expand the cosmic microwave background in and read the early universe off the angular power spectrum , with the acoustic peaks near encoding the geometry and matter content of the cosmos. Geophysicists invert the Earth's free oscillations — the whole planet ringing after a great earthquake — into modes, exactly the spherical-cavity construction, to map the deep interior. In nuclear and particle physics the partial-wave expansion above turns every scattering experiment into a set of phase shifts , one per angular-momentum channel. And in computer graphics and machine learning, spherical-harmonic lighting and equivariant neural networks use the same -dimensional representations of to encode rotational symmetry — the algebra Laplace built for planets now shading surfaces and predicting molecular energies.
The physical picture
Think of the unit sphere as a stage on which only certain standing-wave patterns can live. Walk once around the equator and you must return to the same value — that periodicity forces the azimuthal winding number to be a whole number. Travel from pole to pole and the field must stay smooth where all the meridians meet — that regularity at the poles forces the degree to be a non-negative integer and quantizes the angular eigenvalue to . The spherical harmonics are the patterns that survive both demands: counts the total angular structure (nodal circles), counts how much winds about the polar axis. Everything angular is settled by the geometry of the sphere, independent of which equation you started from — the first figure traces this cascade from the single PDE down to the three quantized ODEs.
The radial equation is where the identity of the specific PDE enters. A static Laplace field has no length scale, so the radial solutions are scale-free powers, growing outward and decaying — the monopole, dipole, and higher multipoles of electrostatics and gravitation. A wave or diffusion problem carries a wavenumber : the radial equation becomes the spherical Bessel equation, whose regular solution is a sphere-corrected sine finite at the origin, while the irregular is the cosine-like partner that blows up there. Each separation constant is an eigenvalue of an operator commuting with the Laplacian — from , and from — so separation is really the simultaneous diagonalization of commuting observables. The second figure shows the three lowest spherical Bessel functions and the zeros that set every spherical cavity resonance.
The core equations
The starting point is the Laplacian in spherical coordinates. Every equation below follows from the way this operator distributes across the three coordinates, and the grouping of terms is exactly what makes separation possible.
where: — radial distance, ; — polar (colatitude) angle, ; — azimuthal angle, . The first term is purely radial; the last two — the angular block — share an overall , the structural clue that they can be peeled off. Collecting the angular block gives the compact split the whole subject rests on. The operator is the Laplace–Beltrami operator on the unit sphere and contains no .
where: — the angular Laplacian, whose eigenfunctions are the spherical harmonics. Because it carries no radial dependence, its eigenvalue problem is the same for Laplace, Helmholtz, heat, and wave equations — the angular answer is universal, and only the radial factor changes. We seek solutions of product form — an ansatz justified by the fact that it produces a complete basis for every solution.
where: — functions of a single variable each. Substituting and dividing through isolates each variable on one side of an equation, which can only hold if each side equals a constant — the separation constants. The azimuthal coordinate is cyclic, so its equation is the simplest, with a complex-exponential solution quantized by periodicity.
where: — azimuthal (magnetic) quantum number, forced integer by single-valuedness . It counts how many full oscillations the field executes as you circle the polar axis once. The polar equation is the associated Legendre equation — the deep one, because its solvability condition quantizes the second separation constant.
where: — degree, a non-negative integer fixed by regularity at the poles; — the angular separation eigenvalue. Bounded solutions at exist only for with , giving . The polar and azimuthal factors combine into the spherical harmonics, with the physics normalization and phase below.
where: — associated Legendre function of degree , order ; — the Condon–Shortley phase. The prefactor makes the set orthonormal, and is the number of values, the dimension of the -th representation of . That orthonormality makes the harmonics a usable basis: any function on the sphere expands in them with coefficients from a single integral.
where: — Kronecker delta; — the solid-angle element. Distinct harmonics are orthogonal, each normalized to one, and the set is complete on . Only now does the specific PDE matter, through the radial equation. For Laplace's equation there is no length scale, so the radial ODE is equidimensional (Euler type).
where: — constants fixed by boundary conditions. is regular at the origin and grows outward (interior problems); decays and is regular at infinity (exterior problems, multipoles). For the Helmholtz equation — obtained after separating time from the wave or heat equation — the radial ODE acquires the wavenumber and becomes the spherical Bessel equation.
where: — wavenumber from separating time; — spherical Bessel functions of the first and second kind. is finite at and kept on any domain containing the origin; diverges there and is kept only for exterior or shell domains. Assembling all three factors and summing over the allowed labels gives the general solution every boundary-value problem specializes.
where: — coefficients set by boundary data via (7). This is the Laplace form; swap the radial factor for to get the Helmholtz general solution.
The goal is to take , insert the ansatz , and reduce one partial differential equation to three ordinary ones, showing at each stage which physical demand quantizes each separation constant. We divide through to isolate the variables, quantize by single-valuedness, impose regularity at the poles to fix the polar constant at , and solve the resulting Euler equation, reaching the boxed separated solution .
Step 1. Substitute into using (1), giving three terms, one carrying , one carrying , one carrying . Why: the product form is what lets every derivative act on only one factor, so the operator distributes into pieces that each depend on a single variable.
Step 2. Multiply the whole equation by . The radial term becomes , a function of alone, and the two angular terms depend only on . Why: a function of equal to a function of for all values of the coordinates can only be a constant — this is the separation argument itself.
Step 3. Set the radial part equal to a constant and the angular part to :
Why: this is the first separation; the value of is not yet fixed — regularity in the next steps will pin it to .
Step 4. Multiply the angular equation by and rearrange so that all -dependence sits on one side and all -dependence on the other:
Why: this is the second separation, and it introduces the constant ; the sign is chosen so the -solution is oscillatory rather than exponential, as periodicity requires.
Step 5. Solve the azimuthal equation to get , and impose single-valuedness , which demands , hence . Why: the field must have one value at each physical point, and and label the same point — this is a genuine boundary condition disguised as periodicity.
Step 6. Write the polar equation and substitute to obtain the associated Legendre equation , with regular singular points at (the poles). A Frobenius analysis shows the series solution diverges at the poles unless it terminates, which happens exactly when with integer ; then . Why: boundedness at the poles is the physical demand — a field cannot be infinite where the meridians meet — and it is what discretizes the angular spectrum to the integers.
Step 7. With the radial equation is , an Euler equation; trying gives the indicial equation , so or and . Why: an equidimensional equation has power-law solutions, and the two roots are the growing and decaying multipole radial profiles selected later by the domain.
Go deeper · Derivation B · 1 minReduction of the Helmholtz radial equation to spherical Bessel form
The goal is to show that once the angular eigenvalue is separated out of , the radial equation is ordinary Bessel's equation of half-integer order in disguise, so its solutions are the spherical Bessel functions tied to . We write the radial ODE, remove the first-derivative term with , read off the order, and check against elementary trigonometry.
Step 1. After angular separation the radial equation is
the same structure as the Laplace radial equation but with the extra term. Why: the wavenumber from separating time is what turns scale-free power laws into oscillatory functions with a natural length .
Step 2. Substitute . This removes the awkward weighting of the first-derivative term and casts the equation into standard form. Why: multiplying a solution by is the classic trick that converts a self-adjoint radial operator in three dimensions into the one-dimensional Bessel operator.
Step 3. The equation for becomes
which is Bessel's equation of order in the variable . Why: the shift is exactly what makes the order half-integer, the signature of spherical (as opposed to cylindrical) Bessel functions.
Step 4. The two solutions are and , so
which are the definitions of the spherical Bessel functions. Why: the factor is precisely the from Step 2 folded into the normalization, so the spherical functions inherit all half-integer Bessel identities.
Step 5. Check : the radial equation for is , so and , giving and . Their small-argument forms confirm , , matching the plotted curves. Why: the lowest order must reduce to elementary trigonometric waves divided by , the spherically symmetric standing wave, and it does.
Go deeper · Derivation C · 1 minPartial-wave expansion of a plane wave
The goal is to expand a plane wave — the building block of scattering theory — in the spherical basis, producing the Rayleigh formula that opens the partial-wave method. Because a plane wave is finite everywhere only the regular appear, and because it is axisymmetric about only harmonics (Legendre polynomials) enter. We write the axisymmetric ansatz, project onto by orthogonality, evaluate the integral, and collect the coefficient.
Step 1. Take along the -axis so , and write the axisymmetric expansion
Why: regularity at forbids , and independence of forbids , so the general solution collapses to this single sum over .
Step 2. Project onto using with :
Why: orthogonality is the standard tool for extracting one coefficient at a time from a complete-basis expansion.
Step 3. The integral is a standard representation of the spherical Bessel function, . Why: this identity is what ties the flat plane wave to the curved spherical basis, and the factor is the phase each angular momentum channel picks up.
Step 4. Substitute to find , so , giving the Rayleigh expansion
with the angle between and in the general case. Why: the cancel, leaving pure numbers, and the leading term recovers as , a built-in consistency check.
Limiting cases
The radial behaviour and small- and large-argument limits are what distinguish the physical regimes, and they double as checks on the formulae:
| Case | Result | Meaning |
|---|---|---|
| Laplace, interior | No length scale; regularity at drops . Gives the multipole/Taylor structure of harmonic functions inside a source-free ball. | |
| Laplace, exterior | Regularity at infinity selects the decaying power; is the Coulomb/Newton monopole, the dipole. | |
| Helmholtz, small | Finite at the origin; the basis for interior cavity modes and the leading term of each partial wave. Numerically . | |
| Helmholtz, large | Asymptotic standing wave with envelope; the outgoing Hankel form describes scattered waves. | |
| Axisymmetric, | With no -dependence the harmonics reduce to Legendre polynomials — the workhorse of textbook boundary-value problems. | |
| Monopole, | , | The spherically symmetric channel; the constant plus potential, i.e. a point charge and a uniform offset. |
Worked examples
1 · Grounded conducting sphere in a uniform field (fully worked)
A grounded conducting sphere of radius sits in an originally uniform electric field . Find the potential outside the sphere, the induced dipole moment, and the surface charge density.
Step 1. The problem is axisymmetric, so use the exterior solution . Far away the field is uniform, , which fixes and for — only the growing term survives, since a uniform field is pure .
Step 2. Apply the grounded condition for all . By orthogonality each coefficient vanishes separately: for , ; for , . The sphere responds only in the channel the field drives.
Step 3. Assemble the exterior potential:
The first term is the applied field, the second the induced response. The induced part is a pure dipole, .
Step 4. Comparing with gives the induced dipole moment , so the polarizability is — set purely by the sphere's volume, as if it were a dielectric of infinite permittivity.
Step 5. The surface charge is . With , at this is , so — maximal at the pole facing the field, opposite at the far pole, zero at the equator, integrating to zero net charge. The whole result lives in the single term.
2 · Fundamental acoustic mode of a spherical cavity (fully worked)
An air-filled spherical cavity of radius has a pressure-release wall (pressure node at ). With sound speed , find the lowest resonant frequency.
Step 1. The acoustic pressure obeys the Helmholtz equation, so the modes are — only , since the cavity includes the origin. The pressure-release condition demands a Bessel zero at the wall, .
Step 2. The allowed wavenumbers are with the -th positive zero of ; the first zeros are , , . The smallest is , so the fundamental is the spherically symmetric breathing mode.
Step 3. For , gives , so
The fundamental sits at 1715 Hz — the zero at exactly makes it identical to a length- pipe.
Step 4. The next mode is (a dipole sloshing mode) at , giving . The two lowest resonances, 1715 and 2453 Hz, sit at a ratio — inharmonic, because the zeros of , unlike a 1-D pipe's sinusoids, are not evenly spaced.
Physics of the portrait
Spherical harmonics are the thread that runs from the Newtonian potential of a squashed planet to the orbitals of an atom, and their story is a two-century collaboration between celestial mechanics, potential theory, and quantum physics.
Origins · 1 minspherical harmonics and how this was discovered
The spherical harmonics were born not in atomic physics but in the study of gravity. In 1782 Adrien-Marie Legendre, investigating the Newtonian attraction of spheroids, introduced the polynomials as the coefficients in the expansion of — the generating function of the multipole expansion. Almost simultaneously Pierre-Simon Laplace, working on the figure of the planets, wrote and expanded its solutions in the full angular functions (his "Laplace coefficients"); the associated Legendre functions followed for the -dependent terms. For most of the nineteenth century these were tools of geodesy and celestial mechanics, and William Thomson (Lord Kelvin) and Peter Guthrie Tait gave them their modern treatment as solid and surface harmonics in their 1867 Treatise on Natural Philosophy. The twist came with quantum mechanics: when Schrödinger separated hydrogen in 1926, the angular factor was exactly Laplace's , and the integer became orbital angular momentum, the eigenvalue of . Condon and Shortley fixed the phase in 1935 that spectroscopists still use, and Wigner and Racah built the algebra of angular-momentum coupling on the same foundation. A device for computing the pull of a lumpy planet had become the alphabet of the atom.
Going further
Texts. Stone & Goldbart, Mathematics for Physics (2009), ch. 8–9 · Arfken & Weber, Mathematical Methods for Physicists, 7th ed., ch. 9, 11, 15 · Hassani, Mathematical Physics, 2nd ed., ch. 12–13 (Sturm–Liouville and special functions) · Byron & Fuller, Mathematics of Classical and Quantum Physics, ch. 6–7 · Jackson, Classical Electrodynamics, 3rd ed., ch. 3 · Riley, Hobson & Bence, Mathematical Methods for Physics and Engineering, 3rd ed., ch. 21 · Morse & Feshbach, Methods of Theoretical Physics, ch. 10. Key results to keep in mind: the indicial roots of the Laplace radial equation are ; the substitution reduces the Helmholtz radial ODE to Bessel's equation of order , with first zeros , , ; the Rayleigh coefficient is and . The worked numbers — grounded-sphere dipole and surface charge ; cavity fundamental Hz for m, m/s, and the mode at Hz — are all standard results.
Builds on. Classification of Second-Order Linear PDEs · Separation of Variables in Cartesian Coordinates · Sturm–Liouville Theory and Eigenfunction Expansions · Boundary Conditions and Well-Posedness. Leads to. The Helmholtz Equation · Laplace's and Poisson's Equations · Fundamental Solutions and Green's Functions for PDEs · The Wave Equation.
Ask the tutor: Ask me to walk through any spherical boundary-value problem step by step — a charged shell, a scattering phase shift, a cavity mode, or a hydrogen orbital — and watch the same three ODEs do all the work.
Why does separation of variables work at all in spherical coordinates?
Because the Laplacian decomposes into a radial and an angular operator that commute — they act on different variables — so the eigenvalue problem factorizes. Deeper still, is just , the Casimir of , and separation is the simultaneous diagonalization of the commuting set . Spherical coordinates are one of eleven systems in which the Laplacian separates, each tied to a symmetry: Cartesian to translations, cylindrical to axial rotations, spherical to full rotations. Separability is a shadow of the symmetry, not an accident of the coordinates.
Why is the angular eigenvalue exactly ℓ(ℓ+1) and not ℓ²?
Because is the eigenvalue of the Casimir on the irreducible representations of . If is the top of the -ladder, acting with the lowering operator and the commutation relations forces , not — the extra comes from the non-commuting components of angular momentum. Analytically it is the value that makes the associated Legendre series terminate into a polynomial finite at the poles. The two viewpoints agree exactly, an early hint of the group-theoretic structure underneath.
What is the difference between spherical harmonics and Legendre polynomials?
Legendre polynomials are the axisymmetric () special case; spherical harmonics are the full set including -dependence. When a problem has no azimuthal dependence — a sphere in a uniform field, an on-axis point charge — only appear and the double sum collapses to a single sum over . The associated Legendre functions bridge the two: they are the -part of , reducing to when . Reach for when the geometry is axially symmetric, and for the full harmonics only when the boundary data varies with .
When do I keep the irregular solutions r⁻ˡ⁻¹ and yₗ?
Whenever the origin is not part of your domain. For a solid ball both diverge at and must be dropped — only and survive. For an exterior region extending to infinity the decaying is exactly what you want, since would blow up; these decaying terms are the multipole moments of the enclosed source. For a shell , which excludes the origin, you keep both solutions and fix the coefficients from the inner and outer boundaries. The rule: impose regularity wherever your domain reaches — the origin, infinity, or both.
How does this connect to the hydrogen atom and angular momentum?
The Schrödinger equation for any central potential separates as , with the exact angular factor derived here. The integer becomes orbital angular momentum, is the joint eigenstate of and with eigenvalues and , and the values of are the degeneracy of a level with no preferred axis. Only the radial equation knows the potential — Coulomb for hydrogen, harmonic for the isotropic oscillator, a well for the particle in a sphere. That is why the s, p, d, f orbital shapes are universal: they are the spherical harmonics, fixed by rotational symmetry alone.
Why are the resonances of a spherical cavity inharmonic?
Because the radial functions are spherical Bessel functions, whose zeros are not evenly spaced, unlike the sines of a 1-D pipe with zeros at exact multiples of . For the mode the zeros happen to be , so that single channel is harmonic, . But the zeros () and zeros () fall at irrational multiples of the fundamental, so the full spectrum is a dense, inharmonic set. This is why a struck sphere or bell lacks the clean harmonic series of a string or pipe — the three-dimensional geometry scrambles the overtones through the Bessel zeros.