$$\int _0^{3\pi }\:\frac{\mathrm{d}x}{\sin ^4\left(x\right)+\cos ^4\left(x\right)}=?$$
I have used that $\cos^2 \left(x\right)=\frac{1+\cos \left(2x\right)}{2}$ and $\sin^2 \left(x\right)=\frac{1-\cos \left(2x\right)}{2}$, so:
$$\int _0^{3\pi }\:\frac{\mathrm{d}x}{\sin ^4\left(x\right)+\cos ^4\left(x\right)}=\int _0^{3\pi }\:\frac{\mathrm{d}x}{3+\cos \left(4x\right)}.$$
Now I know that $\cos(4x)$ is periodic with $T=\pi/2$ and that it is an even function. How can I use that so I can say that $$\int _0^{3\pi }\:\frac{\mathrm{d}x}{3+\cos \left(4x\right)} = 48\int _0^{\frac{\pi }{4}}\:\frac{\mathrm{d}x}{3+\cos \left(4x\right)}$$ and what would be the purpose ? (I am asking that because the last integral was a hint and I don't know how to get to that form)