Find the indefinite integral $\int_{} (\cos^3x)(\sin x)\mathrm dx$
Here is my work.
1) Pick the $u, v$ values:
$$u = \cos x, \mathrm du = -\sin x$$ $$v = x, \mathrm dv = 1$$
2) Substitute $u, v$ values into integral
$$= \int_{} (u)^3(\sin v)(-\sin x)\tag1$$
3) Integrate (Find the antiderivative)
$$= \frac{u^4}{4}(\cos v)(-\cos x) $$
4) Put substitutes into the antiderivative
$$\frac{1}{4} (\cos x)^4 (\cos x)(-\cos x) = \textbf{$-\frac{(\cos x)^6}{4}$} + C = {-\frac{\cos^6x}{4}} + C $$
However the textbook says the answer is $-\frac{\cos^4x}{4} + C$
I am confused, where did I go wrong? I felt like I followed the substitution rule correctly. I am not sure if I used the substitution rule on $\sin x$ correctly in this context.