Mathwords logoMathwords

Two Envelopes Paradox — Definition, Formula & Example

The Two Envelopes Paradox is a puzzle in which one envelope holds twice as much money as the other. A tempting expected-value argument says you should always switch envelopes, yet the two envelopes are symmetric, so switching cannot help.

Let the envelopes contain xx and 2x2x. You receive one uniformly at random, and AA is the amount you receive. The naive argument claims E[other∣A]=12(2A)+12(A2)=54AE[\text{other} \mid A] = \tfrac12(2A) + \tfrac12\left(\tfrac{A}{2}\right) = \tfrac54 A for every value of AA. That claim requires P(other=2A∣A)=12P(\text{other} = 2A \mid A) = \tfrac12 for every possible AA. This would force xx to be equally likely to take every value in an endless doubling chain. No probability distribution allows that, because the probabilities could not add to 1. The error is treating the random quantity AA as if it were the same fixed number in both cases.

Key Formula

E[gain from switching]=12(2x−x)+12(x−2x)=0E[\text{gain from switching}] = \tfrac12(2x - x) + \tfrac12(x - 2x) = 0
Where:
  • xx = the smaller of the two amounts, which is fixed once the envelopes are filled
  • 2x2x = the larger amount
  • 12\tfrac12 = the probability that you were handed the smaller envelope (and also the larger one)

Worked Example

Problem: A host flips a fair coin. On heads, the envelopes hold $50 and $100. On tails, they hold $100 and $200. You receive one of the two envelopes at random and open it. (a) If you see $100, what is the expected amount in the other envelope? (b) What is your expected gain if you always switch, no matter what you see?
Step 1: You can see $100 under either coin result. Use Bayes' theorem to find the chance that the pair is $100 and $200. Each pair has probability 1/2, and each pair shows $100 half the time.
P((100,200)∣see 100)=12⋅1212⋅12+12⋅12=12P\big((100, 200) \mid \text{see } 100\big) = \frac{\tfrac12 \cdot \tfrac12}{\tfrac12 \cdot \tfrac12 + \tfrac12 \cdot \tfrac12} = \frac12
Step 2: At $100 the 50-50 split really holds, so switching gains $25 on average. At the other two amounts there is no uncertainty. If you see $50, the other envelope must hold $100, a gain of $50. If you see $200, it must hold $100, a loss of $100.
E[other∣see 100]=12(200)+12(50)=125E[\text{other} \mid \text{see } 100] = \tfrac12(200) + \tfrac12(50) = 125
Step 3: You see $50 with probability 1/4, $100 with probability 1/2, and $200 with probability 1/4. Weight each gain by how likely it is.
E[gain]=14(50)+12(25)+14(−100)=0E[\text{gain}] = \tfrac14(50) + \tfrac12(25) + \tfrac14(-100) = 0
Answer: (a) After seeing $100, the other envelope holds $125 on average. (b) Always switching gains $0 on average. The "half or double, 50-50" rule is true only at $100. It fails at $50 and at $200, and the $100 loss at $200 exactly cancels the gains.

Why It Matters

Probability and decision theory classes use this paradox to show that you cannot compute the expected gain from switching, given the amount you see, until you have stated a prior distribution for the amounts. Some unbounded priors do make switching look favorable for every observed amount. Those priors must have an infinite expected value, and in that situation comparing conditional averages is no longer a reliable guide to decisions.

Common Mistakes

Mistake: Writing the other envelope's value as 2A or A/2 and treating A as the same number in both cases.
Correction: In the "other is double" case, you hold the smaller amount xx. In the "other is half" case, you hold the larger amount 2x2x. Name the fixed amounts xx and 2x2x. The gain is then +x+x or −x-x, each with probability 1/2, so the expected gain is 0.

Related Terms

  • Conditional Probability — Measures the chance the other envelope is double, given your amount
  • Bayes' Theorem — Updates which pair you hold after opening an envelope
  • Bertrand's Paradox — Also stems from an unspecified distribution, but for chords
  • Bertrand's Box Paradox — Conditions on an observation, but involves no switching or expectation
  • Experiment — Two-stage setup: fill the envelopes, then pick one
  • Event — Defines outcomes such as the other envelope holding double
  • Expected Value — Core calculation behind the tempting always switch argument
  • Probability Distribution — Missing prior distribution on amounts breaks the switching argument