HOME

TheInfoList



OR:

In
mathematics Mathematics is a field of study that discovers and organizes methods, Mathematical theory, theories and theorems that are developed and Mathematical proof, proved for the needs of empirical sciences and mathematics itself. There are many ar ...
, Legendre polynomials, named after
Adrien-Marie Legendre Adrien-Marie Legendre (; ; 18 September 1752 – 9 January 1833) was a French people, French mathematician who made numerous contributions to mathematics. Well-known and important concepts such as the Legendre polynomials and Legendre transforma ...
(1782), are a system of complete and
orthogonal polynomials In mathematics, an orthogonal polynomial sequence is a family of polynomials such that any two different polynomials in the sequence are orthogonal In mathematics, orthogonality (mathematics), orthogonality is the generalization of the geom ...
with a wide 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 ...
s, Legendre functions of the second kind, big q-Legendre polynomials, and associated Legendre functions.


Definition and representation


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
Lebesgue measure In measure theory, a branch of mathematics, the Lebesgue measure, named after French mathematician Henri Lebesgue, is the standard way of assigning a measure to subsets of higher dimensional Euclidean '-spaces. For lower dimensions or , it c ...
on
1, 1 Onekama ( ) is a village in Manistee County in the U.S. state of Michigan. The population was 399 at the 2020 census. The village is located on the northeast shore of Portage Lake and is surrounded by Onekama Township. The town's name is deri ...
, it sets up the Legendre polynomials as one of the three classical orthogonal polynomial systems. The other two are the
Laguerre polynomials In mathematics, the Laguerre polynomials, named after Edmond Laguerre (1834–1886), are nontrivial solutions of Laguerre's differential equation: xy'' + (1 - x)y' + ny = 0,\ y = y(x) which is a second-order linear differential equation. Thi ...
, which are orthogonal over the half line ,\infty) with the weight e^ , and the Hermite polynomials, orthogonal over the full line (-\infty,\infty) with weight e^ .


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 representation of an infinite sequence of numbers as the coefficients of a formal power series. Generating functions are often expressed in closed form (rather than as a series), by some expression invo ...
The coefficient of t^n is a polynomial in x of degree n with , x, \leq 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 In mathematics, the Taylor series or Taylor expansion of a function is an infinite sum of terms that are expressed in terms of the function's derivatives at a single point. For most common functions, the function and the sum of its Taylor ser ...
, however. Equation  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 A multipole expansion is a mathematical series representing a function that depends on angles—usually the two angles used in the spherical coordinate system (the polar and azimuthal angles) for three-dimensional Euclidean space, \R^3. Multipo ...
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 has
regular singular point In mathematics, in the theory of ordinary differential equations in the complex plane \Complex, the points of \Complex are classified into ''ordinary points'', at which the equation's coefficients are analytic functions, and ''singular points'', a ...
s at so if a solution is sought using the standard
Frobenius Frobenius is a surname. Notable people with the surname include: * Ferdinand Georg Frobenius (1849–1917), mathematician ** Frobenius algebra ** Frobenius endomorphism ** Frobenius inner product ** Frobenius norm ** Frobenius method ** Frobenius g ...
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 ''a_n'' represents the coefficient of the ''n''th term and ''c'' is a co ...
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, a Sturm–Liouville problem is a second-order linear ordinary differential equation of the form \frac \left (x) \frac\right+ q(x)y = -\lambda w(x) y for given functions p(x), q(x) and w(x), together with some ...
. 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 In mathematics, a differential operator is an operator defined as a function of the differentiation operator. It is helpful, as a matter of notation first, to consider differentiation as an abstract operation that accepts a function and retur ...
on the left is
Hermitian {{Short description, none Numerous things are named after the French mathematician Charles Hermite (1822–1901): Hermite * Cubic Hermite spline, a type of third-degree spline * Gauss–Hermite quadrature, an extension of Gaussian quadrature me ...
. 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 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 ...
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 In mathematics and physics, Laplace's equation is a second-order partial differential equation named after Pierre-Simon Laplace, who first studied its properties in 1786. This is often written as \nabla^2\! f = 0 or \Delta f = 0, where \Delt ...
(and related
partial differential equation In mathematics, a partial differential equation (PDE) is an equation which involves a multivariable function and one or more of its partial derivatives. The function is often thought of as an "unknown" that solves the equation, similar to ho ...
s) by separation of variables in
spherical coordinates In mathematics, a spherical coordinate system specifies a given point in three-dimensional space by using a distance and two angles as its three coordinates. These are * the radial distance along the line connecting the point to a fixed point ...
. From this standpoint, the eigenfunctions of the angular part of the Laplacian operator are the
spherical harmonics In mathematics and physical science, spherical harmonics are special functions defined on the surface of a sphere. They are often employed in solving partial differential equations in many scientific fields. The table of spherical harmonics co ...
, 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 In abstract algebra, group theory studies the algebraic structures known as group (mathematics), groups. The concept of a group is central to abstract algebra: other well-known algebraic structures, such as ring (mathematics), rings, field ( ...
, and acquire profound physical and geometrical meaning.


Rodrigues' formula and other explicit formulas

An especially compact expression for the Legendre polynomials is given by
Rodrigues' formula In mathematics, Rodrigues' formula (formerly called the Ivory–Jacobi formula) generates the Legendre polynomials. It was independently introduced by , and . The name "Rodrigues formula" was introduced by Heine in 1878, after Hermite pointed ou ...
: 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) & = ^n\frac = ^n\frac, \\ exP_n(x)&= \frac \sum_^n \binom^ (x-1)^(x+1)^k, \\ exP_n(x)&= \sum_^n \binom \binom \left( \frac \right)^, \\ exP_n(x)&= \frac\sum_^ \left(-1\right)^k \binom\binomn x^,\\ exP_n(x)&= 2^n \sum_^n x^k \binom \binom, \\ exP_n(x)&=\frac\sum_^\fracx^, \\ exP_n(x)&= \begin \displaystyle\frac\int_0^\pi ^n\,dt & \text , x, >1, \\ x^n & \text , x, =1, \\ \displaystyle\frac\cdot x^n\cdot , x, \cdot \int_^1 \frac\cdot \frac\,dt & \text 0<, x, <1, \\ \displaystyle(-1)^\cdot2^\cdot \binom & \text x=0 \textn\text, \\ 0 & \text x=0 \textn\text. \end \end Expressing the polynomial as a power series, P_n(x) = \sum a_ x^k , the coefficients of powers of x can also be calculated using the recurrences a_ = - \fraca_. or a_=-\fraca_. The Legendre polynomial is determined by the values used for the two constants a_ and a_ , where a_=0 if n is odd and a_=0 if n is even. In the fourth representation, \lfloor n/2 \rfloor 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 reversal of the representation as a power series is x^m =\sum_^ (2m-4s+1) \fracP_(x). for m=0,1,2,\ldots, where an empty product in the numerator (last factor less than the first factor) evaluates to 1. The first few Legendre polynomials are: The graphs of these polynomials (up to ) are shown below:


Main properties


Orthogonality

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 (mathematics), orthogonality is the generalization of the geometric notion of ''perpendicularity''. Although many authors use the two terms ''perpendicular'' and ''orthogonal'' interchangeably, the term ''perpendic ...
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 In mathematics, Rodrigues' formula (formerly called the Ivory–Jacobi formula) generates the Legendre polynomials. It was independently introduced by , and . The name "Rodrigues formula" was introduced by Heine in 1878, after Hermite pointed ou ...
, given below.


Completeness

That the polynomials are complete means the following. Given any
piecewise In mathematics, a piecewise function (also called a piecewise-defined function, a hybrid function, or a function defined by cases) is a function whose domain is partitioned into several intervals ("subdomains") on which the function may be ...
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 .


Applications


Expanding an inverse distance 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 people, French mathematician who made numerous contributions to mathematics. Well-known and important concepts such as the Legendre polynomials and Legendre transforma ...
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 In classical mechanics, the gravitational potential is a scalar potential associating with each point in space the work (energy transferred) per unit mass that would be needed to move an object to that point from a fixed reference point in the ...
associated to a
point mass A point particle, ideal particle or point-like particle (often spelled pointlike particle) is an idealization (science philosophy), idealization of particles heavily used in physics. Its defining feature is that it lacks spatial extension (metap ...
or the
Coulomb potential Electric potential (also called the ''electric field potential'', potential drop, the electrostatic potential) is defined as electric potential energy per unit of electric charge. More precisely, electric potential is the amount of work (physic ...
associated to a
point charge A point particle, ideal particle or point-like particle (often spelled pointlike particle) is an idealization of particles heavily used in physics. Its defining feature is that it lacks spatial extension; being dimensionless, it does not take u ...
. 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 In mathematics and physics, Laplace's equation is a second-order partial differential equation named after Pierre-Simon Laplace, who first studied its properties in 1786. This is often written as \nabla^2\! f = 0 or \Delta f = 0, where \Delt ...
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 differential equation, ordinary and partial differential equations, in which algebra allows one to rewrite an equation so tha ...
, where the
boundary conditions In the study of differential equations, a boundary-value problem is a differential equation subjected to constraints called boundary conditions. A solution to a boundary value problem is a solution to the differential equation which also satis ...
have axial symmetry (no dependence on an
azimuthal angle An azimuth (; from ) is the horizontal angle from a cardinal direction, most commonly north, in a local or observer-centric spherical coordinate system. Mathematically, the relative position vector from an observer ( origin) to a point of in ...
). 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 partial differential equation that governs the wave function of a non-relativistic quantum-mechanical system. Its discovery was a significant landmark in the development of quantum mechanics. It is named after E ...
in three dimensions for a central force.


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 expansion A multipole expansion is a mathematical series representing a function that depends on angles—usually the two angles used in the spherical coordinate system (the polar and azimuthal angles) for three-dimensional Euclidean space, \R^3. Multipo ...
s. The left-hand side of the equation is the
generating function In mathematics, a generating function is a representation of an infinite sequence of numbers as the coefficients of a formal power series. Generating functions are often expressed in closed form (rather than as a series), by some expression invo ...
for the Legendre polynomials. As an example, the
electric potential Electric potential (also called the ''electric field potential'', potential drop, the electrostatic potential) is defined as electric potential energy per unit of electric charge. More precisely, electric potential is the amount of work (physic ...
(in
spherical coordinates In mathematics, a spherical coordinate system specifies a given point in three-dimensional space by using a distance and two angles as its three coordinates. These are * the radial distance along the line connecting the point to a fixed point ...
) due to a
point charge A point particle, ideal particle or point-like particle (often spelled pointlike particle) is an idealization of particles heavily used in physics. Its defining feature is that it lacks spatial extension; being dimensionless, it does not take u ...
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 A multipole expansion is a mathematical series representing a function that depends on angles—usually the two angles used in the spherical coordinate system (the polar and azimuthal angles) for three-dimensional Euclidean space, \R^3. Multipo ...
. 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.


In trigonometry

The trigonometric functions , also denoted as the
Chebyshev polynomials The Chebyshev polynomials are two sequences of orthogonal 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: ...
, 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 This can be summarized for n>0 as T_n(x)=2^\hat n!\sum_^ (n-2t+1/2) \frac \times \fracP_(x) . where \hat n\equiv \lfloor n/2\rfloor, n'\equiv \lfloor (n+1)/2\rfloor, and where the products with the steps of two in the numerator and denominator are to be interpreted as 1 if the are empty, i.e., if the last factor is smaller than the first factor. Another property is the expression for , which is \frac=\sum_^n P_\ell(\cos\theta) P_(\cos\theta).


In recurrent neural networks

A
recurrent neural network Recurrent neural networks (RNNs) are a class of artificial neural networks designed for processing sequential data, such as text, speech, and time series, where the order of elements is important. Unlike feedforward neural networks, which proces ...
that contains a -dimensional memory vector, \mathbf \in \R^d, can be optimized such that its neural activities obey the
linear time-invariant system In system analysis, among other fields of study, a linear time-invariant (LTI) system is a system that produces an output signal from any input signal subject to the constraints of Linear system#Definition, linearity and Time-invariant system, ...
given by the following
state-space representation In control engineering and system identification, a state-space representation is a mathematical model of a physical system that uses state variables to track how inputs shape system behavior over time through first-order differential equations o ...
: \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 Deep learning is a subset of machine learning that focuses on utilizing multilayered neural networks to perform tasks such as classification, regression, and representation learning. The field takes inspiration from biological neuroscience a ...
methods, these networks can be trained to outperform
long short-term memory Long short-term memory (LSTM) is a type of recurrent neural network (RNN) aimed at mitigating the vanishing gradient problem commonly encountered by traditional RNNs. Its relative insensitivity to gap length is its advantage over other RNNs, ...
units and related architectures, while using fewer computational resources.


Additional properties

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. The underivative is \int P_n(x)dx=\frac _(x)-P_(x)\quad n\ge 1. 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 product expansion is P_m(x)P_n(x)=\sum_^\frac\fracP_(x) where A_r\equiv (2r-1)!!/r!. 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 In mathematics, the dot product or scalar productThe term ''scalar product'' means literally "product with a scalar as a result". It is also used for other symmetric bilinear forms, for example in a pseudo-Euclidean space. Not to be confused wit ...
of
unit vectors In mathematics, a unit vector in a normed vector space is a vector (often a spatial vector) of length 1. A unit vector is often denoted by a lowercase letter with a circumflex, or "hat", as in \hat (pronounced "v-hat"). The term ''normalized vec ...
can be expanded with
spherical harmonics In mathematics and physical science, spherical harmonics are special functions defined on the surface of a sphere. They are often employed in solving partial differential equations in many scientific fields. The table of spherical harmonics co ...
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 specifies a given point in three-dimensional space by using a distance and two angles as its three coordinates. These are * the radial distance along the line connecting the point to a fixed point ...
and , respectively. The product of two Legendre polynomials \sum_^\infty t^P_p(\cos\theta_1)P_p(\cos\theta_2)=\frac2\pi\frac\,, where K(\cdot) is the
complete elliptic integral of the first kind In integral calculus, an elliptic integral is one of a number of related functions defined as the value of certain integrals, which were first studied by Giulio Carlo de' Toschi di Fagnano, Giulio Fagnano and Leonhard Euler (). Their name originat ...
. The formulas of Dirichlet-Mehler:P_n(\cos \theta) = \frac \int_0^\theta \frac d \phi = \frac \int_\theta^\pi \frac d \phiwhich has generalizations for associated Legendre polynomials. The Fourier-Legendre series:e^=\sum_^(2 n+1) i^n \sqrt J_(t) P_n(x)where J is the Bessel function of the first kind.


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 \,.More generally, all orders of derivatives are expressible as a sum of Legendre polynomials:\begin &\begin & \frac P_(x)=\frac \sum_^j(4 i+1) \frac P_(x) \\ & \quad=\frac \sum_^j(4 i+1) \frac \frac P_(x) \end\\ &\begin & \frac P_(x)=\frac \sum_^j(4 i+3) \frac P_(x) \\ & \quad=\frac \sum_^j(4 i+3) \frac \frac P_(x) \end \end


Asymptotics

Asymptotically, for \ell \to \infty, the Legendre polynomials can be written as \begin P_\ell (\cos \theta) &= \sqrt \left\ + \mathcal\left(\ell^\right) \\ ex&= \sqrt\cos\left left(\ell + \tfrac \right)\theta - \tfrac\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 Bessel functions, named after Friedrich Bessel who was the first to systematically study them in 1824, are canonical solutions of Bessel's differential equation x^2 \frac + x \frac + \left(x^2 - \alpha^2 \right)y = 0 for an arbitrary complex ...
.


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 In analysis, numerical integration comprises a broad family of algorithms for calculating the numerical value of a definite integral. The term numerical quadrature (often abbreviated to quadrature) is more or less a synonym for "numerical integr ...
based on
Gaussian quadrature In numerical analysis, an -point Gaussian quadrature rule, named after Carl Friedrich Gauss, is a quadrature rule constructed to yield an exact result for polynomials of degree or less by a suitable choice of the nodes and weights for . Th ...
. The specific quadrature based on the P_n's is known as Gauss-Legendre quadrature. The zeros of P_n(\cos \theta) are distributed nearly uniformly over the range of \theta \in (0, \pi), in the sense that there is one zero \theta \in \left(\frac, \frac\right) per k = 0, 1, \dots, n-1. This can be proved by looking at the first formula of Dirichlet-Mehler. 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) = (-1)^n At the origin x=0 one can show that the values are given by P_(0) = \frac \binom = \frac \frac = (-1)^n\frac P_(0) = 0


Variants 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 general ...
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 In mathematics, Rodrigues' formula (formerly called the Ivory–Jacobi formula) generates the Legendre polynomials. It was independently introduced by , and . The name "Rodrigues formula" was introduced by Heine in 1878, after Hermite pointed ou ...
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 In mathematics, orthogonal functions belong to a function space that is a vector space equipped with a bilinear form. When the function space has an interval (mathematics), interval as the domain of a function, domain, the bilinear form may be the ...
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: \left(x+1\right) \frac \left(x \frac \left[\left(x+1\right) v(x)\right]\right) + \lambda v(x) = 0 with eigenvalues \lambda_n=n(n+1)\,.


See also

*
Gaussian quadrature In numerical analysis, an -point Gaussian quadrature rule, named after Carl Friedrich Gauss, is a quadrature rule constructed to yield an exact result for polynomials of degree or less by a suitable choice of the nodes and weights for . Th ...
* Gegenbauer polynomials * Turán's inequalities * Legendre wavelet *
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 ...
*
Jacobi polynomials In mathematics, Jacobi polynomials (occasionally called hypergeometric polynomials) P_n^(x) are a class of Classical orthogonal polynomials, classical orthogonal polynomials. They are orthogonal with respect to the weight (1-x)^\alpha(1+x)^\beta ...
* Romanovski polynomials *
Laplace expansion (potential) In physics, the Laplace expansion of potentials that are directly proportional to the inverse of the distance (1 / r ), such as Newton's law of universal gravitation#Gravity field, Newton's gravitational potential or Coulomb's law#Table of derived ...


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. Moore
Legendre Polynomials from Hyperphysics
{{DEFAULTSORT:Legendre Polynomials Special hypergeometric functions Orthogonal polynomials Polynomials