$$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.
Since you have provided the hint in the answer $t = \sin x - \cos x$, we're going to use that. Thus, $\mathrm{d}t= (\cos x+\sin x)\mathrm{d}x$ which is already present in the numerator, so no issues there.
$t^2 = \sin^2x +\cos^2x -\sin2x$
$t^2 = 1 - \sin2x$
thus $\sin2x = 1- t^2$
In the denominator add and subtract $\cos^2x$ $\implies\sin^2x + \cos^2x -\cos^2x + \cos^4x\implies1 - \cos^2x\sin^2x$
The denominator will reduce to $1 - \sin^2x\cos^2x=1 - \sin^22x/4$
Break up the denominator as: $\frac{1}{(1-\sin2x/2)(1+\sin2x/2)}$
now put $\sin2x = 1 - t^2$
Now if you are comfortable with partial fractions the rest should be fairly easy! You can now integrate it with respect to $\mathrm{d}t$.