Skip to content

Associated Legendre Functions

Associated Legendre functions are the polar-angle functions that appear in spherical harmonics when the azimuthal quantum number mm is nonzero. They extend Legendre Polynomials by differentiating Pℓ(x)P_\ell(x) and multiplying by the endpoint factor (1−x2)m/2(1-x^2)^{m/2}.

This page uses the convention already used in the angular-momentum pages:

Pℓm(x)=(1−x2)m/2dmPℓdxm,0≤m≤ℓ.P_\ell^m(x) = (1-x^2)^{m/2} \frac{d^mP_\ell}{dx^m}, \qquad 0\le m\le \ell.

With this convention, the Condon–Shortley phase appears explicitly in the spherical harmonic:

Yℓm(θ,ϕ)=(−1)m2ℓ+14π(ℓ−m)!(ℓ+m)!Pℓm(cos⁡θ)eimϕ,m≥0.Y_\ell^m(\theta,\phi) = (-1)^m \sqrt{ \frac{2\ell+1}{4\pi} \frac{(\ell-m)!}{(\ell+m)!} } P_\ell^m(\cos\theta)e^{im\phi}, \qquad m\ge0.

Many references instead absorb the factor (−1)m(-1)^m into the definition of PℓmP_\ell^m. Always check which convention a table uses before comparing signs.

For integer ℓ≥0\ell\ge0 and 0≤m≤ℓ0\le m\le\ell, define

Pℓm(x)=(1−x2)m/2dmdxmPℓ(x),−1≤x≤1.P_\ell^m(x) = (1-x^2)^{m/2} \frac{d^m}{dx^m}P_\ell(x), \qquad -1\le x\le1.

These are often called associated Legendre functions on the cut, or Ferrers functions, because the interval [−1,1][-1,1] is the natural domain for angular problems with x=cos⁡θx=\cos\theta.

For m=0m=0, one recovers the Legendre polynomial:

Pℓ0(x)=Pℓ(x).P_\ell^0(x)=P_\ell(x).

The first few nontrivial examples are

P11(x)=1−x2,P_1^1(x)=\sqrt{1-x^2}, P21(x)=3x1−x2,P22(x)=3(1−x2).P_2^1(x)=3x\sqrt{1-x^2}, \qquad P_2^2(x)=3(1-x^2).

If a reference includes the Condon–Shortley phase inside PℓmP_\ell^m, these examples acquire signs (−1)m(-1)^m.

Associated Legendre functions satisfy

(1−x2)d2ydx2−2xdydx+[ℓ(ℓ+1)−m21−x2]y=0.(1-x^2)\frac{d^2y}{dx^2} -2x\frac{dy}{dx} + \left[ \ell(\ell+1) - \frac{m^2}{1-x^2} \right]y =0.

The term m2/(1−x2)m^2/(1-x^2) is singular at x=±1x=\pm1. The regular angular solutions are selected by endpoint behavior and by the integer labels ℓ\ell and mm.

When m=0m=0, this reduces to Legendre’s differential equation.

For m>0m>0, the factor (1−x2)m/2(1-x^2)^{m/2} controls behavior at the poles:

Pℓm(x)∼(1−x2)m/2near x=±1,P_\ell^m(x) \sim (1-x^2)^{m/2} \quad \text{near }x=\pm1,

up to a finite nonzero factor when the derivative does not vanish there.

In angular variables, x=cos⁡θx=\cos\theta, so

1−x2=sin⁡2θ.1-x^2=\sin^2\theta.

The factor (1−x2)m/2(1-x^2)^{m/2} is therefore a power of sin⁡θ\sin\theta, which keeps the spherical harmonic regular at the north and south poles when combined with the azimuthal phase eimϕe^{im\phi}.

For fixed mm, the functions PℓmP_\ell^m with ℓ=m,m+1,…\ell=m,m+1,\ldots are orthogonal on [−1,1][-1,1]:

∫−11Pℓm(x)Pℓ′m(x) dx=22ℓ+1(ℓ+m)!(ℓ−m)!δℓℓ′.\int_{-1}^{1} P_\ell^m(x)P_{\ell'}^m(x)\,dx = \frac{2}{2\ell+1} \frac{(\ell+m)!}{(\ell-m)!} \delta_{\ell\ell'}.

This is the polar-angle part of spherical-harmonic orthonormality. The factorial ratio is exactly what the normalization constant in YℓmY_\ell^m cancels.

For the broader weighted-inner-product viewpoint, see Orthogonal Polynomials.

The spherical harmonics separate the angular dependence into a polar function and an azimuthal phase:

Yℓm(θ,ϕ)=NℓmPℓm(cos⁡θ)eimϕ.Y_\ell^m(\theta,\phi) = N_{\ell m} P_\ell^m(\cos\theta)e^{im\phi}.

With this page’s convention,

Nℓm=(−1)m2ℓ+14π(ℓ−m)!(ℓ+m)!,m≥0.N_{\ell m} = (-1)^m \sqrt{ \frac{2\ell+1}{4\pi} \frac{(\ell-m)!}{(\ell+m)!} }, \qquad m\ge0.

For negative mm, this site uses the standard relation

Yℓ−m=(−1)m(Yℓm)∗,m>0.Y_\ell^{-m} = (-1)^m \left(Y_\ell^m\right)^*, \qquad m>0.

The physical angular-momentum content belongs to the spherical harmonics: they diagonalize L2L^2 and LzL_z. Associated Legendre functions are the polar special functions used to build them.

Some references define

P~ℓm(x)=(−1)mPℓm(x).\widetilde P_\ell^m(x) = (-1)^mP_\ell^m(x).

In that convention, the spherical-harmonic formula is usually written without a separate (−1)m(-1)^m:

Yℓm(θ,ϕ)=2ℓ+14π(ℓ−m)!(ℓ+m)!P~ℓm(cos⁡θ)eimϕ.Y_\ell^m(\theta,\phi) = \sqrt{ \frac{2\ell+1}{4\pi} \frac{(\ell-m)!}{(\ell+m)!} } \widetilde P_\ell^m(\cos\theta)e^{im\phi}.

Both conventions describe the same normalized spherical harmonics if the sign is handled consistently. Mixing the two conventions changes signs in tables, selection-rule calculations, and Clebsch–Gordan coefficient comparisons.

For a central potential, the angular equation after separation of variables includes the term

1sin⁡2θ∂2∂ϕ2.\frac{1}{\sin^2\theta} \frac{\partial^2}{\partial\phi^2}.

Taking the azimuthal dependence as

Φ(ϕ)=eimϕ\Phi(\phi)=e^{im\phi}

turns this term into

−m2sin⁡2θ.-\frac{m^2}{\sin^2\theta}.

After the substitution x=cos⁡θx=\cos\theta, the polar equation becomes the associated Legendre equation. Regularity and single-valuedness require

ℓ=0,1,2,…,m=−ℓ,…,ℓ.\ell=0,1,2,\ldots, \qquad m=-\ell,\ldots,\ell.

This is the analytic origin of the spherical-harmonic labels.

  • Mixing conventions for whether (−1)m(-1)^m belongs to PℓmP_\ell^m or to YℓmY_\ell^m.
  • Treating PℓmP_\ell^m as a full angular wavefunction without the azimuthal factor eimϕe^{im\phi}.
  • Forgetting that ℓ≥m≥0\ell\ge m\ge0 in the derivative definition for positive mm.
  • Applying the Legendre-polynomial orthogonality formula without the factorial ratio for fixed mm.
  • Ignoring endpoint behavior at x=±1x=\pm1.
  • Confusing associated Legendre functions on [−1,1][-1,1] with other Legendre functions used for non-angular domains.
  • NIST Digital Library of Mathematical Functions, Chapter 14, Legendre and Related Functions.
  • F. W. J. Olver, D. W. Lozier, R. F. Boisvert, and C. W. Clark, eds., NIST Handbook of Mathematical Functions, Cambridge University Press, 2010.
  • M. Abramowitz and I. A. Stegun, eds., Handbook of Mathematical Functions, Dover, 1965.
  • A. R. Edmonds, Angular Momentum in Quantum Mechanics, Princeton University Press, 1957.
  • D. A. Varshalovich, A. N. Moskalev, and V. K. Khersonskii, Quantum Theory of Angular Momentum, World Scientific, 1988.
  • G. B. Arfken, H. J. Weber, and F. E. Harris, Mathematical Methods for Physicists, 7th ed., Academic Press, 2013.
  1. Compute P11(x)P_1^1(x) and P21(x)P_2^1(x) using this page’s convention.
Solution

Since P1(x)=xP_1(x)=x,

P11(x)=(1−x2)1/2dP1dx=1−x2.P_1^1(x) = (1-x^2)^{1/2} \frac{dP_1}{dx} = \sqrt{1-x^2}.

Since

P2(x)=12(3x2−1),P_2(x)=\frac12(3x^2-1),

one has

dP2dx=3x.\frac{dP_2}{dx}=3x.

Therefore

P21(x)=3x1−x2.P_2^1(x) = 3x\sqrt{1-x^2}.
  1. Show that the associated Legendre equation reduces to Legendre’s equation when m=0m=0.
Solution

Set m=0m=0 in

(1−x2)y′′−2xy′+[ℓ(ℓ+1)−m21−x2]y=0.(1-x^2)y'' -2xy' + \left[ \ell(\ell+1) - \frac{m^2}{1-x^2} \right]y =0.

The singular term disappears, leaving

(1−x2)y′′−2xy′+ℓ(ℓ+1)y=0,(1-x^2)y'' -2xy' +\ell(\ell+1)y =0,

which is Legendre’s equation.

  1. Verify the normalization of YℓmY_\ell^m for m≥0m\ge0 using the fixed-mm orthogonality formula.
Solution

The squared normalization factor is

∣Nℓm∣2=2ℓ+14π(ℓ−m)!(ℓ+m)!.\lvert N_{\ell m}\rvert^2 = \frac{2\ell+1}{4\pi} \frac{(\ell-m)!}{(\ell+m)!}.

The angular norm is

∫02π∫0π∣Yℓm∣2sin⁡θ dθ dϕ.\int_0^{2\pi}\int_0^\pi \lvert Y_\ell^m\rvert^2 \sin\theta\,d\theta\,d\phi.

Set x=cos⁡θx=\cos\theta. The ϕ\phi integral gives 2π2\pi, and the polar integral gives

∫−11Pℓm(x)2 dx=22ℓ+1(ℓ+m)!(ℓ−m)!.\int_{-1}^{1} P_\ell^m(x)^2\,dx = \frac{2}{2\ell+1} \frac{(\ell+m)!}{(\ell-m)!}.

Multiplying these factors gives 11.

  1. Translate to the convention P~ℓm=(−1)mPℓm\widetilde P_\ell^m=(-1)^mP_\ell^m. What is P~11(x)\widetilde P_1^1(x)?
Solution

This page gives

P11(x)=1−x2.P_1^1(x)=\sqrt{1-x^2}.

The alternate convention gives

P~11(x)=(−1)1P11(x)=−1−x2.\widetilde P_1^1(x) = (-1)^1P_1^1(x) = -\sqrt{1-x^2}.
  1. Why is Pℓm(cos⁡θ)P_\ell^m(\cos\theta) not by itself an eigenfunction of LzL_z with eigenvalue ℏm\hbar m?
Solution

The operator LzL_z acts on the azimuthal dependence:

Lz=−iℏ∂∂ϕ.L_z=-i\hbar\frac{\partial}{\partial\phi}.

The function Pℓm(cos⁡θ)P_\ell^m(\cos\theta) has no ϕ\phi dependence, so LzL_z acting on it gives zero. The full spherical harmonic includes eimϕe^{im\phi}, and

−iℏ∂∂ϕeimϕ=ℏmeimϕ.-i\hbar\frac{\partial}{\partial\phi}e^{im\phi} = \hbar m e^{im\phi}.