The general Legendre equation reads ( 1 − x 2 ) y ″ − 2 x y ′ + [ λ ( λ + 1 ) − μ 2 1 − x 2 ] y = 0 , {\displaystyle \left(1-x^{2}\right)y''-2xy'+\left[\lambda (\lambda +1)-{\frac {\mu ^{2}}{1-x^{2}}}\right]y=0,} where the numbers λ and μ may be complex, and are called the degree and order of the relevant function, respectively. The polynomial solutions when λ is an integer (denoted n), and μ = 0 are the Legendre polynomials Pn; and when λ is an integer (denoted n), and μ = m is also an integer with |m| < n are the associated Legendre polynomials. All other cases of λ and μ can be discussed as one, and the solutions are written Pμλ, Qμλ. If μ = 0, the superscript is omitted, and one writes just Pλ, Qλ. However, the solution Qλ when λ is an integer is often discussed separately as Legendre's function of the second kind, and denoted Qn.
This is a second order linear equation with three regular singular points (at 1, −1, and ∞). Like all such equations, it can be converted into a hypergeometric differential equation by a change of variable, and its solutions can be expressed using hypergeometric functions.
Since the differential equation is linear, homogeneous (the right hand side =zero) and of second order, it has two linearly independent solutions, which can both be expressed in terms of the hypergeometric function, 2 F 1 {\displaystyle _{2}F_{1}} . With Γ {\displaystyle \Gamma } being the gamma function, the first solution is P λ μ ( z ) = 1 Γ ( 1 − μ ) [ z + 1 z − 1 ] μ / 2 2 F 1 ( − λ , λ + 1 ; 1 − μ ; 1 − z 2 ) , for | 1 − z | < 2 , {\displaystyle P_{\lambda }^{\mu }(z)={\frac {1}{\Gamma (1-\mu )}}\left[{\frac {z+1}{z-1}}\right]^{\mu /2}\,_{2}F_{1}\left(-\lambda ,\lambda +1;1-\mu ;{\frac {1-z}{2}}\right),\qquad {\text{for }}\ |1-z|<2,} and the second is Q λ μ ( z ) = π Γ ( λ + μ + 1 ) 2 λ + 1 Γ ( λ + 3 / 2 ) e i μ π ( z 2 − 1 ) μ / 2 z λ + μ + 1 2 F 1 ( λ + μ + 1 2 , λ + μ + 2 2 ; λ + 3 2 ; 1 z 2 ) , for | z | > 1. {\displaystyle Q_{\lambda }^{\mu }(z)={\frac {{\sqrt {\pi }}\ \Gamma (\lambda +\mu +1)}{2^{\lambda +1}\Gamma (\lambda +3/2)}}{\frac {e^{i\mu \pi }(z^{2}-1)^{\mu /2}}{z^{\lambda +\mu +1}}}\,_{2}F_{1}\left({\frac {\lambda +\mu +1}{2}},{\frac {\lambda +\mu +2}{2}};\lambda +{\frac {3}{2}};{\frac {1}{z^{2}}}\right),\qquad {\text{for}}\ \ |z|>1.}
These are generally known as Legendre functions of the first and second kind of noninteger degree, with the additional qualifier 'associated' if μ is non-zero. A useful relation between the P and Q solutions is Whipple's formula.
For positive integer μ = m ∈ N + {\displaystyle \mu =m\in \mathbb {N} ^{+}} the evaluation of P λ μ {\displaystyle P_{\lambda }^{\mu }} above involves cancellation of singular terms. We can find the limit valid for m ∈ N 0 {\displaystyle m\in \mathbb {N} _{0}} as1
P λ m ( z ) = lim μ → m P λ μ ( z ) = ( − λ ) m ( λ + 1 ) m m ! [ 1 − z 1 + z ] m / 2 2 F 1 ( − λ , λ + 1 ; 1 + m ; 1 − z 2 ) , {\displaystyle P_{\lambda }^{m}(z)=\lim _{\mu \to m}P_{\lambda }^{\mu }(z)={\frac {(-\lambda )_{m}(\lambda +1)_{m}}{m!}}\left[{\frac {1-z}{1+z}}\right]^{m/2}\,_{2}F_{1}\left(-\lambda ,\lambda +1;1+m;{\frac {1-z}{2}}\right),}
with ( λ ) n {\displaystyle (\lambda )_{n}} the (rising) Pochhammer symbol.
The nonpolynomial solution for the special case of integer degree λ = n ∈ N 0 {\displaystyle \lambda =n\in \mathbb {N} _{0}} , and μ = 0 {\displaystyle \mu =0} , is often discussed separately. It is given by Q n ( x ) = n ! 1 ⋅ 3 ⋯ ( 2 n + 1 ) ( x − ( n + 1 ) + ( n + 1 ) ( n + 2 ) 2 ( 2 n + 3 ) x − ( n + 3 ) + ( n + 1 ) ( n + 2 ) ( n + 3 ) ( n + 4 ) 2 ⋅ 4 ( 2 n + 3 ) ( 2 n + 5 ) x − ( n + 5 ) + ⋯ ) {\displaystyle Q_{n}(x)={\frac {n!}{1\cdot 3\cdots (2n+1)}}\left(x^{-(n+1)}+{\frac {(n+1)(n+2)}{2(2n+3)}}x^{-(n+3)}+{\frac {(n+1)(n+2)(n+3)(n+4)}{2\cdot 4(2n+3)(2n+5)}}x^{-(n+5)}+\cdots \right)}
This solution is necessarily singular when x = ± 1 {\displaystyle x=\pm 1} .
The Legendre functions of the second kind can also be defined recursively via Bonnet's recursion formula Q n ( x ) = { 1 2 log 1 + x 1 − x n = 0 P 1 ( x ) Q 0 ( x ) − 1 n = 1 2 n − 1 n x Q n − 1 ( x ) − n − 1 n Q n − 2 ( x ) n ≥ 2 . {\displaystyle Q_{n}(x)={\begin{cases}{\frac {1}{2}}\log {\frac {1+x}{1-x}}&n=0\\P_{1}(x)Q_{0}(x)-1&n=1\\{\frac {2n-1}{n}}xQ_{n-1}(x)-{\frac {n-1}{n}}Q_{n-2}(x)&n\geq 2\,.\end{cases}}}
The nonpolynomial solution for the special case of integer degree λ = n ∈ N 0 {\displaystyle \lambda =n\in \mathbb {N} _{0}} , and μ = m ∈ N 0 {\displaystyle \mu =m\in \mathbb {N} _{0}} is given by Q n m ( x ) = ( − 1 ) m ( 1 − x 2 ) m 2 d m d x m Q n ( x ) . {\displaystyle Q_{n}^{m}(x)=(-1)^{m}(1-x^{2})^{\frac {m}{2}}{\frac {d^{m}}{dx^{m}}}Q_{n}(x)\,.}
The Legendre functions can be written as contour integrals. For example, P λ ( z ) = P λ 0 ( z ) = 1 2 π i ∫ 1 , z ( t 2 − 1 ) λ 2 λ ( t − z ) λ + 1 d t {\displaystyle P_{\lambda }(z)=P_{\lambda }^{0}(z)={\frac {1}{2\pi i}}\int _{1,z}{\frac {(t^{2}-1)^{\lambda }}{2^{\lambda }(t-z)^{\lambda +1}}}dt} where the contour winds around the points 1 and z in the positive direction and does not wind around −1. For real x, we have P s ( x ) = 1 2 π ∫ − π π ( x + x 2 − 1 cos θ ) s d θ = 1 π ∫ 0 1 ( x + x 2 − 1 ( 2 t − 1 ) ) s d t t ( 1 − t ) , s ∈ C {\displaystyle P_{s}(x)={\frac {1}{2\pi }}\int _{-\pi }^{\pi }\left(x+{\sqrt {x^{2}-1}}\cos \theta \right)^{s}d\theta ={\frac {1}{\pi }}\int _{0}^{1}\left(x+{\sqrt {x^{2}-1}}(2t-1)\right)^{s}{\frac {dt}{\sqrt {t(1-t)}}},\qquad s\in \mathbb {C} }
The real integral representation of P s {\displaystyle P_{s}} are very useful in the study of harmonic analysis on L 1 ( G / / K ) {\displaystyle L^{1}(G//K)} where G / / K {\displaystyle G//K} is the double coset space of S L ( 2 , R ) {\displaystyle SL(2,\mathbb {R} )} (see Zonal spherical function). Actually the Fourier transform on L 1 ( G / / K ) {\displaystyle L^{1}(G//K)} is given by L 1 ( G / / K ) ∋ f ↦ f ^ {\displaystyle L^{1}(G//K)\ni f\mapsto {\hat {f}}} where f ^ ( s ) = ∫ 1 ∞ f ( x ) P s ( x ) d x , − 1 ≤ ℜ ( s ) ≤ 0 {\displaystyle {\hat {f}}(s)=\int _{1}^{\infty }f(x)P_{s}(x)dx,\qquad -1\leq \Re (s)\leq 0}
Legendre functions Pλ of non-integer degree are unbounded at the interval [-1, 1] . In applications in physics, this often provides a selection criterion. Indeed, because Legendre functions Qλ of the second kind are always unbounded, in order to have a bounded solution of Legendre's equation at all, the degree must be integer valued: only for integer degree, Legendre functions of the first kind reduce to Legendre polynomials, which are bounded on [-1, 1] . It can be shown2 that the singularity of the Legendre functions Pλ for non-integer degree is a consequence of the mirror symmetry of Legendre's equation. Thus there is a symmetry under the selection rule just mentioned.
Creasey, Peter E.; Lang, Annika (2018). "Fast generation of isotropic Gaussian random fields on the sphere". Monte Carlo Methods and Applications. 24 (1): 1–11. arXiv:1709.10314. Bibcode:2018MCMA...24....1C. doi:10.1515/mcma-2018-0001. S2CID 4657044. https://www.degruyter.com/document/doi/10.1515/mcma-2018-0001/html?lang=de ↩
van der Toorn, Ramses (4 April 2022). "The Singularity of Legendre Functions of the First Kind as a Consequence of the Symmetry of Legendre's Equation". Symmetry. 14 (4): 741. Bibcode:2022Symm...14..741V. doi:10.3390/sym14040741. ISSN 2073-8994. https://doi.org/10.3390%2Fsym14040741 ↩