The area of the region bounded by the curve \(y=\cos x\) and the x-axis between \(x=0\) and \(x=\pi\) is
Answer & explanation
Correct answer: option 2
The correct answer is Option (2) → 2 sq. units
cos x ≥ 0 on \(\left[0, \frac{\pi}{2}\right]\) and cos x ≤ 0 on \(\left[\frac{\pi}{2}, \pi\right]\). The part of the region below the x-axis is counted with a positive sign, so the area is found in two parts:
\( \displaystyle A = \int_{0}^{\pi/2}\cos x\,dx + \left|\int_{\pi/2}^{\pi}\cos x\,dx\right| \)
\( \displaystyle = \Big[\sin x\Big]_{0}^{\pi/2} + \left|\Big[\sin x\Big]_{\pi/2}^{\pi}\right| \)
\( = (1 - 0) + |0 - 1| \)
\( = 1 + 1 = 2 \)
So the area is 2 sq. units.