Monty Hall Problem
An application of Bayes' rule (see Conditional ProbabilityThe conditional probability P(E|F) = P(E and F)/P(F) updates the probability of E after learning that F occurred; it is itself a probability measure and yields the multiplication formula for intersections.Conditional Probability →).
The problem
A classic TV show ("Let's make a deal"). At the end of the show the contestant is presented with a room with 3 doors. Behind one door there is a sports car, behind the other two there are trifling prizes. The contestant is asked to choose one door. Then Monty Hall, the show host, who knows exactly where the car is, opens a door behind which there is a trifling prize. At this point the contestant is given the opportunity to change his choice of door, and only after he makes this final choice is the door opened to reveal whether he has won the car.
Question: is it better to change door, to stick to the initial choice, or are the two choices equivalent in terms of winning chances?
Solution
Let be the three doors. Define the events
- = "the car is behind door ", ;
- = "Monty opens door ".
Assumptions:
- the car is behind each of the three doors with probabilities ;
- if the contestant's first choice is the door behind which the car is hidden, Monty opens one of the other two doors with probabilities ;
- by the symmetry of the problem we may assume that the contestant's first choice is door 1 and that Monty opens door 3.
To decide whether it is convenient to change the chosen door one must compare Clearly (Monty does not open the door hiding the car), therefore and add up to .
By Bayes' rule and the law of total probability: The last term in the denominator is because . Moreover (the car is behind door 2 and the contestant chose door 1, so Monty must open door 3), while . Hence
Conclusion: it is always much better to change door.
Versione ripasso
- Events: = car behind door (each with probability ); = Monty opens door . By symmetry: contestant picks door 1, Monty opens door 3.
- Compare and ; so the two add up to 1.
- Likelihoods: , , .
- Bayes: , so . Always switch.
- Typical mistake: forgetting that Monty knows where the car is, so and not .