Let denote the greatest integer . Then is equal to ______
Solution
Core idea. The greatest integer part of a decreasing function is constant between the points where it passes integers.
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. For , , so and . The cotangent decreases from to and equals 1, 0 and at , and .
Approach. Integrate each part as rectangles.
Step 1: The cosecant part
The integrand is 8 on an interval of length , giving .
Step 2: The cotangent part
The value of is 1, 0, and on stretches of lengths , , and , so its integral is .
Step 3: The value
So the integral is , and multiplying by gives 14.
Answer. 14
Sanity check. The greatest integer part of the cotangent is not symmetric: on the left it is 1 and 0, on the right and , so its integral is negative, as found.
Common wrong answers
- 13: Taking on the last stretch in place of gives for the cotangent part and , about 13.
- 7: Stopping at and dividing by without the factor 2 gives 7.
Key takeaway
The trap. For a negative non-integer the greatest integer part is the next integer below, not above.
How toppers think. They mark the points where the cotangent is an integer and add four rectangles.
Remember.