Solution

ID: past-exam-of-the-mathematics-course-of-the-year-2-of-the-natural-sciences-course-of-the-university-of-cambridge/2023/paper-2/1/b/iii/solution

Expand the solution and the forcing in the orthonormal Sturm-Liouville eigenfunction expansion. The forcing coefficients are
Every is nonzero, so the solution coefficient is . Thus
As an independent check, solving directly with the two endpoint conditions gives
It satisfies both Dirichlet boundary conditions and the forced ordinary differential equation.

New to topics? Read the docs here!