A bag contains 5 red and 4 black balls,a second bag contains 3 red and 6 black balls.One of the two bags is selected at random and two balls are drawn at random(without replacement) both of which are found to be red. Find the probability that the balls are drawn from the second bag.
Let event of choosing the bag 1
be the event of choosing bag 2
be the event of drawing red ball
Then,
Now,
and
Now,The probability of drawing a ball from bag 2
if it is given that it is red is
Now by Bayes thrown, we have