Splitting Balls Between Two Urns
You are a prisoner offered one chance at freedom. There are white balls, black balls, and two empty urns. You may distribute all balls between the two urns however you like. Afterwards you will be blindfolded, a urn will be chosen uniformly at random, and a ball will be drawn uniformly at random from it. Drawing white sets you free; drawing black means execution. Find the probability of survival under the best possible distribution of balls.
Work it out, then compare with the answer.
SolutionShow the worked solution
Key idea. One urn can be made a sure win with a single white ball. The other urn then holds everything else, and its white fraction stays just below .
Suppose urn 1 holds white and black balls and urn 2 holds the remaining white and black balls. Assume both urns are non-empty. If one urn is empty, the draw comes from the other, which holds all balls, and the survival probability is . Let and be the white fractions of the two urns. Then the survival probability is
Achievability. Put one white ball in urn 1 and the other balls ( white, black) in urn 2. This gives
Optimality. Label the urns so that . The overall white fraction is a weighted average of and , so . There are two cases.
- If , then as well, and the survival probability is .
If , let urn 2 contain white and black balls, so that .
- Since and are integers, .
- Also , so and hence .
Therefore
because is increasing.
- Combining this with gives .
In every case the survival probability is at most , and the arrangement above attains it. Hence