Primitive of x squared over x squared minus a squared

Also see

 * Primitive of $\dfrac {x^2} {a^2 - x^2}$