GATE 2025 CS (CS1) – Question 32
A box contains 5 coins: 4 regular coins and 1 fake coin. When a regular coin is tossed, the probability $P(head) = 0.5$ and for a fake coin, $P(head) = 1$. You pick a coin at random and toss it twice, and get two heads. The probability that the coin you have chosen is the fake coin is _______. (rounded off to two decimal places)
Practise this question in The GATE Grind →
Show answer and explanation
Correct answer: 0.50
Explanation
Use Bayes' theorem. There are 5 coins, so $P(\text{fake})=\frac15$ and $P(\text{regular})=\frac45$.
- Fake coin always shows heads: $P(HH\mid\text{fake})=1$.
- Regular coin: $P(HH\mid\text{regular})=\frac12\cdot\frac12=\frac14$.
$$P(HH)=\frac15\cdot1+\frac45\cdot\frac14=\frac15+\frac15=\frac25.$$
$$P(\text{fake}\mid HH)=\frac{\frac15\cdot1}{\frac25}=\frac12=\mathbf{0.50}.$$