Using Green's functions to solve inhomogenous problems

For some linear differential operator $L$, the problem $$ \begin{gather*} \begin{cases} Ly = f, &a<x<b, \\ y(a) = 0, \\ y(b) = 0, \end{cases} \end{gather*} $$ has a solution $$ \begin{align*} y(x) = \int_{a}^{b} G(x;\xi) f(\xi) \d \xi \end{align*} $$ where $G(x;\xi)$ is the Green's function for $L$ on $a<x<b$ with the Dirichlet boundary conditions.

(Derivation)