Question:

\(\int _{0}^{2}[x]dx+\int _{0}^{2}|x-1|dx=\) (where \([x]\) denotes the greatest integer function.)

Show Hint

Split the interval at x = 1 for both integrals.
Updated On: Nov 17, 2026
  • 3
  • 4
  • 1
  • 2
Show Solution
collegedunia
Verified By Collegedunia

The Correct Option is D

Solution and Explanation

Step 1: Greatest integer part
\(\int_{0}^{2}[x]dx=\int_{0}^{1}0\,dx+\int_{1}^{2}1\,dx=1\).

Step 2: Modulus part
\(\int_{0}^{2}|x-1|dx=\int_{0}^{1}(1-x)dx+\int_{1}^{2}(x-1)dx=\frac12+\frac12=1\).

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

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