Suppose that we have three coins. One has two heads, while the others are standard. Two coins are flipped. In each case, the result is heads.
- If you pick one of these two coins randomly, what is the probability that you will get the two headed coin?
- If you pick the unflipped coin, what is the probability that you will get the two headed coin?
My attempt at 1:
Let A be the event: "We obtain two heads" and let B be the event: "We got the two-headed coin." We are looking for $$P(B|A)=\frac{P(B\bigcap A)}{P(A)}$$ Now, from Baye's Theorem: $$P(B\bigcap A)=P(A|B)P(B)=(\frac{1}{2})(\frac{1}{3})=\frac{1}{6}$$ I still need to find $P(A)$, could anyone help?
For the first question, ask yourself what's the probability that one of the coins picked are two-headed (event $A$) given that we obtained $2$ heads (event $B$)? There are two competing statements here:
$1-$Both of the coins are fair coins.
$2-$ One of the coins is a fair coin.
According to Bayes theorem, we have:
$P(A| B) = \frac{P(B| A) P(A)}{ P(B| A) P(A) + P(B| \neg A) P(\neg A)}$
Here we have $P(B|A)=\frac{1}{2}$ since flipping the coins are independent and the probability of getting head with the two-headed coin is $1$ while the probability of getting head with the other coin is $\frac{1}{2}$, we multiply these two.
We have $P(A)=\frac{\binom{1}{3}}{\binom{2}{3}}$ since we are picking two coins out of three in total and we need one of them to be the two-headed coin. This gives us that $P(\neg A)=1- \frac{\binom{3}{1}}{\binom{3}{2}}$
$P(B| \neg A)=\frac{1}{4}$ Since event $A$ not happening means that both of the coins picked are fair coins where the probability of getting head in each one of them is $\frac{1}{2}$ so we multiply this probability by itself then get $\frac{1}{4}$
I will leave the arithmetic to you, however, this gives us the probability that one of the coins picked is the two headed coin, then we need to multiply this probability by $\frac{1}{2}$ since we are picking on these $2$ coins at random and we need the probability we the two headed one.