2025 AMC 10B Problem 7
Frances stands meters directly south of a locked gate in a fence that runs east-west. Immediately behind the fence is a box of chocolates, located meters east of the locked gate. An unlocked gate lies meters east of the box, and another unlocked gate lies meters west of the locked gate. Frances can reach the box by walking toward an unlocked gate, passing through it, and walking toward the box. It happens that the total distance Frances would travel is the same via either unlocked gate. What is the value of ?
Show solution without answering
Key insight
Measure from the locked gate. The west route is 17 + (x + 8), using the 8-15-17 right triangle; the east route is √(15² + (x+9)²) + 9.
Solution
1. Draw a number line along the fence. Put the locked gate at and let east be positive.
- The box is at .
- The east gate is meters past the box, at .
- The west gate is at .
- Frances is meters south of .
2. The west route. Frances walks slanted to the west gate: across and up, so by the Pythagorean theorem the distance is . Then she walks along the fence from to , which is meters.
3. The east route. She walks slanted to the east gate: across and up, a distance of . Then she walks back meters to the box.
4. Set the two totals equal. Take from both sides to get the square root alone:
5. Square both sides. The left becomes . The right becomes . The terms cancel:
The answer is .
Why this works
Picking one landmark (the locked gate) and measuring every position from it turns a wordy story into two distance formulas. The Pythagorean theorem gives the slanted walks, and spotting -- keeps one side free of square roots. The terms cancel after squaring, so what looks like a quadratic is really a simple linear equation.
Concise solution
A shorter write-up, the way contest solutions are usually written. It may take a different route from the solution above.
Set the fence along the -axis with the locked gate at the origin, east positive. Then
- Frances is at ,
- the box is at ,
- the eastern unlocked gate is at ,
- the western unlocked gate is at .
Each route is a straight walk to a gate followed by a straight walk along the fence to the box.
Western route. From to is (the -- triple), and from there to the box is . Total: .
Eastern route. From to is , and from there back to the box is . Total: .
Equating and isolating the radical,
Both sides are positive, so square:
The answer is .
Review in the AoPS books
- Introduction to Geometry, Chapter 17: Analytic Geometry
- Introduction to Geometry, Chapter 4: Perimeter and Area (§4.2)
- Introduction to Algebra, Chapter 8: Graphing Lines
- Introduction to Geometry, Chapter 6: Right Triangles (§6.1, §6.2, §6.3)
Similar problems
Problem © Mathematical Association of America (MAA), American Mathematics Competitions. Reproduced for non-commercial educational use. Solution and commentary are original to this site.