$$I=\int\frac{\sin x+\cos x}{\sin^2x+\cos^4x}\mathrm d x=?$$
I saw the related problem but that didn't help much. I attempted this question by splitting the numerator into $$I_1=\int\frac{\sin x}{\sin^2x+\cos^4x}\mathrm d x \text { and } I_2=\int\frac{\cos x}{\sin^2x+\cos^4x}\mathrm d x$$
For $I_1$, I set $t=\sin x$ and solved it the straightforward way. For $I_2$, I set $t=\cos x$ and again solved it the straightforward way.
My method got extremely lengthy in the end, while the question is supposed be decently okay. The answer that my book got is:
$$I=\frac 1{2\sqrt3}\ln\left|\frac{\sqrt3+t}{\sqrt3-t}\right|+\arctan t+C$$
for $t=\sin x-\cos x$. I have absolutely no clue how to get to such an easy result.