Question:

The value of \[ \int_{-1}^{1} (x - \lfloor x \rfloor) dx \quad (\text{where} \, \lfloor \cdot \rfloor \, \text{denotes the greatest integer function}) \] is:

Show Hint

To evaluate integrals involving the greatest integer function, break the interval into subintervals where \( \lfloor x \rfloor \) is constant.
Updated On: Jan 12, 2026
  • 0
  • 1
  • 2
  • None of these
Hide Solution
collegedunia
Verified By Collegedunia

The Correct Option is A

Solution and Explanation

Step 1: The greatest integer function, \( \lfloor x \rfloor \), takes the value of the greatest integer less than or equal to \( x \). The integral is split into two parts: \[ \int_{-1}^{0} (x - \lfloor x \rfloor) dx + \int_{0}^{1} (x - \lfloor x \rfloor) dx. \] Step 2: After evaluating, we find the result of the integral is 0.

Final Answer: \[ \boxed{0} \]
Was this answer helpful?
0
0