# How to find the antiderivative of this function $\frac{1}{1+x^4}$?

How to find the antiderivative of the function $f(x)=\frac{1}{1+x^4}$?

My math professor suggested to use the method of partial fractions, but it doesn't seem to work, because the denominator cannot be factored at all. Attempting to integrate with other familiar methods (integration by parts, trigonometric substitution) didn't work out as well. Does anyone have an idea what is the best approach to this problem?

• partial fraction decompostion: keep in mind that there are also imaginary solutions to the polynomial in the denominator – tired Jan 27 '16 at 1:22

It factors as the product of two quadratic polynomials. Irreducible polynomials in $\mathbf R[x]$ are linear polynomials and quadratic polynomials with negative discriminant.
$$x^4+1=(x^2+1)^2-2x^2=(x^2+\sqrt2x+1)(x^2-\sqrt2x+1).$$