Captive Friends

20 20 men are held captive by a pirate lord, including two friends Jack and Tony.

The pirate decides to set 10 10 of them free. The 20 20 men are randomly divided into 10 10 pairs. Each pair of men then flip a fair coin to decide who goes free.

The probability that both Jack and Tony are set free is A B \frac{A}{B} where A A and B B are co-prime positive integers. Find the value of A + B . A+B.


The answer is 47.

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.

4 solutions

Mauro Rescigno
Oct 27, 2014

Jack and Tony must be in two different pairs to be both set free. The chance of this happening is 18 19 \frac{18}{19} because Tony (for example) could be paired with 19 different people, and one of them is Jack.

Then they have to win in their pairs, which happens with probability 1 2 1 2 = 1 4 . \frac{1}{2}\cdot\frac{1}{2} =\frac{1}{4}.

Thus, the total probability is 18 19 1 4 = 9 38 , \frac{18}{19}\cdot \frac{1}{4} = \frac{9}{38}, so A + B = 47. A+B=47.

Can you generalize the same argument if there are three friends instead of two and we want to find the probability that all three are set free?

Snehal Shekatkar - 6 years, 7 months ago

Log in to reply

For 3 3 friends I'm getting a probability of 2 19 \frac{2}{19} , for 4 4 friends a probability of 14 323 \frac{14}{323} and for 5 5 friends a probability of 21 1292 \frac{21}{1292} .

You're right, Snehal, this is a good problem to generalize. How about 5 5 friends among 100 100 captives? k k friends among 2 n 2n captives? The general formula would be a bit of a mess, I think. :)

Brian Charlesworth - 6 years, 7 months ago

Log in to reply

Sorry for late reply. As I commented at the other place, it really doesn't matter how these people are chosen and so probability is easy to calculate for any k k .

Snehal Shekatkar - 6 years, 7 months ago

The explanation looks clear to me!

Calvin Lin Staff - 6 years, 7 months ago

nice solution

Baby Googa - 6 years, 3 months ago

I read into it that each man in the pair flips a coin (man with heads wins, unless both are heads, then re-flip), which means there is a 1 3 \frac{1}{3} * 1 3 \frac{1}{3} probability for either Jack or Tony to win their freedom, thus 1 6 \frac{1}{6} * 1 6 \frac{1}{6} probability for both Jack or Tony to win their freedom. So, I came up with 18 19 \frac{18}{19} * 1 6 \frac{1}{6} = 18 684 \frac{18}{684} = 1 38 \frac{1}{38} , so A A + B B = 39.

Going back to the original problem as stated, apparently each man is assigned a side of the coin and one of the men in the pair flips the coin.

Just wanted to show how I read into it.

Jeff Carter - 4 years, 8 months ago

Log in to reply

Crud... can't seem to edit my post, so am clarifying here that I meant "...probability for both Jack and Tony..."

Jeff Carter - 4 years, 8 months ago

cool solution

Nivin Anton - 4 years, 6 months ago

nice solution

renzo gantala - 3 years, 7 months ago

But why ignore the possibility when they are paired together? The probability of that happening is 1 19 \frac{1}{19} , so the probability of them both being set free is 9 38 \frac {9}{38} - 1 19 \frac {1}{19} = 7 38 \frac {7}{38} , so A+B=45.

Djordje Leposavic - 5 years, 6 months ago

Log in to reply

Thats accounted for in the 18/19 ...

Amedeo Amato - 4 years ago

I didn't get it why they must not be paired together. We have two cases.

  • Paired together, which probability is 1 19 \frac {1}{19} . In this case they have a chance of being set free = 1 2 \frac {1}{2}

  • Not paired together, which probability is = 18 19 \frac {18}{19} . In this case they have a chance of being both set free = 1 4 \frac {1}{4}

So in total the probability of them being both set free is 1 19 × 1 2 + 18 19 × 1 4 = 5 19 \frac {1}{19} \times \frac {1}{2} + \frac {18}{19} \times \frac {1}{4} = \frac {5}{19} So A+B=24

Simona Ruseva - 5 years, 4 months ago

Log in to reply

If they are paired together then only one of them can be set free, while the other must remain captive. Thus when they are paired together there is zero chance that both Jack and Tony are set free.

Brian Charlesworth - 5 years, 4 months ago
Patrick Corn
Oct 28, 2014

The answer is the same, by the way, as if he had randomly chosen the ten men to be set free: ( 18 8 ) ( 20 10 ) = 9 38 . \frac{\binom{18}{8}}{\binom{20}{10}} = \frac9{38}. (Or if you like: 1 2 9 19 \frac12 \cdot \frac9{19} .)

I think this makes intuitive sense.

Can you explain the "intuitive sense"? Why doesn't this change of format affect the final result?

Hint: Define a mapping between these two scenarios.

Calvin Lin Staff - 6 years, 7 months ago

Yes, by symmetry every set of 10 sailors is equally likely. It doesn't matter if you select the set by enumerating all possible sets and choosing one at random or by using the pirates' framework for generating an outcome.

Richard Desper - 4 years ago

So you are saying that all this information is to confuse us. It's just finding probability for choosing 10 out of 20. In that case, I think you should get more upvotes.

Prayas Rautray - 3 years, 11 months ago
Khaled Adel
Nov 6, 2015

To generalize for k k friends and 2 n 2n captives where k n k \leq n :

  1. The probability that none are in the same pair is: i = 1 k 2 n ( i + k 1 ) 2 n ( 2 i 1 ) \displaystyle\prod_{i=1}^{k} \frac{2n-(i+k-1)}{2n-(2i-1)}

  2. The probability that all of them are the chosen one in their pair: 1 2 k \frac{1}{2^{k}}

The probability that they are all free is the product of the two probability.

Which is equal to the fraction C(n,n-k)/C(2n,n) obtained using a set theory approach.

Richard Desper - 4 years ago

One thought. I am unable to explain. If someone can help me. How the probability is taken as 1/2 as the other pair can also have same result else the other pair can have first chance which is unaccounted. If both the pairs are allowed to flip the coin then 4 outcome is there then favourable outcome is 1/4.

chandrasekar ganesh - 1 year, 2 months ago

There are going to be 10 people set free in the end. We can chose a Jack and a Tony from the freed group in ( 10 2 ) \binom{10}{2} ways.

There are a total of ( 20 2 ) \binom{20}{2} ways to chose Jack and Tony from a group of 20 people, so the final answer is ( 10 2 ) ( 20 2 ) \frac{\binom{10}{2}}{\binom{20}{2}} = 10 9 20 9 \frac{10 \cdot 9}{20 \cdot 9} = 9 38 \frac{9}{38} \rightarrow 47 . \boxed{47}.

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...