I am trying to solve numerically the following second order linear ODE:
$a \frac{\partial^2 u}{\partial x^2} + \frac{\partial u}{\partial x} \frac{\partial a}{\partial x} + b u =0$,
on the domain $[-L,L]$ with boundary conditions $u(-L)=u(L)=0$
where $a=\lambda c(x) + d(x)$, and $b = \lambda e(x) + f(x)$.
$c(x)$, $d(x)$, $e(x)$, $f(x)$ are known functions of $x$ and $\lambda$ is a real parameter. It is a bit similar to Sturm-Liouville problems, but the parameter $\lambda$ is found in the coefficients of the derivatives. I don't know if any of the algorithms for that kind of problems apply, or if there is something else.
I am also interested if there is any method to determine $\lambda$ for which we have a nontrivial solution. Thank you!