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.
For the Green function of , the homogeneous solutions satisfying the left and right endpoint conditions are and . Their Wronskian is
Continuity of the kernel at and integration of require . Hence the Dirichlet modified Helmholtz Green function on an interval is
Here and . The negative sign is essential for this operator convention. Integrating the forcing against the kernel gives
This satisfies both endpoint conditions. It solves the equation classically for continuous , and in the corresponding weak sense for integrable forcing. A homogeneous difference satisfying both endpoint conditions must vanish, so the solution is unique.