Question:easy

\( \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

The Correct Option is B

Solution and Explanation

Step 1: Use the period of |sin x|:
The function $|\sin x|$ repeats every $\pi$, because $|\sin(x+\pi)| = |-\sin x| = |\sin x|$.
For a function with period $\pi$, the integral over $2\pi$ is twice the integral over one period: $\int_0^{2\pi} |\sin x|\,dx = 2\int_0^{\pi} |\sin x|\,dx$.

Step 2: Remove the modulus on one period:
On $[0, \pi]$ we have $\sin x \ge 0$, so $|\sin x| = \sin x$.
\[ 2\int_0^{\pi} \sin x\,dx \]

Step 3: Evaluate:
\[ 2\Big[ -\cos x \Big]_0^{\pi} = 2\big( -\cos\pi + \cos 0 \big) = 2(1 + 1) = 4 \]

Step 4: Geometric check:
The area under one arch of $\sin x$ from 0 to $\pi$ is 2. The curve $|\sin x|$ has two such arches on $[0, 2\pi]$, so the total area is $2 \times 2 = 4$. This is option (2).

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