Integration by parts · Exercise-INTEGRATION-BY-PARTS-010

Step-by-step solved exercise: Integrals

If \(\displaystyle u=x\) and \(\displaystyle dv=\cos x\,dx\), what are \(\displaystyle du\) and \(\displaystyle v\)?

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

Step-by-step solution

  1. Differentiate \(\displaystyle u=x\) to get \(\displaystyle du\).

    \[\displaystyle du=\frac{d}{dx}(x)\,dx=dx\]
  2. Integrate \(\displaystyle dv=\cos x\,dx\) to get \(\displaystyle v\).

    \[\displaystyle v=\int \cos x\,dx\]
  3. Recall that the derivative of \(\displaystyle \sin x\) is \(\displaystyle \cos x\), so the integral of \(\displaystyle \cos x\) is \(\displaystyle \sin x\).

    \[\displaystyle \frac{d}{dx}(\sin x)=\cos x\]
  4. Therefore, \(\displaystyle du=dx\) and \(\displaystyle v=\sin x\).

    \[\displaystyle du=dx,\quad v=\sin x\]

Answer

\(\displaystyle du=dx,\ v=\sin x\)

🎯 Build my path to this exercise