I'm trying to get the eigenfunctions and eigenvalues of the following one-dimensional Schrodinger equation: $$ -\frac{1}{2}\frac{d^2}{dx^2}\psi(x)+V(x)\psi(x)=E\psi(x)\,,$$ where the external potential reads:$$V(x)=2\tanh^2(x/\sqrt{2})\,.$$ Mathematica gives me the following analytical result for the eigenfunctions (I used the method sketched by @Stefen Luttrell in this post):
C[1] LegendreP[1/2 (-1 + Sqrt[17]), Sqrt[2] Sqrt[2 - e], Tanh[x]] +
C[2] LegendreQ[1/2 (-1 + Sqrt[17]), Sqrt[2] Sqrt[2 - e], Tanh[x]]
and now the problem is to find the correct values for the coefficients $C[1]$ and $C[2]$. I want the wavefunction to vanish for $x\rightarrow \pm \infty$. I tried to use Asymptotic and Series functions, but in all cases Mathematica takes too much time to compute or I cannot get a clue for the coefficients behavior. Any help is greatly appreciated.
Asymptotic[C[1] LegendreP[1/2 (-1 + Sqrt[17]), Sqrt[2] Sqrt[2 - e], Tanh[x]] + C[2] LegendreQ[1/2 (-1 + Sqrt[17]), Sqrt[2] Sqrt[2 - e], Tanh[x]], x -> ∞, Assumptions -> e < 2 && C[1] ∈ Reals && C[2] ∈ Reals]; Solve[% == 0, {C[1], C[2]}]– Domen Aug 15 '23 at 17:04