Primitive of Reciprocal of a squared minus x squared

Also see

 * Primitive of $\dfrac 1 {x^2 + a^2}$
 * Primitive of $\dfrac 1 {x^2 - a^2}$ for the case $x^2 > a^2$