Quote:
Originally Posted by Klyka
In a prison, there are three men on death row. Let's call them A, B and C. As an act of mercy, the warden decides to release two of them. Without the participation of the prisoners, a lottery is held to determine which ones will be released, where all three prisoners are given equal chances. However, the warden wants to let the prisoners sweat for some time, so he decides not to tell them which one will be executed until next week.
However, when visiting prisoner A, the warden is persuaded to at least name one other prisoner that will be released. However, he doesn't remember the result of the lottery, so he walks back to his office in order to look it up.
On the way there, he decides that if prisoner A is to be executed and B and C are to be released, he will pick one of B and C with 1/2 probability each, and name that one to prisoner A. If prisoner A is to be released, he will simply name the other prisoner to also be released.
Coming back to prisoner A's cell, the warden says "Prisoner C will be released".
Question: What are the chances of each prisoner to be executed?
I've got the answer right by intuition pretty easily. Getting the formulas took me a bit longer, as I mixed things up. I still haven't found out how to solve this with set theory, so I would be very interested in seeing how that can be done.
But of course, please post your solutions, no matter how you arrive at them.
This is nothing more than the Monty Hall problem which has been discussed here countless times. I have actually asked this prisoner version of the problem, only with 7 prisoners.
Method 1:
A's chances of being executed from the beginning were 1/3, and this does not change upon learning the identity of one of the released prisoners. Therefore the probability that B is executed accounts for the remaining 2/3.
Method 2:
2 cases are possible:
a) B will be executed, in which case the guard had no choice but to tell prisoner C's fate (probability 1),
or
b) A will be executed, in which case the guard chose C randomly between B and C (probability 1/2).
The second case is half as likely as the first, therefore B is a 2:1 favorite to be executed (probability 2/3) while A will be executed with probability 1/3 as we said before.
Method 3:
This is really the same as method 2, but with the equations of Bayes' theorem worked out explicitly.
P(x | y) = the probability of event x occurring GIVEN the occurrence of event y.
Let A = event that A will be executed,
Let B = event that B will be executed
Let C = event that GUARD SAYS "C will be released"
By the definition of conditional proability we have:
P(A | C) = P(C and A) / P(C)
P(A | C) = P(C and A) / [ P(C and A) + P(C and B)]
By Bayes' therorem:
P(A | C) = P(C | A)*P(A) / [ P(C | A)*P(A) + P(C | B)*P(B) ]
P(A | C) = (1/2)*(1/3) / [ (1/2)*(1/3) + (1)*(1/3) ]
P(A | B) = (1/6) / (1/6 + 1/3)
P(A | B) = 1/3
So A is executed with probability 1/3, and B is executed with probability 2/3.