Legendre Polynomials
Also known as: P_n(x) · Spherical harmonics (m=0) · Legendre functions of the first kind
Legendre polynomials are what you get by orthogonalizing 1, x, x², … on the interval [-1,1]. They are the angular building blocks of any problem with spherical symmetry — each degree n captures one more level of angular detail.
The selected Legendre polynomial P_n(x) is plotted on [-1,1] with the lower-degree members drawn faintly for comparison; a slider chooses the degree. A marker rides along the active curve so its nodes (where it crosses zero) are easy to count, and the count matches the degree.
Equivalent forms
An orthogonal basis handed to us by the geometry of the sphere — the same polynomials describe planets, atoms, and antenna patterns.
Unit systems
Where it holds
Dimensional analysis
Legendre introduced them in 1782 studying the gravitational potential of spheroids (like the flattened Earth). They reappear as the polar part of the Laplace equation's solutions and, with an azimuthal factor, form the spherical harmonics central to the hydrogen atom.
The electric field of a lopsided charge, the shape of a spinning star, the tone of a struck sphere — all get sorted into the same family of wiggly polynomials that are the natural language of roundness.
Step through the degree and watch each polynomial add one more wiggle across [-1, 1] while staying perfectly 'orthogonal' to all the others.
- Multipole expansion of gravitational and electric potentials
- Angular part of the hydrogen atom (spherical harmonics)
- Gaussian quadrature nodes (roots of P_n)
- Earth-shape (geoid) and antenna radiation patterns
- They're orthogonal for any weight — the plain P_n are orthogonal with weight 1 on [-1,1]; other intervals/weights give different families.
- Higher n just means bigger — it means more angular oscillations (nodes), not larger amplitude.
- They're the full spherical harmonic — P_n is only the polar part.
Limiting cases
What if…
You need the associated Legendre functions P_n^m, and together with they form the spherical harmonics Y_n^m.
Orthogonalizing on other domains gives cousins: Chebyshev, Hermite (Gaussian weight), or Laguerre (0...
Build P₂ from Rodrigues' formula
- n:
- 2
Orthogonality check
- m:
- 1
- n:
- 2
- Odd integrand over symmetric interval