I would like to know if there is an algebraic way to evaluate $$\int \frac{\text{d}x}{x^2(x^2+1)^2}$$ Without using partial fraction decomposition and without substitution.
My attempt is something like this $$\int \frac{\text{d}x}{x^2(x^2+1)^2}=\int \frac{(x^2+1)^2-x^4-2x^2}{x^2(x^2+1)^2}\text{d}x=\int \frac{1}{x^2}\text{d}x-\int \frac{x^2+2}{(x^2+1)^2}\text{d}x=$$ $$=-\frac{1}{x}+\int \frac{\text{d}x}{x^2+1}+\int \frac{1}{(x^2+1)^2}\text{d}x+c=-\frac{1}{x}+\arctan x+\int \frac{1}{(x^2+1)^2}\text{d}x+c$$
So I just need to integrate $\frac{1}{(x^2+1)^2}$, which is easy by letting $x=\tan \theta$; but actually I would like to end with algebra, so how can I integrate $\frac{1}{(x^2+1)^2}$ without substitution?
Thanks.