For any real number , let denote the largest integer less than or equal to . Let be a real valued function defined on the interval byThen the value of is
Try it before you look.The full solution is on this page, below the answer box, the moment you check. No sign-in needed.
Solution
Core idea. A function built from the parity of is periodic, so a long integral reduces to a multiple of one short piece.
Concept refresher. If has period , then . If , then .
Approach. Identify as a period-2 triangle wave, reduce the integral to , then integrate by parts.
Step 1: Understand f
On : (even), so . On : (odd), so . Since only the parity of and matter, : is a triangle wave with at even integers and at odd integers.
Step 2: Reduce the integral
has period 2, and the interval has length 20:
Also and , so
Step 3: Integrate by parts
Step 4: Assemble
Answer. 4
Common slips
- Using only (five periods) gives and a final value 2.
- A sign error in integration by parts gives and a final value .
Key takeaway
The trap. Students integrate over only or slip a sign in integration by parts, getting 2 or instead of 4.
How toppers think. They sketch on , spot a period-2 triangle wave symmetric about , and reduce everything to .
Remember. for period , and .