Legendre Polynomial — Definition, Formula & Examples
Legendre polynomials are a sequence of orthogonal polynomials that arise as solutions to Legendre's differential equation on the interval . They appear frequently in physics and engineering, especially in problems with spherical symmetry.
The Legendre polynomial of degree is the polynomial solution to the ordinary differential equation that satisfies . The set forms a complete orthogonal system on with respect to the weight function .
Key Formula
Where:
- = Non-negative integer degree of the polynomial
- = Real variable, typically in $[-1, 1]$
- = The $n$-th derivative with respect to $x$
How It Works
You can generate any Legendre polynomial using Rodrigues' formula. The first few are , , , and . Their key property is orthogonality: whenever . This lets you expand an arbitrary function on as a series of Legendre polynomials, analogous to a Fourier series. You can also build each polynomial from the previous two using Bonnet's recurrence: .
Worked Example
Problem: Use Rodrigues' formula to find P₂(x).
Step 1: Write the expression inside the derivative for .
Step 2: Take the first derivative.
Step 3: Take the second derivative.
Step 4: Apply the prefactor .
Answer:
Why It Matters
Legendre polynomials are essential in solving Laplace's equation in spherical coordinates, which appears throughout electrostatics, gravitational theory, and quantum mechanics. In courses like mathematical physics or numerical analysis, they also form the basis of Gauss–Legendre quadrature, one of the most efficient methods for numerical integration.
Common Mistakes
Mistake: Forgetting the normalization factor in Rodrigues' formula.
Correction: Without this prefactor the polynomial will not satisfy . Always include the term when computing from derivatives.
