Legendre polynomials explained
In mathematics, Legendre polynomials, named after Adrien-Marie Legendre (1782), are a system of complete and orthogonal polynomials 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, Legendre functions, 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
over the interval
. That is,
is a polynomial of degree
, such that
With the additional standardization condition
, all the polynomials can be uniquely determined. We then start the construction process:
is the only correctly standardized polynomial of degree 0.
must be orthogonal to
, leading to
, and
is determined by demanding orthogonality to
and
, and so on.
is fixed by demanding orthogonality to all
with
. This gives
conditions, which, along with the standardization
fixes all
coefficients in
. With work, all the coefficients of every polynomial can be systematically determined, leading to the explicit representation in powers of
given below.
This definition of the
'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,
. Finally, by defining them via orthogonality with respect to the
Lebesgue measure on
, 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
with the weight
, and the
Hermite polynomials, orthogonal over the full line
with weight
.
Definition via generating function
The Legendre polynomials can also be defined as the coefficients in a formal expansion in powers of
of the
generating functionThe coefficient of
is a polynomial in
of degree
with
. Expanding up to
gives
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
's without resorting to direct expansion of the
Taylor series, however. Equation is differentiated with respect to on both sides and rearranged to obtain
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 formulaThis 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 has regular singular points at so if a solution is sought using the standard Frobenius or power series 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. We rewrite the differential equation as an eigenvalue problem,with the eigenvalue
in lieu of
. If we demand that the solution be regular at
, the
differential operator on the left is
Hermitian. The eigenvalues are found to be of the form, with
and the eigenfunctions are the
. The orthogonality and completeness of this set of solutions follows at once from the larger framework of Sturm–Liouville theory.
.A two-parameter generalization of (Eq. ) is called Legendre's
general differential equation, solved by the
Associated Legendre polynomials.
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 equations) by separation of variables in spherical coordinates. 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
where
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.
Rodrigues' formula and other explicit formulas
An especially compact expression for the Legendre polynomials is given by Rodrigues' formula:
This formula enables derivation of a large number of properties of the
's. Among these are explicit representations such as
Expressing the polynomial as a power series, , the coefficients of powers of
can also be calculated using a general formula:
The Legendre polynomial is determined by the values used for the two constants
and
, where
if
is odd and
if
is even.
[1] In the fourth representation,
stands for the
largest integer less than or equal to
. 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:
|
|
---|
0 | |
1 | |
2 | |
3 | |
4 | |
5 | |
6 | |
7 | |
8 | |
9 | |
10 | | |
The graphs of these polynomials (up to) are shown below:
Main properties
Orthogonality
The standardization
fixes the normalization of the Legendre polynomials (with respect to the norm on the interval). Since they are also
orthogonal with respect to the same norm, the two statements can be combined into the single equation,
(where denotes the
Kronecker delta, equal to 1 if and to 0 otherwise).This normalization is most readily found by employing
Rodrigues' formula, given below.
Completeness
That the polynomials are complete means the following. Given any piecewise continuous function
with finitely many discontinuities in the interval, the sequence of sums
converges in the mean to
as
, provided we take
This completeness property underlies all the expansions discussed in this article, and is often stated in the formwith and .
Applications
Expanding an inverse distance potential
See main article: Laplace expansion (potential).
The Legendre polynomials were first introduced in 1782 by Adrien-Marie Legendre[2] as the coefficients in the expansion of the Newtonian potentialwhere 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,, in a charge-free region of space, using the method of separation of variables, where the boundary conditions have axial symmetry (no dependence on an azimuthal angle). 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
and are to be determined according to the boundary condition of each problem.[3]
They also appear when solving the Schrödinger equation 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):which arise naturally in multipole expansions. The left-hand side of the equation is the generating function for the Legendre polynomials.
As an example, the electric potential (in spherical coordinates) due to a point charge located on the -axis at (see diagram right) varies as
If the radius of the observation point is greater than, the potential may be expanded in the Legendre polynomialswhere 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.
In trigonometry
The trigonometric functions, also denoted as the Chebyshev polynomials, can also be multipole expanded by the Legendre polynomials . The first several orders are as follows:
Another property is the expression for, which is
In recurrent neural networks
A recurrent neural network that contains a -dimensional memory vector,
, can be optimized such that its neural activities obey the
linear time-invariant system given by the following
state-space representation:
In this case, the sliding window of
across the past
units of time is
best approximated by a linear combination of the first
shifted Legendre polynomials, weighted together by the elements of
at time
:
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.[4]
Additional properties
Legendre polynomials have definite parity. That is, they are even or odd, according to
Another useful property iswhich follows from considering the orthogonality relation with
. It is convenient when a Legendre series
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
.
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
The derivative at the end point is given by
The Askey–Gasper inequality for Legendre polynomials reads
The Legendre polynomials of a scalar product of unit vectors can be expanded with spherical harmonics usingwhere the unit vectors and have spherical coordinates and, respectively.
The product of two Legendre polynomials [5] where
is the complete elliptic integral 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 byandor, with the alternative expression, which also holds at the endpoints
Useful for the integration of Legendre polynomials is
From the above one can see also thator equivalentlywhere is the norm over the interval
Asymptotics
Asymptotically, for
, the Legendre polynomials can be written as
[6] and for arguments of magnitude greater than 1
[7] where,, and are
Bessel functions.
Zeros
All
zeros of
are real, distinct from each other, and lie in the interval
. Furthermore, if we regard them as dividing the interval
into
subintervals, each subinterval will contain exactly one zero of
. This is known as the interlacing property. Because of the parity property it is evident that if
is a zero of
, so is
. These zeros play an important role in numerical integration based on
Gaussian quadrature. The specific quadrature based on the
's is known as
Gauss-Legendre quadrature.
From this property and the facts that
, it follows that
has
local minima and maxima in
. Equivalently,
has
zeros in
.
Pointwise evaluations
The parity and normalization implicate the values at the boundaries
to be
At the origin
one can show that the values are given by
Variants with transformed argument
Shifted Legendre polynomials
The shifted Legendre polynomials are defined asHere the "shifting" function is an affine transformation that bijectively maps the interval to the interval, implying that the polynomials are orthogonal on :
An explicit expression for the shifted Legendre polynomials is given by
The analogue of Rodrigues' formula for the shifted Legendre polynomials is
The first few shifted Legendre polynomials are:
|
|
---|
0 |
|
1 |
|
2 |
|
3 |
|
4 |
|
5 | 252x5-630x4+560x3-210x2+30x-1
|
|
Legendre rational functions
See main article: Legendre rational functions.
The Legendre rational functions are a sequence of orthogonal functions on [0, ∞). They are obtained by composing the [[Cayley transform]] with Legendre polynomials.
A rational Legendre function of degree n is defined as:
They are eigenfunctions of the singular Sturm–Liouville problem:with eigenvalues
See also
References
- Book: George B.. Arfken. George B. Arfken. Hans J.. Weber. 2005. Mathematical Methods for Physicists. Elsevier Academic Press. 0-12-059876-0.
- Book: Bayin, S. S.. 2006. Mathematical Methods in Science and Engineering. Wiley. 978-0-470-04142-0. ch. 2.
- Book: Belousov, S. L.. 1962. Tables of Normalized Associated Legendre Polynomials. Mathematical Tables. 18. Pergamon Press. 978-0-08-009723-7.
- Book: Richard. Courant. Richard Courant. David. Hilbert. David Hilbert. 1953. Methods of Mathematical Physics. 1. Interscience . New York, NY. 978-0-471-50447-4.
- Book: El Attar, Refaat . Legendre Polynomials and Functions . CreateSpace . 2009 . 978-1-4414-9012-4.
External links
Notes and References
- Book: Boas, Mary L. . Mathematical methods in the physical sciences . 2006 . Wiley . 978-0-471-19826-0 . 3rd . Hoboken, NJ.
- Book: A.-M. . Legendre . Recherches sur l'attraction des sphéroïdes homogènes . Mémoires de Mathématiques et de Physique, présentés à l'Académie Royale des Sciences, par divers savans, et lus dans ses Assemblées . X . 411–435 . Paris . 1785 . 1782 . fr . http://edocs.ub.uni-frankfurt.de/volltexte/2007/3757/pdf/A009566090.pdf . dead . https://web.archive.org/web/20090920070434/http://edocs.ub.uni-frankfurt.de/volltexte/2007/3757/pdf/A009566090.pdf . 2009-09-20 .
- Book: Jackson, J. D. . Classical Electrodynamics . limited . 3rd . Wiley & Sons . 1999 . 103 . 978-0-471-30932-1.
- Voelker . Aaron R. . Kajić . Ivana . Eliasmith . Chris . Legendre Memory Units: Continuous-Time Representation in Recurrent Neural Networks . Advances in Neural Information Processing Systems . https://neurips.cc . 2019 .
- Leonard C. Maximon. A generating function for the product of two Legendre polynomials. Norske Videnskabers Selskab Forhandlinger . 29 . 1957 . 82–86 .
- Book: Szegő, Gábor . Orthogonal polynomials. 1975. American Mathematical Society. 0821810235. 4th. Providence. 194 (Theorem 8.21.2) . 1683237.
- Web site: DLMF: 14.15 Uniform Asymptotic Approximations.