Given
$$\int_{0}^{+\infty}\frac{1}{\left(1+x^{2}\right)^{m}}dx$$ such that $m>0$.
Study the convergence of the previous integral.
Now, I've tried solving for $m$ using the comparison tests but have been unsuccessful. Luckily, I've found the solution online but for $m\in N$ ("Show that the previous integral converges for every $m\in N$ "). For what I saw, they aren't that different from one another. Anyways, here it is:
(My notes are between parenthesis)
Change of variable: $x=\tan(t)$
So: $dx=\sec^2(t)dt$
(Note: I suppose he/she took $t$ as $\arctan(x)$)
The bounds of integration now are:
$t=0$ (Corresponding to $x=0$)
$t=\pi/2$ (When $x=\infty$)
(Now, this is the part that doesn't convince me so much. First, there are infinite $t$ such that $tg(t)=0$. Second, there is no $t=\pi/2$ when $x$ goes to infinity - I mean, isn't that the $arctg(x)$? On the other hand, the process seems to be pretty much in order to me)
$\int_{0}^{\pi/2}\frac{\sec^2(t)}{(1+tg^2(t))^{m}}dt=\int_{0}^{\pi/2}\sec^{\left(2-2m\right)}\left(t\right)dt=\int_{0}^{\pi/2}\cos^{\left(2m-2\right)}\left(t\right)dt$
Which converges for every natural $m$. (I think, similarly, the way of solving and solution would be the same as saying for every $m>0$. Please correct me if I'm wrong at this.)
So, what do you think? If this is wrong as I presumed, can you help me with the solution? Thanks in advance!
P.S. Here is the link to the solution (http://www.ehu.eus/~mtpalezp/mundo/ana1/EJERCICIOSINTEGRALIMPROPIA.pdf). Page 4, at the bottom. Exercise 13. Note: It's in Spanish.