72
$\begingroup$

I was watching the movie 21 yesterday, and in the first 15 minutes or so the main character is in a classroom, being asked a "trick" question (in the sense that the teacher believes that he'll get the wrong answer) which revolves around theoretical probability.

The question goes a little something like this (I'm paraphrasing, but the numbers are all exact):

You're on a game show, and you're given three doors. Behind one of the doors is a brand new car, behind the other two are donkeys. With each door you have a $1/3$ chance of winning. Which door would you pick?

The character picks A, as the odds are all equally in his favor.

The teacher then opens door C, revealing a donkey to be behind there, and asks him if he would like to change his choice. At this point he also explains that most people change their choices out of fear; paranoia; emotion and such.

The character does change his answer to B, but because (according to the movie), the odds are now in favor of door B with a $1/3$ chance of winning if door A is picked and $2/3$ if door B is picked.

What I don't understand is how removing the final door increases the odds of winning if door B is picked only. Surely the split should be 50/50 now, as removal of the final door tells you nothing about the first two?

I assume that I'm wrong; as I'd really like to think that they wouldn't make a movie that's so mathematically incorrect, but I just can't seem to understand why this is the case.

So, if anyone could tell me whether I'm right; or if not explain why, I would be extremely grateful.

  • 0
    Ah probability! You can easily understand this by assuming there are a 100 doors instead of three. You choose a door, then the person opens all the other doors, except the one you chose and another one. Do you switch now or not ?2018-09-18

12 Answers 12

85

This problem, known as the Monty Hall problem, is famous for being so bizarre and counter-intuitive. It is in fact best to switch doors, and this is not hard to prove either. In my opinion, the reason it seems so bizarre the first time one (including me) encounters it is that humans are simply bad at thinking about probability. What follows is essentially how I have justified switching doors to myself over the years.

At the start of the game, you are asked to pick a single door. There is a $1/3$ chance that you have picked correctly, and a $2/3$ chance that you are wrong. This does not change when one of the two doors you did not pick is opened. The second time is that you are choosing between whether your first guess was right (which has probability $1/3$) or wrong (probability $2/3$). Clearly it is more likely that your first guess was wrong, so you switch doors.

This didn't sit well with me when I first heard it. To me, it seemed that the situation of picking between two doors has a certain kind of symmetry-things are either behind one door or the other, with equal probability. Since this is not the case here, I was led to ask where the asymmetry comes from? What causes one door to be more likely to hold the prize than the other? The key is that the host knows which door has the prize, and opens a door that he knows does not have the prize behind it.

To clarify this, say you choose door $A$, and are then asked to choose between doors $A$ and $B$ (no doors have been opened yet). There is no advantage to switching in this situation. Say you are asked to choose between $A$ and $C$; again, there is no advantage in switching. However, what if you are asked to choose between a) the prize behind door $A$ and b) the better of the two prizes behind door $B$ and $C$. Clearly, in this case it is in your advantage to switch. But this is exactly the same problem as the one you've been confronted with! Why? Precisely because the host always opens (hence gets rid of) the door that you did not pick which has the worse prize behind it. This is what I mean when I say that the asymmetry in the situation comes from the knowledge of the host.

  • 0
    @AlexBecker you cannot state that "the host always opens the door that you did not pick which has the worse prize behind it" this information is not present in the question nor in the movie. I agree with the answer of Robbie, the movie is stating the Monty Hall paradox in the wrong way. In particular, if you watch the movie the teacher says "the host **decides** to open another door".2017-01-14
64

To understand why your odds increase by changing door, let us take an extreme example first. Say there are $10000$ doors. Behind one of them is a car and behind the rest are donkeys. Now, the odds of choosing a car is $1\over10000$ and the odds of choosing a donkey are $9999\over10000$. Say you pick a random door, which we call X for now. According to the rules of the game, the game show host now opens all the doors except for two, one of which contains the car. You now have the option to switch. Since the probability for not choosing the car initially was $9999\over10000$ it is very likely you didn't choose the car. So assuming now that door X is a goat and you switch you get the car. This means that as long as you pick the goat on your first try you will always get the car.

If we return to the original problem where there are only 3 doors, we see that the exact same logic applies. The probability that you choose a goat on your first try is $2\over3$, while choosing a car is $1\over3$. If you choose a goat on your first try and switch you will get a car and if you choose the car on your first try and switch, you will get a goat. Thus, the probability that you will get a car, if you switch is $2\over3$ (which is more than the initial $1\over3$).

  • 1
    Better explanation than tselected answer.2017-07-16
12

It's simple: switching allows you to pick 2 out of the 3 doors. Choosing door number 1 and then always switching, is the equivalent of saying "door number 2 or door number 3, but NOT door number 1". When you look at it that way, you should see that you have a 2/3 chance of being right, and that the opening of a door simply confirms which door it must be if you are right.

Increase the number of doors and it should become even more obvious that saying "door 2 or 3 or 4 or 5 or ..., but not 1" is the right way to bet. You have an $1-1/x$ chance of being right, and a $1/x$ chance of being wrong.

9

Let us use some theory here. Lets call the doors $0, 1, 2,$ and the right door $D$. $P(D=0)=P(D=1)=P(D=2)=\frac13$ $D$ is random. Now let us call the door we choose $C$. $C$ is not random. Without loss of generality, let $C=0$. Also we have $R$, the revealed door, which is random. Since the person won't reveal the right door or the one you choose, $R \neq C$ and $R \neq D$. Since we know $C$, without knowledge of $D$ we have: $P(R=1)=P(R=2)=\frac12$ Let us say, without loss of generality, we get the information $R=2$. Then what we are looking for is $P(D=1|R=2)$. $\frac{P(D=1 \wedge R=2)}{P(R=2)}$ $\frac{P(R=2|D=1)P(D=1)}{\frac12}$ Now, $P(R=2|D=1)=1$, since $R$ can't be 0 or 1, since those are already taken by $C$ and $D$. $\frac{1 \cdot \frac13}{\frac12}$ So the answer is: $\frac23=66.\overline6 \%$.

8

The movie 21 didn't state the riddle correctly. The movie failed to state the rules governing how the game show host will behave.

Assuming the riddle in the movie follows the "Monty Hall Problem" as described on Wikipedia there a few critical assumptions the movie failed to mention:

1) the host must always open a door that was not picked by the contestant 2) the host must always open a door to reveal a goat and never the car 3) the host must always offer the chance to switch between the originally chosen door and the remaining closed door.

Knowings the rules it makes the riddle much easier to understand. Many of the explanations above will suffice and Wikipedia has a good explanation.

The problem is that the movie failed to state these critical assumptions.

  • 0
    Yea, the movie gets this crucial description wrong. Kevin Spacey asks why the student doesn't worry that the host is playing a trick on him ("reverse psychology") since the host knows where the cars is. Indeed, if the host is allowed to choose to open a door *conditional* on whether the player initially picked the right door (which violates the key assumptions augurar identifies) then the player can be wrong. For instance if the host reveals a door only when the player initially chooses correctly, and the player always switches when offered the chance, then the player never wins.2017-05-14
7

The person who changes his choice will win if and only if his first choice was wrong, and there is a probability of $\frac{2}{3}$ on that.

The person who does not change his choice will win if and only if his first choice was right. There is a probability of $\frac{1}{3}$ on that.

6

Merely knowing that the teacher showed a losing door does not provide any information unless one knows how the correctness of one's initial answer would influence the likelihood of the teacher showing the losing door. Consider the following four possible "strategies" for the teacher:

  1. The host knows where the prize is, wants the contestant to lose, and will show an empty door only if the contestant had picked the one with the prize [if the contest already picked a wrong door, the host would reveal either the contestant's door or the one with the prize].

  2. The host knows where the prize is, wants the contestant to win, and will show an empty door only if the contestant had picked the other empty door [if the contestant had already picked the right door, the host would simply show it].

  3. The host knows where the prize is, and will always show an empty door [the empty door if the contestant's initial guess was wrong, or an arbitrarily-selected empty door if it was right].

  4. The host picks a door at random; if it contains the prize, the contestant loses; otherwise, the contestant is allowed to switch to the other unseen door.

In the first two scenarios, the host's decision to show or not show an empty door will indicate to anyone who knows the host's strategy whether the player's guess was right or not. In the third scenario, the host's decision to offer a switch provides no information about whether the contestant's initial guess was right, but converts the 2/3 probability that the contestant's initial guess was wrong into a 2/3 probability that the prize is under the remaining door.

To evaluate the last scenario intuitively, imagine that the host draws an "X" on the player's door, flips a coin to pick a door at random and draws an "Y" on it, and finally draws a "Z" on the remaining door. If neither the host nor player has any clue as to where the prize is, doors 1, 2, and 3 will each have an equal probability of holding the prize, and the marking of letters X, Y, or Z by people who have no idea where the prize is don't change that. If the host asks the player if he'd like to switch to Z before anyone knows what's under Y, the decision will be helpful 1/3 of the time, harmful 1/3 of the time, and irrelevant 1/3 of the time. If door Y is shown to be empty, the irrelevant case will be eliminated so of the cases that remain, the other two will have 1/2 probability each.

Note: Many discussions of the "Monty Hall Paradox" assume that the host uses strategy #3, but fail to explicitly state that fact. That assumption is critically important to assessing the probability that a switch will be a winning move, since without it (depending upon the host's strategy) the probability of the prize being under the remaining door could be anything from 0% to 100%. I don't know the strategy used by the real-life game-show host for whom the "paradox" is named, but am pretty certain I've seen players revealed as winners or losers without being given a chance to switch, implying that while Monty Hall might sometimes have used strategy #3, he did not do so consistently [the normal arguments/proofs would hold if the host's decision of whether or not the player would be shown an empty door and allowed to switch was made before the player selected his door, but I have no particular reason to believe Monty Hall did things that way].

3

Suppose you and your brother play simultaneously .You and he always choose the SAME door to start. You NEVER switch,so after your initial choice you go out for a coffee and come back after all 3 doors are open. Your chance of winning is unaffected by what happens in between.It's 1/3. Your brother ALWAYS switches. EVERY TIME YOU LOSE,HE WINS. YOU LOSE 2/3 OF THE TIME.

2

Rather than looking at the player, I prefer to explain the paradox from the host's standpoint, as this only involves one step.

As the player gets one door, the host gets two. There are 3 possibilities with the same probability:

  • donkey-donkey => leaves a donkey after a door is open
  • car-donkey => leaves the car
  • donkey-car => leaves the car

So in two cases out of three the door that the host leaves closed hides the car.

1

The tip I've come up with to explain this problem is that you need to consider that the doors AREN'T RANDOMIZED after Monty deletes the door that is wrong. This means that although the probabilities the two remaining choices have of being correct add up to 1, the two probabilities aren't the same as before. It is wrong to state that because they had equal probabilities before, 1/3 each, they should have equal probabilities after Monty's deletion. The doors are randomized in the beginning when you have three doors, which is why you can say that each option has and equal chance of being right. However, after Monty deletes the wrong door from the other doors which you did not pick, now you are left with the probability that the door you picked is right of 1/3, and the probability that the other door is right, which is also equal to the probability that you chose the wrong door of (1/3 + 1/3 = 2/3). Well, those are my 2 cents, and I hope it helps!