Solution

ID: past-exam-of-the-mathematics-course-of-the-year-1-of-the-natural-sciences-course-of-the-university-of-cambridge/2020/paper-1/13/b/iv/solution

The superposition principle gives the general solution as :
The first boundary condition gives . At , the cosine vanishes and the sine equals . Comparing with the second boundary condition then gives
The unique solution satisfying both boundary conditions is therefore
Uniqueness follows because a homogeneous solution zero at both endpoints would have from the first and from the second.

New to topics? Read the docs here!