I would just use a \(\displaystyle u\)-substitution:
\(\displaystyle u=\cos(x)\,\therefore\,du=-\sin(x)\,dx\)
and we now have:
\(\displaystyle \displaystyle -\int u^3\,du\)
How to get to the answer of \(\displaystyle -\dfrac{cos^{3}(x) }{3} + C\)![]()
Let's try it with integration by parts (which should be one way to do it):
\(\displaystyle \int u(dv) = uv - \int v(du)\)
\(\displaystyle \int \cos^{3}(x)\sin(x) dx\)
\(\displaystyle u = \cos^{3}(x)\)
\(\displaystyle du = -3\sin^{2}(x) \cos(x)\)
\(\displaystyle v = \sin(x)\)
\(\displaystyle dv = \cos(x)\)
\(\displaystyle \int \cos^{3}(x) \cos(x) = \cos^{3}(x)\sin(x) - \int \sin(x)(-3\sin^{2}(x) \cos(x))\)
\(\displaystyle \int \cos^{3}(x) \cos(x) = \cos^{3}(x)\sin(x) - \int -3\sin(x) \sin^{2}(x) \cos(x)\)
How to get to the answer of \(\displaystyle -\dfrac{cos^{3}(x) }{3} + C\)![]()
You are not properly applying the technique. We are given:
\(\displaystyle I=\displaystyle \int \cos^3(x)\sin(x)\,dx\)
Using IBP, we could choose to let:
\(\displaystyle u=\cos^3(x)\,\therefore\,du=-3\cos^2(x)\sin(x)\,dx\)
\(\displaystyle dv=\sin(x)\,dx\,\therefore\,v=-\cos(x)\)
And so we have:
\(\displaystyle \displaystyle I=-\cos^4(x)-3\int \cos^3(x)\sin(x)\,dx=-\cos^4(x)-3I+C\)
Now we may solve for \(\displaystyle I\):
\(\displaystyle 4I=-\cos^4(x)+C\)
\(\displaystyle I=-\dfrac{1}{4}\cos^4(x)+C\)
\(\displaystyle \displaystyle I=-\cos^4(x)-3\int \cos^3(x)\sin(x)\,dx=-\cos^4(x)-3I+C\)
Why write it like that when they can be combined as I did? You do realize that:
\(\displaystyle a^b\cdot a^c=a^{b+c}\)
Right?