Skip to main content

2025 AMC 10B Problem 25

Problem 25 of 25HarderGeometryNumber Theory

Square ABCDABCD has sides of length 4.4. Points PP and QQ lie on AD\overline{AD} and CD,\overline{CD}, respectively, with AP=85AP = \tfrac{8}{5} and DQ=103.DQ = \tfrac{10}{3}. A path begins along the line segment from PP to QQ and continues by reflecting against the sides of ABCDABCD (with congruent incoming and outgoing angles), as shown in the figure. If the path hits a vertex of the square, then it terminates there; otherwise it continues forever. At which vertex does the path terminate?

Answer choices

Show solution

Solution

Place A=(0,0),A = (0,0), B=(4,0),B = (4,0), C=(4,4),C = (4,4), D=(0,4),D = (0,4), so P=(0,85)P = \left(0, \tfrac85\right) and Q=(103,4).Q = \left(\tfrac{10}{3}, 4\right). The initial direction is (103,125)(25,18).\left(\tfrac{10}{3}, \tfrac{12}{5}\right) \parallel (25, 18). Unfold the billiard into a grid of reflected copies and follow the straight line from P.P. At a grid corner (4a,4b),(4a,4b), the horizontal coordinate gives t=4a25.t = \tfrac{4a}{25}. The vertical coordinate then requires 10+18a=25b,10 + 18a = 25b, so a5(mod25).a \equiv 5 \pmod{25}. The first positive possibility is a=5,a = 5, giving b=4b = 4 and the unfolded corner (20,16).(20,16). Crossing 55 cells across (odd) puts it on the side x=4,x = 4, and 44 cells up (even) puts it on y=0.y = 0. That’s vertex (4,0)=B.(4,0) = B. Thus, B is the correct answer.

More practice

Concepts: reflection (geometry) · parity · greatest common divisor · coordinate geometry

Problem text and solution from the LIVE past-contest archive. See also the AoPS wiki page for community solutions.