HOME

TheInfoList



OR:

In physical science and mathematics, Legendre polynomials (named after
Adrien-Marie Legendre Adrien-Marie Legendre (; ; 18 September 1752 – 9 January 1833) was a French mathematician who made numerous contributions to mathematics. Well-known and important concepts such as the Legendre polynomials and Legendre transformation are nam ...
, who discovered them in 1782) are a system of complete and
orthogonal polynomial In mathematics, an orthogonal polynomial sequence is a family of polynomials such that any two different polynomials in the sequence are orthogonal to each other under some inner product. The most widely used orthogonal polynomials are the cla ...
s, with a vast number of mathematical properties, and numerous applications. They can be defined in many ways, and the various definitions highlight different aspects as well as suggest generalizations and connections to different mathematical structures and physical and numerical applications. Closely related to the Legendre polynomials are
associated Legendre polynomials In mathematics, the associated Legendre polynomials are the canonical solutions of the general Legendre equation \left(1 - x^2\right) \frac P_\ell^m(x) - 2 x \frac P_\ell^m(x) + \left \ell (\ell + 1) - \frac \rightP_\ell^m(x) = 0, or equivalently ...
,
Legendre function In physical science and mathematics, the Legendre functions , and associated Legendre functions , , and Legendre functions of the second kind, , are all solutions of Legendre's differential equation. The Legendre polynomials and the associated L ...
s, Legendre functions of the second kind, and
associated Legendre function In mathematics, the associated Legendre polynomials are the canonical solutions of the general Legendre equation \left(1 - x^2\right) \frac P_\ell^m(x) - 2 x \frac P_\ell^m(x) + \left \ell (\ell + 1) - \frac \rightP_\ell^m(x) = 0, or equivalently ...
s.


Definition by construction as an orthogonal system

In this approach, the polynomials are defined as an orthogonal system with respect to the weight function w(x) = 1 over the interval 1,1/math>. That is, P_n(x) is a polynomial of degree n, such that \int_^1 P_m(x) P_n(x) \,dx = 0 \quad \text n \ne m. With the additional standardization condition P_n(1) = 1, all the polynomials can be uniquely determined. We then start the construction process: P_0(x) = 1 is the only correctly standardized polynomial of degree 0. P_1(x) must be orthogonal to P_0, leading to P_1(x) = x, and P_2(x) is determined by demanding orthogonality to P_0 and P_1, and so on. P_n is fixed by demanding orthogonality to all P_m with m < n . This gives n conditions, which, along with the standardization P_n(1) = 1 fixes all n+1 coefficients in P_n(x). With work, all the coefficients of every polynomial can be systematically determined, leading to the explicit representation in powers of x given below. This definition of the P_n's is the simplest one. It does not appeal to the theory of differential equations. Second, the completeness of the polynomials follows immediately from the completeness of the powers 1, x, x^2, x^3, \ldots. Finally, by defining them via orthogonality with respect to the most obvious weight function on a finite interval, it sets up the Legendre polynomials as one of the three classical orthogonal polynomial systems. The other two are the Laguerre polynomials, which are orthogonal over the half line ,\infty), and the Hermite polynomials, orthogonal over the full line (-\infty,\infty), with weight functions that are the most natural analytic functions that ensure convergence of all integrals.


Definition via generating function

The Legendre polynomials can also be defined as the coefficients in a formal expansion in powers of t of the
generating function In mathematics, a generating function is a way of encoding an infinite sequence of numbers () by treating them as the coefficients of a formal power series. This series is called the generating function of the sequence. Unlike an ordinary ser ...
The coefficient of t^n is a polynomial in x of degree n with , x, <=1. Expanding up to t^1 gives P_0(x) = 1 \,,\quad P_1(x) = x. Expansion to higher orders gets increasingly cumbersome, but is possible to do systematically, and again leads to one of the explicit forms given below. It is possible to obtain the higher P_n's without resorting to direct expansion of the Taylor series, however. Eq.  is differentiated with respect to on both sides and rearranged to obtain \frac = \left(1-2xt+t^2\right) \sum_^\infty n P_n(x) t^ \,. Replacing the quotient of the square root with its definition in Eq. , and equating the coefficients of powers of in the resulting expansion gives ''Bonnet’s recursion formula'' (n+1) P_(x) = (2n+1) x P_n(x) - n P_(x)\,. This relation, along with the first two polynomials and , allows all the rest to be generated recursively. The generating function approach is directly connected to the multipole expansion in electrostatics, as explained below, and is how the polynomials were first defined by Legendre in 1782.


Definition via differential equation

A third definition is in terms of solutions to Legendre's differential equation: This
differential equation In mathematics, a differential equation is an equation that relates one or more unknown functions and their derivatives. In applications, the functions generally represent physical quantities, the derivatives represent their rates of change, a ...
has regular singular points at so if a solution is sought using the standard Frobenius or
power series In mathematics, a power series (in one variable) is an infinite series of the form \sum_^\infty a_n \left(x - c\right)^n = a_0 + a_1 (x - c) + a_2 (x - c)^2 + \dots where ''an'' represents the coefficient of the ''n''th term and ''c'' is a con ...
method, a series about the origin will only converge for in general. When is an integer, the solution that is regular at is also regular at , and the series for this solution terminates (i.e. it is a polynomial). The orthogonality and completeness of these solutions is best seen from the viewpoint of
Sturm–Liouville theory In mathematics and its applications, classical Sturm–Liouville theory is the theory of ''real'' second-order ''linear'' ordinary differential equations of the form: for given coefficient functions , , and , an unknown function ''y = y''(''x'') ...
. We rewrite the differential equation as an eigenvalue problem, \frac \left( \left(1-x^2\right) \frac \right) P(x) = -\lambda P(x) \,, with the eigenvalue \lambda in lieu of n(n+1). If we demand that the solution be regular at x = \pm 1, the differential operator on the left is Hermitian. The eigenvalues are found to be of the form , with n = 0, 1, 2, \ldots and the eigenfunctions are the P_n(x). The orthogonality and completeness of this set of solutions follows at once from the larger framework of Sturm–Liouville theory. The differential equation admits another, non-polynomial solution, the Legendre functions of the second kind Q_n. A two-parameter generalization of (Eq. ) is called Legendre's ''general'' differential equation, solved by the
Associated Legendre polynomials In mathematics, the associated Legendre polynomials are the canonical solutions of the general Legendre equation \left(1 - x^2\right) \frac P_\ell^m(x) - 2 x \frac P_\ell^m(x) + \left \ell (\ell + 1) - \frac \rightP_\ell^m(x) = 0, or equivalently ...
. Legendre functions are solutions of Legendre's differential equation (generalized or not) with ''non-integer'' parameters. In physical settings, Legendre's differential equation arises naturally whenever one solves Laplace's equation (and related
partial differential equation In mathematics, a partial differential equation (PDE) is an equation which imposes relations between the various partial derivatives of a multivariable function. The function is often thought of as an "unknown" to be solved for, similarly to ...
s) by separation of variables in
spherical coordinates In mathematics, a spherical coordinate system is a coordinate system for three-dimensional space where the position of a point is specified by three numbers: the ''radial distance'' of that point from a fixed origin, its ''polar angle'' mea ...
. From this standpoint, the eigenfunctions of the angular part of the Laplacian operator are the spherical harmonics, of which the Legendre polynomials are (up to a multiplicative constant) the subset that is left invariant by rotations about the polar axis. The polynomials appear as P_n(\cos\theta) where \theta is the polar angle. This approach to the Legendre polynomials provides a deep connection to rotational symmetry. Many of their properties which are found laboriously through the methods of analysis — for example the addition theorem — are more easily found using the methods of symmetry and group theory, and acquire profound physical and geometrical meaning.


Orthogonality and completeness

The standardization P_n(1) = 1 fixes the normalization of the Legendre polynomials (with respect to the norm on the interval ). Since they are also
orthogonal In mathematics, orthogonality is the generalization of the geometric notion of '' perpendicularity''. By extension, orthogonality is also used to refer to the separation of specific features of a system. The term also has specialized meanings in ...
with respect to the same norm, the two statements can be combined into the single equation, \int_^1 P_m(x) P_n(x)\,dx = \frac \delta_, (where denotes the
Kronecker delta In mathematics, the Kronecker delta (named after Leopold Kronecker) is a function of two variables, usually just non-negative integers. The function is 1 if the variables are equal, and 0 otherwise: \delta_ = \begin 0 &\text i \neq j, \\ 1 ...
, equal to 1 if and to 0 otherwise). This normalization is most readily found by employing Rodrigues' formula, given below. That the polynomials are complete means the following. Given any piecewise continuous function f(x) with finitely many discontinuities in the interval , the sequence of sums f_n(x) = \sum_^n a_\ell P_\ell(x) converges in the mean to f(x) as n \to \infty , provided we take a_\ell = \frac \int_^1 f(x) P_\ell(x)\,dx. This completeness property underlies all the expansions discussed in this article, and is often stated in the form \sum_^\infty \frac P_\ell(x)P_\ell(y) = \delta(x-y), with and .


Rodrigues' formula and other explicit formulas

An especially compact expression for the Legendre polynomials is given by Rodrigues' formula: P_n(x) = \frac \frac (x^2 -1)^n \,. This formula enables derivation of a large number of properties of the P_n's. Among these are explicit representations such as \begin P_n(x)&= \frac \sum_^n \binom^2 (x-1)^(x+1)^k, \\ P_n(x)&=\sum_^n \binom \binom \left( \frac \right)^k, \\ P_n(x)&=\frac1\sum_^(-1)^k\binom nk\binomn x^,\\ P_n(x)&= 2^n \sum_^n x^k \binom \binom. \end In the third representation, ⌊n/2⌋ stands for the largest integer less than or equal to n/2. The last representation, which is also immediate from the recursion formula, expresses the Legendre polynomials by simple monomials and involves the generalized form of the binomial coefficient. The first few Legendre polynomials are: The graphs of these polynomials (up to ) are shown below:


Applications of Legendre polynomials


Expanding a 1/''r'' potential

The Legendre polynomials were first introduced in 1782 by
Adrien-Marie Legendre Adrien-Marie Legendre (; ; 18 September 1752 – 9 January 1833) was a French mathematician who made numerous contributions to mathematics. Well-known and important concepts such as the Legendre polynomials and Legendre transformation are nam ...
as the coefficients in the expansion of the Newtonian potential \frac = \frac = \sum_^\infty \frac P_\ell(\cos \gamma), where and are the lengths of the vectors and respectively and is the angle between those two vectors. The series converges when . The expression gives the gravitational potential associated to a point mass or the Coulomb potential associated to a point charge. The expansion using Legendre polynomials might be useful, for instance, when integrating this expression over a continuous mass or charge distribution. Legendre polynomials occur in the solution of Laplace's equation of the static
potential Potential generally refers to a currently unrealized ability. The term is used in a wide variety of fields, from physics to the social sciences to indicate things that are in a state where they are able to change in ways ranging from the simple r ...
, , in a charge-free region of space, using the method of
separation of variables In mathematics, separation of variables (also known as the Fourier method) is any of several methods for solving ordinary and partial differential equations, in which algebra allows one to rewrite an equation so that each of two variables occurs ...
, where the boundary conditions have axial symmetry (no dependence on an
azimuthal angle An azimuth (; from ar, اَلسُّمُوت, as-sumūt, the directions) is an angular measurement in a spherical coordinate system. More specifically, it is the horizontal angle from a cardinal direction, most commonly north. Mathematically ...
). Where is the axis of symmetry and is the angle between the position of the observer and the axis (the zenith angle), the solution for the potential will be \Phi(r,\theta) = \sum_^\infty \left( A_\ell r^\ell + B_\ell r^ \right) P_\ell(\cos\theta) \,. and are to be determined according to the boundary condition of each problem. They also appear when solving the
Schrödinger equation The Schrödinger equation is a linear partial differential equation that governs the wave function of a quantum-mechanical system. It is a key result in quantum mechanics, and its discovery was a significant landmark in the development of th ...
in three dimensions for a central force.


Legendre polynomials in multipole expansions

Legendre polynomials are also useful in expanding functions of the form (this is the same as before, written a little differently): \frac = \sum_^\infty \eta^k P_k(x), which arise naturally in multipole expansions. The left-hand side of the equation is the
generating function In mathematics, a generating function is a way of encoding an infinite sequence of numbers () by treating them as the coefficients of a formal power series. This series is called the generating function of the sequence. Unlike an ordinary ser ...
for the Legendre polynomials. As an example, the
electric potential The electric potential (also called the ''electric field potential'', potential drop, the electrostatic potential) is defined as the amount of work energy needed to move a unit of electric charge from a reference point to the specific point in ...
(in
spherical coordinates In mathematics, a spherical coordinate system is a coordinate system for three-dimensional space where the position of a point is specified by three numbers: the ''radial distance'' of that point from a fixed origin, its ''polar angle'' mea ...
) due to a point charge located on the -axis at (see diagram right) varies as \Phi (r, \theta ) \propto \frac = \frac. If the radius of the observation point is greater than , the potential may be expanded in the Legendre polynomials \Phi(r, \theta) \propto \frac \sum_^\infty \left( \frac \right)^k P_k(\cos \theta), where we have defined and . This expansion is used to develop the normal multipole expansion. Conversely, if the radius of the observation point is smaller than , the potential may still be expanded in the Legendre polynomials as above, but with and exchanged. This expansion is the basis of
interior multipole expansion Interior may refer to: Arts and media * ''Interior'' (Degas) (also known as ''The Rape''), painting by Edgar Degas * ''Interior'' (play), 1895 play by Belgian playwright Maurice Maeterlinck * ''The Interior'' (novel), by Lisa See * Interior de ...
.


Legendre polynomials in trigonometry

The trigonometric functions , also denoted as the
Chebyshev polynomials The Chebyshev polynomials are two sequences of polynomials related to the cosine and sine functions, notated as T_n(x) and U_n(x). They can be defined in several equivalent ways, one of which starts with trigonometric functions: The Chebys ...
, can also be multipole expanded by the Legendre polynomials . The first several orders are as follows: \begin T_0(\cos\theta)&=1 &&=P_0(\cos\theta),\\ ptT_1(\cos\theta)&=\cos \theta&&=P_1(\cos\theta),\\ ptT_2(\cos\theta)&=\cos 2\theta&&=\tfrac\bigl(4P_2(\cos\theta)-P_0(\cos\theta)\bigr),\\ ptT_3(\cos\theta)&=\cos 3\theta&&=\tfrac\bigl(8P_3(\cos\theta)-3P_1(\cos\theta)\bigr),\\ ptT_4(\cos\theta)&=\cos 4\theta&&=\tfrac\bigl(192P_4(\cos\theta)-80P_2(\cos\theta)-7P_0(\cos\theta)\bigr),\\ ptT_5(\cos\theta)&=\cos 5\theta&&=\tfrac\bigl(128P_5(\cos\theta)-56P_3(\cos\theta)-9P_1(\cos\theta)\bigr),\\ ptT_6(\cos\theta)&=\cos 6\theta&&=\tfrac\bigl(2560P_6(\cos\theta)-1152P_4(\cos\theta)-220P_2(\cos\theta)-33P_0(\cos\theta)\bigr). \end Another property is the expression for , which is \frac=\sum_^n P_\ell(\cos\theta) P_(\cos\theta).


Legendre polynomials in recurrent neural networks

A recurrent neural network that contains a -dimensional memory vector, \mathbf \in \R^d, can be optimized such that its neural activities obey the linear time-invariant system given by the following state-space representation: \theta \dot(t) = A\mathbf(t) + Bu(t), \begin A &= \left a \right \in \R^ \text \quad && a_ = \left(2i + 1\right) \begin -1 & i < j \\ (-1)^ & i \ge j \end,\\ B &= \left b \righti \in \R^ \text \quad && b_i = (2i + 1) (-1)^i . \end In this case, the sliding window of u across the past \theta units of time is best approximated by a linear combination of the first d shifted Legendre polynomials, weighted together by the elements of \mathbf at time t: u(t - \theta') \approx \sum_^ \widetilde_\ell \left(\frac \right) \, m_(t) , \quad 0 \le \theta' \le \theta . When combined with deep learning methods, these networks can be trained to outperform long short-term memory units and related architectures, while using fewer computational resources.


Additional properties of Legendre polynomials

Legendre polynomials have definite parity. That is, they are even or odd, according to P_n(-x) = (-1)^n P_n(x) \,. Another useful property is \int_^1 P_n(x)\,dx = 0 \text n\ge1, which follows from considering the orthogonality relation with P_0(x) = 1. It is convenient when a Legendre series \sum_i a_i P_i is used to approximate a function or experimental data: the ''average'' of the series over the interval is simply given by the leading expansion coefficient a_0. Since the differential equation and the orthogonality property are independent of scaling, the Legendre polynomials' definitions are "standardized" (sometimes called "normalization", but the actual norm is not 1) by being scaled so that P_n(1) = 1 \,. The derivative at the end point is given by P_n'(1) = \frac \,. The Askey–Gasper inequality for Legendre polynomials reads \sum_^n P_j(x) \ge 0 \quad \text\quad x\ge -1 \,. The Legendre polynomials of a scalar product of unit vectors can be expanded with spherical harmonics using P_\ell \left(r \cdot r'\right) = \frac \sum_^\ell Y_(\theta,\varphi) Y_^*(\theta',\varphi')\,, where the unit vectors and have
spherical coordinates In mathematics, a spherical coordinate system is a coordinate system for three-dimensional space where the position of a point is specified by three numbers: the ''radial distance'' of that point from a fixed origin, its ''polar angle'' mea ...
and , respectively.


Recurrence relations

As discussed above, the Legendre polynomials obey the three-term recurrence relation known as Bonnet's recursion formula given by (n+1) P_(x) = (2n+1) x P_n(x) - n P_(x) and \frac \frac P_n(x) = xP_n(x) - P_(x) or, with the alternative expression, which also holds at the endpoints \frac P_(x) = (n+1)P_n(x) + x \fracP_(x) \,. Useful for the integration of Legendre polynomials is (2n+1) P_n(x) = \frac \bigl( P_(x) - P_(x) \bigr) \,. From the above one can see also that \frac P_(x) = (2n+1) P_n(x) + \bigl(2(n-2)+1\bigr) P_(x) + \bigl(2(n-4)+1\bigr) P_(x) + \cdots or equivalently \frac P_(x) = \frac + \frac + \cdots where is the norm over the interval \, P_n \, = \sqrt = \sqrt \,.


Asymptotics

Asymptotically, for \ell \to \infty, the Legendre polynomials can be written as \begin P_\ell (\cos \theta) &= \sqrt \, J_0((\ell+1/2)\theta) + \mathcal\left(\ell^\right) \\ &= \frac\cos\left(\left(\ell + \tfrac12\right)\theta - \frac\right) + \mathcal\left(\ell^\right), \quad \theta \in (0,\pi), \end and for arguments of magnitude greater than 1 \begin P_\ell \left(\cosh\xi\right) &= \sqrt I_0\left(\left(\ell+\frac\right)\xi\right)\left(1+\mathcal\left(\ell^\right)\right)\,,\\ P_\ell \left(\frac\right) &= \frac \frac + \mathcal\left(\ell^\right) \end where and are Bessel functions.


Zeros

All n zeros of P_n(x) are real, distinct from each other, and lie in the interval (-1,1). Furthermore, if we regard them as dividing the interval 1,1/math> into n+1 subintervals, each subinterval will contain exactly one zero of P_. This is known as the interlacing property. Because of the parity property it is evident that if x_k is a zero of P_n(x), so is -x_k. These zeros play an important role in numerical integration based on Gaussian quadrature. The specific quadrature based on the P_n's is known as Gauss-Legendre quadrature. From this property and the facts that P_n(\pm 1) \ne 0 , it follows that P_n(x) has n-1 local minima and maxima in (-1,1) . Equivalently, dP_n(x)/dx has n -1 zeros in (-1,1) .


Pointwise evaluations

The parity and normalization implicate the values at the boundaries x=\pm 1 to be P_n(1) = 1 \,, \quad P_n(-1) = \begin 1 & \text \quad n = 2m \\ -1 & \text \quad n = 2m+1 \,. \end At the origin x=0 one can show that the values are given by P_n(0) = \begin \frac \tbinom = \frac \frac & \text \quad n = 2m \\ 0 & \text \quad n = 2m+1 \,. \end


Legendre polynomials with transformed argument


Shifted Legendre polynomials

The shifted Legendre polynomials are defined as \widetilde_n(x) = P_n(2x-1) \,. Here the "shifting" function is an
affine transformation In Euclidean geometry, an affine transformation or affinity (from the Latin, ''affinis'', "connected with") is a geometric transformation that preserves lines and parallelism, but not necessarily Euclidean distances and angles. More generall ...
that bijectively maps the interval to the interval , implying that the polynomials are orthogonal on : \int_0^1 \widetilde_m(x) \widetilde_n(x)\,dx = \frac \delta_ \,. An explicit expression for the shifted Legendre polynomials is given by \widetilde_n(x) = (-1)^n \sum_^n \binom \binom (-x)^k \,. The analogue of Rodrigues' formula for the shifted Legendre polynomials is \widetilde_n(x) = \frac \frac \left(x^2 -x \right)^n \,. The first few shifted Legendre polynomials are:


Legendre rational functions

The Legendre rational functions are a sequence of orthogonal functions on , ∞). They are obtained by composing the Cayley transform with Legendre polynomials. A rational Legendre function of degree ''n'' is defined as: R_n(x) = \frac\,P_n\left(\frac\right)\,. They are eigenfunctions of the singular Sturm–Liouville problem: (x+1)\partial_x(x\partial_x((x+1)v(x)))+\lambda v(x)=0 with eigenvalues \lambda_n=n(n+1)\,.


See also

* Gaussian quadrature * Gegenbauer polynomials * Turán's inequalities * Legendre wavelet * Jacobi polynomials * Romanovski polynomials * Laplace expansion (potential)


Notes


References

* * * * * * * *


External links


A quick informal derivation of the Legendre polynomial in the context of the quantum mechanics of hydrogen
*

* ttps://web.archive.org/web/20181009221546/http://www.morehouse.edu/facstaff/cmoore/Legendre%20Polynomials.htm The Legendre Polynomials by Carlyle E. Moorebr>Legendre Polynomials from Hyperphysics
{{DEFAULTSORT:Legendre Polynomials Special hypergeometric functions Orthogonal polynomials Polynomials