Question:

\[\int_\limits0^2[x] \mathrm{d} x+\int_\limits0^2|x-1| \mathrm{d} x=\]

(where \[[x]\] denotes the greatest integer function.)

Show Hint

Evaluate each integral separately by splitting at the break points.
Updated On: Nov 17, 2026
  • 4
  • 3
  • 1
  • 2
Show Solution
collegedunia
Verified By Collegedunia

The Correct Option is D

Solution and Explanation

Step 1: Greatest integer part
\([x]=0\) on \([0,1)\) and \(1\) on \([1,2)\), so \(\int_0^2[x]\,dx = 0 + 1 = 1\).

Step 2: Modulus part
\(\int_0^2|x-1|\,dx = \int_0^1(1-x)\,dx + \int_1^2(x-1)\,dx = \frac{1}{2}+\frac{1}{2} = 1\).

Step 3: Add
\(1 + 1 = 2\).

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