Write the equation as with . Homogeneous solutions vanishing at the left and right endpoints are and . Their Wronskian is . The Dirichlet Green kernel for minus second derivative plus one is therefore
It vanishes at , is continuous at , and its first derivative has jump . Thus in the distributional derivative sense, with the sign appropriate to . Integration against gives the required boundary-value solution. The kernel is positive and symmetric, as is also apparent in the figure.
For the specified step forcing only contributes at , giving
The discontinuity in gives a piecewise twice-differentiable solution with continuous value and first derivative, rather than a jump in itself.
Figure 1.
A positive Dirichlet Green kernel smooths step forcing
. Original plots of three kernel sections and the solution for forcing zero on the left half and one on the right half of the interval. The derivative kink in each kernel section supplies its point source; integration produces a continuously differentiable forced solution. Details.