Three Prisoners problem

Three Prisoners problem

The Three Prisoners Problem appeared in Martin Gardner's Mathematical Games column in Scientific American in 1959 [Gardner, Martin (1959a). "Mathematical Games" column, "Scientific American", October 1959, pp. 180–182.] [Gardner, Martin (1959b). "Mathematical Games" column, "Scientific American", November 1959, p. 188.] . It is mathematically equivalent to the Monty Hall problem with "car" and "goat" replaced with "freedom" and "execution" respectively.

There are three prisoners scheduled to be executed, "A", "B", and "C", although one will be pardoned. "A" asks the warden to tell him the name of one of the others who will be executed. As the question is not directly about "A"'s fate, the warden obliges—secretly flipping a coin to decide which name to give "A" if "A" is the one being pardoned. Assuming the warden's truthfulness, there are now only two possibilities for who will be pardoned: "A", and whichever of "B" or "C" the warden did not name. Did "A" gain any information as to his own fate, that is, does he change his estimate of the chances he will be pardoned? To make the analogy to the Monty Hall problem more explicit: if the warden says "B" will be executed" and "A" could switch fates with "C", should he?

Solution

The answer is he didn't gain information about his own fate, but he should switch with "C" if he can. Prisoner "A", prior to hearing from the warden, estimates his chances of being pardoned as 1/3, the same as both "B" and "C". If the warden says "B" will be executed, it's either because "C" will be pardoned (1/3 chance) or both "A" will be pardoned (1/3 chance) and the "B"/"C" coin the warden flipped came up "B" (1/2 chance for a total of a 1/6 chance). Hence, after hearing who will be executed, "A" estimates his own chances of being pardoned as half that of whoever the warden didn't name, which means his chances of being pardoned remain 1/3 but whoever between "B" and "C" is not being executed has a 2/3 chance of being pardoned. Concerning switching fates, if the warden says "B" will be executed" and "A" wants to live, he's better off switching fates with "C".

Some may argue that this is not equivalent to the Monty Hall problem, pointing to the fact that the player in that game decides for himself which door to initially select and is given a subsequent opportunity to switch, whereas the prisoner to be pardoned has already been selected and cannot affect his fate.

However this criticism is incorrect because "A" has a choice as to how to set his own expectations. Should he be more or less worried about his future after hearing the warden? Or, putting it another way, if he had to choose between keeping his fate the way it is after hearing the warden's response, or try to switch it with that of the other prisoner whose destiny is still unknown, should he?

Aids to understanding

As with the Monty Hall Problem, it may be useful to see this problem from alternative viewpoints for better understanding.

Bayesian analysis

An analysis using Bayesian probability theory begins by expressing the problem in terms of statements, or propositions, that may be true or false. Its goal is to compute the "probability" of these propositions, a number P, measuring our confidence in their truth. The problem at hand concerns propositions of the form:

:F_x, : "x" will be pardoned", for "x" equal to "A", "B" or "C".

:W_{yz}, : "Replying to "y", the warden states that "z" is executed", for "y" and "z" equal to "A", "B" or "C".

For example, F_A, denotes the proposition "A" will be pardoned", and W_{AB}, denotes the proposition "Replying to "A", the warden states that "B" is executed". In this context, "being pardoned" is the negative of "to be executed".

The rules of the game, collectively denoted by I,, impose the following constraints on the probability of such propositions. First, the three prisoners have, "a-priori", the same chance of being pardoned, hence the prior probability of F_x, is:

:P(F_x | I),= frac13 .

Second, the warden is truthful, and will always name as executed a prisoner other than the one questioning him. If he has a choice of two such prisoners, they are equally likely to be named in his response. This rule concerns the conditional probability of a proposition W_{yz},, conditioned on a proposition F_x, as well as the game rules:

Now assume, by renaming the prisoners if necessary, that "A" is the one questioning the warden, and "B" the one the warden names as executed. After the warden's reply, "A" 's opinion about his chances of being pardoned are expressed by the posterior probability P(F_A | W_{AB},,I). Using Bayes' theorem this is expressed as:

: P(F_A|W_{AB},,I) = frac{P(W_{AB}| F_A,,I) , P(F_A | I)}{P(W_{AB} | I)} .

By the rules stated above, the numerator of the right-hand side is:

:P(W_{AB}| F_A,,I) , P(F_A | I) = frac12 imes frac13 = frac16 .

The normalizing constant at the denominator can be evaluated by expanding it using the definitions of marginal probability and conditional probability:

:egin{array}{lcl}P(W_{AB}|I) &{}= &P(W_{AB},,F_A | I) + P(W_{AB},,F_B|I) + P(W_{AB},,F_C|I) \ &{}= &P(W_{AB}|F_A,,I) , P(F_A|I), + \ &&P(W_{AB}|F_B,,I) , P(F_B|I), + \ &&P(W_{AB}|F_C,,I) , P(F_C|I) \ &{}= &{displaystyle frac12 imes frac13 + 0 imes frac13 + 1 imes frac13} = {displaystylefrac12 .}end{array}

Dividing the numerator by the normalizing constant yields:

:P(F_A|W_{AB},,I) = frac16,/,frac12 = frac13 .

As the value of the posterior probability is equal to the prior one, this shows that the warden has given no additional information concerning "A" 's fate . Further, since "B" is executed, it is P(F_B | W_{AB},,I) = 0. Hence the chances that "C" is to be pardoned are, in "A" 's opinion,

:{displaystyle P(F_C | W_{AB},,I) = 1 - P(F_B | W_{AB},,I) - P(F_A|W_{AB},,I) = 1 - 0 - frac13 = frac23}.

Therefore "A" must judge it safer to try switch his fate with "C" 's.

Enumeration of possible cases

Consider the following six scenarios:
# a B C [B]
# a B C [C]
# A b C [C]
# A b C [C]
# A B c [B]
# A B c [B] This diagram is to be read as follows: Lowercase is for the prisoner being pardoned, while a capital letter means capital punishment. Between brackets is the name of the prisoner being executed as revealed by the warden when A asks. So if A himself will be pardoned, the warden can either answer with B or C, in this case choosing at random, so that both answers have 50% chance (cases 1 and 2). When B is to be pardoned, of course he only can answer with C (cases 3 and 4). Likewise, when C is to live, the answer must be B (cases 5 and 6). Note that cases 3 and 4 are equal, and so are cases 5 and 6; they still are mentioned because in this way all 6 scenarios have an equal chance (1/6) of occurring.

It is now clear that if the warden answers B to A, (which he will do in 3 out of the 6 cases), in one of them A will live, in two of them C will live. Is C now suddenly twice as likely to live as A? Yes, if considered from those 3 cases only. But they are only half of the truth: in the other 3 cases, when the warden answers C, it is B who is twice as likely to live than A. In other words, if the executions were changed into torture to be repeated every day on two prisoners only, chosen at random, and A asked the warden every day, then in 50% of the cases he would find (when B is the answer) 1 chance for him to avoid suffering, zero for B and 2 for C, and in 50% (with C the answer) 1 for him, 2 for B, and zero for C. So it remains on the average for each of them 2 out of 6.

The wording of the question throws things off considerably. Instead, consider if you had to choose to be one of the prisoners, A B or C (in a way like the Monty problem). If you were to pick at first, (A, B or C), you would have a 2/3rd chance of dying. On the other hand, if you pick after the warden "removed" one of the choices (e.g. B), you would have a 2/3 chance of dying if you picked A but only a 1/3 chance if you picked C.

Why the paradox?

The tendency of people to provide the answer 1/2neglects to take into account the querythat the warden was asked. Had the query been:"Will B be executed?" then the warden's answer"Yes, B will be executed" would indeed resultin a probability 1/2 for A's death. Judea Pearl(1988) [Pearl, J. "Probabilistic Reasoning in Intelligent Systems: Networks of Plausible Inference", San Mateo, CA: Morgan Kaufmann Publishers, Inc., First Edition, 1988.] used a variant of this example to demonstrate thatbelief updates must depend not merely on thefacts observed but also on the experiment (i.e., query) that led to those facts.

References


Wikimedia Foundation. 2010.

Игры ⚽ Нужно сделать НИР?

Look at other dictionaries:

  • three prisoners, paradox of — There are three prisoners, Archie, Bertha, and you, in the unfortunate situation of knowing that two of you will be executed in the morning. In the night you ask the guard if he can give you the name of one of the others who will be executed.… …   Philosophy dictionary

  • Monty Hall problem — In search of a new car, the player picks a door, say 1. The game host then opens one of the other doors, say 3, to reveal a goat and offers to let the player pick door 2 instead of door 1. The Monty Hall problem is a probability puzzle loosely… …   Wikipedia

  • Three strikes law — Three strikes laws are statutes enacted by state governments in the United States which require the state courts to hand down a mandatory and extended period of incarceration to persons who have been convicted of a serious criminal offense on… …   Wikipedia

  • Prisoners and hats puzzle — The prisoners and hats puzzle is an induction puzzle (a kind of logic puzzle) that involves reasoning about the actions of other people, drawing in aspects of Game theory. There are many variations, but the central theme remains the same. Not to… …   Wikipedia

  • Prisoners in the American Revolutionary War — During the American Revolutionary War (1775 1783) the management and treatment of prisoners of war (POW) was very different from the standards of modern warfare. Modern standards, as outlined in the Geneva Conventions, expect captives to be held… …   Wikipedia

  • Monty Hall problem — A decision problem associated with the American television game show host Monty Hall. Contestants are shown three closed curtains. Behind one is a prize, behind the other two are lemons. They pick a curtain. Monty Hall (who knows where the prize… …   Philosophy dictionary

  • World War I prisoners of war in Germany — The situation of World War I prisoners of war in Germany is an aspect of the conflict little covered by historical research. However, the number of soldiers imprisoned reached a little over seven million [Jochen Oltmer estimates a figure between… …   Wikipedia

  • Scotland in the Wars of the Three Kingdoms — Infobox Military Conflict conflict=Scotland in the Wars of the Three Kingdoms partof=the Wars of the Three Kingdoms date=1644 mdash;1650 place=Scotland casus=Conflict between Covenanters and Royalists, supporters of Charles I result=Covenanters… …   Wikipedia

  • Winx Club (season three) — The third season of the Winx Club made its debut in the USA on September 30, 2006 through September 22, 2007 on the 4Kids Entertainment block. As of the 30th of March, season 3 has finished its run on Rai 2 in Italy, As of the 6th of August,… …   Wikipedia

  • List of mathematics articles (T) — NOTOC T T duality T group T group (mathematics) T integration T norm T norm fuzzy logics T schema T square (fractal) T symmetry T table T theory T.C. Mits T1 space Table of bases Table of Clebsch Gordan coefficients Table of divisors Table of Lie …   Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”