Question:

The value of \[\int_\limits0^\pi\left|\sin x-\frac{2 x}{\pi}\right| \mathrm{d} x\] is

Show Hint

Find where sin x equals 2x/pi, then split the integral at x = pi/2.
Updated On: Nov 17, 2026
  • \(\frac{\pi}{4}\)
  • \(\frac{\pi}{2}\)
  • \(\pi\)
  • \(2\pi\)
Show Solution
collegedunia
Verified By Collegedunia

The Correct Option is B

Solution and Explanation

Step 1: Understanding the Concept
Split the integral where the expression inside the modulus changes sign.

Step 2: Sign of the Expression
\(\sin x = \dfrac{2x}{\pi}\) at \(x=0\) and \(x=\dfrac\pi2\).
On \((0,\pi/2)\) sin x is above the line (concave curve), so the expression is positive.
On \((\pi/2,\pi)\) we have \(\sin x\le 1\le \dfrac{2x}{\pi}\), so it is negative.

Step 3: First Part
\(\int_0^{\pi/2}\left(\sin x-\dfrac{2x}{\pi}\right)dx = 1 - \dfrac{1}{\pi}\cdot\dfrac{\pi^2}{4} = 1-\dfrac\pi4\).

Step 4: Second Part
\(\int_{\pi/2}^{\pi}\left(\dfrac{2x}{\pi}-\sin x\right)dx = \dfrac{1}{\pi}\left(\pi^2-\dfrac{\pi^2}{4}\right) - 1 = \dfrac{3\pi}{4}-1\).
Total \(= 1-\dfrac\pi4+\dfrac{3\pi}{4}-1 = \dfrac\pi2\).

Final Answer:
The value of the integral is pi by 2. \[ \boxed{\text{(B) }\dfrac{\pi}{2}} \]
Was this answer helpful?
0
0