I am trying to find the eigenvalues and eigenfunctions of the following Sturm-Liouville problem:
$$ \begin{cases} -u''=\lambda u, \ &x\in (a, b), \\ u(a)=u(b)=0, \ &b>a.\\ \end{cases} $$
I already checked the eigenvalues for when $\lambda<0$ and $\lambda=0$ and got that the only there are only trivial results for those two cases. However, for $\lambda>0$, found a general solution of $$u_{gen}(x)=c_1\sin((\sqrt\lambda)x) + c_2\cos((\sqrt\lambda)x)$$ and then plugging in initial conditions to get $$u(a)=c_1\sin((\sqrt\lambda)a) + c_2\cos((\sqrt\lambda)a)$$ and $$u(b)=c_1\sin((\sqrt\lambda)b) + c_2\cos((\sqrt\lambda)b)$$
Then I put these values into a matrix, took the determinant and ended up with $$\sin(\sqrt\lambda a)\cos(\sqrt\lambda b)-\sin(\sqrt\lambda b)\cos(\sqrt\lambda a)=0$$ which eventually simplified to $$\tan(\sqrt\lambda a)=\tan(\sqrt\lambda b)$$ which led me to an eigenvalue of $$\lambda_n = \left( \frac{n\pi }{ (b-a) } \right)^2$$
Here is where I am getting stuck. I am not completely sure how to find the eigenfunctions for this problem, and I feel like the answer is already in my grasp, I just have no idea what it is. In examples we did in class, the initial conditions worked out so that in order to not have a trivial solution, one of the c values was being multiplied by a sin function, meaning the sin function had to be zero. Can anyone help me figure out what the eigenfunction is?