Hopefully this is the right forum for this.
I was looking at some paradoxes on the internet, and trying to "solve" them(usually the paradox is built on a flawed premise, or it isn't paradoxical at all), and I came across one that I simply cannot understand.
It goes like this: suppose there are two envelopes, with money in them, A and B, and you want to pick the one with the most money. You are told that one envelope contains exactly twice as much money as the other. You are allowed to open one of the envelopes, and then given a choice to switch envelopes or stick with the one you opened. You open A, and you see that it contains, say, $10. Now, you know that there is a 50% chance that B will contain $5 and a 50% chance that it contains $20. You can calculate the average expected value of envelope B like so: 0.5*5 + 0.5*20 = 12.5. Therefore, the expected value of B is greater than A and you should switch to B. However, if you had initially picked B, you would come to the conclusion that you should switch to A regardless of the actual value of B.
We can simplify the problem so that you don't even have to open any envelopes. One envelope has twice as much money as the other. The expected value of envelope B would be 0.5*0.5A + 0.5*2A = 1.25 A, thus, B is a better pick than A. However, the same logic can be used to show that A is a better pick than B. So a seemingly valid premise and seemingly valid logical deductions lead us to a seemingly invalid conclusion. That's why it's a paradox.
I just can't figure out the solution to this problem. There has to be some mistake somewhere, yet every logical deduction made seems valid. Isn't it universally true that you can assign an expected value to a choice by multiplying the value of each of it's outcomes by each outcome's probability and summing the results? Can anyone figure this out?
Also, feel free to post your own paradoxes or similar logic problems.