Clear Notion Academy

DPP: Total Probability and Bayes' Theorem: A box has two coins: a fair coin and a coin with heads on both sides. A coin is chosen at…

Question

A box has two coins: a fair coin and a coin with heads on both sides. A coin is chosen at random and tossed three times, showing heads every time. If pp is the probability that the next (fourth) toss of the same coin shows heads, find 18p18p.

Answer

Answer: 17

Hint

First update the probability that the coin is two-headed using Bayes' theorem; then use total probability for the next toss with the updated (posterior) weights.

Solution

P(HHH∣two-headed)=1P(HHH \mid \text{two-headed}) = 1, P(HHH∣fair)=18P(HHH \mid \text{fair}) = \frac18. Posterior: P(two-headed∣HHH)=1212+116=89P(\text{two-headed} \mid HHH) = \frac{\frac12}{\frac12 + \frac{1}{16}} = \frac89. Next toss: p=89⋅1+19⋅12=16+118=1718p = \frac89\cdot1 + \frac19\cdot\frac12 = \frac{16 + 1}{18} = \frac{17}{18}. So 18p=1718p = 17. Using the prior 12\frac12 instead of the posterior would give 34\frac34, ignoring the evidence of three heads.

More questions from DPP: Total Probability and Bayes' Theorem

Practise the full set: DPP: Total Probability and Bayes' Theorem