Question
Question: There are two boxes I and II. Box I contains 3 red and 6 black balls. Box II contains 5 red and ‘n’ ...
There are two boxes I and II. Box I contains 3 red and 6 black balls. Box II contains 5 red and ‘n’ black balls. One of the boxes, box I and box II is selected at random and a ball is drawn at random. The ball drawn is found to be red. If the probability that this red ball comes out from box II is 53, find the value of ‘n’.
Solution
Hint: We will use Bayes theorem to solve this question. The formula of Bayes theorem is given as, P(BA)=P(B)P(A∩B)=P(B)P(A).P(AB), where P (A) is the probability of occurring of event A, P (B) is the probability of occurring of event B, P(BA) is the probability of A given B and P(A∩B) is the probability of occurring of both A and B.
Complete step-by-step answer:
It is given in the question that there are two boxes I and II. Box I contains 3 red and 6 black balls. Box II contains 5 red and ‘n’ black balls. One of the boxes, box I and box II is selected at random and a ball is drawn at random. And the ball drawn is found to be red. If the probability that this red ball comes out from box II is 53 then we have been asked to find the value of ‘n’.
We will use Bayes theorem to find the value of n. We know that Bayes theorem can be written as,
P(BA)=P(B)P(AB)P(A), where P (A) is the probability of occurring of event A, P (B) is the probability of occurring of event B, P(BA) is the probability of A given B.
Let us consider the conditions given in the question, it can be shown as follows.
Let us assume P(EI) as the probability of selecting box I and P(EII) as the probability of selecting box II. We know that P(EI)=P(EII)=21 as we can select any one out of the two boxes at a time.
Let us consider P (A) to be the probability of choosing the red ball. And we know that the total number of balls present in box I is 3 + 6 = 9 balls. And the total number of balls present in box II is 5 + n balls.
So, we can write the probability of choosing the red ball from box II as follows.
P(EIA)=Total sample in boxINumber of red balls=93
Now, we can write the probability of choosing red ball from box II that is,
P(EIIA)=Total sample in boxINumber of red balls=5+n3
As all the red balls are given in box II, we can write, P(AEII)=53
Now, we know that Bayes theorem is, P(BA)=P(B)P(AB)P(A), on substituting the values in the formula, we get,