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)

GATE 2025 · Engineering Mathematics · Bayes Theorem · medium

Answer: P(fake coin | HH) = 0.50

  1. Compute total probability of observing HH: P(HH) = 1*(1/5) + 0.25*(4/5) = 0.2 + 0.2 = 0.4.
  2. Apply Bayes theorem: P(fake|HH) = 1 * (1/5) / 0.4 = 0.2 / 0.4 = 0.5.