# How to integrate $\frac{1}{1+x^4}$ [duplicate]

Evaluate $\int \frac{1}{1+x^4}dx$.

I am finding it very difficult to evaluate this integral. I do not know any standard formula for this integral. I cannot think of a suitable substitution. I tried to evaluate the integral by partial fractions but it become a bit messy and integration by parts does not result in a simpler integral. How can you evaluate this integral without using partial fractions?

## marked as duplicate by user228113, Jyrki LahtonenApr 9 '18 at 9:56

• @BrandonLoi What you suggest won't work, because the integrand becomes, bar the mandatory considerations of sign, $\int^{x^2} \frac{1}{2(1+u^2)\sqrt u}\,du$ – user228113 Apr 9 '18 at 9:56
Use the fact that$$\frac1{x^4+1}=\frac1{x^4+2x^2+1-2x^2}=\frac1{\left(x^2+\sqrt2x+1\right)\left(x^2-\sqrt2x+1\right)}.$$
Hint: $1+x^4=(1+\sqrt2x +x^2)(1-\sqrt2x +x^2)$.