So, for sake of simplicity, let's suppose F is the fair coin, while B is the biased coin. Then from the statement "I pick one of the two coins randomly", we get below probabilities:
But we also have this condition, which says that fair coin will give H with 0.5 probability each, while biased coin will always (i.e., with 1.0 probability) give H. Thus, we have:
- P(H | F) = 1/2
- P(H | B) = 1
So, using total probability formula, we get that the probability of getting heads on the first toss is:
P(H) = P(H | F) * P(F) + P(H | B) * P(B) = 1/2 * 1/2 + 1 * 1/2 = 3/4
Now to answer to the question "What is the probability that it comes up as heads again?", we will need below formula:
P(second toss = H | first toss = H) = P(B | H) * 1 + P(F | H) * 1/2 (1)
We can find unknown values above using using the Bayes' rule:
- P(B | H) = (P(H) * P(H | B) ) / P(B) = (1 * 1/2) / 3/4 = 2/3
- P(F | H) = (P(H) * P(H | F) ) / P(F) = (1/2 * 1/2) / 3/4 = 1/3
Thus, above equation (1) becomes:
P(second toss = H | first toss = H) = 2/3 + 1/3*1/2 = 5/6
The answer is 5/6 or ~83.3%