Letβs start with the second integral since we have used the same method in the previous investigation task. Using the Pythagorean identity, we obtain
\begin{align*}
\int \sin^3(x)\, dx \amp= \int \sin^2(x)\cdot \sin(x)\, dx \\
\amp= \int\left(1 - \cos^2(x)\right)\cdot \sin(x)\, dx
\end{align*}
Let \(u = \cos(x)\text{.}\) Then \(du = -\sin(x)\, dx\text{.}\) This implies that
\begin{align*}
\int\left(1 - \cos^2(x)\right)\cdot \sin(x)\, dx \amp= -\int \left(1 - u^2\right)\, du \\
\amp= -u + \frac{u^3}{3} + C \\
\amp= -\cos(x) + \frac{\cos^3(x)}{3} + C
\end{align*}
Now letβs tackle the more difficult one. Using the power-reducing formula, we obtain
\begin{align*}
\int \sin^2(x)\, dx \amp= \int \frac{1}{2}\left(1 - \cos(2x)\right)\, dx \\
\amp= \frac{1}{2}\int \left(1 - \cos(2x)\right)\, dx \\
\amp= \frac{1}{2} \left(\int \, dx - \int \cos(2x)\, dx\right)
\end{align*}
We can integrate \(\cos(2x)\) by a simple \(u\)-sub of letting \(u = 2x\text{.}\) Then we have
\begin{align*}
\frac{1}{2} \left(\int \, dx - \int \cos(2x)\, dx\right) \amp= \frac{1}{2} \left(x - \frac{1}{2}\sin(2x)\right) + C\\
\amp= \frac{x}{2} - \frac{1}{4}\sin(2x) + C
\end{align*}