Let denote the greatest integer function. If , then is equal to
Solution
Core idea. Each surd enters once with coefficient minus 1, because consecutive heights differ by 1.
Concept refresher. The greatest integer part equals the integer exactly where
so it is a constant on each such stretch, and its integral is a sum of rectangles.
Picture the situation. Since , the square reaches 1, 2, 3, 4 and 5 at , , , 2 and , and takes the values 0 to 5 on the six stretches these points cut off.
Approach. Add the rectangles and collect the terms.
Step 1: The rectangles
Each stretch contributes its constant height times its length, so the integral is .
Step 2: The value
Collecting, the surds give and the numbers give . So and , and their sum is 6.
Answer. 6
Sanity check. Numerically is about 3.62, below , as a greatest integer part must be.
Common wrong answers
- 3: Stopping at gives and the sum 3.
- 12: Taking the three surd coefficients as gives .
Key takeaway
The trap. The last rectangle ends at the upper limit, not at a square root.
How toppers think. They write the sum as the last height times the limit minus the sum of the jump points.
Remember.