Compute the indefinite integral $$ \int\frac{1}{1+x^8}\,dx $$
My Attempt:
First we will factor $1+x^8$
$$ \begin{align} 1+x^8 &= 1^2+(x^4)^2+2x^4-2x^4\\ &= (1+x^4)^2-(\sqrt{2}x^2)^2\\ &= (x^4+\sqrt{2}x^2+1)(x^4-\sqrt{2}x^2+1) \end{align} $$
Then we can rewrite the integral as
$$ \int\frac{1}{1+x^8}\,dx = \int \frac{1}{(x^4+\sqrt{2}x^2+1)(x^4-\sqrt{2}x^2+1)}\,dx$$
To use partial fractions let $t = x^2$ to get
$$ \frac {1}{(t^2+\sqrt{2}t+1)(t^2-\sqrt{2}t+1)} = \frac{At+B}{t^2+\sqrt{2}t+1}+\frac{Ct+D}{t^2-\sqrt{2}t+1} $$
This method of solving the problem becomes very complex. Is there a less complex approach to the problem?