Question:

\(\int _{0}^{2\pi }(\sin x+|\sin x|)dx=\)

Show Hint

Split the interval where sin x changes sign and remove the modulus.
Updated On: Nov 17, 2026
  • 0
  • 8
  • 4
  • 1
Show Solution
collegedunia
Verified By Collegedunia

The Correct Option is C

Solution and Explanation

Step 1: Understanding the Concept
\(\sin x+|\sin x|=2\sin x\) when \(\sin x\ge0\), and it is 0 when \(\sin x<0\).

Step 2: Split the interval
On \([0,\pi]\), \(\sin x\ge0\). On \([\pi,2\pi]\), \(\sin x\le0\), so the integrand is 0 there.

Step 3: Integrate
\(\int_0^{2\pi}(\sin x+|\sin x|)dx=2\int_0^\pi\sin x\,dx=2[-\cos x]_0^\pi\)

Step 4: Calculation
\(=2(1+1)=4\)

Final Answer:
The value of the integral is 4. \[ \boxed{\text{(C) }4} \]
Was this answer helpful?
0
0