Question:

\( \int_0^{2\pi} |\sin x|\,dx = \)

Show Hint

Split the range at \( \pi \), where \( \sin x \) changes sign, and take \( |\sin x| = \sin x \) then \( -\sin x \).
  • \( 2 \)
  • \( 4 \)
  • \( 1 \)
  • \( 3 \)
Show Solution
collegedunia
Verified By Collegedunia

The Correct Option is B

Solution and Explanation

Step 1: Understanding the Concept:
The function \(|\sin x|\) is not given by one formula on \([0, 2\pi]\). We must remove the modulus by checking where \(\sin x\) is positive and where it is negative.

Step 2: Key Formula or Approach:
On \([0, \pi]\), \(\sin x \ge 0\), so \(|\sin x| = \sin x\).
On \([\pi, 2\pi]\), \(\sin x \le 0\), so \(|\sin x| = -\sin x\).
Split the integral at \(x = \pi\).

Step 3: Detailed Explanation:
\[ \int_0^{2\pi} |\sin x|\,dx = \int_0^{\pi} \sin x\,dx + \int_{\pi}^{2\pi} (-\sin x)\,dx \]
First part: \(\left[ -\cos x \right]_0^{\pi} = -\cos\pi + \cos 0 = 1 + 1 = 2\).
Second part: \(\left[ \cos x \right]_{\pi}^{2\pi} = \cos 2\pi - \cos\pi = 1 - (-1) = 2\).
\[ \text{Total} = 2 + 2 = 4 \]

Step 4: Why the other options are wrong:
Option (1), 2, is the area of just one hump of the sine curve. There are two humps on \([0, 2\pi]\), one above the axis and one below.
Without the modulus, \(\int_0^{2\pi} \sin x\,dx = 0\), because the two humps cancel. The modulus makes both areas count as positive.
Options (3) and (4), with values 1 and 3, do not come from any step of the correct working.

Final Answer:
The integral equals 4, which is option (2). \[ \boxed{4} \]
Was this answer helpful?
0
0