Q.
Suppose you have two coins which appear identical in your pocket. You know that, one is fair and one is 2 headed. If you take one out, toss it and get a head, what is the probability that it was a fair coin?
Let E1 be the event that fair coin is drawn, E2 be the event that 2 headed coin is drawn, and E be the event that tossed coin get a head. ∴P(E1)=1/2,P(E2)=1/2,P(E∣E1)=1/2
and P(E∣E2)=1
Now, P(E1∣E)=P(E1)⋅P(E∣E1)+P(E2)⋅P(E∣E2)P(E1)⋅P(E∣E1) =21⋅21+21⋅121⋅21 =41+2141 =4341=31