Question
Mathematics Question on Probability
A bag contains 4 red and 4 black balls,another bag contains 2 red and 6 black balls.One of the two bags is selected at random and a ball is drawn from the bag which is found to be red.Find the probability that the ball is drawn from the first bag.
The correct answer is: 32
Let E1 and E2 be the events of selecting first bag and second bag respectively.
P(E1)=P(E2)=21,
Let A be the event of getting a red ball.
P(A∣E1)=P(drawing a red ball from bag 1)=84=21
P(A|E_2)=$$P(drawing a red ball from bag II)=82+41
The probability of drawing a ball from the first bag, given that it is red, is given by P(E2∣A).
Therefore,by Bayes'theorem,
P(E1∣A)=P(E1)P(A∣E1)+P(E2)P(A∣E2)P(E1).P(A∣E1)
=21×21+21×4121×21
=41+8141
=41×38
=32