\(\int_{0}^{1.5}\displaystyle [x]\,dx\), where [x] denotes the greatest integer function \(\le x\), is equal to:
Answer & explanation
Correct answer: option 2
The correct answer is Option (2) → \(\displaystyle\frac{1}{2}\)
The greatest integer function is constant between consecutive integers, so split the integral at x = 1:
\([x] = 0\) for \(0 \le x \lt 1\)
\([x] = 1\) for \(1 \le x \lt 2\)
\( \displaystyle \int_{0}^{1.5}[x]\,dx = \int_{0}^{1}0\,dx + \int_{1}^{1.5}1\,dx \)
\( = 0 + (1.5 - 1) \)
\( \displaystyle = \frac{1}{2} \)