Primitive of x squared over a squared minus x squared

Also see

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