Consider a potential that on the left of some point $x=x^*>0$ is infinite and on the right of that point it is of the form $$V(x)=-\alpha x^{-3}.$$
I tried to use the WKB method to determine the quantum number $n$ of the last bound state. Since the potential has one rigid wall i use the quantization:
$$\int_{x^*}^bp(x)dx=\int_{x^*}^b\sqrt{2m(E-V(x)}dx=(n+\frac{3}{4})\pi\hbar.$$
I take the limit in which $E\rightarrow 0$ and $b\rightarrow \infty$ where $b$ is the point where the potential energy is equal to the kinetic energy. After doing the integral i get the following result, that the quantum number of the last bound state is:
$$n_{max}=\frac{\sqrt{2x^*ma}}{\pi \hbar}-\frac{3}{4}.$$
To my understanding this is proof that bound states do exist since you can go down a step at a time and figure out the quantum number for the other bound states (given that the mass and $\alpha$ parameter give a sensible $n_{max}$)
I tried another approach to see if i get the same result or at least prove that there are indeed bound states.Using the virial theorem $$2T=-3V$$ for the ground state:
$$E=V+T=\frac{1}{3}T>0$$
so that means no bound states for this potential since the ground state has the lowest energy.
Obviously im doing something wrong since both statements can't be true at the same time, but i can't find what is wrong in my thinking and why these results are indeed incorrect.