Lies, Lies

There are three prisoners in a prison. Prisoner 1 tells the truth 20 20 % of the time and lies the rest of the time, Prisoner 2 tells the truth or a lie with equal probability, and Prisoner 3 tells the truth 9 10 \dfrac{9}{10} of the time, and lies the rest. You decide to play a game. You arrange the prisoners in a line like so: Prisoner 1 , Prisoner 2 , Prisoner 3 {\text{Prisoner 1}, \text{Prisoner 2}, \text{Prisoner 3}} . You go down the line, starting from Prisoner 1, and ask each of them a question. Whenever a prisoner tells the truth, you let them go, until only one remains. When the probability that Prisoner 1 is let go is expressed as a fraction in the form a b \dfrac{a}{b} for coprime positive integers a a and b b , what is the value of a + b a+b ?


The answer is 247.

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

2 solutions

Josh Speckman
Sep 7, 2014

Let us have 3 cases: Case 1: Prisoner 1 is let go first Case 2: Prisoner 2 is let go first, Prisoner 1 is let go second Case 3: Prisoner 3 is let go first, Prisoner 1 is let go second

Clearly, the sum of the probabilities of all 3 of these cases will yield the answer.

The probability of Case 1 is 0.2 + 0.8 0.5 0.1 0.2 + 0.8 0.5 0.1 0.8 0.5 0.1 0.2 + = 0.2 1 0.04 = 20 96 = 5 24 0.2 + 0.8 \cdot 0.5 \cdot 0.1 \cdot 0.2 + 0.8 \cdot 0.5 \cdot 0.1 \cdot 0.8 \cdot 0.5 \cdot 0.1 \cdot 0.2 +\cdots = \dfrac{0.2}{1 - 0.04} = \dfrac{20}{96} = \dfrac{5}{24} .

Case 2 has two parts. The probability that Prisoner 2 is let go first is 0.4 0.96 = 40 96 = 5 12 \dfrac{0.4}{0.96} = \dfrac{40}{96} = \dfrac{5}{12} , and the probability that Prisoner 1 is let go after that is 0.1 0.2 + 0.1 0.8 0.1 0.2 + = 0.02 0.92 = 2 92 = 1 46 0.1 \cdot 0.2 + 0.1 \cdot 0.8 \cdot 0.1 \cdot 0.2 + \cdots = \dfrac{0.02}{0.92} = \dfrac{2}{92} = \dfrac{1}{46} , and the probability of Case 2 is 5 12 1 46 = 5 552 \dfrac{5}{12} \cdot \dfrac{1}{46} = \dfrac{5}{552} .

Case 3 also has two parts. The probability that Prisoner 3 is let go first is 0.36 0.96 = 3 8 \dfrac{0.36}{0.96} = \dfrac{3}{8} , and the probability that Prisoner 1 is let go after that is 0.2 + 0.8 0.5 0.2 + 0.8 0.5 0.8 0.5 0.2 + = 0.2 1 0.4 = 0.2 0.6 = 1 3 0.2 + 0.8 \cdot 0.5 \cdot 0.2 + 0.8 \cdot 0.5 \cdot 0.8 \cdot 0.5 \cdot 0.2 + \cdots = \dfrac{0.2}{1-0.4} = \dfrac{0.2}{0.6} = \dfrac{1}{3} , and the probability of Case 3 is 3 8 1 3 = 1 8 \dfrac{3}{8} \cdot \dfrac{1}{3} = \dfrac{1}{8} .

Now, the sum of the probabilities is 5 24 + 5 552 + 1 8 = 5 23 + 1 8 = 63 184 \dfrac{5}{24} + \dfrac{5}{552} + \dfrac{1}{8} = \dfrac{5}{23} + \dfrac{1}{8} = \dfrac{63}{184} , and 63 + 184 = 247 63 + 184 = \boxed{247} .

Good question, Josh. I looked at the cases (i) prisoner 2 is let go first followed by prisoner 3, and (ii) prisoner 3 is let go first followed by prisoner 2. The sum of the probabilities associated with these two cases is the probability that prisoner 1 is never let go, so I then took the complement of this result to get the probability that prisoner 1 is let go at some time. Same type of calculation as yours, but one less case to deal with.

Brian Charlesworth - 6 years, 9 months ago

Log in to reply

Good thinking!

Shabarish Ch - 6 years, 9 months ago

Very nice casework which make approaching the problem much easier!

Calvin Lin Staff - 6 years, 9 months ago

is that approaching to sequence??

Figel Ilham - 6 years, 9 months ago
James Fung
Sep 14, 2014

It is useful to first describe and solve for a general game as follows: Let Player P P be the first in line, who tells the truth with probability p p . Furthermore, given Player P P does not tell the truth, then let q q be the probability Player P P gets another try. We can use this model to describe games where there are 2 or 3 (or any number of) players.

Let x x be the probability that Player P P is the first player released from this game. First step analysis gives us that x = p + ( 1 p ) q x . x = p + (1-p)qx. That is, we can break this down into two exclusive events. First, Player P P can tell the truth on the first turn (probability p p ). Second, Player P P does not tell the truth on the first turn and the game gets around to Player P P again. Since this is the exact same situation as the start of the game, the probability for this case is ( 1 p ) q x (1-p)qx .

Solving for x x in terms of p p and q q gives us x = p 1 ( 1 p ) q . x = \frac{p}{1 - (1-p)q}. Note that the denominator looks messy, but it is simply 1 minus the probability that everyone lies once.

We now consider the two cases where Prisoner 1 is not released:

Case 1: Prisoner 2 is the first released and Prisoner 3 is the second released. The probability of this is the product of the following sequence of events:

  • Prisoner 1 lies on the first turn, giving Prisoner 2 a turn: 4 / 5. 4/5.

  • Prisoner 2 is first released: using p = 1 / 2 , q = 1 10 4 5 = 2 25 p = 1/2, q = \frac{1}{10}\frac{4}{5} = \frac{2}{25} in our model, we get 25 / 48. 25/48.

  • This leaves Prisoner 1 and 3 with Prisoner 3 going first. Prisoner 3 is released first with probability (using p = 9 / 10 , q = 4 / 5 p = 9/10, q = 4/5 ) of 45 / 46. 45/46.

So the probability of Case 1 is 75 / 184. 75/184.

Case 2: Prisoner 3 is the first released and Prisoner 2 is the second released. The probability of this is the product of the following sequence of events:

  • Prisoners 1 and 2 lie on their first turn: 4 5 1 2 = 2 5 . \frac{4}{5} \frac{1}{2} = \frac{2}{5}.

  • Prisoner 3 is first released: using p = 9 / 10 , q = 4 5 1 2 = 2 5 p = 9/10, q = \frac{4}{5}\frac{1}{2} = \frac{2}{5} in our model, we get 15 / 16. 15/16.

  • Prisoner 1 lies on their next turn, giving Prisoner 2 another turn: 4 / 5. 4/5.

  • Prisoner 2 is released next: using p = 1 / 2 , q = 4 / 5 p = 1/2, q = 4/5 , this is probability 5 / 6 5/6 .

So the probability of Case 2 is 1 / 4 1/4 .

The total probability of these two cases is 121 / 184. 121/184. The probability that Prisoner 1 is released is the complement of this, 63 / 184 , 63/184, giving an answer of 63 + 184 = 247 . 63 + 184 = \boxed{247}.

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...