Integration by substitution · Exercise-U-SUBSTITUTION-005

Step-by-step solved exercise: Integrals

Compute \(\displaystyle\int \sin {x} \cos^{2} {x}\,dx\).

Step by step with comments, a check and common mistakes.

Step-by-step solution

  1. Choose u equal to the cosine.

    \[\displaystyle u=\cos x\]
  2. Compute the differential of u, which includes a negative sign.

    \[\displaystyle du=-\sin x\,dx\]
  3. Solve for sin x dx and substitute; the square of the cosine becomes u².

    \[\displaystyle -\int u^{2}\,du\]
  4. Integrate the power of u.

    \[\displaystyle -\frac{u^{3}}{3}+C\]
  5. Return to the variable x.

    \[\displaystyle -\frac{\cos^{3} x}{3}+C\]

    Comment: Check: differentiating gives \(\displaystyle \sin x\cos^{2} x\).

Answer

\(\displaystyle - \frac{\cos^{3} {x}}{3} + C\)

🎯 Build my path to this exercise