Please do not just google the solution. The fun is in the thinking and trying!
Problem
Basic setup: You are given two indistinguishable envelopes, each of which contains a positive sum of money. One envelope contains twice as much as the other. You may pick one envelope and keep whatever amount it contains. You pick one envelope at random but before you open it you are given the chance to take the other envelope instead.
The switching argument: Now suppose you reason as follows:
I denote by A the amount in my selected envelope.
The probability that A is the smaller amount is 1/2, and that it is the larger amount is also 1/2.
The other envelope may contain either 2A or A/2.
If A is the smaller amount, then the other envelope contains 2A.
If A is the larger amount, then the other envelope contains A/2.
Thus the other envelope contains 2A with probability 1/2 and A/2 with probability 1/2.
So the expected value of the money in the other envelope is:
(1/2)(2A) + (1/2)(A/2) = (5/4)A
This is greater than A so, on average, I gain by swapping.
After the switch, I can denote that content by B and reason in exactly the same manner as above.
I will conclude that the most rational thing to do is to swap back again.
To be rational, I will thus end up swapping envelopes indefinitely.
As it seems more rational to open just any envelope than to swap indefinitely, we have a contradiction.
The puzzle: The puzzle is to find the flaw in the very compelling line of reasoning above. This includes determining exactly why and under what conditions that step is not correct, in order to be sure not to make this mistake in a more complicated situation where the misstep may not be so obvious. In short, the problem is to solve the paradox. Thus, in particular, the puzzle is not solved by the very simple task of finding another way to calculate the probabilities that does not lead to a contradiction.
Problem
Basic setup: You are given two indistinguishable envelopes, each of which contains a positive sum of money. One envelope contains twice as much as the other. You may pick one envelope and keep whatever amount it contains. You pick one envelope at random but before you open it you are given the chance to take the other envelope instead.
The switching argument: Now suppose you reason as follows:
I denote by A the amount in my selected envelope.
The probability that A is the smaller amount is 1/2, and that it is the larger amount is also 1/2.
The other envelope may contain either 2A or A/2.
If A is the smaller amount, then the other envelope contains 2A.
If A is the larger amount, then the other envelope contains A/2.
Thus the other envelope contains 2A with probability 1/2 and A/2 with probability 1/2.
So the expected value of the money in the other envelope is:
(1/2)(2A) + (1/2)(A/2) = (5/4)A
This is greater than A so, on average, I gain by swapping.
After the switch, I can denote that content by B and reason in exactly the same manner as above.
I will conclude that the most rational thing to do is to swap back again.
To be rational, I will thus end up swapping envelopes indefinitely.
As it seems more rational to open just any envelope than to swap indefinitely, we have a contradiction.
The puzzle: The puzzle is to find the flaw in the very compelling line of reasoning above. This includes determining exactly why and under what conditions that step is not correct, in order to be sure not to make this mistake in a more complicated situation where the misstep may not be so obvious. In short, the problem is to solve the paradox. Thus, in particular, the puzzle is not solved by the very simple task of finding another way to calculate the probabilities that does not lead to a contradiction.