We have to calculate the following integral quite often with Gauss surfaces in my Physics course. The teacher never exlained how we can find it and always gives us the result . How can I evaluate it?
$$\int \frac{dx}{(a^2+x^2)^{3/2}}$$ a is a constant
P.S. In case it's been uploaded I'll delete the question. I couldn't find it after giving a look though.
If you make the substitution $x=a\tan\theta$, then $a^2+x^2=a^2\sec^2\theta$ and $\frac{dx}{d\theta}=a\sec^2\theta$, so the result is $$ \int\frac{a\sec^2\theta}{a^3\sec^3\theta}\;d\theta=a^{-2}\int \cos\theta\;d\theta=a^{-2}\sin\theta+C=\frac{x}{a^2\sqrt{a^2+x^2}}+C$$ Note that $\sin\theta$ can be determined using $\tan\theta=\frac{x}{a}$ and the Pythagorean theorem.