2016 AIME I Problem 13
Problem 13 of 15HarderAlgebraProbability & Statistics
Freddy the frog is jumping around the coordinate plane searching for a river, which lies on the horizontal line A fence is located at the horizontal line 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 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 Freddy starts his search at the point 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.
Your answer
Integer from 0 to 999
Show solution
Solution
Horizontal jumps change nothing that matters, so let be the expected number of jumps to reach the river from height Then for each jump goes up, down, or sideways with probabilities so which simplifies to At the fence the three equally likely moves give that is
Summing over telescopes to Substituting and yields
Now run the recurrence downward as from and we get and Freddy starts at height so the answer is
Tagged: expected value · random walk · recursion