The Legendre polynomials reference article from the English Wikipedia on 24-Jul-2004 (provided by Fixed Reference: snapshots of Wikipedia from wikipedia.org)

# Legendre polynomials

Learn about the lives of children in Africa
In mathematics, Legendre functions are solutions to Legendre's differential equation:

They are named after Adrien-Marie Legendre. This 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.

The Legendre differential equation may be solved using the standard power series method. The solution is finite (i.e. the series converges) provided |x| < 1. Furthermore, it is finite at x = ± 1 provided n is a non-negative integer, i.e. n = 0, 1, 2,... . In this case, the solutions form a polynomial sequence called the Legendre polynomials.

Each Legendre polynomial Pn(x) is an nth-degree polynomial. It may be expressed using Rodrigues' Formula:

An important property of the Legendre polynomials is that they are orthogonal with respect to the L2 inner product on the interval -1 ≤ x ≤ 1:

(where δmn denotes the Kronecker delta, equal to 1 if m = n and to 0 otherwise).

An alternative derivation of the Legendre polynomials is by carrying out the Gram-Schmidt process on the polynomials {1, x, x2, ...}.

These are the first few Legendre polynomials:

 n 0 1 2 3 4 5 6

The graphs of these polynomials (up to n=5) are shown below:

## GPL software

• http://www.octave.org Both Legendre polynomials and associated Legendre polynomials can be numerically evaluated using the GPL octave function legendre of the octave-forge/specfun contribution to octave-2.1.35 or later.
• http://www.gnu.org/software/gsl/gsl.html