Fundamental theorem of calculus · Exercise-FUNDAMENTAL-THEOREM-OF-CALCULUS-004

Step-by-step solved exercise: Integrals

Compute \(\displaystyle\int_{0}^{\pi} \sin {x}\,dx\).

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

Step-by-step solution

  1. An antiderivative of sin x is -cos x, since the derivative of -cos x is sin x.

    \[\displaystyle F(x)=-\cos x\]
  2. Apply the second part of the fundamental theorem on the limits 0 and π.

    \[\displaystyle \int_{0}^{\pi}\sin x\,dx=F(\pi)-F(0)\]
  3. Evaluate the cosines and subtract.

    \[\displaystyle -\cos\pi+\cos 0=1+1\]
  4. The value of the integral is 2.

    \[\displaystyle 2\]

Answer

\(\displaystyle 2\)

🎯 Build my path to this exercise