4.6.20 · D4Ordinary Differential Equations

Exercises — Legendre's equation and Legendre polynomials (intro)

2,464 words11 min readBack to topic

Throughout, is the Legendre polynomial of degree : the bounded polynomial solution of Legendre's equation on , normalized so . We will lean on a handful of objects you already own.

The first six Legendre polynomials, which several problems need:

The figure below plots these six curves so you can see the facts we keep invoking: every curve passes through the point (the normalization ), and each curve is either mirror-symmetric or mirror-antisymmetric about the -axis (the parity property). Keep the red curve in mind for Problem 1 — it is antisymmetric (odd), so it passes through .

Figure — Legendre's equation and Legendre polynomials (intro)

L1 — Recognition

Problem 0 (L1) — establishing parity

Prove the parity property that the four-tool box lists, so later problems may quote it.

Recall Solution

WHAT/WHY: We use Rodrigues' formula, because it expresses explicitly and makes the sign-flip trackable. Let . Since , we have is an even function. Rodrigues gives , the -th derivative of . Key fact about derivatives: each derivative flips parity. If is even, is odd, is even, and in general . (Chain rule: differentiating brings down one factor of per derivative.) Therefore Consequence: even even (only even powers); odd odd (only odd powers). We now use this freely.

Problem 1 (L1)

State the value of and , and say whether is an even or odd function — without expanding anything.

Recall Solution

WHAT/WHY: The normalization convention is for every , so no computation is needed. The parity fact (Problem 0) tells us .

  • .
  • .
  • is odd is an odd function. Sanity check against the explicit form : at , . ✔ Only odd powers appear, confirming oddness.

Problem 2 (L1)

Identify the two singular points of Legendre's equation on the real line and name what physical feature of the sphere they correspond to.

Recall Solution

WHAT: Write the equation with the coefficient exposed: . A point is singular where the leading coefficient vanishes. WHY: . At those points the ODE loses its "highest-derivative dominance," so power-series behaviour can break.

  • Singular points: and (they are regular singular points).
  • Because , these are and : the north and south poles of the sphere.

L2 — Application

Problem 3 (L2)

Using the recurrence with , find the ratios , , . First explain why, for , we take the even series (). Then confirm the series terminates and identify the degree.

Recall Solution

WHY (the parity argument): the recurrence links coefficients two apart, so it splits the solution into an even chain and a completely separate odd chain . These two chains never mix. By Problem 0, (even ) is an even function, containing only even powers of . Even powers all live in the even chain, so the entire odd chain must be absent — i.e. we set its seed . That leaves the even chain alone. WHAT/WHY the ratios: the recurrence with has numerator . March :

  • : , so .
  • : , so .
  • : , so . Termination: at the numerator is , killing and every higher even coefficient. The surviving powers are degree 4. ✔ matches .

Problem 4 (L2)

Build from the ratios of Problem 3 and normalize so .

Recall Solution

WHAT: With and , WHY normalize: the ODE fixes the shape but leaves one free constant ; the convention pins it. At : . Setting this gives .

Problem 5 (L2)

Use Rodrigues' formula to compute from scratch.

Recall Solution

WHAT/WHY Rodrigues: it produces by differentiating a known polynomial exactly times, avoiding the recurrence bookkeeping. With : . Expand . Differentiate three times:

  • So

L3 — Analysis

Problem 6 (L3)

Verify directly (not by orthogonality theorems) that , and explain why the parity of the integrand guarantees this before you compute.

Recall Solution

WHY parity first: is odd, is even. Product = odd even = odd function. The integral of any odd function over a symmetric interval is — the left half cancels the right half (see figure). Direct check: Both and are odd each integrates to on . Hence the integral is . ✔ This is orthogonality made concrete.

Figure — Legendre's equation and Legendre polynomials (intro)

Problem 7 (L3)

Confirm the normalization integral by explicit computation, and comment on what this number means.

Recall Solution

WHAT: . So Meaning: is the "squared length" of in the inner product. It is the divisor you need to extract the coefficient when you expand a function in Legendre polynomials — the direct analogue of dividing by in a Fourier cosine series. Note this is exactly the (diagonal, ) case of the orthogonality tool.

Problem 8 (L3)

Show that actually satisfies Legendre's equation with by substituting it in.

Recall Solution

WHAT: , so , . Plug into with : Collect: constants ; terms . Total . ✔ So is a genuine solution, not just a fit.


L4 — Synthesis

Problem 9 (L4)

Expand as a finite sum of Legendre polynomials, (odd terms vanish by parity). Find two ways: (a) by matching polynomials, (b) by the orthogonality coefficient formula, and check they agree.

Recall Solution

(a) Matching. Since , solve for : . And , so (b) Orthogonality formula .

  • , so ✔ Both methods give — the "Fourier-in-polynomials" idea in action.

Problem 10 (L4)

Using and the expansion of Problem 9, compute without integrating by hand — exploit that and re-express in Legendre polynomials, or use orthogonality cleverly.

Recall Solution

WHAT: . We want , but let's do it the "structural" way to show the machinery. Write in Legendre form. From we get . Using (Problem 9): , and . So WHY this helps: , and by orthogonality only the -component survives: Direct check: . ✔ Same answer, no brute force — orthogonality did the projection for us.


L5 — Mastery

Problem 11 (L5)

Prove the value is forced for the polynomial series solution — i.e. show that any bounded polynomial solution of degree takes a nonzero value at , so the normalization is well-defined. (Hint: evaluate Legendre's equation at .)

Recall Solution

WHAT: Evaluate the standard form at the singular point . There , so the term drops: This gives the boundary relation . WHY it forces nonzero value: suppose . Then too. But a bounded polynomial solution of a 2nd-order linear ODE is determined near the regular singular point by its value and derivative there; both being zero forces (the trivial solution). Since is a nontrivial degree- polynomial, . Therefore we may divide by to normalize , and the choice is consistent. Numeric sanity (): and . ✔ boundary relation holds.

Problem 12 (L5)

Prove that Legendre's operator is self-adjoint and use it to derive orthogonality for from scratch, showing exactly where the boundary term dies.

Recall Solution

WHAT (self-adjoint form): the equation is . Call . Let solve it with eigenvalues : WHY multiply-and-subtract: to isolate times the overlap integral. Multiply the first by , the second by , subtract, integrate over : The left side is a boundary term (Lagrange's identity): (Expand the derivative to verify: the cross terms and reconstruct .) Integrating a total derivative: WHERE it dies: the factor is zero at both endpoints . So the whole boundary term vanishes — this is why the singular points of the ODE are exactly what make it self-adjoint on . Hence For , , so . See Sturm-Liouville Theory for the general theorem this instance illustrates.



Connections

  • Power Series / Frobenius Method — the recurrence engine and the ansatz behind L2.
  • Sturm-Liouville Theory — the general frame for the L5 orthogonality proof.
  • Laplace's Equation in Spherical Coordinates — where these polynomials are born.
  • Fourier Series — the "expand any function in an orthogonal basis" idea reused in L4.
  • Generating Functions — an alternate route to the same .
  • Associated Legendre Functions & Spherical Harmonics — the next rung up the ladder.