Integration of $\int\frac{1}{x^{4}+1}\mathrm dx$ I don't know how to integrate $\displaystyle \int\frac{1}{x^{4}+1}\mathrm dx$. Do I have to use trigonometric substitution?  

The steps are as follows:
1) Decompose $\frac{1}{1+x^{4}}$ using partial fractions (it can be factored using an identity of Sophie Germain)
2) You should have a linear function in each numerator and a quadratic in each denominator. Separate into the form $\frac{const}{quadratic}+\frac{const\cdot x}{quadratic}$
3) Complete the square on this quadratic.
4) To integrate the first form, make a simple substitution to transform the integrand into the form $\frac{1}{1+u^{2}}$, which is the derivative of $\tan^{-1}(x)$.
5) For the second, make another substitution to transform the integrand into the form $\frac{1}{1+v}$, which has antiderivative $\ln(1+v)$.  
Be very careful with tiny algebraic slips, and keep track of your constants.
