Solution

ID: past-exam-of-the-mathematics-course-of-the-university-of-cambridge/2025/ib/paper-1/13b/a/solution

Legendre's equation is
With , integration by parts has no endpoint term because there, so the operator is self-adjoint. Sturm–Liouville eigenvalues are real, can be ordered increasingly, and their eigenfunctions are orthogonal and complete under standard regularity assumptions.
Substitution of gives
The series terminates at degree when . Normalizing at one gives

New to topics? Read the docs here!