Primitive of x squared over x squared plus a squared

Theorem

 * $\displaystyle \int \frac {x^2 \rd x} {x^2 + a^2} = x - a \arctan {\frac x a} + C$

where $a$ is a non-zero constant.