2016 AIME I Problem 13

Below is the professionally curated solution for Problem 13 of the 2016 AIME I, from LIVE by Po-Shen Loh. You can also try the full timed exam, view all 2016 AIME I solutions, or check the answer key.

All of the real AMC 8, AMC 10, AMC 12, and AIME problems in our complete solution collection are used with official legal permission of the Mathematical Association of America (MAA).

Concepts:expected valuerandom walkrecursion

Difficulty rating: 3270

13.

Freddy the frog is jumping around the coordinate plane searching for a river, which lies on the horizontal line y=24.y = 24. A fence is located at the horizontal line y=0.y = 0. On each jump Freddy randomly chooses a direction parallel to one of the coordinate axes and moves one unit in that direction. When he is at a point where y=0,y = 0, with equal likelihoods he chooses one of three directions where he either jumps parallel to the fence or jumps away from the fence, but he never chooses the direction that would have him cross over the fence to where y<0.y \lt 0. Freddy starts his search at the point (0,21)(0, 21) and will stop once he reaches a point on the river. Find the expected number of jumps it will take Freddy to reach the river.

Solution:

Horizontal jumps change nothing that matters, so let T(y)T(y) be the expected number of jumps to reach the river from height y.y. Then T(24)=0;T(24) = 0; for 1y231 \le y \le 23 each jump goes up, down, or sideways with probabilities 14,14,12,\frac{1}{4}, \frac{1}{4}, \frac{1}{2}, so T(y)=1+14T(y+1)+14T(y1)+12T(y),T(y) = 1 + \tfrac{1}{4}T(y + 1) + \tfrac{1}{4}T(y - 1) + \tfrac{1}{2}T(y), which simplifies to 2T(y)=4+T(y1)+T(y+1).2T(y) = 4 + T(y - 1) + T(y + 1). At the fence the three equally likely moves give T(0)=1+23T(0)+13T(1),T(0) = 1 + \frac{2}{3}T(0) + \frac{1}{3}T(1), that is T(0)=3+T(1).T(0) = 3 + T(1).

Summing 2T(y)=4+T(y1)+T(y+1)2T(y) = 4 + T(y - 1) + T(y + 1) over y=1,,23y = 1, \ldots, 23 telescopes to T(1)+T(23)=92+T(0)+T(24).T(1) + T(23) = 92 + T(0) + T(24). Substituting T(0)=3+T(1)T(0) = 3 + T(1) and T(24)=0T(24) = 0 yields T(23)=95.T(23) = 95.

Now run the recurrence downward as T(y1)=2T(y)T(y+1)4:T(y - 1) = 2T(y) - T(y + 1) - 4: from T(24)=0T(24) = 0 and T(23)=95,T(23) = 95, we get T(22)=29504=186T(22) = 2 \cdot 95 - 0 - 4 = 186 and T(21)=2186954=273.T(21) = 2 \cdot 186 - 95 - 4 = 273. Freddy starts at height 21,21, so the answer is 273.273.

← Problem 12Full ExamProblem 14

Problem 13 in Other Years