Three boxes each hold two coins. One box has two gold coins, one has a gold coin and a silver coin, and one has two silver coins. You pick a box at random, take out one of its coins without looking, and it is gold. Only two boxes could have produced it, so is the other coin in your box gold with probability one half? This page labels every coin to show that the answer is , explains the same answer with Bayes’ theorem, and describes a different way of producing a gold coin for which one half is correct.
Key terms
Bertrand’s box paradox
Definition Bertrand’s box paradox is a probability puzzle about three boxes that look alike from outside, each holding two coins. Box GG holds two gold coins, box GS holds one gold and one silver coin, and box SS holds two silver coins. The selection procedure has two steps. A box is chosen at random, each with probability , and then one of its two coins is drawn at random, each with probability , without anyone looking inside. Given that the drawn coin is gold, the other coin in the same box is gold with probability , not . The reason is that the chosen box is GG with conditional probability and GS with conditional probability , because box GG gives a gold draw every time it is chosen, while box GS gives one only half the time. The puzzle appears in Joseph Bertrand’s 1889 book on probability. It is a different problem from Bertrand’s chord paradox, which is about choosing a chord of a circle at random.
In plain words A gold coin does more than rule out box SS. It also counts as evidence for box GG, which has two gold coins that could have been drawn, against box GS, which has only one.
Example Give each coin its own name. Box GG holds and , box GS holds and , and box SS holds and . Each coin is drawn with probability
so the six coins are six equally likely first draws. A gold draw leaves three of them, , and , still equally likely. Their partners in the same box are , and , so in two of the three cases the other coin is gold, which gives probability .
Equally likely outcomes
Definition The outcomes of a finite sample space, the set of all possible results of an experiment, are equally likely when each of its outcomes has probability . Then an event made of outcomes has probability . If we learn that an event with outcomes happened, the outcomes of stay equally likely, each now with probability , so any event has conditional probability equal to the number of outcomes in both and divided by . Whether outcomes are equally likely depends on the procedure that produces them. Listing the possibilities does not make them equally likely, and neither does the fact that only a few remain after an observation.
In plain words Counting gives probabilities only after the possibilities have been cut into pieces of equal chance. Here the equal pieces are the six coins, not the three boxes and not the two boxes that remain after a gold draw.
Example Before any coin is drawn the three boxes are equally likely, and so are the six coins. After a gold draw boxes GG and GS remain possible, but they are no longer equally likely, since box GG contains two of the three equally likely gold draws. Counting coins gives box GG probability and box GS probability . Treating the two remaining boxes as equal chances would give , which is exactly the mistake the paradox invites.
Bayes’ theorem
Definition Let and be events with and . Bayes’ theorem states that
where , the conditional probability of given , is the probability of once is known to have happened. In this use is a hypothesis and is evidence. The prior probability describes the hypothesis before the evidence is taken into account, the likelihood says how probable the evidence is if the hypothesis is true, and the posterior probability describes the hypothesis after the evidence. If hypotheses each have positive probability and exactly one of them is true, the denominator is
the law of total probability. The lesson Bayes’ Theorem and Base Rates in the probability course gives more examples.
In plain words Each possible explanation of an observation gets the weight “how probable it was beforehand” times “how probable it makes the observation”. Dividing each weight by the total of all the weights turns them into probabilities that add up to .
Example Let be the event that the drawn coin is gold. Each box has probability before the draw, and the likelihoods of a gold draw are
The total is , so
and in the same way box GS has probability and box SS probability after the gold draw. The same weights appear as counts. Over runs of the procedure each box is expected to be chosen times. Every choice of box GG gives gold, half the choices of box GS do, and no choice of box SS does, so the expected number of gold draws is , and of them come from box GG. Real runs vary around these expected counts.
Selection procedure
Definition The selection procedure of a probability problem is the complete rule that produces what we observe. It says which choices are random and with what probabilities, and whether anyone looks before choosing. The procedure fixes the likelihood of the observation under each hypothesis, so two procedures that can end in the same visible result, such as a gold coin taken from a closed box, can give different conditional probabilities.
In plain words To learn from an observation you need to know how it was produced. The same picture can be evidence for one explanation under one procedure and no evidence at all under another.
Example Change the procedure. Someone chooses between boxes GG and GS with probability each, looks inside, and deliberately takes out a gold coin. Let now be the event that a gold coin is taken out. It happens with probability from either box, so
The other coin is gold exactly when the box is GG, so in this experiment the answer really is . The original procedure gave because a random draw from box GS shows gold only half the time. A deliberate choice of a gold coin removes that difference, so the gold coin no longer favors either box.
Check yourself
- Add a fourth box, a second box with one gold and one silver coin, so the boxes are GG, GS, GS and SS. A box is chosen at random, each with probability , and one of its coins is drawn at random. The coin is gold. What is the probability that the other coin is gold?
Show the answer
Each of the eight coins is drawn with probability . Four of them are gold, the two in box GG and one in each mixed box, and after a gold draw these four stay equally likely. The other coin is gold only for the two draws from box GG, so the probability is
One half is right this time, but not because the remaining boxes are equally likely. Three boxes remain possible, box GG with probability and each mixed box with probability . The answer is one half because box GG now holds half of all the gold coins.
- Change the procedure. A box is chosen at random from all three, and a helper who looks inside shows you a gold coin whenever the box holds one, and a silver coin otherwise. You are shown a gold coin. What is the probability that the other coin in that box is gold?
Show the answer
Let be the event that you are shown a gold coin. Under this procedure it happens with probability from box GG, with probability from box GS and with probability from box SS. With each box at probability beforehand, the total is , and Bayes’ theorem gives
The other coin is gold only in box GG, so the answer is . The helper makes box GS a sure source of a gold coin, just like box GG, so the gold coin no longer counts as evidence for either of them.
- Return to the original procedure. After seeing the gold coin, you put it back in the same box, shake the box, and draw again at random from it. The second draw is also gold. What is the probability now that the box is GG?
Show the answer
Let be the event that both draws are gold. Two draws with replacement give gold both times with probability from box GG, with probability from box GS and with probability from box SS. Bayes’ theorem with each box at probability gives
The same answer comes in two steps. After the first gold coin the box is GG with probability and GS with probability , and the second gold draw has likelihood under GG and under GS. The weights and give box GG the probability . Each gold draw doubles the ratio of the probability of box GG to that of box GS, from before any draw to after one draw and after two. A silver draw at any point would rule out box GG at once.