This is a visual explainer based on the Wikipedia article on Legendre polynomials. Read the full source article here. (opens in new tab)

Legendre Polynomials: Foundations and Frontiers

Delve into the elegant world of orthogonal polynomials, exploring their profound mathematical properties and indispensable roles across physics, engineering, and computational science.

Begin Exploration 👇 Discover Applications 💡

Dive in with Flashcard Learning!


When you are ready...
🎮 Play the Wiki2Web Clarity Challenge Game🎮

Introduction

What are Legendre Polynomials?

Legendre polynomials, named after the French mathematician Adrien-Marie Legendre (1782), constitute a fundamental system of complete and orthogonal polynomials. These mathematical constructs possess a rich array of properties and find extensive utility across various scientific and engineering disciplines. Their definitions can be approached from multiple perspectives, each illuminating distinct characteristics and suggesting connections to diverse mathematical structures and practical applications.

Related Concepts

The study of Legendre polynomials is intertwined with several related mathematical entities. These include:

  • Associated Legendre Polynomials: A generalization involving two parameters.
  • Legendre Functions: Solutions to Legendre's differential equation with non-integer parameters.
  • Legendre Functions of the Second Kind: Another class of non-polynomial solutions to Legendre's differential equation.
  • Big q-Legendre Polynomials: A q-analog of Legendre polynomials.

Understanding these related concepts provides a broader context for the significance and versatility of Legendre polynomials.

Visualizing the First Few

While direct visualization is not possible here, imagine a graph illustrating the first six Legendre polynomials. These functions exhibit distinct oscillatory behaviors within the interval [-1, 1], with each successive polynomial having one more root than its predecessor. This graphical representation helps in intuitively grasping their orthogonal nature and how they form a basis for functions over this interval.

Definitions

Orthogonal System Construction

One foundational approach defines Legendre polynomials as an orthogonal system. Specifically, a polynomial Pn(x) of degree n is orthogonal with respect to the weight function w(x)=1 over the interval [-1,1]. This means that the integral of the product of two distinct Legendre polynomials over this interval is zero:

-11 Pm(x)Pn(x) dx = 0   if n ≠ m.

Coupled with the standardization condition Pn(1)=1, each polynomial can be uniquely determined. This systematic construction begins with P0(x)=1 and P1(x)=x, with subsequent polynomials derived by ensuring orthogonality to all lower-degree polynomials. This method highlights their fundamental role as one of the three classical orthogonal polynomial systems, alongside Laguerre polynomials (orthogonal over [0,∞) with weight e-x) and Hermite polynomials (orthogonal over (-∞,∞) with weight e-x²).

Generating Function Approach

Legendre polynomials can also be defined as the coefficients in a formal power series expansion of a specific generating function:

(1 / √(1 - 2xt + t²)) = ∑n=0 Pn(x)tn.

Here, Pn(x) is the coefficient of tn. This definition is historically significant, as it is how Legendre himself first introduced these polynomials in 1782, directly linking them to the multipole expansion in electrostatics. Differentiating this generating function with respect to t and equating coefficients leads to Bonnet's recursion formula:

(n+1)Pn+1(x) = (2n+1)xPn(x) - nPn-1(x).

This powerful recurrence relation, combined with P0(x)=1 and P1(x)=x, allows for the recursive generation of all higher-order Legendre polynomials without direct series expansion.

Differential Equation Definition

A third crucial definition arises from Legendre's differential equation:

(1-x²)Pn''(x) - 2xPn'(x) + n(n+1)Pn(x) = 0.

For integer values of n, the solutions to this equation that are regular at x = ±1 are precisely the Legendre polynomials. This perspective is deeply connected to Sturm-Liouville theory, where the differential equation is viewed as an eigenvalue problem. The eigenvalues are of the form n(n+1), and the eigenfunctions are Pn(x), with their orthogonality and completeness naturally following from this theoretical framework.

In physical contexts, Legendre's differential equation frequently appears when solving Laplace's equation (and related partial differential equations) using separation of variables in spherical coordinates. This highlights their intrinsic link to rotational symmetry, as they represent the angular part of the Laplacian operator's eigenfunctions, specifically the subset invariant under rotations about the polar axis.

Rodrigues' Formula and Explicit Forms

Rodrigues' formula offers a remarkably compact and elegant expression for Legendre polynomials:

Pn(x) = (1 / (2nn!)) * (dn/dxn)(x² - 1)n.

This formula is instrumental in deriving many of their properties and explicit representations. For instance, it leads to power series expansions and other forms involving binomial coefficients. The first few Legendre polynomials are:

n Pn(x)
0 1
1 x
2 (1/2)(3x² - 1)
3 (1/2)(5x³ - 3x)
4 (1/8)(35x⁴ - 30x² + 3)
5 (1/8)(63x⁵ - 70x³ + 15x)
6 (1/16)(231x⁶ - 315x⁴ + 105x² - 5)
7 (1/16)(429x⁷ - 693x⁵ + 315x³ - 35x)
8 (1/128)(6435x⁸ - 12012x⁶ + 6930x⁴ - 1260x² + 35)
9 (1/128)(12155x⁹ - 25740x⁷ + 18018x⁵ - 4620x³ + 315x)
10 (1/256)(46189x¹⁰ - 109395x⁸ + 90090x⁶ - 30030x⁴ + 3465x² - 63)

Main Properties

Orthogonality and Normalization

The defining characteristic of Legendre polynomials is their orthogonality over the interval [-1, 1] with respect to a weight function of 1. The standardization Pn(1)=1 further fixes their normalization. Rodrigues' formula allows for the derivation of the normalization integral:

-11 Pn(x)² dx = 2 / (2n+1).

Combining orthogonality and normalization, the relationship can be concisely expressed using the Kronecker delta (δmn):

-11 Pm(x)Pn(x) dx = (2 / (2n+1)) δmn.

Completeness

The completeness of Legendre polynomials signifies their ability to represent a broad class of functions. Any piecewise continuous function f(x) with a finite number of discontinuities in [-1, 1] can be approximated by a series of Legendre polynomials:

fn(x) = ∑ℓ=0n aP(x)

This sum converges in the mean to f(x) as n → ∞, provided the coefficients a are calculated as:

a = ((2ℓ+1)/2) ∫-11 f(x)P(x) dx.

This property is fundamental to various expansion techniques in mathematical physics and engineering, allowing complex functions to be decomposed into a simpler, orthogonal basis.

Additional Properties

Legendre polynomials exhibit several other useful properties:

  • Parity: They are either even or odd functions, following the rule: Pn(-x) = (-1)nPn(x).
  • Integral Property: For n ≥ 1, the integral over the interval is zero: -11 Pn(x) dx = 0. This implies that the average of any Legendre series over [-1, 1] is simply its leading coefficient, a0.
  • Derivative at Endpoint: The derivative at x=1 is given by: Pn'(1) = n(n+1)/2.
  • Product Expansion: The product of two Legendre polynomials can be expanded as a sum of other Legendre polynomials.
  • Askey-Gasper Inequality: A significant inequality stating that j=0n Pj(x) ≥ 0 for x ≥ -1.
  • Spherical Harmonics Connection: Legendre polynomials of a scalar product of unit vectors can be expanded using spherical harmonics, revealing their deep connection to angular momentum in quantum mechanics and potential theory.

Recurrence Relations

Beyond Bonnet's formula, other recurrence relations are crucial for manipulating and calculating Legendre polynomials and their derivatives:

(x²-1)/n * (d/dx)Pn(x) = xPn(x) - Pn-1(x)

And an alternative expression for derivatives:

(d/dx)Pn+1(x) = (n+1)Pn(x) + x(d/dx)Pn(x)

For integration, a particularly useful relation is:

(2n+1)Pn(x) = (d/dx)(Pn+1(x) - Pn-1(x))

These relations simplify calculations and provide pathways to derive further properties, making them indispensable tools in theoretical and applied mathematics.

Applications

Inverse Distance Potential & Physics

Legendre polynomials were initially conceived by Legendre in 1782 as coefficients in the expansion of the Newtonian potential, 1/|x - x'|. This expression is fundamental to describing gravitational and Coulomb potentials. In spherical coordinates, this expansion takes the form:

(1 / |x - x'|) = (1 / √(r² + r'² - 2rr'cosγ)) = ∑ℓ=0 (r' / rℓ+1) P(cosγ),

where r and r' are vector magnitudes, and γ is the angle between them. This series converges when r > r'. This application is crucial for integrating potentials over continuous mass or charge distributions. Furthermore, Legendre polynomials naturally arise in the solution of Laplace's equation for static potentials in charge-free regions with axial symmetry, and in solving the Schrödinger equation for central forces in quantum mechanics.

Multipole Expansions

The generating function for Legendre polynomials is directly applicable to multipole expansions, which are used to approximate potentials from charge or mass distributions. For instance, the electric potential Φ(r,θ) due to a point charge on the z-axis at z=a is proportional to 1/R = 1/√(r² + a² - 2arcosθ). If the observation point's radius r is greater than a, the potential can be expanded as:

Φ(r,θ) ∝ (1/r) ∑k=0 (a/r)k Pk(cosθ).

This expansion forms the basis of the standard multipole expansion. Conversely, if r < a, an "interior multipole expansion" can be derived by exchanging a and r in the formula, demonstrating the versatility of Legendre polynomials in characterizing fields at different distances from a source.

In Trigonometry

Legendre polynomials also find utility in expressing trigonometric functions. For example, Chebyshev polynomials of the first kind, Tn(cosθ) ≡ cos(nθ), can be expanded as linear combinations of Legendre polynomials Pn(cosθ). The first few orders illustrate this relationship:

T0(cosθ) = 1 = P0(cosθ)
T1(cosθ) = cosθ = P1(cosθ)
T2(cosθ) = cos(2θ) = (1/3)(4P2(cosθ) - P0(cosθ))
T3(cosθ) = cos(3θ) = (1/5)(8P3(cosθ) - 3P1(cosθ))

This connection highlights their role in harmonic analysis and signal processing, where such expansions can simplify complex periodic functions. Another interesting trigonometric identity involving Legendre polynomials is:

(sin((n+1)θ) / sinθ) = ∑ℓ=0n P(cosθ)Pn-ℓ(cosθ).

Recurrent Neural Networks

In the realm of modern computational science, Legendre polynomials have found an unexpected application in recurrent neural networks (RNNs). Specifically, a d-dimensional memory vector m ∈ ℝd within an RNN can be optimized such that its neural activities adhere to a linear time-invariant system described by a state-space representation. The past input u(t-θ') over a sliding window of θ units of time can be effectively approximated by a linear combination of the first d shifted Legendre polynomials, weighted by the elements of m(t):

u(t-θ') ≈ ∑ℓ=0d-1(θ'/θ) m(t),   0 ≤ θ' ≤ θ.

Networks employing this approach, known as Legendre Memory Units (LMUs), have demonstrated superior performance and computational efficiency compared to traditional architectures like Long Short-Term Memory (LSTM) units, showcasing the enduring relevance of these classical polynomials in cutting-edge fields like deep learning.

Zeros

Location and Properties

A significant property of Legendre polynomials Pn(x) is that all n of their zeros are real, distinct from one another, and confined within the open interval (-1, 1). Furthermore, these zeros exhibit an "interlacing property": if you consider the interval [-1, 1] divided into n+1 subintervals by the zeros of Pn(x), each of these subintervals will contain exactly one zero of Pn+1(x). Due to the parity property (Pn(-x) = (-1)nPn(x)), if xk is a zero of Pn(x), then -xk is also a zero.

Numerical Integration

The precise locations of these zeros are of paramount importance in numerical analysis, particularly in the context of Gaussian quadrature. The specific quadrature method based on the zeros of Legendre polynomials is known as Gauss-Legendre quadrature. This technique provides highly accurate approximations of definite integrals by strategically choosing evaluation points (the zeros) and corresponding weights, making it a cornerstone of computational mathematics.

Distribution and Extrema

The zeros of Pn(cosθ) are distributed nearly uniformly over the range θ ∈ (0,π). More precisely, there is one zero θ in each interval (π(k+1/2)/(n+1/2), π(k+1)/(n+1/2)) for k=0,1,...,n-1. This uniform-like distribution is a consequence of the Dirichlet-Mehler formulas. This property, combined with the fact that Pn(±1) ≠ 0, implies that Pn(x) has exactly n-1 local minima and maxima within the interval (-1, 1). Equivalently, the derivative dPn(x)/dx has n-1 zeros in (-1, 1).

Variants

Shifted Legendre Polynomials

The shifted Legendre polynomials, denoted as n(x), are a transformation of the standard Legendre polynomials designed to be orthogonal over the interval [0, 1] instead of [-1, 1]. They are defined by an affine transformation:

n(x) = Pn(2x-1).

This transformation maps [0, 1] bijectively to [-1, 1], ensuring that n(x) retain the orthogonality property on the new interval:

01m(x)P̃n(x) dx = (1 / (2n+1)) δmn.

An explicit expression for these polynomials is:

n(x) = (-1)nk=0n (nk)(n+kk)(-x)k.

Their Rodrigues' formula analogue is:

n(x) = (1 / n!) * (dn/dxn)(x² - x)n.

The first few shifted Legendre polynomials are:

n n(x)
0 1
1 2x - 1
2 6x² - 6x + 1
3 20x³ - 30x² + 12x - 1
4 70x⁴ - 140x³ + 90x² - 20x + 1
5 252x⁵ - 630x⁴ + 560x³ - 210x² + 30x - 1

Legendre Rational Functions

Legendre rational functions extend the concept of orthogonality to the interval [0, ∞). These are a sequence of orthogonal functions derived by composing the Cayley transform with Legendre polynomials. A rational Legendre function of degree n is defined as:

Rn(x) = (√2 / (x+1)) * Pn((x-1)/(x+1)).

These functions serve as eigenfunctions for a singular Sturm-Liouville problem, characterized by eigenvalues λn = n(n+1). This variant is particularly useful in applications requiring orthogonal bases over semi-infinite domains, such as certain types of spectral methods for solving differential equations.

Teacher's Corner

Edit and Print this course in the Wiki2Web Teacher Studio

Edit and Print Materials from this study in the wiki2web studio
Click here to open the "Legendre Polynomials" Wiki2Web Studio curriculum kit

Use the free Wiki2web Studio to generate printable flashcards, worksheets, exams, and export your materials as a web page or an interactive game.

True or False?

Test Your Knowledge!

Gamer's Corner

Are you ready for the Wiki2Web Clarity Challenge?

Learn about legendre_polynomials while playing the wiki2web Clarity Challenge game.
Unlock the mystery image and prove your knowledge by earning trophies. This simple game is addictively fun and is a great way to learn!

Play now

Explore More Topics

Discover other topics to study!

                                        

References

References

A full list of references for this article are available at the Legendre polynomials Wikipedia page

Feedback & Support

To report an issue with this page, or to find out ways to support the mission, please click here.

Disclaimer

Important Notice

This page was generated by an Artificial Intelligence and is intended for informational and educational purposes only. The content is based on a snapshot of publicly available data from Wikipedia and may not be entirely accurate, complete, or up-to-date.

This is not professional mathematical or scientific advice. The information provided on this website is not a substitute for rigorous academic study, consultation with qualified mathematicians or physicists, or reference to authoritative textbooks and peer-reviewed literature. Always verify mathematical formulas, theorems, and applications with established sources and consult with experts for specific research or problem-solving needs. Never disregard professional academic guidance because of something you have read on this website.

The creators of this page are not responsible for any errors or omissions, or for any actions taken based on the information provided herein.