Consider the boundary value problem
$$y''+uy=0 \qquad y(0)=y(\pi/2)=0$$
(a) For what values of $u$ does this problem have the trivial solution $y \equiv 0$?
(b) For what values of $u$ does the problem have nontrivial solutions? I would really appreciate any help on this one.
Is $\ u$ a constant? If $\ u$ is a constant, then $\forall u, y=0$ is a solution. Supposing $\ u$ is a constant, then $\ y=A e^{i\sqrt{u} x}+Be^{-i\sqrt{u} x} $
Now, we impose boundary conditions. $\ y(0)=0 \Rightarrow A+B=0$ or $\ A=-B$ $\ y(\pi/2)=0 \Rightarrow e^{i\sqrt u \pi/2}-e^{-i\sqrt u \pi/2}=0 \Rightarrow sinh(i\sqrt u \pi/2)=0 \Rightarrow sin(\sqrt u \pi/2)=0 \Rightarrow \pi\sqrt u/2=n\pi$
Therefore, $\ \sqrt u=2n \Rightarrow u=4n^2 $ where $\ \forall n \in \mathbb{Z} $