Abakcus

← All articles

Probability · Paradox · Game Shows

The Monty Hall Problem

Three doors, one car, two goats and a host who knows too much. Play the game that fooled thousands of PhDs, then watch the answer appear in front of you.

1 The deal

Three doors and one decision

You are on a television game show. In front of you are three closed doors. Behind one of them is a new car. Behind each of the other two is a goat. You may pick one door, and whatever is behind it is yours.

You pick. The host does not open your door. Instead he walks to one of the other two and opens it, and out looks a goat. He turns to you with a smile. There are two doors still closed, yours and one other. Would you like to keep your door, he asks, or switch?

Almost everyone keeps their door. Almost everyone also says it cannot matter: two doors, one car, fifty-fifty. Almost everyone is wrong, and has been wrong in print, on national television and in letters signed with doctorates. Before reading another word, try it.

Experiment I. Play the game

One car, two goats

Behind one of these doors is a car. Behind the other two, goats. Pick a door.

When you stayed

—

0 wins in 0 games

When you switched

—

0 wins in 0 games

Three rules are doing all the work here, and they are easy to read past. They are the whole puzzle.

The host knows where the car is. He is not guessing.
He always opens a goat. Never your door, never the car.
He always offers the switch, whatever you picked first.

2 The answer

Switch. Always switch.

If you stay, you win the car one time in three. If you switch, you win two times in three. Switching does not guarantee the car. It doubles your chances.

Here is the shortest honest explanation. When you first choose, you have one chance in three of being right, and nothing the host does afterwards can reach back and improve that guess. So your door is still a one-in-three door. The car has to be somewhere, the opened door is out, and the remaining two-thirds has only one place left to go.

If that feels like a trick, count the cases. Say you always start with door 1. The car is equally likely to be behind any of the three doors, so there are three equally likely games.

Doors 1 · 2 · 3You pickWhat the host doesIf you stayIf you switch
🚗 🐐 🐐Door 1Opens door 2 or door 3CarGoat
🐐 🚗 🐐Door 1Must open door 3GoatCar
🐐 🐐 🚗Door 1Must open door 2GoatCar

Staying wins in one row. Switching wins in two. Notice the middle column: in two of the three games the host has no choice at all. You are standing in front of one goat, so he must show you the other, and by doing so he points straight at the car. He is not adding a door to your chances. He is telling you something, two times out of three.

The same answer, by Bayes’ rule

For readers who want it in symbols: you picked door 1 and the host opened door 3. Let C₁, C₂, C₃ be the car’s position. If the car is behind your door he has two goats to choose from and picks between them at random, so he opens door 3 half the time; if it is behind door 2 he must open door 3; if it is behind door 3 he never opens it.

P(C₂ | opens 3) = P(opens 3 | C₂) · P(C₂) / P(opens 3)= (1 · ⅓) / (½ · ⅓ + 1 · ⅓ + 0 · ⅓) = ⅔

That random choice between goats matters more than it looks. If this host had a habit, say always opening the highest-numbered goat door he is allowed to, then seeing him open door 3 would tell you less, and switching would win only half the time in that particular case. The textbook puzzle assumes a fair coin in his head.

3 The evidence

Do not believe it. Count it.

Arguments did not settle this puzzle for most of the people who fought about it. Experiments did. Schoolchildren with paper cups, statisticians with dice, and eventually anyone with a computer played the game hundreds of times and wrote down what happened.

The machine below does the same thing. It deals honest games and keeps score for two imaginary contestants, one who never switches and one who always does. Play a hundred games and the lines wobble. Play ten thousand and they settle onto one third and two thirds and stay there.

Experiment II. Ten thousand contestants

0 games played
01/32/31always switchalways stay

Always stay

—

0 cars

Always switch

—

0 cars

Every game is dealt honestly, with the car placed at random and a random first pick. The same games are scored twice, once for a player who always stays and once for a player who always switches, which is why the two lines mirror each other.

This is the law of large numbers, the same principle that lets you estimate π by dropping needles on a floor. A single game tells you nothing; you may switch and lose. A thousand games tell you everything.

4 The cure

Now try it with a hundred doors

If the counting and the simulation have convinced your head but not your stomach, there is one version of the game that usually finishes the job. Keep the rules. Change the number of doors.

Experiment III. A hundred doors

One car, ninety-nine goats

Same game, bigger stage. One hundred doors, one car. Pick any door.

Nobody feels that this one is fifty-fifty. You picked one door out of a hundred, almost certainly a goat. The host, who knows everything, then opened ninety-eight doors and carefully stepped around a single one. Either you were astonishingly lucky with your first guess, or the car is behind the door he avoided.

The three-door game is exactly the same game. The host still opens every door he can without revealing the car. It only feels different because with three doors “every door he can” is just one door, and one opened door does not look like a message. It is a message all the same. With n doors, switching wins with probability (n − 1)/n: two thirds for three doors, ninety-nine hundredths for a hundred.

5 The uproar

Ten thousand letters, one stubborn genius

Publicity photograph from Let's Make a Deal, 1974: Monty Hall in a black hat dealing playing cards, with Carol Merrill and Jay Stewart in Old West costume
Monty Hall, centre, with Carol Merrill and Jay Stewart in a 1974 publicity photograph for Let’s Make a Deal. ABC Television, public domain.

The puzzle is named after Monty Hall, who hosted Let’s Make a Deal from 1963 and, on and off for nearly three decades, traded with contestants for what was behind doors, curtains and boxes. He did not invent the problem, and as we shall see, he never quite played it.

It was written down in 1975 by Steve Selvin, a statistician at the University of California, Berkeley, who sent it to The American Statistician as a letter to the editor with the solution attached. Readers wrote back to tell him he had it wrong. He replied with a second letter, and gave the puzzle its name in the title. Hall himself wrote to Selvin, in good humour, to point out that the real show did not work that way.

Then, in September 1990, a reader asked the question of Marilyn vos Savant, who wrote the “Ask Marilyn” column in Parade magazine. She answered in a few lines: switch, the odds are two in three. What followed is one of the strangest episodes in the history of popular mathematics. Roughly ten thousand letters arrived, close to a thousand of them from people with doctorates, and the great majority told her, often rudely, that she had embarrassed herself. She had not. Abakcus tells that story in full in Marilyn vos Savant Was Right All Along.

Paul Erdős standing in a doorway in Budapest in 1992, wearing a grey suit
Paul Erdős in Budapest, 1992. Photo: Kmhkmh, CC BY 3.0.

The most famous doubter was not an angry reader. It was Paul Erdős, one of the most prolific mathematicians who ever lived, the author of some fifteen hundred papers. In 1995 his friend Andrew Vázsonyi described the puzzle to him and gave the answer. Erdős said it was impossible. Vázsonyi showed him the decision tree. Erdős was unmoved and, by Vázsonyi’s account, increasingly cross. What finally convinced him was not a proof but a program: Vázsonyi ran a simulation on his computer, and Erdős watched switching win two games in three. He accepted the result and remained unhappy that nobody could give him a reason he found satisfying.

That detail is a comfort. If your intuition rebelled in Part 1, it rebelled in excellent company.

6 The fine print

It all depends on what the host knows

The angry letter-writers were wrong about the puzzle as stated. But they were closer to something true than they are usually given credit for: change the host’s behaviour even slightly and the answer changes with it.

2/3

Standard Monty

The host knows where the car is, always opens a goat door and always offers the switch. This is the puzzle as posed. Switch.

1/2

Monty Fall

The host trips, a random door swings open and happens to show a goat. Now the reveal carries no information and switching is a coin flip.

0

Monty from Hell

The host offers a switch only when your first pick is the car. Every contestant who accepts loses. The offer itself is the trap.

The numbers on the cards are your chance of winning if you switch. They differ because probability does not live in the doors. It lives in what you know, and what you know depends on how the goat came to be shown to you. A host who reveals a goat because he must is giving you information. A host who reveals one by accident is giving you nothing. A host who reveals one only when it suits him is giving you bait.

Monty Hall on the trading floor of Let's Make a Deal in the 1970s, surrounded by costumed contestants and a studio audience
The trading floor of Let’s Make a Deal. The real host could offer cash, change the deal or offer nothing at all. ABC Television, public domain.

Monty Hall understood this better than the mathematicians. In 1991, with the controversy at its height, a reporter from the New York Times visited him at home in Beverly Hills, and Hall played the game across his dining table with three miniature doors and a set of car keys. Under the textbook rules, switching won two times in three, just as vos Savant said. Then Hall started playing it his way: offering cash not to switch, or opening the contestant’s door at once when it hid a goat, with no second chance at all. The reporter stopped winning. On the real show, Hall explained, the host was never a neutral machine. He was a man trying to make good television.

So the practical lesson has two halves. In the puzzle, switch. In life, before you take a deal that looks mathematically favourable, ask why it is being offered. Economists know the same trap from auctions, where it is called the winner’s curse: the bidder who wins is very often the one who most overestimated what the prize was worth, and the fact that nobody outbid you is itself a piece of information.

7 The mind

Why clever people get it wrong

In controlled experiments, only about one person in eight switches the first time they meet the problem. Training in mathematics barely helps. Something about this puzzle walks straight past the defences of intelligent people.

Psychologists point to a few habits. One is the rule of thumb that n unknown options are each worth one in n: two doors left, so a half each. It is a good rule when the options are interchangeable and a bad one when they have different histories, as these two doors do. Another is that we hate losing by our own hand. A contestant who switches away from the car feels far worse than one who stays and loses, so staying feels safer even when it is not. A third is that we treat the host’s move as scenery. We see a door open and do not ask who opened it, or what he was forbidden to do.

The most humbling experiment was run with pigeons. In 2010 Walter Herbranson and Julia Schroeder gave birds a three-key version of the game, with grain as the car, and let them play day after day. Within a month the pigeons were switching on about 96% of trials. Students given the same task for two hundred rounds improved far less. The birds did not reason their way to the answer. They simply kept count of what paid off and were not too proud to follow the numbers.

There is a kind of mathematics that rewards cleverness and a kind that rewards obedience to the count. Probability is the second kind. That is why the scene in the film 21 works so well: the student who gets it right does not have a flash of insight. He just refuses to let the opened door change what he knew when he chose.

8 The family

An old puzzle in a new costume

The Monty Hall problem was not new in 1975. It is the youngest member of a family of puzzles that are all the same puzzle, and all of them fool people in the same way.

The oldest is Bertrand’s box, from 1889. Three boxes hold two gold coins, two silver coins, and one of each. You draw a gold coin from a box chosen at random. What is the chance the other coin in that box is gold? Not a half. Two thirds, for the same reason: the gold coin you are holding was twice as likely to come from the box with two (two of the three gold coins in the game live in that box).

In 1959 Martin Gardner gave readers of Scientific American the Three Prisoners. One of three prisoners will be pardoned. Prisoner A persuades the guard to name one of the other two who will not be. The guard says B. A decides his chances have risen from a third to a half. They have not. They are still a third, and the unnamed prisoner C now has two thirds. Replace the pardon with a car and the guard with a host and you have Selvin’s puzzle, sixteen years early.

1889Joseph Bertrand publishes his box paradox: three boxes, gold and silver coins, and the same hidden 2/3.
1959Martin Gardner prints the Three Prisoners problem in Scientific American. It is Monty Hall in a prison cell.
1963Let’s Make a Deal goes on the air on NBC, with Monty Hall as host.
1975Steve Selvin poses the puzzle in The American Statistician and, in a second letter, names it.
1990Marilyn vos Savant answers it in Parade. About 10,000 readers write in, most of them to say she is wrong.
1991The New York Times puts the argument on its front page, and Monty Hall plays the game at his dining table.
1995Paul Erdős finally accepts the answer after watching a computer simulation of the game.
2010Pigeons given the same choice learn to switch almost every time. Students in the same study do not.

What all these puzzles teach is the same small, hard lesson: new information does not spread itself evenly over the possibilities that remain. It lands where the process that produced it sends it. Mathematics is full of results that offend intuition in this way, from the fact that 0.999… is exactly 1 to a horn with finite volume and infinite surface. Its closest cousin is the birthday paradox, where 23 people are enough for a shared birthday. The Monty Hall problem is the most democratic of them. It needs no calculus and no infinity, only three doors, and it has humbled more experts than any of the others.

Behind door number four

Six books worth switching to

On this puzzle, on the people who fought over it and on thinking clearly about chance. For more of the same, see the Abakcus list of the best probability and statistics books.

Cover of The Monty Hall Problem by Jason Rosenhouse

Start here

The Monty Hall Problem

Jason Rosenhouse · Oxford University Press

The definitive book on the puzzle: its history, the vos Savant affair, the psychology, and dozens of variations from the easy to the fiendish, including the ones on this page. Written by a mathematician who clearly had fun.

See it on Amazon

As an Amazon Associate, Abakcus earns from qualifying purchases. Links above are affiliate links.

? Questions

The Monty Hall problem, briefly

What is the Monty Hall problem?

It is a probability puzzle based on the American game show Let's Make a Deal. A contestant picks one of three doors, one hiding a car and two hiding goats. The host, who knows where the car is, opens one of the other two doors to reveal a goat and offers the contestant the chance to switch to the remaining door. The question is whether switching helps.

Should you switch or stay in the Monty Hall problem?

Switch. Staying wins the car one time in three, and switching wins two times in three. Your first pick is right only 1/3 of the time, and the host's reveal does not change that. In the other 2/3 of games your first pick is a goat, the host is forced to show the other goat, and the remaining door has the car.

Why is it not 50/50 when two doors are left?

Because the two doors did not get there by the same route. Your door was chosen blindly from three. The other door was left closed by a host who knows where the car is and is not allowed to open it. That extra information favours the other door. Two options are only equally likely when nothing distinguishes them, and here something does.

Does the answer change if the host does not know where the car is?

Yes. If the host opens a door at random and it just happens to show a goat, the two remaining doors really are 50/50 and switching makes no difference. The 2/3 advantage depends on three rules: the host always opens a door, always reveals a goat, and always offers the switch.

Who first posed the Monty Hall problem?

The statistician Steve Selvin posed and solved it in a letter to The American Statistician in 1975, and named it after the host of Let's Make a Deal in a follow-up letter the same year. It became famous in September 1990, when Marilyn vos Savant answered it in her Parade magazine column and received about 10,000 letters, most of them telling her she was wrong.

What happens with 100 doors?

The logic becomes obvious. You pick one door out of 100, and the host opens 98 of the others, all goats, leaving one closed. Your door still has the 1 in 100 chance it started with, so the other door has the car 99 times in 100. With n doors, switching wins with probability (n − 1)/n.

Sources

  • Steve Selvin, “A Problem in Probability” and “On the Monty Hall Problem”, letters to the editor, The American Statistician 29 (1975).
  • Marilyn vos Savant, “Ask Marilyn”, Parade, 9 September 1990, and The Power of Logical Thinking (St. Martin’s Press, 1996).
  • John Tierney, “Behind Monty Hall’s Doors: Puzzle, Debate and Answer?”, The New York Times, 21 July 1991.
  • Jason Rosenhouse, The Monty Hall Problem (Oxford University Press, 2009).
  • Paul Hoffman, The Man Who Loved Only Numbers (Hyperion, 1998), for Erdős and Vázsonyi.
  • Walter T. Herbranson and Julia Schroeder, “Are Birds Smarter Than Mathematicians?”, Journal of Comparative Psychology 124 (2010), 1–13.
  • Donald Granberg and Thad A. Brown, “The Monty Hall Dilemma”, Personality and Social Psychology Bulletin 21 (1995), 711–723.
  • Martin Gardner, “Mathematical Games”, Scientific American, October 1959.

Beyond Euclid

Liked this? Get one like it every week.

One email a week, handpicked by Ali. 240 issues so far, free.