Can someone help me prove that given
$$ y'' + \frac{2}{x}y' + \lambda y = 0 $$
and boundary conditions
$$ {\lim_{x \to 0} xy = 0 , \hspace{5mm} y(1) =0 } $$
that
$$ y(x) = \frac{1}{x}\left[ A \sin{(\sqrt{\lambda}x)} + B \cos{(\sqrt\lambda x)} \right] $$
When trying to solve it the usual way I get
$$ m^2 + \frac{2}{x}m + \lambda = 0 $$ $$ m = -\frac{1}{x} \pm j\sqrt{\lambda - \frac{1}{x^2}}$$
which obviously won't me to the solution because I have the $\sqrt{\lambda - \frac{1}{x^2}}$ term instead of a $\sqrt{\lambda x}$ term.