Evaluate $\int\frac{x^4}{(x^2-1)^3}dx$ I tried:$$I=\int\frac{x^4}{(x^2-1)^3}dx=\int\frac{(x^2-1)(x^2+1)+1}{(x^2-1)^3}dx=\int\frac{x^2+1}{(x^2-1)^2}+\frac{1}{(x^2-1)^3}dx$$
For first fraction we can write it as $\frac{1}{x^2-1}+\frac{2}{(x^2-1)^2}$. therefor we have:
$$I=\frac12\ln\left|\frac{x-1}{x+1}\right|+\int\frac{2}{(x^2-1)^2}dx+\int\frac{1}{(x^2-1)^3}dx$$
I don't know how to evaluate remaining integrals.

Another approach: with $x=-\csc t$ the original integral becomes $\int\sec^5tdt$, then use this together with $\sec t\tan t=\frac{x}{1-x^2},\,(\sec t+\tan t)^2=\frac{2x-1-x^2}{1-x^2}$.
