Gambler coin problem: fair coin and two-headed coin

3.9k Views Asked by At

The following problem was posed to me:

A gambler has in his pocket a fair coin and a two-headed coin. He selects one of the coins at random, i.e. the probability that the fair coin is selected is 0.5. When the gambler flips the chosen coin, it shows heads.

(A) What is the probability that it is the fair coin?

(B) Suppose that he flips the same coin a second time and again it shows heads. Now what is the probability that it is the fair coin?

(C) Suppose that he flips the same coin a third time and it shows tails. Now what is the probability that it is the fair coin?

I am concerned with (C).

The following solution was provided:

Let $F$ be the event that the coin is fair, $F^c$ is the complement of $F$. Let also $H$ be the event that it shows a head.

$$P(F|HHH) = \dfrac{P(HHH|F)P(F)}{P(HHH)} = \dfrac{P(HHH|F)P(F)}{P(HHH|F)P(F) + P(HHH|F^c)P(F^c)} = \dfrac{1/2 \cdot 1/2 \cdot 1/2 \cdot 1/2}{9/6} = 1/9$$

But isn't this a solution to the problem of probability that it is the fair coin when flipping the coin a third time and it showing heads? Shouldn't we instead be calculating $P(F|HHT)$ ?

But if we should be calculating $P(F|HHT)$, since only one of the coins (the fair coin) has a tails side, wouldn't $P(F|HHT)$ (the probability that the coin is fair instead of the two-headed coin) equal to $1$? In that case, we wouldn't even need to calculate anything.

I would greatly appreciate it if people could please take the time to clarify this.

3

There are 3 best solutions below

3
On BEST ANSWER

You are correct, $P(F|HHT) = 1$, since $P(F^c|HHT) = 0$.

Is this question from a textbook? My guess is that there must have been a mistake while editing the source material, maybe the question was "Calculate $P(F|HHH)$" in a previous edition and the answer wasn't updated to match.

0
On

The given solution to C is not only wrong, it is also absurdly complicated.

A double headed coin (one where both sides show heads) never shows tails. That's it. If you see tails, then it is absolutely impossible that you have the double headed coin, so the probability for having the double headed coin is zero.

Even if you have a million heads and one tail, the probability that you picked the double-headed coin is zero. Obviously it is very very (repeat a few tenthousand times) very unlikely that this happens with the fair coin, but it is impossible to happen with the double headed coin.

1
On

Problem C is ridiculously simple.

Dont lose time with F, H, P, T...

If you have a fake 2-headed coin, and a fair coin with heads and tails, and the third flip shows tails... Dude, the probability it is the fair coin is 100%.