Solution

ID: past-exam-of-the-mathematics-course-of-the-year-2-of-the-natural-sciences-course-of-the-university-of-cambridge/2007/paper-1/8/solution

Choose the left homogeneous solution and the right one . Their Wronskian is . The Dirichlet modified Helmholtz Green function on an interval, with operator sign , is therefore
It vanishes at both endpoints, is continuous at , and its first derivative jumps by , giving . The Green-function representation then gives
The two integrals are and , respectively. Substituting them and simplifying gives
Direct differentiation verifies and both zero boundary values. The negative kernel also explains why the solution is negative inside the interval despite the positive right-hand side.
Figure 1.
A negative Dirichlet Green kernel produces a negative response to positive forcing
. Left: three source locations give continuous kernels with derivative jump . Right: the integrated solution of returns to zero at both boundaries. Details.

New to topics? Read the docs here!