A Probability Puzzle

Daniel Otero · 2025

Read A Probability Puzzle by Daniel Otero (2025) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2501-03238.txt.

Introduction

Daniel Otero solves a probability puzzle in a short 2024 note. The puzzle came from Daniel Litt, a mathematician at the University of Toronto, who posted it on his social media account earlier that year. Otero's aim is to show how standard tools from an undergraduate probability course can crack a problem that sounds simple but resists quick attack.

Catalog record

CREATORDaniel Otero
YEAR2025
COLLECTIONPAPERS
FORMATTXT
FILE SIZE6 KB
VERSION1.0
LICENSEhttp://creativecommons.org/licenses/by/4.0/
RIGHTSCC BY
SOURCEarXiv

Source: https://arxiv.org/abs/2501-03238

Browse the full library · About the Tower of Babel

Full text

The opening of the work, from the library's hosted text:

A Probability Puzzle
Daniel Otero

Abstract
In this short article, we present a solution to one of the probability puzzles that Daniel Litt, a mathematician at the University of Toronto, posted on his X account earlier this year. The main goal of this note is to show how some of the typical concepts taught in an undergraduate probability course can be used to solve these types of probability problems, which sound simple, but can be very difficult to solve.



2
2
footnotetext:
Questions, comments, or corrections to this document may be directed to the following email address:
[email protected]
.

Keywords:
Conditional probability, total probability.

1
Introduction

In late January, Daniel Litt, an assistant professor at the University of Toronto, posted a probability puzzle on the social network X that sparked lively online interactions among research mathematicians, computer scientists, economists and some math enthusiasts. According to
[
1
]
, the puzzle was as follows:

“Imagine, Litt wrote, that you have an urn filled with 100 balls, some red and some green. You can’t see inside; all you know is that someone determined the number of red balls by picking a number between zero and 100 from a hat. You reach into the urn and pull out a ball. It’s red. If you now pull out a second ball, is it more likely to be red or green (or are the two colors equally likely)?”

Of the thousands of people who voted for an answer on X, only about 22% chose correctly, showing that our probabilistic reasoning can be very off. However, it is important to note that these probability problems can be deceptively difficult and can baffle even great mathematicians
[
3
]
.

In the next section, we present a solution to the puzzle that can be viewed as a conditional probability approach. We would like to emphasize that we use probability concepts learned in an undergraduate probability course, so an understanding of some key ideas should be sufficient to understand the solution. This said, we expect that the proposed approach will be useful for explaining concepts such as conditional probability and total probability at an undergraduate level. In the last section, we conclude with some final remarks.

2
A Solution

The proposed solution combines two key concepts: conditional probability and total probability. That is, we will formulate the puzzle as the computation of a conditional probability, and once this expression is established, we will use total probability to compute the terms of the conditional expression. It is worth mentioning that this approach is basically the same as one of the solutions found in
[
2
]
, but this solution was obtained independently. In any case, we recommend that you consult
[
2
]
if you want to know more about other types of approaches.

Let
r_{1}
and
r_{2}
be the events that you pull out a red ball on the first and second try, respectively. Then, the probability we want to compute is the following:

P(r_{2}|r_{1})=\frac{P(r_{1}\cap r_{2})}{P(r_{1})}.

(1)

Now let
R
be the number of red balls in the urn. As expected, this is our uniform discrete random variable that takes values between 0 and 100. We will use this random variable to compute the probabilities of the latter expression using total probability. Let us begin with the numerator:

\displaystyle P(r_{1}\cap r_{2})

\displaystyle=

\displaystyle\sum_{r=0}^{100}P(r_{1}\cap r_{2}|R=r)P(R=r)

\displaystyle=

\displaystyle\sum_{r=2}^{100}P(r_{1}\cap r_{2}|R=r)P(R=r).

Note that the first two terms of the sum are zero since

P(r_{1}\cap r_{2}|R=r)=0

when
R=0,1
. As for the denominator, we have that

\displaystyle P(r_{1})

\displaystyle=

\displaystyle\sum_{r=0}^{100}P(r_{1}|R=r)P(R=r)

\displaystyle=

\displaystyle\sum_{r=1}^{100}P(r_{1}|R=r)P(R=r),~(P(r_{1}|R=0)=0).

Given the latter, Eq.
1
is equal to

P(r_{2}|r_{1})=\frac{\sum_{r=2}^{100}P(r_{1}\cap r_{2}|R=r)P(R=r)}{\sum_{r=1}^{100}P(r_{1}|R=r)P(R=r)}.

Therefore,

\displaystyle P(r_{2}|r_{1})

\displaystyle=

\displaystyle\frac{\sum_{r=2}^{100}\left(\frac{r}{100}\right)\left(\frac{r-1}{99}\right)\left(\frac{1}{101}\right)}{\sum_{r=1}^{100}\left(\frac{r}{100}\right)\left(\frac{1}{101}\right)}

\displaystyle=

\displaystyle\frac{1}{99}\frac{\sum_{r=2}^{100}(r^{2}-r)}{\sum_{r=1}^{100}r}

\displaystyle=

\displaystyle\frac{1}{99}\frac{\sum_{r=2}^{100}r^{2}-\sum_{r=2}^{100}r}{\sum_{r=1}^{100}r}

\displaystyle=

\displaystyle\left(\frac{1}{99}\right)\left(\frac{\frac{(100)(101)(201)}{6}-1-\frac{(100)(101)}{2}+1}{\frac{(100)(101)}{2}}\right)

\displaystyle=

\displaystyle\left(\frac{1}{99}\right)\left(\frac{201}{3}-1\right)

\displaystyle=

\displaystyle\frac{2}{3}.

Thus, it is more likely to pull out a red ball than a green one given that we picked a red ball in our first draw.

By the way, in the previous calculations we used the following formulas, which may look familiar to some readers: the formula of the pyramidal numbers
[
4
]
,

\sum_{i=1}^{n}i^{2}=\frac{n(n+1)(2n+1)}{6},

and the formula of the triangular numbers
[
5
]
,

\sum_{i=1}^{n}i=\frac{n(n+1)}{2}.

3
Final Remarks

Litt’s puzzle is a variation of a classical puzzle known as “Bertrand’s box paradox”
[
2
]
, which is mathematically identical to the “Monty Hall Problem”
[
6
]
. A solution to the latter was published by Marilyn vos Savant in Parade magazine in 1990, sparking a heated debate about what Savant had written in her column, nevertheless, Savant was right. Furthermore, this problem has been approached from various perspectives, and it can even be solved using Bayesian networks
[
7
]
, which are a probabilistic model that represents the relationships of a set of random variables by a directed acyclic graph. An implementation of this solution using the Bayesian approach can be found in
[
8
]
.

It is possible that Litt’s probability puzzle was not as controversial as Savant’s solution of the Monty Hall problem, but the collection of problems posed by Litt definitely attracted considerable attention, and even led some probability theorists to do research on topics related to the solutions of some of these brain teasers
[
9
]

Read the complete text