Convergence of the following improper integral for $\alpha>0$: $$\int_{0}^{\frac{\pi}{2}}\tan^\alpha (x)\mathrm{d}x$$
I've used the substitution $x=1/t$ to have the argument to tend to zero: $$ \int_{\frac{2}{\pi}}^{+\infty }\left |\tan^\alpha\left(\frac{1}{t}\right)\frac{1}{t^{2}}\right |dt \leqslant \int_{\frac{2}{\pi}}^{+\infty } \frac{1}{t^{\alpha +2}} $$ Which converges for $\alpha+2<1 \Rightarrow \alpha>-1$
I think it's correct, but Wolfram Alpha suggests that it converges for $\alpha<1$, so I wish to know what is wrong with my solution. Thank you.