I want to solve this primitive $$I=\int \frac{2}{x^2(x^2+1)^2}dx.$$
I substitute $u=x^2$ then,
$$I=\int \frac{2}{x^2(x^2+1)^2}dx=\int \frac{du}{u^{3/2}(u+1)^2}=\cdots$$
How do I use partial fraction decomposition? Is there another idea to compute this primitive?