Question
Question: Three boxes\({B_1}\),\({B_2}\),\({B_3}\) contain balls with different colours as follows: .
Formula Used:
P(A∣B)=P(B∣A)P(A)+P(B∣A)CP(A)CP(B∣A)P(A)
Complete step-by-step answer:
According to the question, there are three boxes: B1,B2 andB3
Also, when a dice is thrown, the total number of possible outcomes is 6.
It is given that, when a dice is thrown:
If 1 or 2 turns up on the dice, box B1 is selected;
Hence, probability of box B1=P(B1)=62
(As total probability=Number of favourable outcomes/Total number of outcomes)
Similarly,
If 3 or 4 turns up, B2is selected;
Hence, probability of box B2=P(B2)=62
And,
If 5 or 6 turns up, then B3 is selected;
Hence, probability of box B3=P(B3)=62
Now, according to the question, a box is selected like this and a ball is drawn from that box.
Also, the ball is red in colour.
Hence, as we know,
For boxB1:
Total number of balls=5
Number of Red balls=2
Hence, probability of red ball=52
Similarly,
For boxB2:
Total number of balls=9
Number of Red balls=4
Hence, probability of red ball=94
Also,
For boxB3:
Total number of balls=9
Number of Red balls=2
Hence, probability of red ball=92
Now, it is given that the ball is red in colour and we have to find the probability that it was drawn fromB2.
Hence, we would use Bayes’ formula, i.e.
P(A∣B)=P(B∣A)P(A)+P(B∣A)CP(A)CP(B∣A)P(A)
According to the Bayes’ theorem, probability of an event B, given that event A has already occurred, is the sum of conditional probabilities of event B.
We would understand this by applying this theorem in this question.
Now, we are given that the ball is red in colour and we have to find the probability that it was drawn fromB2.
Hence,
Probability that the ball is drawn from box B2 knowing that it is red in colour=
Probability of red ball being from B2/ Probability of red ball being from B1+ Probability of red ball being from B2+ Probability of red ball being from B3
Hence, required probability=62×52+62×94+62×9262×94
=152+274+272274
=152+92274
Taking LCM of 15 and 9, and solving the fraction part in the denominator,
=456+10274
=4516274
This can be written as:
=274×1645
Solving further,
=31×45
=125
Therefore, if the ball drawn is red, then the probability that it was drawn fromB2=125
Hence, this is the required answer.
Note: We should know what is given and what is required to be found to answer this question correctly. This is because if there is confusion between the two then there are chances that the Bayes’ theorem is not applied correctly and our answer becomes incorrect. Hence, this distinction is really important to answer the question correctly.