Toys

The Two Envelope "Paradox"

Two envelopes are presented to you with one containing twice as much money as the other. You may pick one envelope and keep the money inside. However, before inspecting your envelope you are given the option to switch to the other envelope.

Question: Should you switch envelopes? Does it even matter?

Scroll down to play the game.

Explanation: This problem is known as the Two Envelopes "Paradox." The "paradox" arises from the confusion over the expected value of switching envelopes and a calculation that claims that it is always greater than the expected value of keeping your current envelope. However, this reasoning is flawed as the experiment as stated can be easily misunderstood.

Lets define the problem more clearly and see if we can determine the expected value of three strategies: always switching envelopes, always keeping our envelope, and randomly switching/staying. Those who believe that switching is always better may be surprised by the results!

Let Y be the random variable representing our earnings, i.e. Y is the amount of money that we receive at the end of the experiment after deciding to switch or stay. Let $X be the amount of money in the lesser envelope, and so $2X is in the greater envelope. We will calculate the expected value of Y/X for each strategy. Of course, X is a random variable since we do not know how much money is in the envelopes, only that one envelope is twice as much as the other.

The expected value of Y/X for each strategy is the average ratio of the amount of money we receive to the amount of money in the lesser envelope. We can construct a probability tree to determine the expected value of Y/X for each strategy.

First, lets consider the strategy of always switching. Our initial choice of envelope is random, so we have a 50% chance of picking the lesser envelope and a 50% chance of picking the greater envelope. If we pick the lesser envelope, we will switch to the greater envelope and receive $2X. If we pick the greater envelope, we will switch to the lesser envelope and receive $X. Therefore, the expected value of Y/X for the strategy of always switching is 0.5(2X)+0.5(X)=1.5X.

A similar calculation can be done for the case of always staying. If we pick the lesser envelope, we will keep it and receive $X. If we pick the greater envelope, we will keep it and receive $2X. Therefore, the expected value of Y/X for the strategy of always staying is 0.5(X)+0.5(2X)=1.5X.

Finally, we can compute the expected value for randomly choosing to switch or stay. We have a 50% chance of switching and a 50% chance of staying. Therefore, the expected value of Y/X for the strategy of randomly choosing is again 1.5X.

In any case, our expected value is always 1.5X. Again, X is a random variable as we do not have any idea how much money is in the envelopes. However, the expected value of Y/X, which is the random variable associated with the experiment from the perspective of the player, is alwyas 1.5X.

Before talking about the "paradox" which stems from a confusion about the problem, allow me to convince you of the correct answer by playing the game below!


Click "Start New Game" to begin!
Or use the Auto-Play button to see the convergence!

Games Played: 0

Total Winnings: 0

Average Winnings: 0

Expected Value: 0X

Settings





As you can see, the expected value of the ratio of the amount of money you receive to the amount of money in the lesser envelope is always 1.5X. This is true regardless of the strategy you choose. The "paradox" arises from a misunderstanding of the problem and a flawed calculation.

The error comes from the assumption that your earnings Y are realized twice: before deciding to switch or stay, and after. In this case, if you originally pick the larger envelope, and switch then they claim that you would receive $X/2 since your earnings are half of what you originally chose. Similarly, if you originally picked the smaller envelope, then you reveive $2X since your earnings are twice your original envelope's contents. However, this is a flawed calculation as your earnings are only realized once after you decide to switch or stay.

Under this incorrect interpretation, you can compute that the expected value of the money inside of the envelope that you did not choose as a function of the money in your current envelope, call it Z, as 0.5(Z/2)+0.5(2Z)=1.25Z. Therefore, switching will always give you more money.

If this were true, then you would clearly see a difference in the numerical results above, but of course you do not becuase it is not true. The mistake is thinking that Z=X, when in fact we do not know Z, that is the whole problem!

This is a good example of a problem that can be made much more complicated by assigning assumptions that are not actually present. The problem does not at any point state that we are experimenting on X, but instead only asks us if switching or keeping is a better strategy. The answer is that it does not matter, and the expected value of the ratio of the amount of money you receive to the amount of money in the lesser envelope is always 1.5X.

I belive that this problem is very tempting to try and resolve using the famous Monty Hall problem as a guide, where switching legitimately does give you an advantage over staying. However, they key difference between these problems is that you gain information before making a decision in the Monty Hall problem, but not in the Two Envelopes problem. Without any information, your first choice and second choice have the same expected value.

A similar counterintuitive example is this: lets say I draw one card from the top of a deck of cards. What is the probability it is the Queen of Hearts? Now, lets say I deal all of the cards face down onto the table until I get to the last card. What is the probability that it is a Queen of Hearts? Is it the same?