Question
Mathematics Question on Conditional Probability
A bag contains 4 balls. Two balls are drawn at random and are found to be white. What is the probability that all balls are white?
52
53
54
51
53
Solution
Let E1, E2, E3 and A be the events defined as follows : E1= the bag contains 2 white balls and 2 non-white balls, E2= the bag contains 3 white balls and 1 non-white ball, E3= the bag contains all four white balls and A= two white balls have been drawn from the bag. As the bags are selected at random, Then, P(E1)=31, P(E2)=31, P(E3)=31 P(A∣E1)= probability of drawing 2 white balls when E1 has occurred i.e. the bag contains 2 white and 2 non-white balls =4C22C2=61 P(A∣E2)= probability of drawing 2 white balls when E2 has occurred i.e. the bag contains 3 white and 1 non-white ball =4C23C2=63=21 P(A∣E3)= probability of drawing 2 white balls when E3 has occurred i.e. the bag contains all four white balls =4C24C2=1 We want to find P(E3∣A). By Bayes' theorem, we have P(E3∣A)=P(E1)P(A∣E1)+P(E2)P(A∣E2)+P(E3)P(A∣E3)P(E3)P(A∣E3) =31×61+31×21+31×131×1 =61+21+11=106=53