🧮 Brain Teaser
Probability
The Envelope Paradox
2026-08-12
✏︎

The Envelope Paradox

You are shown two envelopes, each containing some amount of money. You are told that one envelope contains exactly twice the amount of the other, but you do not know which is which.

You pick one envelope at random and open it, revealing $100.

You are now offered the chance to switch to the other envelope.

A friend argues as follows:

"The other envelope contains either $50 or $200, each with probability 1/21/2. So the expected value of switching is \frac{1}{2}(50) + \frac{1}{2}(200) = \125 > $100$. You should always switch!"

But clearly the same argument would apply before you even open your envelope — so you should always switch, which is absurd since both envelopes are symmetric.

Where exactly is the flaw in the argument?

Bayesian reasoningconditional probabilityparadoxprior distribution

Answer: The Envelope Paradox

Key Idea / Intuition

The argument secretly assumes that both scenarios — "the other envelope has 50"and"theotherenvelopehas50" and "the other envelope has 200" — are equally likely given that you saw $100. But this is a claim about a posterior probability, not a prior. For a fixed prior distribution on the smaller amount, these two events cannot both have probability 1/21/2 for every possible observed value simultaneously. The flaw is that no valid prior probability distribution makes the switching calculation uniformly correct for all observed values.


Formal Proof / Solution

Setting Up the Framework

Let XX be the smaller of the two amounts. The two envelopes contain XX and 2X2X.

You open an envelope and see some value vv. There are two cases:

  • Case A: You picked the smaller envelope, so v=Xv = X and the other has 2v2v. This happens with probability 1/21/2.
  • Case B: You picked the larger envelope, so v=2Xv = 2X and the other has v/2v/2. This happens with probability 1/21/2 (unconditionally, before knowing vv).

The friend's argument implicitly claims: given that you saw v=100v = 100, both cases A and B occur with probability 1/21/2.

Why This Fails

Using Bayes' theorem, the conditional probability of Case A given you saw vv is:

P(Case Av)=P(vCase A)P(Case A)P(vCase A)P(Case A)+P(vCase B)P(Case B)P(\text{Case A} \mid v) = \frac{P(v \mid \text{Case A}) \cdot P(\text{Case A})}{P(v \mid \text{Case A}) \cdot P(\text{Case A}) + P(v \mid \text{Case B}) \cdot P(\text{Case B})}

For this to equal 1/21/2 for a specific v=100v = 100, we need:

P(v=100Case A)=P(v=100Case B)P(v = 100 \mid \text{Case A}) = P(v = 100 \mid \text{Case B})

i.e., the prior probability that the smaller amount equals $100 must equal the prior probability that the smaller amount equals $50.

For this to hold for every possible observed value vv, we would need the prior on XX to satisfy: f(v)=f(v/2)for all v>0f(v) = f(v/2) \quad \text{for all } v > 0

where ff is the density of XX. This means f(v)=f(v/2)=f(v/4)=f(0+)f(v) = f(v/2) = f(v/4) = \cdots \to f(0^+) and similarly f(v)=f(2v)=f(4v)=f()f(v) = f(2v) = f(4v) = \cdots \to f(\infty). No proper probability distribution can satisfy this — such a prior does not exist.

The Resolution

The argument is only valid for a specific observed value vv if the prior happens to assign equal probability to "smaller amount =v= v" and "smaller amount =v/2= v/2". For any fixed proper prior, this holds for at most a measure-zero set of values of vv.

In fact, for any proper prior ff on XX:

  • If vv is large, it's more likely you're in Case B (you picked the larger), so the other envelope probably has v/2<vv/2 < v. You should not switch.
  • If vv is small, Case A is more likely, and you probably should switch.

The symmetry argument "you should always switch" fails because the act of opening the envelope and seeing vv gives you Bayesian information about which envelope you hold — but only relative to a prior. Without a prior, the calculation is simply undefined.

Punchline

The paradox arises from treating the conditional probabilities P(other=2vv)=P(other=v/2v)=1/2P(\text{other} = 2v \mid v) = P(\text{other} = v/2 \mid v) = 1/2 as a prior-free fact, when in reality these are posterior probabilities that depend on the underlying distribution of envelope amounts. The error is using a posterior calculation without a prior.

Source: Mathematical folklore / probability puzzles

Type: ProbabilitySource: Mathematical folklore / probability puzzlesEdit on GitHub ↗