Expected Value and the Two Envelope Problem

September 4th, 2011
expected_value
Someone puts $X in one envelope and $2X in another. They hand you one at random. Before you open it and keep the contents, they offer to let you switch your envelope for the other one. You can't detect any differences between the two envelopes. Should you accept their offer to switch?

Common sense says no: the two are identical, you have even odds of getting $X and $2X. Expected value, however, says yes. Whatever envelope you have has some amount of money $Y in it. The other envelope has, with even odds, $2Y and $0.5Y. The expected value of switching, then, is the average of $2Y and $0.5Y, or $1.25Y, minus the $Y in the envelope you have. That would be $0.25Y as the expected value of switching, so you should switch. Unfortunately, now that you have switched, you would repeat all this logic, determine that the other envelope had more money, and switch again. Forever. Does expected value trap us in eternal loops of envelope cycling?

This is often considered to be a demonstration of how expected value can give unreasonable answers. But perhaps a solution to this is to frame things differently. We know one of the envelopes has $X and the other has $2X. In switching you are either going from $X to $2X or the reverse; either gaining $X or losing $X. So the expected value of switching is the average of $X and -$X, or zero.

The second framing gives a more reasonable answer, but is there any other reason to prefer it to the first?

Referenced in: Internal Statistics

Comment via: google plus, facebook, substack

Recent posts on blogs I like:

Linkpost for July

Effective Altruism

via Thing of Things July 3, 2026

Agentic test processes, LLM benchmarks, and other notes on agentic coding from Galapagos Island

I've been using AI fairly heavily since last November and the whole thing is a funny experience. An agent will do something that, if a human did it, you'd immediately fire them. My reaction, of course, is to act as if this is great and spin up a t…

via Posts on July 3, 2026

Variable fonts aren't universally supported

I make a lot of webpages. I also use Lockdown Mode on iOS and MacOS for a bit of extra security. Sometimes I realize that I forgot to test on Safari and it looks like crap, or I test and don’t notice that there’s been a problem for months (as was the case…

via Home June 27, 2026

more     (via openring)