Associated Legendre Functions
The associated Legendre functions are what Legendre's polynomials become the moment a problem stops being axially symmetric. Separate Laplace's equation , or the Helmholtz equation, in spherical coordinates and the angular part factors as ; single-valuedness around the axis forces with integer , and the leftover polar factor , written in the variable , must satisfy the associated Legendre equation — Legendre's own equation plus a repulsive term that blows up at the poles. Regular solutions on the closed interval survive only when the separation constant is with a non-negative integer and ; those survivors are the . Two facts organize everything that follows. First, because the term switches off at , the associated functions are not new objects to discover from scratch — they are manufactured from the Legendre polynomials by differentiating times and gluing on a surface factor . Second, that surface factor is not decoration: it forces the eigenfunction to vanish at the geographic poles whenever the field carries azimuthal swirl, and it is exactly what makes the spherical harmonics single-valued and smooth on the sphere . Assemble with and a normalizing constant and you have the — the eigenfunctions of angular momentum in quantum mechanics, the angular skeleton of every multipole expansion, and the basis in which geophysicists write the shape of the Earth. The second solution , singular at the poles, is discarded on the full sphere but returns in exterior and wedge geometries.
- The associated Legendre functions are the regular solutions of the associated Legendre equation — what the polar factor of Laplace's or Helmholtz's equation obeys once the field carries azimuthal dependence .
- For integer and they are built from Legendre polynomials by -fold differentiation: .
- With they supply the polar-angle factor of the spherical harmonics , the joint eigenfunctions of and .
- They are orthogonal on at fixed with norm , the exact factor that normalizes .
- Positive and negative orders are tied by , and dense webs of recurrences connect neighbouring and .
- The factor makes them genuinely non-polynomial for odd ; only is a true polynomial.
- Key idea: differentiating Legendre's equation times and substituting turns Legendre's polynomials into the regular solutions of the associated equation; the surface factor enforces regularity at the poles and is exactly what makes spherical harmonics well defined on .
Differentiating Legendre's equation times and substituting turns Legendre's polynomials into the regular solutions of the associated equation; the surface factor guarantees regularity at the poles and is exactly what makes spherical harmonics well defined on the sphere.
Where this lives today
The associated Legendre functions are the working basis wherever a field lives on a sphere. In geodesy, the Earth's gravity field is a table of spherical-harmonic coefficients — the EGM2008 model runs to degree and order , some 4.7 million coefficients each multiplying a normalized — and the GRACE satellites track month-to-month changes in the low-degree terms to weigh melting ice sheets and draining aquifers; the same functions carry the Earth's main magnetic field. In cosmology, the cosmic microwave background temperature map is expanded in , and the angular power spectrum measured by Planck — with acoustic peaks near — is just the variance of those coefficients, whose extraction from megapixel sky maps drives fast spherical-harmonic transforms. In quantum chemistry they remain the angular half of every orbital, and in NMR the magic angle of example 2 is a routine hardware setting. The persistent open challenge is computational: evaluating stably to without overflow of the factors, which is why modern libraries carry the normalization inside the recurrence.
The physical picture
Think of the sphere as a globe and ask where a standing angular field is allowed to vanish. Two integers answer. The order counts nodal meridians — lines of longitude where the field is zero — because the azimuthal factor has zeros around a circuit. The remaining counts nodal parallels — circles of latitude where the polar factor changes sign — and the two always sum to nodal lines. A pure has no azimuthal nodes and lives as rings of latitude; a sectoral harmonic with has no latitude rings and slices the globe like an orange. The first figure draws one concrete case and states the counting relation.
Now watch the functions themselves. Differentiating a Legendre polynomial times sharpens its wiggles and lowers its degree to ; multiplying by then clamps the result to zero at the poles and pushes its weight toward the equator, more so the larger . The result is a family of curves on sharing a degree but differing in how many times they cross zero and how hard they are pinned at the ends. The second figure plots the full triplet with exact values, so the pattern — order raises the pole-pinning, and alone survives at the poles — is visible as real numbers.
The core equations
Everything begins with the ODE the polar factor must obey. Separating Laplace's or Helmholtz's equation in spherical coordinates and writing leaves satisfying the associated Legendre equation — Legendre's equation plus an extra centrifugal-looking term whose strength is set by the azimuthal number .
where: — , cosine of the polar angle, ; — degree, a non-negative integer for solutions regular on ; — order (azimuthal number), integer with ; — polar-angle factor. Reading: the term is the whole story — finite in the interior, singular at the poles, and taming it selects the physical solutions. The functions are not solved from scratch. Because that term vanishes at , they are generated from the Legendre polynomials by differentiating times and attaching the surface factor.
where: — Legendre polynomial of degree ; — Condon–Shortley phase (a convention, see the warning); — , the surface factor pinning the function to zero at the poles. Reading: the derivative lowers the degree to and carries the pole behaviour, so is a degree- polynomial times . Substituting Legendre's Rodrigues formula gives a single closed expression valid for both signs of , differentiating a total of times.
where: — normalization from the Legendre Rodrigues formula; — total order of differentiation, valid for . Reading: since has degree , differentiating times leaves degree , consistent with (2). At fixed order the equation is a Sturm–Liouville problem with weight one, so eigenfunctions of different degree are orthogonal and the norm is a clean factorial ratio.
where: — Kronecker delta; — factorials from the normalization integral. Reading: at this collapses to the Legendre norm , and the growing factorial ratio is why high- functions must be rescaled for orthonormal harmonics. Two three-term recurrences let one climb the tables without differentiating again — one steps in degree at fixed order, the other in order at fixed degree.
where: — neighbouring-degree functions at the same order. Reading: the workhorse of numerical evaluation, run upward in from a seed at .
where: — neighbouring-order functions at the same degree. Reading: the makes this the awkward one near the poles, so codes raise through the sectoral seed instead. Dressed with the azimuthal exponential and the square root of the norm in (4), the functions become the orthonormal spherical harmonics — the destination of the construction.
where: — orthonormal spherical harmonic; — azimuthal factor; — polar and azimuthal angles. Reading: the prefactor is exactly from (4), which is why . There is a second orthogonality, at fixed degree running over the order, with the pole-weighted measure that the term itself supplies.
where: — weight arising because, at fixed , it is that plays the Sturm–Liouville eigenvalue. Reading: this pairs orders rather than degrees, underlying expansions in at a fixed multipole.
The goal is to show that the differentiation recipe (2) is not pulled from nowhere but forced by Legendre's equation itself: if solves it, then its -th derivative solves a shifted equation, and dressing that derivative with restores the full associated equation (1) with the term. We differentiate times with Leibniz's rule, read off the intermediate equation, then substitute the surface factor and check the pole term reappears exactly.
Step 1. Start from Legendre's equation and differentiate it times using the Leibniz rule . Only the first three derivatives of the polynomial coefficients survive, and writing the result collapses to . Why: differentiation commutes past the eigenvalue but shifts the first-order coefficient from to and lowers the eigenvalue by — this is the associated equation in undressed "derivative" form.
Step 2. Introduce the surface factor by setting . Differentiating twice and substituting is bookkeeping: the factor generates derivative terms that cancel the shifted coefficient and produce a new algebraic term. Why: the dressing trades the extra first-derivative slope for a potential term, moving the -dependence from the transport coefficient into a pole term.
Step 3. Collect the surviving terms. The algebraic piece is exactly , and the eigenvalue returns to , so obeys — the associated Legendre equation (1) verbatim. Why: this confirms ; the sign and the factor are then fixed by convention and Legendre's Rodrigues formula to give (2) and (3).
Step 4. Sanity-check the degree count: has degree , differentiating times leaves degree , and multiplying by (non-polynomial for odd ) gives the stated structure; at the polynomial part is constant, leaving the pure sectoral . Why: this reproduces the ladder-top value used below as the seed for the numerical recurrence.
Go deeper · Derivation B · 1 minOrthogonality and the normalization integral
The goal is to prove the fixed-order orthogonality (4) and pin down the factorial norm that makes the spherical harmonics orthonormal. We put the equation into self-adjoint Sturm–Liouville form, use the vanishing coefficient at the endpoints to kill the boundary term, then evaluate the diagonal norm by repeated integration by parts down to the known Legendre norm.
Step 1. Rewrite (1) in self-adjoint form . At fixed this is a regular Sturm–Liouville eigenproblem with weight , eigenvalue , and coefficient that vanishes at both endpoints. Why: self-adjointness guarantees real eigenvalues and orthogonal eigenfunctions, and the vanishing of at is what kills the boundary term without extra conditions.
Step 2. Take the equations for and , multiply crosswise, subtract, and integrate over . The derivative terms combine into a total derivative whose integral is evaluated at — and it vanishes because there, leaving . Why: distinct eigenvalues force orthogonality for — the Sturm–Liouville engine, not any special property of Legendre functions.
Step 3. For the diagonal insert so that , and integrate by parts times. Each step is boundary-free because and its derivatives up to order vanish at . Why: this converts the associated-function norm into the plain Legendre norm times an accumulated factorial factor, with no explicit series.
Step 4. The reduction terminates at , and the factors picked up multiply to , giving . At this is , and it is exactly the reciprocal of the squared prefactor in (7), so . Why: the factorial ratio is the whole content of the normalization — why the harmonic prefactor carries and why high-order functions grow rapidly.
Go deeper · Derivation C · 2 minQuantization from regularity at the poles
The goal is to explain why the separation constant is forced to be with a non-negative integer no smaller than , rather than any of the continuum of values the ODE would otherwise allow. The mechanism is a boundary condition: the endpoints are regular singular points, Frobenius analysis gives two indicial roots, only one is finite, and demanding finiteness at both poles terminates the power series — which happens only for integer eigenvalues.
Step 1. Locate the singular points. In (1) the leading coefficient vanishes at , making both endpoints regular singular points. A Frobenius substitution near gives the indicial equation , so the two roots are (equivalently ). Why: the behaviour of any solution near a pole is one of these two powers, and the physics lives entirely in which one a given solution picks up.
Step 2. Select the regular root. gives , finite at ; diverges. Requiring finiteness at both isolates the surface factor that both associated functions share. Why: this is the ODE derivation of the factor — not put in by hand but the only pole behaviour compatible with a bounded field, and what distinguishes from the divergent .
Step 3. Substitute and reduce to a polynomial equation for . Solving as a power series gives a recurrence whose coefficients grow without bound unless the series terminates; termination requires the eigenvalue to equal for some integer , and a non-terminating series diverges like at the poles. Why: quantization is a solvability condition — only the integer eigenvalues yield a polynomial , hence a bounded regular at both poles.
Step 4. Read off the spectrum: and, for each , . This is precisely the quantization , of orbital angular momentum, and the -fold degeneracy in . Why: what looks like a technical demand for boundedness on is, physically, the requirement that the quantum wavefunction be single-valued and finite on the sphere — angular-momentum quantization is a regularity condition in disguise.
Limiting cases
| Case | Result | Meaning |
|---|---|---|
| reduces to the ordinary Legendre polynomials; the surface factor is unity and the term is gone | ||
| (top of the ladder) | a pure sectoral with a constant polynomial part; here | |
| Poles | , | non-zero order must vanish at the poles — the geometric root of single-valuedness on the sphere |
| Negative order | negative is proportional to positive ; only carries new information | |
| the monopole; constant on the sphere, |
Worked examples
1 · Building the ℓ = 2 family and checking its norm (confidence builder)
Construct , , and from the differentiation formula (2), confirm the top-of-the-ladder value, and verify the normalization integral (4) for by direct integration.
Step 1. Start from , so and . Order zero is trivial: , giving and , the green curve.
Step 2. Order one uses one derivative and the surface factor: . It is odd, vanishes at and both poles, and its extrema at give .
Step 3. Order two uses two derivatives: , peaking at . Check the ladder-top formula with — consistent.
Step 4. Verify the norm for directly: . Formula (4) predicts — they match exactly, confirming both the construction and the factorial norm.
2 · The quadrupole harmonic and the magic angle
The polar factor of the harmonic is . Find the latitude of its nodal cone, normalize it into , and identify the concrete number where this angle appears in physics.
Step 1. The nodal parallels are where : , so and its supplement — the two symmetric cones matching the count nodal circles.
Step 2. Normalize using (7) with , : . Check: , and , so is correctly normalized.
Step 3. Interpret the angle. is the magic angle of NMR: spinning a sample about an axis tilted at this angle makes average to zero, cancelling dipolar broadening and chemical-shift anisotropy. It is also the conical node of the orbital, whose angular part is .
Step 4. The payoff: the quadrupole harmonic vanishes on a cone at — exactly the magic angle MAS-NMR exploits and the nodal cone of the orbital. One function fixes both a spinning geometry and the shape of a chemical bond.
Physics of the portrait
The associated Legendre functions are the meeting point of three problems that looked unrelated: the shape of the Earth, the vibrations of a sphere, and the quantum spectrum of angular momentum. No single person owns them, so the portrait is of the object itself and the hands that shaped it.
Origins · 1 minassociated Legendre functions and how this was discovered
The story starts with Adrien-Marie Legendre, who in 1782 introduced his polynomials while expanding the Newtonian potential of a spheroid — the "figure of the Earth" problem — and with Pierre-Simon Laplace, whose work on the gravitational potential produced the spherical harmonics wholesale, associated functions included, as the natural angular basis on the sphere. For decades they were tools of celestial mechanics and geodesy, not a named family. The nineteenth century made them respectable: Sturm–Liouville theory in the 1830s revealed the orthogonality and eigenvalue structure behind them, and Norman Macleod Ferrers gave the associated functions their first systematic treatment in 1877 — which is why on the cut are still called Ferrers functions, to distinguish them from the complex-argument versions E. W. Hobson later analysed in his definitive 1931 treatise. The functions were then reborn in physics: Schrödinger's 1926 wave mechanics made the angular part of the hydrogen atom, and Edward Condon and George Shortley's 1935 Theory of Atomic Spectra fixed the phase convention that still bears their names and quietly governs every ladder-operator sign in quantum mechanics. A curve first drawn to weigh the Earth had become the alphabet of angular momentum.
Going further
Texts. Arfken, Weber & Harris, Mathematical Methods for Physicists, 7th ed., Ch. 15 (Legendre functions and spherical harmonics) · Hassani, Mathematical Physics, 2nd ed., Ch. 13–14 (Sturm–Liouville systems and special functions) · Stone & Goldbart, Mathematics for Physics, Ch. 8–9 (Sturm–Liouville theory and special functions) · Byron & Fuller, Mathematics of Classical and Quantum Physics, Ch. 6 · Nakahara, Geometry, Topology and Physics, §3.5 (harmonics on manifolds) · Abramowitz & Stegun, Ch. 8, and the NIST DLMF, Ch. 14, for formulas and conventions.
Provenance. A verifier should reconfirm: the associated Legendre equation and its self-adjoint form (Arfken Ch. 15; Hassani Ch. 13); the differentiation and Rodrigues definitions with the Condon–Shortley phase (Arfken; DLMF 14.6–14.7); the fixed- norm and the fixed- weight- relation (Arfken; A&S 8.14); the degree and order recurrences (A&S 8.5; DLMF 14.10); special values , , and the negative-order relation (A&S 8.6; DLMF 14.9); the spherical-harmonic normalization (Arfken Ch. 15). The worked numbers ( norm ; ) were recomputed here. Modern anchors (EGM2008 to , Planck peak near ) are standard published values.
Builds on: Legendre Polynomials · Orthogonal Polynomials: General Theory · Gamma Function. Leads to: Spherical Harmonics · Recurrence Relations for Special Functions · Generating Functions for Special Functions.
Ask the tutor: ask me why the factor is forced by regularity at the poles, or to hand-build any and turn it into its spherical harmonic .
Why are they called "functions" and not "polynomials"?
Because for odd order they genuinely are not polynomials. The surface factor is a polynomial only when is even; for odd it carries an irreducible , so is a degree- polynomial times that square root. Only the member is a polynomial for every . The name "function" is the honest umbrella covering both cases, and it leaves room for the second solution , which is not remotely polynomial.
What is the second solution Qₗᵐ, and when do I need it?
The associated Legendre equation is second order, so it has two independent solutions. is the one finite at the poles ; the other, , has logarithmic or branch-point singularities there. On the full sphere you discard because a physical field cannot blow up on the axis — that discarding is exactly what quantizes . But is indispensable when the axis is not in your domain: exterior problems and conical, wedge, or toroidal geometries keep both solutions, fixing their ratio by boundary conditions at surfaces that exclude .
Why does the field have to vanish at the poles when m ≠ 0?
Because otherwise it would be multivalued there. Near a pole the azimuthal angle is undefined — every longitude meets at one point — so a field carrying with would take many values at once unless its amplitude is zero. The mathematics enforces this: the Frobenius analysis at offers , and only the root, which vanishes at the pole for , is finite. Regularity on the sphere and single-valuedness are the same requirement seen from two sides.
Where exactly does angular-momentum quantization come from here?
From the demand that the solution be bounded at both poles. The eigenvalue is , and for a generic value the power series does not terminate — it then diverges like at the poles. Only when is a non-negative integer with does the series close into a bounded polynomial times . That integer is the same in , and the range is the -fold degeneracy of . Quantization is a boundary condition, not an extra postulate.
Do I ever need negative m, or is the absolute value enough?
For building a basis, is enough: , so the negative-order function is a known constant times the positive one and carries no new shape. But you still want the labels because the azimuthal factor distinguishes from physically — they are counter-rotating states with . So the functions span everything, while the harmonics genuinely need both signs to represent both senses of rotation and to form a complete orthonormal set on the sphere.
Why do numerical codes fight with the factorial normalization?
Because overflows fast. An unnormalized at high degree can exceed the double-precision range (about ) near for the largest orders, so computing it first and dividing by the norm afterward overflows before the division ever happens. Geodesy and cosmology libraries fold the normalization into the recurrence itself, propagating fully-normalized values at every step — the only way to reach the degrees to that gravity and CMB models demand.