The integral equals
- Option A:
- Option B:
- Option C:
- Option D:
Try it before you look.The full solution is on this page, below the options, the moment you check. No sign-in needed.
Solution
Core idea. is odd and integrates to on , so only contributes.
Concept refresher. Here is the greatest integer function and is the natural logarithm. If is odd, .
Approach. Separate the two terms: the logarithm is odd, and is constant on each half of the interval.
Step 1: Separate the terms
Step 2: The logarithm term is odd
For , , so its integral over is .
Step 3: The greatest integer term
for and for :
Hence .
Answer. (A)
Why the other options are wrong
- (B) It treats as odd too; but while , so is not odd.
- (C) Both parts are non-positive here ( and the log part gives ), so a positive value is impossible.
- (D) The logarithm part integrates to , so no logarithmic value can survive in the answer.
Key takeaway
The trap. Students assume is odd too and conclude the integral is , but on and on .
How toppers think. On symmetric limits they strip away the odd part first and then integrate piece by piece as a step function.
Remember. .