How to integrate a 4th power of sine and cosine? I'm having some trouble figuring out the right substitutions to make to integrate 
$$\int \sin^4(\theta)d\theta$$
and 
$$\int \cos^4(\theta)d\theta$$
Any hints or suggestions are welcome.
Thanks,

Notice that you can write $\sin^4(x)$ as follows:
\begin{align}
\sin^4(x) = &\ (\sin^2(x))^2 = \Big(\frac{1 - \cos(2x)}{2}\Big)^2 \\
= &\ \frac{1 -2\cos(2x) + \cos^2(2x)}{4}  \\
= &\ \frac{1}{4} - \frac{\cos(2x)}{2} + \frac{1 + \cos(4x)}{8}.
\end{align} 
For $\cos^4(x)$ we procede as above:
\begin{align}
\cos^4(x) = &\ (\cos^2(x))^2 = \Big(\frac{1 + \cos(2x)}{2}\Big)^2 \\
= &\ \frac{1 + 2\cos(2x) + \cos^2(2x)}{4}  \\
= &\ \frac{1}{4} + \frac{\cos(2x)}{2} + \frac{1 + \cos(4x)}{8}.
\end{align} 
