Compute: $\int_{0}^{1}\frac{x^4+1}{x^6+1} dx$ I'm trying to compute: $$\int_{0}^{1}\frac{x^4+1}{x^6+1}dx.$$
I tried to change $x^4$ into $t^2$ or $t$, but it didn't work for me.
Any suggestions?
Thanks!

First substitute $x=\tan\theta$. Simplify the integrand, noticing that $\sec^2\theta$ is a factor of the original denominator. Use the identity connecting $\tan^2\theta$ and $\cos2\theta$ to write the integrand in terms of $\cos^22\theta$. Now the substitution $t=\tan2\theta$ reduces the integral to a standard form, which proves $\pi/3$ to be the correct answer. This method seems rather roundabout in retrospect, but it requires only natural substitutions, standard trigonometric identities, and straightforward algebraic simplification. 
