Legendre equation and its polynomial solutions

The Legendre equation, (1 − x2)y″ − 2xy′ + ℓ(ℓ + 1)y = 0, has a special polynomial solution when ℓ is a nonnegative integer. A power series about x = 0 makes the coefficients and the polynomial condition visible. The equation is considered here for −1 < x < 1, with the conventional polynomial scaled to equal one at x = 1.

Find the coefficient rule

Write y = Σn=0∞anxn, substitute it into the equation, and collect the coefficient of each xn. The derivative terms produce (n + 2)(n + 1)an+2 − n(n + 1)an.


Therefore the recurrence relation is (n + 2)(n + 1)an+2 = [n(n + 1) − ℓ(ℓ + 1)]an. This rule advances by two indices, so it never mixes the two starting coefficients.

Use parity and termination

The even chain comes from a0, while the odd chain comes from a1. For a nonnegative integer ℓ, the chain with the same parity as ℓ reaches n = ℓ, where the numerator is zero; its next coefficient and all later coefficients in that chain vanish.


Set the opposite-parity seed to zero to obtain a nonzero polynomial solution of degree ℓ. The remaining seed controls its scale, which the normalization Pℓ(1) = 1 fixes.

Worked example

Take ℓ = 4 and start with a nonzero even seed a0. The recurrence gives a2 = −10a0 and a4 = (35/3)a0; at n = 4 it gives a6 = 0.


Thus y = a0[1 − 10x2 + (35/3)x4]. Setting y(1) = 1 requires a0 = 3/8 and yields P4(x) = (35x4 − 30x2 + 3)/8. Its even parity and positive leading coefficient offer quick checks.



For ℓ = 1, which function is the Legendre polynomial normalized by P1(1) = 1?

Choose an answer

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

For ℓ = 3, an odd series solution starts with a1 = 3. What is a3 from the Legendre recurrence?

Choose an answer

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

For the Legendre equation with ℓ = 5, which seed choice produces a nonzero polynomial of degree five via the recurrence?

Choose an answer

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors