In my quantum mechanics book I read the following sentence:
If we want the wavefunction to be normalizable, one must impose boundary conditions: $$\lim_{x \to \pm\infty} \psi(x)=0.$$
My question is as follows:
From what I understood by reading other answers on this forum, a wavefunction in general does not have to be continuous, the only condition required is that it belongs to $L^2$ (always talking about bound states, for example a harmonic oscillator).
The only condition that $\lim_{x \to \pm\infty} \psi(x)=0$, does not make the wavefunction automatically normalizable, for example a wavefunction of the type $\psi(x)=1/x^2$, meets the previous conditions but is not normalizable and is not even of class $L^2$.
Is it possible that my book is implicitly considering only continuous wavefunctions? So that the $$\lim_{x \to \pm\infty} \psi(x)=0$$ condition automatically implies that the function is normalizable and of class $L^2$?
Otherwise, I don't understand how the limit condition alone, makes the wavefunction normalizable.
Another thing I find a lot in my book about this topic are sentences like:
the eigenfunctions of $H$ for a free particle are kept finite at infinity,
and it never talks about the behavior of the wavefunction inside the domain but always at infinity. Maybe this is also because it only considers continuous wavefunctions?