Sun Jan 3 12:55:23 GMT 2010
Over the festive period my Dad posed an interesting probability conundrum based on a Shell Game. The conundrum is as follows.
In our shell game the gamemaster places a coin beneath one of three upturned cups on a table. He shuffles the cups such that the player doesn't know which cup conceals the coin. This done, the player now picks a cup and moves it aside. Of the remaining two cups, the gamemaster removes one empty cup and offers the player a choice: either to stick with his original choice of cup, or to switch to the remaining cup. Which option is more likely to win the player the coin ?
Well, this puzzle generated a lot of debate amongst my family members, with a split between two conflicting points of view. The first was that the player's final choice makes no difference, since the coin is equally likely to be under either of the two cups. The second was that the player should always switch cups since the cup he originally chose had a probability of 1 in 3: therefore he is twice as likely to win by switching cups.
What do you think ?
As unintuitive as it may seem, the second point of view is correct. The player should always switch cups. The question is how to explain this to those who hold the first view -- after all, it makes logical sense: there are two cups and one coin, so surely the choice is 50:50 ?
The best way to think about it that I've come up with is that the gamemaster is devious. Once you assume that, it is easier to see how he tricks the player into thinking the choice is 50:50 when in actual fact it is not. Let's just step through the game and look at the probabilities to see how it breaks down.
In order to explore the problem further, and to satisfy myself as to the correctness of this explanation, I wrote a small program which simulates playing the game many times -- and it shows that the player is indeed more likely to win by switching than by sticking: the experimental results break down as 1 in 3 win rate for the player who always sticks versus 2 in 3 for the player who always switches. You can download it here if you'd like to play with it yourself -- it compiles cleanly on an Ubuntu 9.04 system using gcc.
Have fun !