We need to determine P(coin1|head). By applying Bayes' theorem,
P(coin1 | head) = (P(coin1)×P(head∣coin1)+P(coin2)×P(head∣coin2))P(coin1)×P(head∣coin1) = (21×1+21×21)(1×21) = 21+4121 = 3/41/2 = 32
Key points:
- P(coin1) = P(coin2) = 21 since we have two coins which are equally likely
- P(head|coin1) = 1 since coin 1 is double headed
- P(head|coin2) = 21 since coin 2 is unbiased (both head and tail are equally likely)