# Fair and Unfair coin flips problem

A person chooses randomly between the two coins, and throws it. the coin lands on head.
he throws the same coin again and it lands on head again.
he throws the same coin the third time and get tails

the question is what is the probability he chose the fair coin.
now, it sounds dumb as there is no tails to the unfair coin so the probability of him choosing the fair coin while twice landing it on head and third time is on tail is $$1$$

am I right? what is the math equation for this? I tried using bayes' law however I got confused with the 3 different throws.. Thanks!

• Let $\textrm{hht}$ be the event that a coin, $c_1$ (fair) or $c_2$, shows two times head and one time tail. Then you are asked to calculate $P(c_1|\textrm{hht})=\frac{P(c_1 \cap \textrm{hht})}{P(\textrm{hht})}$. What´s the problem with that? – callculus Apr 25 at 20:32
• @callculus I don't know, is it 1 ? what is the formula for that i dont understand, how do you calculate $P(c_1 \cap hht)$ whatever $hht$ is... – SendHelp Apr 25 at 20:38
• hht is the event that the outcome is head, head, tail. So you calculate the probability that the fair coin has been chosen and the outcome is hht. – callculus Apr 25 at 20:42
• @callculus is it 1 ? – SendHelp Apr 25 at 20:44
• I don't know, is it 1 ? I don´t know either in advance. Just go the systematic way. Math has nothing to do with guesswork. – callculus Apr 25 at 20:44