I tried to primitive $\sin(x)\cos^3(x)$ step be step, but I got stuck.
Can I use substitution? $[\sin(x)]' = \cos(x)$ And write $\cos^3$ as $\cos^2(x)*\cos(x)$ And also write the function $\sin(x)\cos^2(x)*\cos(x)dx$ as $\sin(x)\cos^2(x)d(\sin(x))$
I tried to primitive $\sin(x)\cos^3(x)$ step be step, but I got stuck.
Can I use substitution? $[\sin(x)]' = \cos(x)$ And write $\cos^3$ as $\cos^2(x)*\cos(x)$ And also write the function $\sin(x)\cos^2(x)*\cos(x)dx$ as $\sin(x)\cos^2(x)d(\sin(x))$
Without substitution:
Suppose you know that $\;\int f(x)dx=F(x)\;$ , and suppose you have a differentiable function $\;g(x)\;$ s.t. $\;f(g(x))\;$ is defined and integrable, then;
$$\int g'(x)\,f(g(x))dx=F(g(x))\;\;\text{(Proof? Apply the Chain Rule to the RHS)}$$
In our case, take
$$\;f(x)=x^3\;\implies \int f(x)dx=\frac14x^4+C\;,\;\;\;g(x)=\cos^3x\;,\;\;\text{so that:}$$
$$\int\sin x\cos^3x\,dx=-\int (-\sin x)\cos^3xdx=-\int(\cos x)'\,\cos^3x\,dx=\frac14\cos^4x+C$$
Hint: If you want your " $u$ " to be $\sin x$, it should be fine too. Then write: $$\sin x \cdot \cos ^3 x = \sin x \cdot \cos ^2 x\cdot \cos x = \sin x\cdot (1 - \sin ^2x)\cdot \cos x = (\sin x - \sin ^3 x)\cdot \cos x$$. You can proceed to the next step.
This is almost immediate. Use $y=\cos(x)$, then $dy = -\sin(x)\,dx$, so
$\displaystyle \int dx\,\sin(x)\cos(x) = -\int dy\,y^3 = -\frac{y^4}{4}+C = -\frac{\cos^4(x)}{4}+C$.