A frog hops along the number line according to the following rules.
It starts at .
If it is at , then it moves to with probability and it disappears with probability .
For or if it is at then it moves to with probability it moves to with probability and it disappears with probability .
What is the probability that the frog reaches
- A)
- B)
- C)
- D)
- E)
Answer
E
Key insight
Let p_n be the chance of reaching 4 from n; the first hop gives p_n = (p_{n+1} + p_{n-1})/4, and writing all in terms of p_1 collapses it.
Solution
For let be the probability that the frog ever reaches , given that it is sitting at . Then , and disappearing contributes . Each hop has probability at least of ending the walk, so the frog is certain to disappear or reach eventually and these probabilities are well defined.
Condition on the next hop:
Rather than eliminate blindly, express everything in terms of , working up the line.
From the second equation, , so
From the third, , so
From the fourth, , so
Finally .
The answer is .
Why this works
First-step analysis converts an infinite collection of hopping sequences — which may revisit any number of times — into four linear equations, because the future depends only on where the frog currently is. The useful trick is the direction of the substitution: starting from and pushing upwards writes each as an explicit multiple of , so the last equation is a single equation in one unknown, with no fractions to clear until the end. The same method handles any walk on a finite set of states with killing, and the denominators it produces ( here) are exactly the kind of unusual numbers that answer choices like these are testing.
Alternative approach
Work one rung at a time. Let be the probability that a frog at ever reaches . From there is no way back, so . From , the frog either steps up at once (probability ), or steps down to (probability ) and must then climb back to and start again, or disappears:
So , , , , and the answer is the product
which telescopes because each numerator cancels the previous denominator.
The trap
Adding up only the straight-up path 0 to 1 to 2 to 3 to 4, giving (1/2)(1/4)^3 = 1/128 and a guess at the smallest choice (A); the backtracking paths are exactly what turn 128 into 97.
Common mistakes
- Adding up only the straight-up path , giving and a guess at the smallest choice (A); the backtracking paths are exactly what turn into .
- Treating as fatal, i.e. setting in the equation for ; the frog that falls back to still has a fresh chance to climb.
- Solving the system correctly but reporting ; the frog starts at , not at .
Techniques
Define states/recurrence and iterate · Collapse a sum or product by cancellation