Question
Question: There are 3 boxes, the first one containing 1 white, 2 red and 3 black balls; the second one contain...
There are 3 boxes, the first one containing 1 white, 2 red and 3 black balls; the second one containing 2 white, 3 red and 1 black ball and the third one containing 3 white, 1 red and 2 black balls. A box is chosen at random and from it two balls are drawn at random. One ball is red and the other, white. What is the probability that they come from the second box?
Solution
Here we will find the probability by using Bayes’ Theorem. For that, we will first find the probability that the balls drawn are one white and one red and it is from box 1. Similarly, we will first find the probability that the balls drawn are one white and one red and it is from box 2 and then we will first find the probability that the balls drawn are one white and one red and it is from box 3. Then we will use the formula of Bayes’ Theorem to find the probability.
Complete step by step solution:
Let E1, E2 and E3 be the three events that the balls are drawn from box1, box 2 and box 3 respectively, and let E be the event that the balls drawn are one white and one red.
Therefore,
P(E1)=P(E1)=P(E1)=31
Now, we will find the probability that the balls drawn are one white and one red and it is from box 1
⇒ P(E/E1)=6C21C1×2C1
On further simplification, we get
⇒ P(E/E1)=151×2=152
Again, we will find the probability that the balls drawn are one white and one red and it is from box 2
⇒ P(E/E2)=6C22C1×3C1
On further simplification, we get
⇒ P(E/E2)=152×3=156
Again, we will find the probability that the balls drawn are one white and one red and it is from box 3
⇒ P(E/E3)=6C23C1×1C1
On further simplification, we get
⇒ P(E/E3)=153×1=153=51
We will use Bayes’ Theorem now.
According to the theorem, the probability that the ball drawn are from box 2 and the ball drawn are one white and one red is represented by P(E1/E) and it will be equal to
⇒ P(E/E1).P(E1)+P(E/E2).P(E2)+P(E/E3).P(E3)P(E/E1).P(E1)
We will put the values that we have calculated in the formula.
⇒ P(E1/E)=152.31+156.31+51.31152.31
On multiplying the terms in numerator and denominator, we get
⇒ P(E1/E)=452+456+151452
Simplifying the fraction, we get
⇒ P(E1/E)=112
Thus, the required probability is 112.
Note: We have calculated the given probability by Bayes’ Theorem. Bayes’ Theorem is a mathematical formula to calculate or to determine the conditional probability. Bayes' theorem is also known as Bayes' Rule or Bayes' Law and it is the foundation of the field of Bayesian statistics. Bayes' theorem is used to determine the accuracy of medical test results.