The problem is:
$$\int\frac{1}{(x^2-1)^2}dx$$
I tried using substitution $u=x^2-1$ but that does not bring me got results. I get an integral:
$$\frac{1}{2}\int\frac{1}{u^2\sqrt{u+1}}$$
And that does not really make things any more simple. From here I tried using partial decomposition but didn't really get anywhere.
Any help with this would be much appreciated.
$$I=\int\frac{1}{(x^2-1)^2}\,dx$$ note that $(x^2-1)=(x-1)(x+1)$ $$I=\frac 12\int\frac{(x+1) -(x-1)}{(x^2-1)^2}\,dx$$
Simplify and do that again till you get simple fractions