In mathematics, the **associated Legendre polynomials** are the canonical solutions of the **general Legendre equation**

- \({\displaystyle (1-x^{2}){\frac {d^{2}}{dx^{2}}}P_{\ell }^{m}(x)-2x{\frac {d}{dx}}P_{\ell }^{m}(x)+\left[\ell (\ell +1)-{\frac {m^{2}}{1-x^{2}}}\right]P_{\ell }^{m}(x)=0}\),

or equivalently

- \({\displaystyle {\frac {d}{dx}}\left[(1-x^{2}){\frac {d}{dx}}P_{\ell }^{m}(x)\right]+\left[\ell (\ell +1)-{\frac {m^{2}}{1-x^{2}}}\right]P_{\ell }^{m}(x)=0}\),

where the indices *ℓ* and *m* (which are integers) are referred to as the degree and order of the associated Legendre polynomial respectively. This equation has nonzero solutions that are nonsingular on [−1, 1] only if *ℓ* and *m* are integers with 0 ≤ *m* ≤ *ℓ*, or with trivially equivalent negative values. When in addition *m* is even, the function is a polynomial. When *m* is zero and *ℓ* integer, these functions are identical to the Legendre polynomials. In general, when *ℓ* and *m* are integers, the regular solutions are sometimes called "associated Legendre polynomials", even though they are not polynomials when *m* is odd. The fully general class of functions with arbitrary real or complex values of *ℓ* and *m* are Legendre functions. In that case the parameters are usually labelled with Greek letters.

The Legendre ordinary differential equation is frequently encountered in physics and other technical fields. In particular, it occurs when solving Laplace's equation (and related partial differential equations) in spherical coordinates. Associated Legendre polynomials play a vital role in the definition of spherical harmonics.

- 1 Definition for non-negative integer parameters ℓ and
*m* - 2 Orthogonality
- 3 Negative
*m*and/or negative ℓ - 4 Parity
- 5 The first few associated Legendre functions
- 6 Recurrence formula
- 7 Gaunt's formula
- 8 Generalization via hypergeometric functions
- 9 Reparameterization in terms of angles
- 10 Applications in physics: spherical harmonics
- 11 Generalizations
- 12 See also
- 13 Notes and references
- 14 External links

These functions are denoted \({\displaystyle P_{\ell }^{m}(x)}\), where the superscript indicates the order, and not a power of *P*. Their most straightforward definition is in terms
of derivatives of ordinary Legendre polynomials (*m* ≥ 0)

- \({\displaystyle P_{\ell }^{m}(x)=(-1)^{m}(1-x^{2})^{m/2}{\frac {d^{m}}{dx^{m}}}\left(P_{\ell }(x)\right)}\),

The (−1)^{m} factor in this formula is known as the Condon–Shortley phase. Some authors omit it. The functions described by this equation satisfy the general Legendre differential equation with the indicated values of the parameters *ℓ* and *m* follows by differentiating *m* times the Legendre equation for *P*_{ℓ}:^{[1]}

- \({\displaystyle (1-x^{2}){\frac {d^{2}}{dx^{2}}}P_{\ell }(x)-2x{\frac {d}{dx}}P_{\ell }(x)+\ell (\ell +1)P_{\ell }(x)=0.}\)

Moreover, since by Rodrigues' formula,

- \({\displaystyle P_{\ell }(x)={\frac {1}{2^{\ell }\,\ell !}}\ {\frac {d^{\ell }}{dx^{\ell }}}\left[(x^{2}-1)^{\ell }\right],}\)

the *P*^{m}_{ℓ} can be expressed in the form

- \({\displaystyle P_{\ell }^{m}(x)={\frac {(-1)^{m}}{2^{\ell }\ell !}}(1-x^{2})^{m/2}\ {\frac {d^{\ell +m}}{dx^{\ell +m}}}(x^{2}-1)^{\ell }.}\)

This equation allows extension of the range of *m* to: −*ℓ* ≤ *m* ≤ *ℓ*. The definitions of *P*_{ℓ}^{±m}, resulting from this expression by substitution of ±*m*, are proportional. Indeed,
equate the coefficients of equal powers on the left and right hand side of

- \({\displaystyle {\frac {d^{\ell -m}}{dx^{\ell -m}}}(x^{2}-1)^{\ell }=c_{lm}(1-x^{2})^{m}{\frac {d^{\ell +m}}{dx^{\ell +m}}}(x^{2}-1)^{\ell },}\)

then it follows that the proportionality constant is

- \({\displaystyle c_{lm}=(-1)^{m}{\frac {(\ell -m)!}{(\ell +m)!}},}\)

so that

- \({\displaystyle P_{\ell }^{-m}(x)=(-1)^{m}{\frac {(\ell -m)!}{(\ell +m)!}}P_{\ell }^{m}(x).}\)

The following alternative notations are also used in literature:^{[2]}

- \({\displaystyle P_{\ell m}(x)=(-1)^{m}P_{\ell }^{m}(x)}\)

The Associated Legendre Polynomial can also be written as:

- \({\displaystyle P_{l}^{m}(x)=(-1)^{m}\cdot 2^{l}\cdot (1-x^{2})^{m/2}\cdot \sum _{k=m}^{l}{\frac {k!}{(k-m)!}}\cdot x^{k-m}\cdot {\binom {l}{k}}{\binom {\frac {l+k-1}{2}}{l}}}\)

with simple monomials and the generalized form of the binomial coefficient.

The associated Legendre polynomials are not mutually orthogonal in general. For example, \({\displaystyle P_{1}^{1}}\) is not orthogonal to \({\displaystyle P_{2}^{2}}\). However, some subsets are orthogonal. Assuming 0 ≤ *m* ≤ *ℓ*, they satisfy the orthogonality condition for fixed *m*:

- \({\displaystyle \int _{-1}^{1}P_{k}^{m}P_{\ell }^{m}dx={\frac {2(\ell +m)!}{(2\ell +1)(\ell -m)!}}\ \delta _{k,\ell }}\)

Where δ_{k, ℓ} is the Kronecker delta.

Also, they satisfy the orthogonality condition for fixed *ℓ*:

- \({\displaystyle \int _{-1}^{1}{\frac {P_{\ell }^{m}P_{\ell }^{n}}{1-x^{2}}}dx={\begin{cases}0&{\mbox{if }}m\neq n\\{\frac {(\ell +m)!}{m(\ell -m)!}}&{\mbox{if }}m=n\neq 0\\\infty &{\mbox{if }}m=n=0\end{cases}}}\)

The differential equation is clearly invariant under a change in sign of *m*.

The functions for negative *m* were shown above to be proportional to those of positive *m*:

- \({\displaystyle P_{\ell }^{-m}=(-1)^{m}{\frac {(\ell -m)!}{(\ell +m)!}}P_{\ell }^{m}}\)

(This followed from the Rodrigues' formula definition. This definition also makes the various recurrence formulas work for positive or negative *m*.)

\({\displaystyle {\textrm {If}}\quad {\mid }m{\mid }>\ell \,\quad \mathrm {then} \quad P_{\ell }^{m}=0.\,}\)

The differential equation is also invariant under a change from *ℓ* to
−*ℓ* − 1, and the functions for negative *ℓ* are defined by

- \({\displaystyle P_{-\ell }^{m}=P_{\ell -1}^{m},\ (\ell =1,\,2,\,...)}\).

From their definition, one can verify that the Associated Legendre functions are either even or odd according to

- \({\displaystyle P_{\ell }^{m}(-x)=(-1)^{\ell +m}P_{\ell }^{m}(x)}\)

The first few associated Legendre functions, including those for negative values of *m*, are:

- \({\displaystyle P_{0}^{0}(x)=1}\)

- \({\displaystyle P_{1}^{-1}(x)=-{\begin{matrix}{\frac {1}{2}}\end{matrix}}P_{1}^{1}(x)}\)
- \({\displaystyle P_{1}^{0}(x)=x}\)
- \({\displaystyle P_{1}^{1}(x)=-(1-x^{2})^{1/2}}\)

- \({\displaystyle P_{2}^{-2}(x)={\begin{matrix}{\frac {1}{24}}\end{matrix}}P_{2}^{2}(x)}\)
- \({\displaystyle P_{2}^{-1}(x)=-{\begin{matrix}{\frac {1}{6}}\end{matrix}}P_{2}^{1}(x)}\)
- \({\displaystyle P_{2}^{0}(x)={\begin{matrix}{\frac {1}{2}}\end{matrix}}(3x^{2}-1)}\)
- \({\displaystyle P_{2}^{1}(x)=-3x(1-x^{2})^{1/2}}\)
- \({\displaystyle P_{2}^{2}(x)=3(1-x^{2})}\)

- \({\displaystyle P_{3}^{-3}(x)=-{\begin{matrix}{\frac {1}{720}}\end{matrix}}P_{3}^{3}(x)}\)
- \({\displaystyle P_{3}^{-2}(x)={\begin{matrix}{\frac {1}{120}}\end{matrix}}P_{3}^{2}(x)}\)
- \({\displaystyle P_{3}^{-1}(x)=-{\begin{matrix}{\frac {1}{12}}\end{matrix}}P_{3}^{1}(x)}\)
- \({\displaystyle P_{3}^{0}(x)={\begin{matrix}{\frac {1}{2}}\end{matrix}}(5x^{3}-3x)}\)
- \({\displaystyle P_{3}^{1}(x)=-{\begin{matrix}{\frac {3}{2}}\end{matrix}}(5x^{2}-1)(1-x^{2})^{1/2}}\)
- \({\displaystyle P_{3}^{2}(x)=15x(1-x^{2})}\)
- \({\displaystyle P_{3}^{3}(x)=-15(1-x^{2})^{3/2}}\)

- \({\displaystyle P_{4}^{-4}(x)={\begin{matrix}{\frac {1}{40320}}\end{matrix}}P_{4}^{4}(x)}\)
- \({\displaystyle P_{4}^{-3}(x)=-{\begin{matrix}{\frac {1}{5040}}\end{matrix}}P_{4}^{3}(x)}\)
- \({\displaystyle P_{4}^{-2}(x)={\begin{matrix}{\frac {1}{360}}\end{matrix}}P_{4}^{2}(x)}\)
- \({\displaystyle P_{4}^{-1}(x)=-{\begin{matrix}{\frac {1}{20}}\end{matrix}}P_{4}^{1}(x)}\)
- \({\displaystyle P_{4}^{0}(x)={\begin{matrix}{\frac {1}{8}}\end{matrix}}(35x^{4}-30x^{2}+3)}\)
- \({\displaystyle P_{4}^{1}(x)=-{\begin{matrix}{\frac {5}{2}}\end{matrix}}(7x^{3}-3x)(1-x^{2})^{1/2}}\)
- \({\displaystyle P_{4}^{2}(x)={\begin{matrix}{\frac {15}{2}}\end{matrix}}(7x^{2}-1)(1-x^{2})}\)
- \({\displaystyle P_{4}^{3}(x)=-105x(1-x^{2})^{3/2}}\)
- \({\displaystyle P_{4}^{4}(x)=105(1-x^{2})^{2}}\)

These functions have a number of recurrence properties:

- \({\displaystyle (\ell -m+1)P_{\ell +1}^{m}(x)=(2\ell +1)xP_{\ell }^{m}(x)-(\ell +m)P_{\ell -1}^{m}(x)}\)

- \({\displaystyle 2mxP_{\ell }^{m}(x)=-{\sqrt {1-x^{2}}}\left[P_{\ell }^{m+1}(x)+(\ell +m)(\ell -m+1)P_{\ell }^{m-1}(x)\right]}\)

- \({\displaystyle {\frac {1}{\sqrt {1-x^{2}}}}P_{\ell }^{m}(x)={\frac {-1}{2m}}\left[P_{\ell -1}^{m+1}(x)+(\ell +m-1)(\ell +m)P_{\ell -1}^{m-1}(x)\right]}\)

- \({\displaystyle {\frac {1}{\sqrt {1-x^{2}}}}P_{\ell }^{m}(x)={\frac {-1}{2m}}\left[P_{\ell +1}^{m+1}(x)+(\ell -m+1)(\ell -m+2)P_{\ell +1}^{m-1}(x)\right]}\)

- \({\displaystyle {\sqrt {1-x^{2}}}P_{\ell }^{m}(x)={\frac {1}{2\ell +1}}\left[(\ell -m+1)(\ell -m+2)P_{\ell +1}^{m-1}(x)-(\ell +m-1)(\ell +m)P_{\ell -1}^{m-1}(x)\right]}\)

- \({\displaystyle {\sqrt {1-x^{2}}}P_{\ell }^{m}(x)={\frac {-1}{2\ell +1}}\left[P_{\ell +1}^{m+1}(x)-P_{\ell -1}^{m+1}(x)\right]}\)

- \({\displaystyle {\sqrt {1-x^{2}}}P_{\ell }^{m+1}(x)=(\ell -m)xP_{\ell }^{m}(x)-(\ell +m)P_{\ell -1}^{m}(x)}\)

- \({\displaystyle {\sqrt {1-x^{2}}}P_{\ell }^{m+1}(x)=(\ell -m+1)P_{\ell +1}^{m}(x)-(\ell +m+1)xP_{\ell }^{m}(x)}\)

- \({\displaystyle {\sqrt {1-x^{2}}}{\frac {d}{dx}}{P_{\ell }^{m}}(x)={\frac {1}{2}}\left[(\ell +m)(\ell -m+1)P_{\ell }^{m-1}(x)-P_{\ell }^{m+1}(x)\right]}\)

- \({\displaystyle (1-x^{2}){\frac {d}{dx}}{P_{\ell }^{m}}(x)={\frac {1}{2\ell +1}}\left[(\ell +1)(\ell +m)P_{\ell -1}^{m}(x)-\ell (\ell -m+1)P_{\ell +1}^{m}(x)\right]}\)

- \({\displaystyle (x^{2}-1){\frac {d}{dx}}{P_{\ell }^{m}}(x)={\ell }xP_{\ell }^{m}(x)-(\ell +m)P_{\ell -1}^{m}(x)}\)

- \({\displaystyle (x^{2}-1){\frac {d}{dx}}{P_{\ell }^{m}}(x)=-(\ell +1)xP_{\ell }^{m}(x)+(\ell -m+1)P_{\ell +1}^{m}(x)}\)

- \({\displaystyle (x^{2}-1){\frac {d}{dx}}{P_{\ell }^{m}}(x)={\sqrt {1-x^{2}}}P_{\ell }^{m+1}(x)+mxP_{\ell }^{m}(x)}\)

- \({\displaystyle (x^{2}-1){\frac {d}{dx}}{P_{\ell }^{m}}(x)=-(\ell +m)(\ell -m+1){\sqrt {1-x^{2}}}P_{\ell }^{m-1}(x)-mxP_{\ell }^{m}(x)}\)

Helpful identities (initial values for the first recursion):

- \({\displaystyle P_{\ell +1}^{\ell +1}(x)=-(2\ell +1){\sqrt {1-x^{2}}}P_{\ell }^{\ell }(x)}\)
- \({\displaystyle P_{\ell }^{\ell }(x)=(-1)^{\ell }(2\ell -1)!!(1-x^{2})^{(\ell /2)}}\)
- \({\displaystyle P_{\ell +1}^{\ell }(x)=x(2\ell +1)P_{\ell }^{\ell }(x)}\)

with !! the double factorial.

The integral over the product of three associated Legendre polynomials (with orders matching as shown below) is a necessary ingredient when developing products of Legendre polynomials into a series linear in the Legendre polynomials. For instance, this turns out to be necessary when doing atomic calculations of the Hartree–Fock variety where matrix elements of the Coulomb operator are needed. For this we have Gaunt's formula ^{[3]}

\({\displaystyle {\frac {1}{2}}\int _{-1}^{1}P_{l}^{u}(x)P_{m}^{v}(x)P_{n}^{w}(x)dx=}\) | \({\displaystyle (-1)^{s-m-w}{\frac {(m+v)!(n+w)!(2s-2n)!s!}{(m-v)!(s-l)!(s-m)!(s-n)!(2s+1)!}}}\) |

\({\displaystyle \times \ \sum _{t=p}^{q}(-1)^{t}{\frac {(l+u+t)!(m+n-u-t)!}{t!(l-u-t)!(m-n+u+t)!(n-w-t)!}}}\) |

This formula is to be used under the following assumptions:

- the degrees are non-negative integers \({\displaystyle l,m,n\geq 0}\)
- all three orders are non-negative integers \({\displaystyle u,v,w\geq 0}\)
- \({\displaystyle u}\) is the largest of the three orders
- the orders sum up \({\displaystyle u=v+w}\)
- the degrees obey \({\displaystyle m\geq n}\)

Other quantities appearing in the formula are defined as

- \({\displaystyle \ 2s=l+m+n}\)
- \({\displaystyle \ p=\max(0,\,n-m-u)}\)
- \({\displaystyle \ q=\min(m+n-u,\,l-u,\,n-w)}\)

The integral is zero unless

- the sum of degrees is even so that \({\displaystyle s}\) is an integer
- the triangular condition is satisfied \({\displaystyle m+n\geq l\geq m-n}\)

Dong and Lemus (2002)^{[4]} generalized the derivation of this formula to integrals over a product of an arbitrary number of associated Legendre polynomials.

These functions may actually be defined for general complex parameters and argument:

- \({\displaystyle P_{\lambda }^{\mu }(z)={\frac {1}{\Gamma (1-\mu )}}\left[{\frac {1+z}{1-z}}\right]^{\mu /2}\,_{2}F_{1}(-\lambda ,\lambda +1;1-\mu ;{\frac {1-z}{2}})}\)

where \({\displaystyle \Gamma }\) is the gamma function and \({\displaystyle _{2}F_{1}}\) is the hypergeometric function

- \({\displaystyle \,_{2}F_{1}(\alpha ,\beta ;\gamma ;z)={\frac {\Gamma (\gamma )}{\Gamma (\alpha )\Gamma (\beta )}}\sum _{n=0}^{\infty }{\frac {\Gamma (n+\alpha )\Gamma (n+\beta )}{\Gamma (n+\gamma )\ n!}}z^{n},}\)

They are called the **Legendre functions** when defined in this more general way. They satisfy
the same differential equation as before:

- \({\displaystyle (1-z^{2})\,y''-2zy'+\left(\lambda [\lambda +1]-{\frac {\mu ^{2}}{1-z^{2}}}\right)\,y=0.\,}\)

Since this is a second order differential equation, it has a second solution, \({\displaystyle Q_{\lambda }^{\mu }(z)}\), defined as:

- \({\displaystyle Q_{\lambda }^{\mu }(z)={\frac {{\sqrt {\pi }}\ \Gamma (\lambda +\mu +1)}{2^{\lambda +1}\Gamma (\lambda +3/2)}}{\frac {1}{z^{\lambda +\mu +1}}}(1-z^{2})^{\mu /2}\,_{2}F_{1}\left({\frac {\lambda +\mu +1}{2}},{\frac {\lambda +\mu +2}{2}};\lambda +{\frac {3}{2}};{\frac {1}{z^{2}}}\right)}\)

\({\displaystyle P_{\lambda }^{\mu }(z)}\) and \({\displaystyle Q_{\lambda }^{\mu }(z)}\) both obey the various recurrence formulas given previously.

These functions are most useful when the argument is reparameterized in terms of angles, letting \({\displaystyle x=\cos \theta }\):

- \({\displaystyle P_{\ell }^{m}(\cos \theta )=(-1)^{m}(\sin \theta )^{m}\ {\frac {d^{m}}{d(\cos \theta )^{m}}}\left(P_{\ell }(\cos \theta )\right)\,}\)

Using the relation \({\displaystyle (1-x^{2})^{1/2}=\sin \theta }\), the list given above yields the first few polynomials, parameterized this way, as:

- \({\displaystyle {\begin{aligned}P_{0}^{0}(\cos \theta )&=1\\[8pt]P_{1}^{0}(\cos \theta )&=\cos \theta \\[8pt]P_{1}^{1}(\cos \theta )&=-\sin \theta \\[8pt]P_{2}^{0}(\cos \theta )&={\tfrac {1}{2}}(3\cos ^{2}\theta -1)\\[8pt]P_{2}^{1}(\cos \theta )&=-3\cos \theta \sin \theta \\[8pt]P_{2}^{2}(\cos \theta )&=3\sin ^{2}\theta \\[8pt]P_{3}^{0}(\cos \theta )&={\tfrac {1}{2}}(5\cos ^{3}\theta -3\cos \theta )\\[8pt]P_{3}^{1}(\cos \theta )&=-{\tfrac {3}{2}}(5\cos ^{2}\theta -1)\sin \theta \\[8pt]P_{3}^{2}(\cos \theta )&=15\cos \theta \sin ^{2}\theta \\[8pt]P_{3}^{3}(\cos \theta )&=-15\sin ^{3}\theta \\[8pt]P_{4}^{0}(\cos \theta )&={\tfrac {1}{8}}(35\cos ^{4}\theta -30\cos ^{2}\theta +3)\\[8pt]P_{4}^{1}(\cos \theta )&=-{\tfrac {5}{2}}(7\cos ^{3}\theta -3\cos \theta )\sin \theta \\[8pt]P_{4}^{2}(\cos \theta )&={\tfrac {15}{2}}(7\cos ^{2}\theta -1)\sin ^{2}\theta \\[8pt]P_{4}^{3}(\cos \theta )&=-105\cos \theta \sin ^{3}\theta \\[8pt]P_{4}^{4}(\cos \theta )&=105\sin ^{4}\theta \end{aligned}}}\)

The orthogonality relations given above become in this formulation:
for fixed *m*, \({\displaystyle P_{\ell }^{m}(\cos \theta )}\) are orthogonal, parameterized by θ over \({\displaystyle [0,\pi ]}\), with weight \({\displaystyle \sin \theta }\):

- \({\displaystyle \int _{0}^{\pi }P_{k}^{m}(\cos \theta )P_{\ell }^{m}(\cos \theta )\,\sin \theta \,d\theta ={\frac {2(\ell +m)!}{(2\ell +1)(\ell -m)!}}\ \delta _{k,\ell }}\)

Also, for fixed *ℓ*:

- \({\displaystyle \int _{0}^{\pi }P_{\ell }^{m}(\cos \theta )P_{\ell }^{n}(\cos \theta )\csc \theta \,d\theta ={\begin{cases}0&{\text{if }}m\neq n\\{\frac {(\ell +m)!}{m(\ell -m)!}}&{\text{if }}m=n\neq 0\\\infty &{\text{if }}m=n=0\end{cases}}}\)

In terms of θ, \({\displaystyle P_{\ell }^{m}(\cos \theta )}\) are solutions of

- \({\displaystyle {\frac {d^{2}y}{d\theta ^{2}}}+\cot \theta {\frac {dy}{d\theta }}+\left[\lambda -{\frac {m^{2}}{\sin ^{2}\theta }}\right]\,y=0\,}\)

More precisely, given an integer *m*\({\displaystyle \geq }\)0, the above equation has
nonsingular solutions only when \({\displaystyle \lambda =\ell (\ell +1)\,}\) for *ℓ*
an integer ≥ *m*, and those solutions are proportional to
\({\displaystyle P_{\ell }^{m}(\cos \theta )}\).

In many occasions in physics, associated Legendre polynomials in terms of angles occur where spherical symmetry is involved. The colatitude angle in spherical coordinates is the angle \({\displaystyle \theta }\) used above. The longitude angle, \({\displaystyle \phi }\), appears in a multiplying factor. Together, they make a set of functions called spherical harmonics. These functions express the symmetry of the two-sphere under the action of the Lie group SO(3).

What makes these functions useful is that they are central to the solution of the equation \({\displaystyle \nabla ^{2}\psi +\lambda \psi =0}\) on the surface of a sphere. In spherical coordinates θ (colatitude) and φ (longitude), the Laplacian is

- \({\displaystyle \nabla ^{2}\psi ={\frac {\partial ^{2}\psi }{\partial \theta ^{2}}}+\cot \theta {\frac {\partial \psi }{\partial \theta }}+\csc ^{2}\theta {\frac {\partial ^{2}\psi }{\partial \phi ^{2}}}.}\)

When the partial differential equation

- \({\displaystyle {\frac {\partial ^{2}\psi }{\partial \theta ^{2}}}+\cot \theta {\frac {\partial \psi }{\partial \theta }}+\csc ^{2}\theta {\frac {\partial ^{2}\psi }{\partial \phi ^{2}}}+\lambda \psi =0}\)

is solved by the method of separation of variables, one gets a φ-dependent part \({\displaystyle \sin(m\phi )}\) or \({\displaystyle \cos(m\phi )}\) for integer m≥0, and an equation for the θ-dependent part

- \({\displaystyle {\frac {d^{2}y}{d\theta ^{2}}}+\cot \theta {\frac {dy}{d\theta }}+\left[\lambda -{\frac {m^{2}}{\sin ^{2}\theta }}\right]\,y=0\,}\)

for which the solutions are \({\displaystyle P_{\ell }^{m}(\cos \theta )}\) with \({\displaystyle \ell {\geq }m}\) and \({\displaystyle \lambda =\ell (\ell +1)}\).

Therefore, the equation

- \({\displaystyle \nabla ^{2}\psi +\lambda \psi =0}\)

has nonsingular separated solutions only when \({\displaystyle \lambda =\ell (\ell +1)}\), and those solutions are proportional to

- \({\displaystyle P_{\ell }^{m}(\cos \theta )\ \cos(m\phi )\ \ \ \ 0\leq m\leq \ell }\)

and

- \({\displaystyle P_{\ell }^{m}(\cos \theta )\ \sin(m\phi )\ \ \ \ 0<m\leq \ell .}\)

For each choice of *ℓ*, there are 2ℓ + 1 functions
for the various values of *m* and choices of sine and cosine.
They are all orthogonal in both *ℓ* and *m* when integrated over the
surface of the sphere.

The solutions are usually written in terms of complex exponentials:

- \({\displaystyle Y_{\ell ,m}(\theta ,\phi )={\sqrt {\frac {(2\ell +1)(\ell -m)!}{4\pi (\ell +m)!}}}\ P_{\ell }^{m}(\cos \theta )\ e^{im\phi }\qquad -\ell \leq m\leq \ell .}\)

The functions \({\displaystyle Y_{\ell ,m}(\theta ,\phi )}\) are the spherical harmonics, and the quantity in the square root is a normalizing factor.
Recalling the relation between the associated Legendre functions of positive and negative *m*, it is easily shown that the spherical harmonics satisfy the identity^{[5]}

- \({\displaystyle Y_{\ell ,m}^{*}(\theta ,\phi )=(-1)^{m}Y_{\ell ,-m}(\theta ,\phi ).}\)

The spherical harmonic functions form a complete orthonormal set of functions in the sense of Fourier series. Workers in the fields of geodesy, geomagnetism and spectral analysis use a different phase and normalization factor than given here (see spherical harmonics).

When a 3-dimensional spherically symmetric partial differential equation is solved by the method of separation of variables in spherical coordinates, the part that remains after removal of the radial part is typically of the form

- \({\displaystyle \nabla ^{2}\psi (\theta ,\phi )+\lambda \psi (\theta ,\phi )=0,}\)

and hence the solutions are spherical harmonics.

The Legendre polynomials are closely related to hypergeometric series. In the form of spherical harmonics, they express the symmetry of the two-sphere under the action of the Lie group SO(3). There are many other Lie groups besides SO(3), and an analogous generalization of the Legendre polynomials exist to express the symmetries of semi-simple Lie groups and Riemannian symmetric spaces. Crudely speaking, one may define a Laplacian on symmetric spaces; the eigenfunctions of the Laplacian can be thought of as generalizations of the spherical harmonics to other settings.

- Angular momentum
- Gaussian quadrature
- Legendre polynomials
- Spherical harmonics
- Whipple's transformation of Legendre functions
- Laguerre polynomials
- Hermite polynomials

**^**Courant & Hilbert 1953, V, §10.**^**Abramowitz, Milton; Stegun, Irene Ann, eds. (1983) [June 1964]. "Chapter 8" .*Handbook of Mathematical Functions with Formulas, Graphs, and Mathematical Tables*. Applied Mathematics Series.**55**(Ninth reprint with additional corrections of tenth original printing with corrections (December 1972); first ed.). Washington D.C.; New York: United States Department of Commerce, National Bureau of Standards; Dover Publications. p. 332. ISBN 978-0-486-61272-0. LCCN 64-60036 . MR 0167642 . LCCN 65-12253 .**^**From John C. Slater*Quantum Theory of Atomic Structure*, McGraw-Hill (New York, 1960), Volume I, page 309, which cites the original work of J. A. Gaunt,*Philosophical Transactions of the Royal Society of London*, A228:151 (1929)**^**Dong S.H., Lemus R., (2002), "The overlap integral of three associated Legendre polynomials" , Appl. Math. Lett. 15, 541-546.**^**This identity can also be shown by relating the spherical harmonics to Wigner D-matrices and use of the time-reversal property of the latter. The relation between associated Legendre functions of ±*m*can then be proved from the complex conjugation identity of the spherical harmonics.

- Arfken, G.B.; Weber, H.J. (2001),
*Mathematical methods for physicists*, Academic Press, ISBN 978-0-12-059825-0; Section 12.5. (Uses a different sign convention.) - Belousov, S. L. (1962),
*Tables of normalized associated Legendre polynomials*, Mathematical tables,**18**, Pergamon Press. - Condon, E. U.; Shortley, G. H. (1970),
*The Theory of Atomic Spectra*, Cambridge, England: Cambridge University Press, OCLC 5388084 ; Chapter 3. - Courant, Richard; Hilbert, David (1953),
*Methods of Mathematical Physics, Volume 1*, New York: Interscience Publischer, Inc. - Dunster, T. M. (2010), "Legendre and Related Functions" , in Olver, Frank W. J.; Lozier, Daniel M.; Boisvert, Ronald F.; Clark, Charles W. (eds.),
*NIST Handbook of Mathematical Functions*, Cambridge University Press, ISBN 978-0-521-19225-5, MR 2723248 - Edmonds, A.R. (1957),
*Angular Momentum in Quantum Mechanics*, Princeton University Press, ISBN 978-0-691-07912-7; Chapter 2. - Hildebrand, F. B. (1976),
*Advanced Calculus for Applications*, Prentice Hall, ISBN 978-0-13-011189-0. - Koornwinder, Tom H.; Wong, Roderick S. C.; Koekoek, Roelof; Swarttouw, René F. (2010), "Orthogonal Polynomials" , in Olver, Frank W. J.; Lozier, Daniel M.; Boisvert, Ronald F.; Clark, Charles W. (eds.),
*NIST Handbook of Mathematical Functions*, Cambridge University Press, ISBN 978-0-521-19225-5, MR 2723248 - Schach, S. R. (1973)
*New Identities for Legendre Associated Functions of Integral Order and Degree*, Society for Industrial and Applied Mathematics Journal on Mathematical Analysis, 1976, Vol. 7, No. 1 : pp. 59–69

- Associated Legendre polynomials in MathWorld
- Legendre polynomials in MathWorld
- Legendre and Related Functions in DLMF

**Categories:** Atomic physics | Orthogonal polynomials

Source: Wikipedia (Authors [History]) License : CC-BY-SA-3.0

Changes: All pictures and most design elements which are related to those, were removed. Some Icons were replaced by FontAwesome-Icons. Some templates were removed (like “article needs expansion) or assigned (like “hatnotes”). CSS classes were either removed or harmonized.

Wikipedia specific links which do not lead to an article or category (like “Redlinks”, “links to the edit page”, “links to portals”) were removed. Every external link has an additional FontAwesome-Icon. Beside some small changes of design, media-container, maps, navigation-boxes, spoken versions and Geo-microformats were removed.