Proposition (eigenfunction expansion of Green's function)

If $L$ is a Sturm-Liouville operator and $\set{Y_k}$ are the normalised eigenfunctions with eigenvalues $\set{\lambda_k}$, then the Dirichlet Green's function is $$ \begin{align*} G(x;\xi) = w(\xi) \sum_{k=1}^{\infty} \frac{Y_k(\xi) Y_k(x)}{\lambda_k}. \end{align*} $$

Proof