The Monty Hall Problem
Home · Interesting Math Problems · Problem 2 · Probability traps

1. The problem

A game show has three closed doors. Behind one is a car; behind the other two are goats. You pick a door. The host, who knows where the car is, opens one of the other two doors and always shows a goat. He then offers you a choice: stay with your door, or switch to the other closed door.

Two doors are left, so surely it is 50 : 50 and switching makes no difference?

2. The answer

2/3
Switch and you win the car two times in three.
1/3
Stay and you win only one time in three.

The host's action is not random. He is forced to avoid the car, so the door he leaves closed carries the information from his choice.

3. Why switching wins

Your first pick is right with probability 1/3, and nothing the host does can change that. The remaining 2/3 sits on the two other doors; the host simply removes the goat from that pair, and the whole 2/3 moves to the one door he did not open.

Car is behindYou pickHost opensStay getsSwitch gets
Door 1Door 12 or 3CarGoat
Door 2Door 13 (forced)GoatCar
Door 3Door 12 (forced)GoatCar

Make it obvious: 100 doors

Pick one of 100 doors. The host opens 98 goat doors and leaves one other door shut. Would you stay with your 1-in-100 guess? Switching now wins 99 times in 100. With n doors and the host opening all but one other:

P(win by switching) = (n − 1) / n

If the host opens only one goat door out of n, switching to one of the remaining doors still helps: P = (n − 1) / [n(n − 2)], which is more than 1/n.

4. Play the game

Doors:

Click a door to choose it.

Your games — stayed: 0 wins / 0  |  switched: 0 wins / 0

5. Simulation

The computer plays thousands of games with the door count above, once staying and once switching.

Switch
–
Stay
–

6. Fine print

  • The host must know and must always offer the switch. If he opens a door at random and it just happens to show a goat ("Monty Fall"), the odds really are 1/2.
  • If the host only offers a switch when you picked the car ("Monty from Hell"), switching always loses. The rules of the host decide the answer.
  • The puzzle became famous in 1990 when Marilyn vos Savant answered "switch" in a magazine column and received thousands of letters, many from mathematicians, insisting she was wrong.