I'm kinda stuck with a problem right now. I have the boundary problem $$\left\{ \begin{array}{l} -u''(x)+\mu u(x)= f(x), \quad x\in (0,T) \\ u'(0)=u'(T)=0 \end{array} \right.$$ and I have to obtain the values of $\mu\in\mathbb{R}$ such that the equation has solution for every $f\in L^2(0,T)$, and write that solution as $u=Kf$, where $K$ is an operator of the form $$[Ku](x)=\int_0^T k(x,y)f(y)dy.$$
The problem is that my formation on differential equations is quite limited, and the only example the proffesor gave us is for the case $\mu=0$, which is quite trivial. Can I get help from you guys?
Thanks a lot!
For any second order system like this, it is worth knowing that you can choose any linearly independent solutions $\phi$, $\psi$ of the homogenous equation $-u''+\mu u=0$, and obtain a particular solution $u$ of $-u''+\mu u=f$ as $$ u=\frac{1}{w(\phi,\psi)}\left[\phi\int \psi f\,dx - \psi\int \phi f\,dx\right] $$ where $w(\phi,\psi)=\phi\psi'-\phi'\psi$ is the Wronskian. The Wronskian is constant because $$ w(\phi,\psi)' = (\phi\psi'-\phi'\psi)'=(\phi\psi''-\phi''\psi)=0. $$ To see why this works, remember that the Wronskian is constant, and look at $$ \begin{align} u' & = \frac{1}{w(\phi,\psi)}\left[\phi'\int\psi f\,dx-\psi'\int\phi f\,dx\right] \\ u'' & =\frac{1}{w(\phi,\psi)}\left[\phi''\int\psi f\,dx-\psi''\int\phi f\,dx+(\phi'\psi-\phi\psi')f\right] \end{align} $$ Therefore, $-u''+\mu u=f\;$ because $-\phi''+\mu \phi=0$ and $-\psi''+\mu\psi=0$. The general solution of $-u''+\mu u=f$ involves two constants $A$, $B$: $$ u=\frac{1}{w(\phi,\psi)}\left[\phi\int \psi f\,dx - \psi\int \phi f\,dx\right]+A\phi+B\psi. $$ So you can always solve the equation. The only issue is the endpoint conditions. There is a standard trick that works nicely for the endpoint conditions. You choose $\phi$ to satisfy the right endpoint condition, and $\psi$ to satisfy the left, and then you form $$ u = \frac{1}{w(\phi,\psi)}\left[\phi(x)\int_{0}^{x}f(t)\psi(t)\,dt+\psi(x)\int_{x}^{T}f(t)\,\phi(t)\,dt\right] $$ That takes care of the constants. This is because there are constants $C$ and $D$ such that $$ u(0)=C\psi(0),\;\;u'(0)=C\psi'(0)\\ u(T)=D\phi(0),\;\;u'(T)=D\phi'(0). $$ For your case that means $\psi'(0)=0$ and $\phi'(T)=0$ are required. Two such solutions are $$ \phi(x) = \cosh(\sqrt{\mu}(x-T)),\;\;\; \psi(x)=\cosh(\sqrt{\mu}x). $$ You don't care about normalizing $\phi$, $\psi$ in some way because this happens automatically when dividing by the Wronskian. The Wronskian is constant and, therefore, may be evaluated at the endpoint $T$ to find its constant value: $$ \begin{align} W(\phi,\psi) = & \phi\psi'-\phi'\psi \\ = & +\sqrt{\mu}\cosh(\sqrt{\mu}(x-T))\sinh(\sqrt{\mu}x) \\ & -\sqrt{\mu}\sinh(\sqrt{\mu}(x-T))\cosh(\sqrt{\mu}x) \\ = & W(\phi,\psi)|_{x=T}=\sqrt{\mu}\sinh(\sqrt{\mu}T). \end{align} $$ Now you see when you can and cannot solve this problem in a general way. There is no general solution for all $f$ whenever $\sinh(\sqrt{\mu}T)=0$, which happens for $$ \mu = -n^{2}\pi^{2}/T^{2},\;\;\; n=0,1,2,3,\cdots. $$ The final answer that you seek is $$ \begin{align} u = \frac{1}{\sqrt{\mu}\sinh(\sqrt{\mu}T)} & \left[\cosh(\sqrt{\mu}(x-T))\int_{0}^{x}\cosh(\sqrt{\mu}t)f(t)\,dt\right. \\ & \left. +\cosh(\sqrt{\mu}x)\int_{x}^{T}\cosh(\sqrt{\mu}(t-T))f(t)\,dt \right] \end{align} $$ You can easily express this answer as $u = \int_{0}^{T}K(x,t)f(t)\,dt$.