A Post about Envelopes

I promised a few weeks ago that I’d make another post about “seemingly para­dox­i­cal matters”, and I’m finally making good on that promise.1 Be fore­warned, how­ever, that this post doesn’t really have any­thing to do with any­thing else. It’s just a cool para­dox (or “puzzle” or “problem” or what­ever other ‘p’-word you want to call it) I learned from my roommate.


The para­dox hinges on the notion of expected value, so first we’d better under­stand what that is. Let’s say I flip a coin, and if it lands heads I give you a dollar. But if it lands tails, you have to give me a dollar. Then your expected value from this game is $0 over­all—in any given round you’ll either gain or lose a dollar, but in the long run you’ll break even. Your aver­age expected gain from any single round is $0.

Let’s change the num­bers a bit. Now I give you $2 if the coin lands heads, and you give me $1 if it’s tails. Assum­ing I’m not using a weighted coin, this sounds like a pretty sweet deal for you, right? In any given round you have an equal chance of win­ning $2 or losing $1. Over many rounds you should aver­age a net gain of 50 cents per round (.5 * 2 + .5 * -1). So we say that the expected value of flip­ping the coin is $.50.

In gen­eral, you can cal­cu­late the expected value of any random vari­able by mul­ti­ply­ing the prob­a­bil­ity of some out­come by the value of that out­come, then sum­ming these over all pos­si­ble out­comes. For exam­ple, the expected value of rolling a die would be (1/6) * (1 + 2 + 3 + 4 + 5 + 6) = 3.5, since every value from 1 to 6 has an equal prob­a­bil­ity of coming up.

Now that we have this idea of expected value, we can also define what it means to play a game ratio­nally. Quite simply, a ratio­nal player is some­one who always makes the choice that max­i­mizes their expected value from the game.

Alright. With those pre­lim­i­nar­ies out of the way, let’s get to the good stuff. Here’s the game: I offer you two envelopes, both of which con­tain checks writ­ten out to you. One of them is worth twice as much as the other. With no other infor­ma­tion, you pick one of the envelopes and get to keep whatever’s inside. Not a bad game for you, eh?

So let’s say you’ve selected one of the envelopes. But before you can open it, I inter­rupt you:

“Hold up! If you’re having regrets, I’ll let you switch to the other enve­lope, no strings attached.”

“Well that’s kind of a dumb offer, Greg. If I had really wanted the other enve­lope, I would have chosen it in the first place. What do you take me for? Some kind of flippity-​floppity flip-​flopper?”

“Of course not! I’d never dream of insin­u­at­ing such a thing. But here’s the deal: I just so happen to know that the enve­lope in your hand con­tains a check for $10. (I know this because I put the check in there myself.) Which means that this other enve­lope—the one I’m hold­ing right here—has either $5 or $20 in it. It’s a 50-50 chance either way, right?”

“I… guess? Sure.”

“That means the expected value of my enve­lope is .5 * $5 + .5 * $20 = $12.50. As a ratio­nal indi­vid­ual, you should obvi­ously switch envelopes, since the expected value from switch­ing is higher than what you’ve got now.”

“But Greg, that is stupid. If I had chosen that other enve­lope in the first place, you could have gone through the exact same song and dance, con­vinc­ing me to switch to this one.”

“That’s true.”

“So why would I switch?”

“Because your expected value is higher, and you’re rational.”

“But I don’t want to switch.”

“But you should.”

“But I like this envelope.”

“So are you some kind of irra­tional crazy-​person, then? Is that what you are?”

“You know what? Screw this.”

And then you punch me in the face and snatch the other enve­lope from my hand. As you run away, you open the other enve­lope to find a $5 check inside.

“That sneaky snake! That snakey sneak! I knew he was full of baloney.”

But…. was I? Was there really any­thing wrong with my expected value argument?


1 You thought I forgot, didn’t you? I didn’t forget! I never forget.


Discussion (15)¬

  1. Jeremy says:

    This is a vari­a­tion on the Monty Hall prob­lem. http://​en.​wikipedia.​org/​w​i​k​i​/​M​o​n​t​y​_​H​a​l​l​_​p​r​oblem
    If you make the assump­tion that there really was an equal chance of the enve­lope con­tain­ing $20 or $5 then the cor­rect solu­tion is to switch. If how­ever we don’t have any assur­ance of that the math is use­less. It really works best if you use three envelopes (see the Monty Hall prob­lem).

  2. Greg says:

    When I first heard the prob­lem, I also thought it sounded eerily famil­iar to the Monty Hall prob­lem. But it’s actu­ally dif­fer­ent! The puzzle I’ve pre­sented here is known as the Two Envelopes Prob­lem.

    Here’s the dif­fer­ence, as I under­stand it: in the Monty Hall prob­lem, when the host reveals the goat, he is reveal­ing infor­ma­tion about what’s behind the unopened, uns­e­lected door. By switch­ing, the player takes advan­tage of the fact that the host could not reveal a car behind one of the uns­e­lected doors.

    In the enve­lope prob­lem, I’m not actu­ally telling you any­thing about what’s in the other enve­lope. It’s true that I give you a dollar amount, but that’s arbi­trary—I could have said $X instead of $10 and the rea­son­ing would have been exactly the same.

  3. daniel says:

    Well, as I see the prob­lem, you need to deter­mine the expected value of your first choice… Which, if I’m not mis­tak­ing, is:
    $X * 0.5 + 2*$X * 0.5 = 1.5 * $X.
    Then, the expected value for switch­ing envelopes is:
    $X/2 * 0.5 + 2*$X * 0.5 = 1.25 * $X.
    So switch­ing envelopes has a smaller expected value than your first choice.

    A less math­e­mat­i­cal approach is: my first choice was between win­ning some money and win­ning some more money; switch­ing envelopes is a choice between loos­ing some money and win­ning some money… So I’ll just stick with the first choice.

  4. Lupo says:

    I’ll stick to Daniel Answer. I prefer to choose between win­ning less or more, than between win­ning some or loos­ing some…

    …but I’m a human­ist, I’m crap with the game theory…

  5. Greg says:

    @daniel: In your first equa­tion, it looks like X rep­re­sents the amount of money in the less-​valuable enve­lope, cor­rect? But in your second equa­tion, X rep­re­sents the amount of money in the enve­lope you’re hold­ing, which could be either the smaller amount or the larger amount. That is to say, I think the analy­sis is flawed because X is being used incon­sis­tently.

    I’ve thought about the prob­lem a bit, and I think I’ve come up with a vari­ant that helps explain what’s going on here. Let’s change the rules of the game so that one enve­lope has 100 times as much money in the other. This time you choose an enve­lope and I tell you that it has $100 in it. Once again I give you the oppor­tu­nity to switch.

    In this case, the other enve­lope has either $1 or $10,000; now your expected value from switch­ing is just over $5000. Do you switch this time?

    While most people tend to be uncon­vinced by the orig­i­nal state­ment of the prob­lem, I think this higher-​stakes sce­nario appeals better to people’s intu­ition. What do you think?

  6. macsnafu says:

    I guess I don’t get this “expected value” stuff. The simple point is that there’s only two envelopes, and there’s a 50-50 chance of get­ting the one with the the greater amount in it. With­out any fur­ther infor­ma­tion, there’s NO WAY of know­ing which one has the greater amount, so why should it be ratio­nal to change your mind after select­ing one of them? It’s a guess either way.

  7. pulsifer says:

    well it’s expo­nen­tial isnt it?
    so in a math­e­mat­i­cally per­fect sit­u­a­tion, yeah you would swith, because you stand to gain more than to loose. you can always get higher, but the returns (plot­ted out as a sort of chain of dou­bling) will be asymp­totic to zero, so all in all you’re more likely to gain than louse. you could think of it as a sort of one dimen­sional ver­sion of the drunkard-and-the-lamppost prob­lem.
    in a real sit­u­a­tion, there are upper limits. if you choose an enve­lope, and i tell you it has 10 tril­lion dol­lars in it (US), then you can be pretty sure that the other enve­lope does NOT have 20 tril­lion in it. so you wouldn’t swith. in gen­er­aly, you need to make a judg­ment call. how much money do you thing the host is will­ing to part with?

  8. JT says:

    That Wikipedia arti­cle you linked to has a good expla­na­tion of the prob­lem. But I think it gave away the answer to the para­dox pretty early in its analy­sis — one should be a fre­quen­tist not a sub­jec­tivist! :-)

  9. Greg says:

    @mac­snafu: Does my 100x vari­ant sway your intu­ition at all? I wasn’t really con­vinced by the logic until I looked at it from that angle. I’d also rec­om­mend check­ing out the Wikipedia arti­cle if my expli­ca­tion doesn’t do it for you!

    @pul­sifer: Unless, of course, the host is the U.S. gov­ern­ment, in which case a $20 tril­lion hand­out isn’t out­side the realm of pos­si­bil­ity. WOAAAAAH TOP­I­CAL

    @JT: Oh man, fre­quen­tism vs. sub­jec­tivism is a whole ‘nother can of worms. (For what it’s worth, I tend to lean towards sub­jec­tivism myself.)

  10. macsnafu says:

    Okay, I see what I missed. You’re told how much is in the selected enve­lope, and thus know the two pos­si­bil­i­ties of the other enve­lope. The larger amount is much larger than the cur­rent enve­lope, while the smaller amount isn’t as great a dif­fer­ence. There­fore, know­ing the amount in the cur­rent enve­lope, and what the other enve­lope might con­tain, yes, it’s ratio­nal to switch–unless you really need that bus fare to get home!

  11. GMS says:

    You are actu­ally miss­ing an impor­tant fact here which effects the deci­sions. The person making the offer knows what’s in the envelopes. Thus, they can make up what­ever “high” value to make sure that the expected value of switch­ing is better. Thus, there is not a 50-50 chance of the second enve­lope con­tain­ing $100 (or $10,000). There is a 0 per­cent chance. The offer can only result in loss if the second enve­lope is worth more with no pos­si­bil­ity of ben­e­fit), thus if the second enve­lope was worth more, a ratio­nal offeror would not make the offer, and thus the ratio­nal gues­sor would not take it if it was made.

  12. Greg says:

    That’s true, and it’s an impor­tant effect if the game is played exactly as dis­cussed. The player need to be assured that the host is being truth­ful. A more real­is­tic sce­nario might be on a game show of some kind (a la Deal or No Deal), where there is a real pos­si­bil­ity of win­ning $10,000.

    Another hidden assump­tion here is that the ratio­nal player has a linear util­ity func­tion for money—that is, every dollar won con­tributes equally to the player’s hap­pi­ness. This is hardly the case for real people: the dif­fer­ence between win­ning $100 and $10,100 is much more sig­nif­i­cant than the dif­fer­ence between win­ning $1,000,000 and $1,010,000. People are risk averse, and so at some point a player who knows they have won a sig­nif­i­cant prize will not want to risk losing it, even if the expected value from switch­ing is greater.

    To coun­ter­act this effect, we would have to change the prize from dol­lars to abstract units of hap­pi­ness (in eco­nomic par­lance, utils). But this just makes the prob­lem more abstract and dif­fi­cult to reason about intu­itively.

  13. macsnafu says:

    GMS, I thought this was a ratio­nal puzzle, not a psy­cho­log­i­cal puzzle. In real life, hardly any­body is going to offer you the choice between two envelopes con­tain­ing money, except for a game show, prank, or a very eccen­tric person.

  14. Brady Kj says:

    Well, what if you really really need at least $10? What if there’s some­body out to kill you because you owe them $10? What if you have a fatal brain tumor and need $10 to pay for the surgery? Then you wouldn’t want to risk losing that all for a 50% chance of having $20.

  15. Brad says:

    Lets con­sider this a dif­fer­ent way. Sup­pose that instead of telling you that YOUR enve­lope con­tains $10, I tell you that ONE of the envelopes con­tains $10. Now there are 3 out­comes for each enve­lope. $5 (25%), $10 (50%), $20 (25%). The expected value of each enve­lope is $11.25. If you then turn around and tell me that MY enve­lope con­tains $10, you have low­ered the expected value of my enve­lope (to $10), and raised the expected value of the other one (to $12.50) because the total expected value of the envelopes (.5*15 + .5*30 = $22.50) hasn’t changed by me reveal­ing which one is which. Thus, it is in your inter­est to switch if you tell me the value of my enve­lope, because the uncer­tainty is actu­ally ben­e­fi­cial in this case.

    Note that if we change the prob­lem where one enve­lope has as fixed amount (say $10) more than the other, then the expected value of both envelopes is the same as the value you tell me, so I am ambiva­lent about switch­ing.

Comment¬