So I have this integral
$$\int \frac{1}{\sqrt{(z^2+1)^3}}dz$$
I tried substituting $z^2+1=t$
but I just get a more complicated integral. WolframAlpha solved the integral really quickly by substituting $z=\tan{u}$, by which the integral transforms into the integral of cosine.
My question is, is there any other way to solve this integral? This was pretty easy, but this substitution would have never occurred to me. This is the first time I am seeing this kind of substitution being used for non-trigonometric integrals.