Say I have a linear operator $L$ and I define its Green's function by $LG(x,y)=\delta(x-y)$. Then the problem of finding $f(x)$ such that $Lf(x)=g(x)$ for given $g(x)$ admits as solution $f(x)=\int G(x,y)g(y)dy$.
Now, I read everywhere that I must impose on $G$ the same boundary conditions that are imposed on $f$. So, if we want $f(0)=0$, say, then we must also impose $G(0,y)=0$.
I don't understand this. I mean, we have $f(0)=\int G(0,y)g(y)dy$. This integral can be zero without forcing $G(0,y)=0$, which seems as overkill.
What is the deal?
$\newcommand{\bbx}[1]{\,\bbox[15px,border:1px groove navy]{\displaystyle{#1}}\,} \newcommand{\braces}[1]{\left\lbrace\,{#1}\,\right\rbrace} \newcommand{\bracks}[1]{\left\lbrack\,{#1}\,\right\rbrack} \newcommand{\dd}{\mathrm{d}} \newcommand{\ds}[1]{\displaystyle{#1}} \newcommand{\expo}[1]{\,\mathrm{e}^{#1}\,} \newcommand{\ic}{\mathrm{i}} \newcommand{\mc}[1]{\mathcal{#1}} \newcommand{\mrm}[1]{\mathrm{#1}} \newcommand{\pars}[1]{\left(\,{#1}\,\right)} \newcommand{\partiald}[3][]{\frac{\partial^{#1} #2}{\partial #3^{#1}}} \newcommand{\root}[2][]{\,\sqrt[#1]{\,{#2}\,}\,} \newcommand{\totald}[3][]{\frac{\mathrm{d}^{#1} #2}{\mathrm{d} #3^{#1}}} \newcommand{\verts}[1]{\left\vert\,{#1}\,\right\vert}$ The solution is given by \begin{align} \mrm{f}\pars{x} & = \ell_{p}\pars{x} + \int\mrm{G}\pars{x,y}\,\dd y\,,\qquad \overbrace{\qquad\mrm{f}\pars{a} = \varphi_{a}\qquad} ^{\mbox{Boundary Condition}} \end{align}
$$ \mrm{f}\pars{a} = \ell_{p}\pars{a} + \int\mrm{G}\pars{a,y}\,\dd y = \varphi_a + \int\mrm{G}\pars{a,y}\,\dd y $$