Question:

The value of $\int_1^4 \log[x]\text{d}x$, where $[x]$ is the greatest integer function is equal to

Show Hint

The greatest integer function is constant on each unit interval, so split the integral at 2 and 3.
Updated On: Nov 13, 2026
  • $\log 5$
  • $\log 6$
  • $\log 2$
  • $\log 3$
Show Solution
collegedunia
Verified By Collegedunia

The Correct Option is B

Solution and Explanation

Step 1: Understanding the Concept
On \([1,2)\), \([x]=1\); on \([2,3)\), \([x]=2\); on \([3,4)\), \([x]=3\).

Step 2: Split the integral
\(\int_1^4\log[x]\,dx=\int_1^2\log1\,dx+\int_2^3\log2\,dx+\int_3^4\log3\,dx\).

Step 3: Evaluate
\(=0+\log2+\log3\), since each interval has length 1.

Step 4: Simplify
\(\log2+\log3=\log6\).

Step 5: Compare the options
The value is \(\log6\), the second option.

Final Answer:
The integral equals \(\log 6\). \[ \boxed{\text{(B) }\log 6} \]
Was this answer helpful?
0
0