The Monty Hall Problem is a famous problem where there are three doors, one prize hidden behind a door and two goats behind the others. You select a door and two thirds of the time you get it wrong, naturally. But before the reveal, the host then decides to reveal a goat from behind a door that you’ve not chosen. Then the option comes your way, whether to change your original selection or keep it. You might assume that when one goat is eliminated, that it’s now reduced to a 50-50 and so it’s kinda inconsequential whether you cnange or not. But that’s not true and not very intuitive.
The original question posed was
Suppose you’re on a game show, and you’re given the choice of three doors: Behind one door is a car; behind the others, goats. You pick a door, say No. 1, and the host, who knows what’s behind the doors, opens another door, say No. 3, which has a goat. He then says to you, “Do you want to pick door No. 2?” Is it to your advantage to switch your choice?
To game it out, let’s show the doors 1, 2 and the known goat.
The frustrating answer, that I’ve never found satisfying is that if you have a 1/3 chance of getting it right, then there’s a 2/3 chance of it being behind doors 2 or 3. Therefore, when door 3 is eliminated, then door 2 inherits the two thirds of change and so this choice is better than 50-50. Let’s model this though, because I don’t like it.
A Monte Carlo to solve Monty Hall
I don’t think there’s anything in my life which I believe without a good old Monte Carlo simulation to show me the light. On this table, it shows a random door selected, a random prize door, the door revealed, and if you would have won if you switched or not.
| Index | Selected Door | Prize Door | Revealed Door | Switched To Door | Switched Wins | Remain Wins |
|---|---|---|---|---|---|---|
| 1 | 1 | 1 | 2 | 3 | 0 | 1 |
| 2 | 2 | 2 | 1 | 3 | 0 | 1 |
| 3 | 3 | 3 | 1 | 2 | 0 | 1 |
| 4 | 3 | 1 | 2 | 1 | 1 | 0 |
| 5 | 1 | 3 | 2 | 3 | 1 | 0 |
| 6 | 2 | 3 | 1 | 3 | 1 | 0 |
| 7 | 2 | 2 | 3 | 1 | 0 | 1 |
| Total 10,000 | 6,619 (66.2%) | 3,381 (33.8%) |
By graphing all of the results out to 10,000 repetitions, it very comfortably converges to 66%. Feel free to access the raw data here: https://elliotlewis.site/wp-content/uploads/2026/11/Monty-Hall-Monte-Carlo.csv

Still don’t believe me?
That’s fine, it’s an odd thought to think that two options (remain or switch) for something you have no data about is anything but a 50-50. So let’s put forward all of the combinations of solutions.
| Door 1 (Selected) | Door 2 | Door 3 | Result if Switch | Result if Remain |
|---|---|---|---|---|
| Goat | Goat (reveal) | Prize | Win | Lose |
| Goat | Prize | Goat (reveal) | Win | Lose |
| Prize | Goat | Goat | Lose | Win |
Note that if you select Door 2, it doesn’t matter, you just shuffle the table around.
My last proof
Okay, let’s work this out backwards. How can you lose? If you are a switcher, the only way to lose is by selecting the prize door. That is, the only choice to switch to is a goat. Therefore, you only have a 1/3 chance of selecting the prize in the first place. So if you don’t select the prize, it is a given to you will get the prize (because the prize will not be revealed and you only option is to take the prize when you switch).
Did you get it in the end? Which proof got you there?
Leave a Reply