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:

Polyamory is sticky

Some people are only happy in monogamous relationships.

via Thing of Things October 30, 2026

“We should be more ambitious with the software we build”

Since early this year, Michael Malis (of pgrust) has been showing me interesting things he's done and saying [W]e should be more ambitious1 with the software we build There is, understandably, a lot of skepticism about projects like pgrust because there…

via Posts on October 24, 2026

Was the HuggingFace hacking incident scheming?

In July 2026, internal OpenAI agents hacked HuggingFace (HF) in order to figure out how their evaluation grader works. This involved a thousand agents coordinating on an improvised message board to carry out an elaborate sequence of exploits. A later grou…

via Victoria Krakovna October 18, 2026

more     (via openring)