Bertrand's Box Paradox
Calculate posterior probabilities for each box type and remaining coin color from box counts and observed coin. Bertrand's Box Paradox helps students, educators, and probability enthusiasts understand conditional probability and selection bias.
Highlights
- Analyzes Bertrand’s classic three-box coin paradox.
- Calculates posterior probabilities using conditional probability.
- Supports custom counts for double-gold, double-silver, and mixed boxes.
- Lets users select whether the observed coin is gold or silver.
- Shows the probabilities of the box type and remaining coin color.
Table of Contents
How Bertrand's Box Paradox Works?
Bertrand's Box Paradox uses conditional probability to determine which type of box was selected after one coin is observed. Let be the number of double-gold boxes, the number of double-silver boxes, and the number of mixed-coin boxes. A box is selected at random, and then one of its two coins is selected at random.
The likelihood of observing gold is 1 for a double-gold box, 0 for a double-silver box, and for a mixed box. The corresponding likelihoods for observing silver are 0, 1, and . Bayes' theorem updates the initial box probabilities using these likelihoods.
For an observed gold coin, the posterior probabilities are calculated from the relative weights , 0, and .
For an observed silver coin, the calculation is symmetric: the double-gold probability is zero, while the double-silver and mixed probabilities are based on and .
The remaining-coin probabilities follow from the box type. After observing gold, a double-gold box leaves a gold coin and a mixed box leaves silver. After observing silver, a double-silver box leaves silver and a mixed box leaves gold. The calculator reports all five posterior results as percentages, and the three box-type probabilities for each observation sum to 100%.
| Box type | Gold observed | Silver observed | Remaining coin |
|---|---|---|---|
| Double-gold | Likelihood 1 | Likelihood 0 | Gold |
| Double-silver | Likelihood 0 | Likelihood 1 | Silver |
| Mixed | Likelihood 1/2 | Likelihood 1/2 | Opposite color from the observed coin |
Practical Use Cases
Students of probability: Students can enter the classic one-box-of-each configuration and observe why seeing a gold coin does not make the double-gold and mixed boxes equally likely. With one box of each type and gold observed, the calculator returns a 66.67% probability for double-gold and 33.33% for mixed.
Teachers and instructors: Educators can vary the numbers of double-gold, double-silver, and mixed boxes to demonstrate how prior proportions affect posterior probabilities. For example, increasing the number of mixed boxes shows how repeated opportunities to observe either color change the result.
Probability enthusiasts: Puzzle solvers can test both gold and silver observations, compare the symmetrical formulas, and verify that the posterior box probabilities add to 100%. The remaining-coin outputs also make the selection bias visible.
Statistics and data-science learners: Learners can use the calculator as a small discrete Bayesian model, treating box type as the hidden hypothesis and the observed coin color as evidence. Changing the input counts illustrates how priors and likelihoods combine.
Game and experiment designers: Designers can model urn, box, or concealed-object experiments with unequal numbers of each box type. The calculator helps predict the information gained from revealing one randomly selected coin before designing a classroom demonstration or puzzle.
Accuracy and Limitations
The calculator gives mathematically exact conditional-probability results for integer counts from 1 through 1,000 for each box category, subject to normal display rounding in the reported percentages. It assumes every box is selected with equal probability, each box contains exactly two coins of the stated composition, and either coin in a selected box is equally likely to be drawn. It does not model biased box selection, unequal coin-drawing probabilities, additional observations, or boxes containing other compositions; the three box counts must also be positive integers within the allowed input range.
Quick Examples
Example #1: Classic Equal-Count Paradox
Demonstrates Bertrand's Box Paradox with one box of each type and an observed gold coin.
Example #2: Gold-Heavy Box Selection
Analyzes how having more double-gold boxes affects posterior probabilities after observing a gold coin.
Example #3: Silver Observation Bias
Shows how observing a silver coin changes the likely box type when mixed and double-silver boxes are more common.