Problem:
The graph of the equation consists of several line segments. Compute the sum of their lengths.
HMMT February, 2023
Solution
Solution:
We split into cases on the integer . Note that but and , which forces .
If , the region defined by and is the diameter from to , which has length .
If , the region and consists of two segments, which is the chord on minus the chord on . The former has length , and the latter has length . So the total length here is .
If , the region and is the chord on , which has length .
Our final answer is .
Want a route through all this instead of an archive? The track
puts 2,604 problems in a working order, from Junior Challenge level to the IMO shortlist.