Solveeit Logo

Question

Question: There are two boxes \[I\] and \[II\] . Box \[I\] contains 3 red and 6 black balls. Box \[I\] contain...

There are two boxes II and IIII . Box II contains 3 red and 6 black balls. Box II contains 5 red and n'n' black balls. One of the two boxes, box II and box IIII 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 the box IIII is 35\dfrac{3}{5} ​, find the value of n'n' .

Explanation

Solution

Here we need to find the number of black balls present in the second box. We will use the Baye’s theorem of the probability. We will first find the probability that the balls drawn are red and it is from box 1. Similarly, we will find the probability that the balls drawn is red and it is from box 2. Then substituting all the values in the formula of Baye’s theorem we will get the value of the required variable. Baye’s theorem is also known as the conditional probability.

Formula Used:
We will use the Baye’s theorem which is given by the formula, P(E2E)=P(EE2).P(E2)P(EE1).P(E1)+P(EE2).P(E2)P\left( {\dfrac{{{E_2}}}{E}} \right) = \dfrac{{P\left( {\dfrac{E}{{{E_2}}}} \right).P\left( {{E_2}} \right)}}{{P\left( {\dfrac{E}{{{E_1}}}} \right).P\left( {{E_1}} \right) + P\left( {\dfrac{E}{{{E_2}}}} \right).P\left( {{E_2}} \right)}}.

Complete step-by-step answer:
Let E2{E_2} andE1{E_1} be the two events that the ball are drawn from box1 and box 2 respectively, and let EE be the event that he balls drawn is red.
Therefore,
P(E1)=P(E2)=12P\left( {{E_1}} \right) = P\left( {{E_2}} \right) = \dfrac{1}{2}
Now, we will find the probability that the balls drawn is red and it is from box 1
P(EE1)=3C19C1P\left( {\dfrac{E}{{{E_1}}}} \right) = \dfrac{{{}^3{C_1}}}{{{}^9{C_1}}}
Now, simplifying the above expression , using the formula nCr=n!r!(nr)!{}^n{C_r} = \dfrac{{n!}}{{r!\left( {n - r} \right)!}}, we get
P(EE1)=3!1!(31)!9!1!(91)!\Rightarrow P\left( {\dfrac{E}{{{E_1}}}} \right) = \dfrac{{\dfrac{{3!}}{{1!\left( {3 - 1} \right)!}}}}{{\dfrac{{9!}}{{1!\left( {9 - 1} \right)!}}}}
Computing the factorials of the numbers, we get
P(EE1)=3×2×11×2×19×8!1×8!\Rightarrow P\left( {\dfrac{E}{{{E_1}}}} \right) = \dfrac{{\dfrac{{3 \times 2 \times 1}}{{1 \times 2 \times 1}}}}{{\dfrac{{9 \times 8!}}{{1 \times 8!}}}}
On further simplification, we get
P(EE1)=13\Rightarrow P\left( {\dfrac{E}{{{E_1}}}} \right) = \dfrac{1}{3}
Now, we will find the probability that the balls drawn is red and it is from box 1
P(EE2)=5C15+nC1P\left( {\dfrac{E}{{{E_2}}}} \right) = \dfrac{{{}^5{C_1}}}{{{}^{5 + n}{C_1}}}
Now, simplifying the above expression , using the formula nCr=n!r!(nr)!{}^n{C_r} = \dfrac{{n!}}{{r!\left( {n - r} \right)!}}, we get
P(EE2)=5!1!(51)!(5+n)!1!(5+n1)!\Rightarrow P\left( {\dfrac{E}{{{E_2}}}} \right) = \dfrac{{\dfrac{{5!}}{{1!\left( {5 - 1} \right)!}}}}{{\dfrac{{\left( {5 + n} \right)!}}{{1!\left( {5 + n - 1} \right)!}}}}
Computing the factorials of the numbers, we get
P(EE2)=5×4!1!4!(5+n)×(4+n)!(4+n)!\Rightarrow P\left( {\dfrac{E}{{{E_2}}}} \right) = \dfrac{{\dfrac{{5 \times 4!}}{{1!4!}}}}{{\dfrac{{\left( {5 + n} \right) \times \left( {4 + n} \right)!}}{{\left( {4 + n} \right)!}}}}
On further simplification, we get
P(EE2)=55+n\Rightarrow P\left( {\dfrac{E}{{{E_2}}}} \right) = \dfrac{5}{{5 + n}}
We will use Bayes’ Theorem now.
According to the theorem, the probability that the ball drawn are from box 2 and the ball drawn is red is represented by P(E2E)P\left( {\dfrac{{{E_2}}}{E}} \right) and it will be equal to P(EE2).P(E2)P(EE1).P(E1)+P(EE2).P(E2)\dfrac{{P\left( {\dfrac{E}{{{E_2}}}} \right).P\left( {{E_2}} \right)}}{{P\left( {\dfrac{E}{{{E_1}}}} \right).P\left( {{E_1}} \right) + P\left( {\dfrac{E}{{{E_2}}}} \right).P\left( {{E_2}} \right)}}.
Substituting all the values of the probability in the formula P(E2E)=P(EE2).P(E2)P(EE1).P(E1)+P(EE2).P(E2)P\left( {\dfrac{{{E_2}}}{E}} \right) = \dfrac{{P\left( {\dfrac{E}{{{E_2}}}} \right).P\left( {{E_2}} \right)}}{{P\left( {\dfrac{E}{{{E_1}}}} \right).P\left( {{E_1}} \right) + P\left( {\dfrac{E}{{{E_2}}}} \right).P\left( {{E_2}} \right)}}, we get
P(E2E)=12.55+n12.13+12.55+nP\left( {\dfrac{{{E_2}}}{E}} \right) = \dfrac{{\dfrac{1}{2}.\dfrac{5}{{5 + n}}}}{{\dfrac{1}{2}.\dfrac{1}{3} + \dfrac{1}{2}.\dfrac{5}{{5 + n}}}} ………. (1)\left( 1 \right)
It is given that the probability that this red ball comes out from box IIII is 35\dfrac{3}{5}.
Substituting P(E2E)=35P\left( {\dfrac{{{E_2}}}{E}} \right) = \dfrac{3}{5} in the above equation, we get
35=12.55+n12.13+12.55+n\Rightarrow \dfrac{3}{5} = \dfrac{{\dfrac{1}{2}.\dfrac{5}{{5 + n}}}}{{\dfrac{1}{2}.\dfrac{1}{3} + \dfrac{1}{2}.\dfrac{5}{{5 + n}}}}
On further simplification, we get
35=55+n13+55+n\Rightarrow \dfrac{3}{5} = \dfrac{{\dfrac{5}{{5 + n}}}}{{\dfrac{1}{3} + \dfrac{5}{{5 + n}}}}
On cross multiplying the terms, we get
35(13+55+n)=55+n\Rightarrow \dfrac{3}{5}\left( {\dfrac{1}{3} + \dfrac{5}{{5 + n}}} \right) = \dfrac{5}{{5 + n}}
On multiplying the terms, we get
15+35+n=55+n\Rightarrow \dfrac{1}{5} + \dfrac{3}{{5 + n}} = \dfrac{5}{{5 + n}}
Now, we will subtract the term 55+n\dfrac{5}{{5 + n}} from sides. So,
15=55+n35+n 15=535+n 15=25+n\begin{array}{l} \Rightarrow \dfrac{1}{5} = \dfrac{5}{{5 + n}} - \dfrac{3}{{5 + n}}\\\ \Rightarrow \dfrac{1}{5} = \dfrac{{5 - 3}}{{5 + n}}\\\ \Rightarrow \dfrac{1}{5} = \dfrac{2}{{5 + n}}\end{array}
On cross multiplying the terms, we get
5+n=10\Rightarrow 5 + n = 10
Now, we will subtract the number 5 from both sides.
5+n5=105 n=5\begin{array}{l} \Rightarrow 5 + n - 5 = 10 - 5\\\ \Rightarrow n = 5\end{array}

Note: Bayes’ Theorem is defined as a mathematical formula to determine or to calculate 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. Probability is defined as the certainty of occurrence of an event. Probability of an event always lies between 0 to 1. If the probability is 1 then it is known as a sure event and the event having a probability 0 can never occur.