Sonya the frog chooses a point uniformly at random lying within the square in the coordinate plane and hops to that point. She then randomly chooses a distance uniformly at random from and a direction uniformly at random from {north, south, east, west}. All her choices are independent. She now hops the distance in the chosen direction. What is the probability that she lands outside the square?
- A)
- B)
- C)
- D)
- E)
Answer
B
Key insight
By symmetry fix the direction north; she exits iff y + d > 6, a triangle of area 1/2 inside the (d, y) rectangle of area 6.
Solution
The square looks the same from all four sides, so the probability of exiting is the same for each direction; compute it for north.
Hopping north only changes the -coordinate, which is uniform on and independent of the hop distance , uniform on . She lands outside exactly when , i.e. .
Picture the pair as a uniformly random point in the rectangle , of area . The exit condition cuts off the triangle with vertices , , , of area . So
Since every direction gives , the overall probability is .
The answer is .
Why this works
Independent uniform choices make a uniform point in a product region, so probabilities become area ratios. Symmetry removes the direction entirely, and the irrelevant coordinate ( for a north hop) drops out, leaving a two-variable picture whose bad region is a small triangle.
Alternative approach
Condition on the distance: for a given , the frog exits northward iff , probability . Averaging over uniform on gives .
The trap
Assuming she always hops the full distance 1, which gives 1/6 instead of averaging over the uniform distance.
Common mistakes
- Assuming she always hops the full distance 1, which gives 1/6 instead of averaging over the uniform distance.
- Multiplying the by for the choice of direction; the four cases are averaged, not intersected.
Techniques
Set up the equation/formula and compute; no special trick needed · Exploit symmetry to reduce work or pair up objects