Integrate rational function $\frac{x^2}{1+x^4}$ Integrate $$\int\frac{x^2dx}{1+x^4}$$
I've factored the denominator to $(x^2-\sqrt{2}x+1)(x^2+\sqrt{2}x+1)$ and got stuck.

Or, use $$\frac{x^2}{1+x^4}=\frac{1}{2} \frac{2x^2}{1+x^4}=\frac{1}{2}\left(\frac{x^2-1}{1+x^4}+\frac{x^2+1}{1+x^4}\right)$$ and this idea.
