Show that$$ \int \frac{1}{\sin^{4}(x)+\cos^{4}(x)}dx \ = \frac{1}{\sqrt{2}}\arctan\left(\frac{\tan2x}{\sqrt{2}}\right)+C$$
I have tried using Weierstrass substitution but I can't seem to get to the answer... Should I be using the said method or is there another way I can approach the question? Since the integrand evaluates into an arctangent function I am assuming there is some trickery in the manipulation that can get me there. But I just can't seem to see it...
Hint: multiply nominator and denominator by $\sec^4(x)$, then use substitution $u=\tan (x)$.