Meeting Problem
Alice and Bob each arrive at a restaurant at an independent, uniformly random time between 8:00pm and 9:00pm, and each stays for exactly minutes before leaving. Find the probability that their visits overlap.
Work it out, then compare with the answer.
SolutionShow the worked solution
Measure times in minutes after 8:00pm. Let Alice arrive at and Bob at , with i.i.d. . Then is uniform on the square , which has area .
Alice is present during and Bob during . Two intervals of equal length overlap exactly when their left endpoints are within that length of each other. So the visits overlap if and only if
This is a diagonal band through the square.
The complement consists of two corner triangles, and . Each has legs of length , so each has area . The band therefore has area
Since the point is uniform on the square, the probability is
Generalisation. If the window has length and each person stays for , the probability is
Variations
The same idea with a twist. Each solution gives only the changed step.
Alice arrives at a uniformly random time between 4:00pm and 5:00pm, while Bob arrives independently at a uniformly random time between 4:30pm and 5:00pm. Whoever arrives first will wait up to minutes for the other before leaving. Find the probability that they meet.
Work it out, then compare with the answer.
Solution
Measure minutes after 4pm, with for Alice and for Bob. The point is uniform on the rectangle , which has area . Whoever arrives first waits up to minutes, so they meet if and only if .
The complement has two pieces.
- : for each the cross-section has length , running from to . This is a trapezoid of area .
- : for each the cross-section has length . This is a triangle of area .
The meeting region therefore has area , and the probability is
It is a coincidence that this equals the answer to the main problem.