Frieda the frog begins a sequence of hops on a grid of squares, moving one square on each hop and choosing at random the direction of each hop-up, down, left, or right. She does not hop diagonally. When the direction of a hop would take Frieda off the grid, she "wraps around" and jumps to the opposite edge. For example if Frieda begins in the center square and makes two hops "up", the first hop would place her in the top row middle square, and the second hop would cause Frieda to jump to the opposite edge, landing in the bottom row middle square. Suppose Frieda starts from the center square, makes at most four hops at random, and stops hopping if she lands on a corner square. What is the probability that she reaches a corner square on one of the four hops?
- A)
- B)
- C)
- D)
- E)
Answer
D
Key insight
Only three states matter: center, edge, corner. From an edge, half the hops reach a corner, a quarter return to the center, a quarter wrap to another edge.
Solution
By symmetry only the type of square matters: center (), edge-middle (), or corner ().
From , all four hops land on an . From an (say the top middle): the two sideways hops reach corners, hopping inward returns to , and hopping outward wraps to the bottom middle, another . So from : with probability , with , with .
Track the probability of being unstopped after each hop.
- After hop 1: with probability .
- After hop 2: with , with (corner reached with ).
- After hop 3: from () we go to ; from () we go to with or with . So : , : .
- After hop 4: no corner from ; from () she fails to reach a corner with probability .
Probability of never reaching a corner:
So the probability of success is .
The answer is .
Why this works
Random walks on symmetric boards compress to a handful of states; the absorbing state (corner) is easiest to handle by tracking the surviving mass in the other states. Writing one transition rule per state and iterating four times is faster and safer than enumerating hop sequences.
Alternative approach
Add the success probabilities directly: hop 2 succeeds with ; hop 3 succeeds from the mass with ; hop 4 succeeds from the mass with . Total .
The trap
Ignoring the wraparound (an edge square's outward hop lands on the opposite edge, not off the board) or forgetting that Frieda stops once she reaches a corner.
Common mistakes
- Ignoring the wraparound (an edge square's outward hop lands on the opposite edge, not off the board) or forgetting that Frieda stops once she reaches a corner.
- Letting the process continue past a corner and counting later corner visits again, which overcounts the success probability.
Techniques
Count the complement and subtract from the total · Define states/recurrence and iterate