In a small pond there are eleven lily pads in a row labeled through . A frog is sitting on pad . When the frog is on pad , , it will jump to pad with probability and to pad with probability . Each jump is independent of the previous jumps. If the frog reaches pad it will be eaten by a patiently waiting snake. If the frog reaches pad it will exit the pond, never to return. What is the probability that the frog will escape without being eaten by the snake?
- A)
- B)
- C)
- D)
- E)
Answer
C
Key insight
Look at the gaps between escape chances on neighboring pads: each gap is the previous one times N/(10 - N), and all gaps add up to 1.
Solution
Step 1: set up the unknowns. Let be the chance that the frog escapes if it is sitting on pad . From pad it has been eaten, so . From pad it has escaped, so . We want .
Step 2: one jump. From pad the frog goes down with chance or up with chance , then carries on from the new pad. So
Step 3: look at the gaps. Ten equations like this are a lot of work, so look at the gaps between neighboring pads instead. Write , , and so on up to .
Multiply the equation in Step 2 by , and write as :
Rearranging, . In gap language:
Step 4: work out the gaps. Start from (which equals , the answer we want):
| factor | ||
|---|---|---|
The pads are balanced around pad (pad and pad are mirror images, with snake and exit swapped), and the gaps come out the same way: , , , , . You can check this by carrying on with the factors .
Step 5: the gaps add to 1. Adding all ten gaps climbs from to , so . Using the pairs from Step 4:
With common denominator , the bracket is . So
Step 6: answer. .
The answer is .
Why this works
For a walk that ends when it hits one of two edges, writing "chance from here = average of chances after one step" gives an equation for every pad. Those equations are tangled, but the gaps between neighboring chances follow a simple multiply-by-a-factor rule. Since the gaps must add up to the total climb from to , one sum finishes the problem. Watch for this "look at the differences" idea in any random-walk problem.
Alternative approach
Use the mirror symmetry first: from pad the snake and the exit are equally far and the jump chances are balanced, so . Now call and march forward with the one-jump equation, solving each time for the next pad:
- from pad : , so ;
- from pad : , so ;
- from pad : , so ;
- from pad : , so .
Setting gives .
The trap
Trying to solve ten equations by brute substitution and slipping on a fraction; looking at the gaps between neighboring escape chances makes it one clean sum.
Concise solution
Let be the probability of escaping from pad , so and . One jump from pad gives
Move across: . Writing , this is
So , , , ; in general , which is symmetric ().
The differences telescope: . Hence
So , and since , the frog escapes with probability .
The answer is .
Review in the AoPS books
- Introduction to Counting & Probability, Chapter 8: Basic Probability Techniques (§8.5)
- Introduction to Algebra, Chapter 21: Sequences & Series (§21.1, §21.2, §21.3, §21.4)
- Intermediate Counting & Probability, Chapter 10: Recursion
- Introduction to Algebra, Chapter 22: Special Manipulations (§22.3)
Techniques
Define states/recurrence and iterate · Exploit symmetry to reduce work or pair up objects · Collapse a sum or product by cancellation