Question
Question: A bag contains 4 red and 4 black balls, another bag contains 2 red and 6 black balls. One of the two...
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.
Solution
Hint: Use Bayes’ theorem and probability is the ratio of favorable number of outcomes to the total number of outcomes.
Given data
First bag contains 4 red and 4 black ball
Therefore total ball in first bag =4+4=8
Second ball contains 2 red and 6 black ball
Therefore total ball in second bag =2+6=8
Let x1 and x2 be the events of selecting first and second bag respectively.
Therefore probability of selecting one bag
⇒p(x1)=Total bagFavorable bag=21=p(x2)
Let A1 be the event of getting a red ball.
Therefore probability of drawing a red ball from the first bag ⇒p(x1A1)=Total ballsFavorable balls=84=21
Therefore probability of drawing a red ball from the Second bag ⇒p(x2A1)=Total ballsFavorable balls=82=41
Therefore probability of drawing a ball from the first bag, given that the ball is red is given byp(A1x1).
Now we have to use the Bayes’ theorem to find out the total probability of drawing a ball from the first bag, given that the ball is red.
Bayes’ Theorem - In probability theory and statistics, Bayes' theorem describes the probability of an event, based on prior knowledge of conditions that might be related to the event.
Here,
x1,x2,A1 = events.
p(A1x1)= Probability of x1 given A1is true.
p(x1A1) = Probability of A1 given x1 is true.
p(x2A1) = Probability of A1 given x2 is true.
p(x1), p(x2) = independent probabilities of x1 and x2.
So, by Bayes’ theorem we have
⇒p(A1x1)=p(x1).p(x1A1)+p(x2).p(x2A1)p(x1).p(x1A1)
⇒p(A1x1)=21.21+21.4121.21=41+8141=8341=32=0.66
Therefore the required probability of drawing a ball from the first bag, given that the ball is red is 0.66.
Note: In such types of questions first find out the probability of selecting a bag then find out the probability of drawing a red ball from each bag then apply Bayes’ theorem we easily calculate the required probability of drawing a ball from the first bag, given that the ball is red.