The following problem came up in my last examination.
$$ \int {\frac{1}{1+ \tan^4 x} dx}$$
The difficulty I was facing was that I wasn't able to find anything to substitute as there was nothing special in the numerator. So I tried the following approach:
$$ \int {\frac{1}{1+ \tan^4 x}}dx = \int {\frac{\cos^4 x}{\cos^4 x + \sin^4 x}}dx$$
However this came to no good as it was still useless to substitute $\sin x$ as $t$ and get $dt=\cos x dx$
Next I tried substituting $\tan x$ as $t$
$$ t=\tan x \implies dt=\sec^2 x dx \implies dx=\frac{dt}{1+t^2} $$
giving me
$$ \int {\frac{dx}{(1+t^4)(1+t^2)}}$$
My question then is how do I split these into partial fractions and solve the integral? And, of course, if there is a better way to solve this integral, please suggest one.