Example (computing eigenfunction expansion of Green's function)
Take $$ \begin{align*} L = -\dd[2]{x}, \qquad (a,b)=(0,1) \end{align*} $$ and impose Dirichlet boundary conditions $y(0) = 0 = y(1)$.
$L$ has normalised eigenfunction-eigenvalue pairs $$ \begin{align*} Y_k(x) = \sqrt{2} \sin(k\pi x), \qquad \lambda_k = (k\pi)^2. \end{align*} $$
Therefore the Dirichlet Green's function for $L$ on $(0, 1)$ is $$ \begin{align*} G(x;\xi) = \sum_{k=1}^{\infty} \frac{2\sin(k\pi\xi) \sin(k\pi x)}{(k\pi)^2}. \end{align*} $$
What does this converge to? For the equation $$ \begin{align*} Ly = 0 \iff y''=0, \end{align*} $$ under the boundary condition $y(0) = 0$, we have a solution $y_1(x) = x$, and under the boundary condition $y(1) = 0$ instead, we have a solution $y_2(x) = 1-x$. The Wronskian is $$ \begin{align*} W(y_1, y_2)(\xi) = (\xi)(-1) - (1)(1-\xi) = -1. \end{align*} $$ Therefore $$ \begin{align*} G(x;\xi) = \begin{cases} x(1-\xi), & 0<x<\xi, \\ \xi(1-x), &\xi<x<1. \end{cases} \end{align*} $$
They do converge!