Solveeit Logo

Question

Question: Four bad oranges are accidentally mixed with 16 good ones. Find the probability distribution of the ...

Four bad oranges are accidentally mixed with 16 good ones. Find the probability distribution of the number of bad oranges when two oranges are drawn at random from this lot. Find the mean and variance of the distribution.

Explanation

Solution

Here we need to find the probability distribution of the number of bad oranges. So, for that, we will find the probability for each random variable and then we will draw the probability distribution table. Then we will use the formula of mean and the variance to find its required value for the given probability distribution table.

Complete Step by Step Solution:
Let XX denote the random variable. As it is given that two oranges are drawn at random. Then X=0,1,2X = 0,1,2
We know that 16 oranges are good oranges and 4 oranges are bad oranges.
Now in case 1, we will find the value of P(X=0)P\left( {X = 0} \right) which here means the probability that the orange picked is not a bad orange.
Therefore, we get
P(X=0)=16C220C2P\left( {X = 0} \right) = \dfrac{{{}^{16}{C_2}}}{{{}^{20}{C_2}}}
Now, using the formula nCr=n!r!(nr)!{}^n{C_r} = \dfrac{{n!}}{{r!\left( {n - r} \right)!}} and simplifying, we get
P(X=0)=16!2!(162)!20!2!(202)!\Rightarrow P\left( {X = 0} \right) = \dfrac{{\dfrac{{16!}}{{2!\left( {16 - 2} \right)!}}}}{{\dfrac{{20!}}{{2!\left( {20 - 2} \right)!}}}}
On further simplifying the terms, we get
P(X=0)=16!×18!14!×20!\Rightarrow P\left( {X = 0} \right) = \dfrac{{16! \times 18!}}{{14! \times 20!}}
Computing the factorials, we get
P(X=0)=16×15×14!×18!14!×20×19×18!\Rightarrow P\left( {X = 0} \right) = \dfrac{{16 \times 15 \times 14! \times 18!}}{{14! \times 20 \times 19 \times 18!}}
Multiplying and dividing the terms, we get
P(X=0)=1219\Rightarrow P\left( {X = 0} \right) = \dfrac{{12}}{{19}} ……….. (1)\left( 1 \right)
Now, in case 2, only one orange drawn is bad, which means one orange out of 4 bad oranges and one orange out of 16 oranges are drawn.
Therefore, its probability will be denoted by P(X=1)P\left( {X = 1} \right)
P(X=1)=4C1×16C120C2P\left( {X = 1} \right) = \dfrac{{{}^4{C_1} \times {}^{16}{C_1}}}{{{}^{20}{C_2}}}
Now, using the formula nCr=n!r!(nr)!{}^n{C_r} = \dfrac{{n!}}{{r!\left( {n - r} \right)!}} and simplifying, we get
P(X=1)=4!1!(41)!×16!1!(161)!20!2!(202)!\Rightarrow P\left( {X = 1} \right) = \dfrac{{\dfrac{{4!}}{{1!\left( {4 - 1} \right)!}} \times \dfrac{{16!}}{{1!\left( {16 - 1} \right)!}}}}{{\dfrac{{20!}}{{2!\left( {20 - 2} \right)!}}}}
On further simplifying the terms, we get
P(X=1)=4!×16!×18!×2!20!×15!×3!\Rightarrow P\left( {X = 1} \right) = \dfrac{{4! \times 16! \times 18! \times 2!}}{{20! \times 15! \times 3!}}
Computing the factorials, we get
P(X=1)=4×3!×16×15!×18!×2×120×19×18!×15!×3!\Rightarrow P\left( {X = 1} \right) = \dfrac{{4 \times 3! \times 16 \times 15! \times 18! \times 2 \times 1}}{{20 \times 19 \times 18! \times 15! \times 3!}}
Multiplying and dividing the terms, we get
P(X=1)=16×25×19\Rightarrow P\left( {X = 1} \right) = \dfrac{{16 \times 2}}{{5 \times 19}}
Again multiplying the terms, we get
P(X=1)=3295\Rightarrow P\left( {X = 1} \right) = \dfrac{{32}}{{95}} ……….. (2)\left( 2 \right)
Now, in case 3, both the oranges drawn are bad, which means two oranges out of 4 bad oranges are drawn.
Therefore, its probability will be denoted by P(X=2)P\left( {X = 2} \right).
P(X=2)=4C220C2P\left( {X = 2} \right) = \dfrac{{{}^4{C_2}}}{{{}^{20}{C_2}}}
Now, using the formula nCr=n!r!(nr)!{}^n{C_r} = \dfrac{{n!}}{{r!\left( {n - r} \right)!}} and simplifying, we get
P(X=2)=4!2!(42)!20!2!(202)!\Rightarrow P\left( {X = 2} \right) = \dfrac{{\dfrac{{4!}}{{2!\left( {4 - 2} \right)!}}}}{{\dfrac{{20!}}{{2!\left( {20 - 2} \right)!}}}}
On further simplifying the terms, we get
P(X=2)=4!2!(42)!20!2!(202)!=4!×18!2!×20!\Rightarrow P\left( {X = 2} \right) = \dfrac{{\dfrac{{4!}}{{2!\left( {4 - 2} \right)!}}}}{{\dfrac{{20!}}{{2!\left( {20 - 2} \right)!}}}} = \dfrac{{4! \times 18!}}{{2! \times 20!}}
Computing the factorial, we get
P(X=2)=4×3×2!×18!2!×20×19×18!\Rightarrow P\left( {X = 2} \right) = \dfrac{{4 \times 3 \times 2! \times 18!}}{{2! \times 20 \times 19 \times 18!}}
On further simplification, we get
P(X=2)=319×5\Rightarrow P\left( {X = 2} \right) = \dfrac{3}{{19 \times 5}}
On multiplying the terms, we get
P(X=2)=395\Rightarrow P\left( {X = 2} \right) = \dfrac{3}{{95}} ……….. (3)\left( 3 \right)
Now, we will draw the probability distribution table.

XX012
P(X)P\left( X \right)1219\dfrac{{12}}{{19}}3295\dfrac{{32}}{{95}}395\dfrac{3}{{95}}

Now, we will find the mean of the distribution by using the formula x=xiPi\overline x = \sum {{x_i}{P_i}} .
Now, we will substitute the values and we will find the sum. Therefore, we get
x=0×1219+1×3295+2×395\Rightarrow \overline x = 0 \times \dfrac{{12}}{{19}} + 1 \times \dfrac{{32}}{{95}} + 2 \times \dfrac{3}{{95}}
On multiplying the terms, we get
x=0+3295+695\Rightarrow \overline x = 0 + \dfrac{{32}}{{95}} + \dfrac{6}{{95}}
On adding the terms, we get
x=3895=25\Rightarrow \overline x = \dfrac{{38}}{{95}} = \dfrac{2}{5}
Now, we will calculate the value of by E(X2)E\left( {{X^2}} \right) using the formula, E(X2)=xi2PiE\left( {{X^2}} \right) = \sum {{x_i}^2{P_i}} .
Now, we will substitute the values and we will find the sum. Therefore, we get
E(X2)=02×1219+12×3295+22×395E\left( {{X^2}} \right) = {0^2} \times \dfrac{{12}}{{19}} + {1^2} \times \dfrac{{32}}{{95}} + {2^2} \times \dfrac{3}{{95}}
On multiplying the terms, we get
E(X2)=0+3295+1295\Rightarrow E\left( {{X^2}} \right) = 0 + \dfrac{{32}}{{95}} + \dfrac{{12}}{{95}}
On adding the terms, we get
E(X2)=4495\Rightarrow E\left( {{X^2}} \right) = \dfrac{{44}}{{95}}
Now, we will find the variance of the distribution by using the formula;
var(X)=E(X2)(x)2{\mathop{\rm var}} \left( X \right) = E\left( {{X^2}} \right) - {\left( {\overline x } \right)^2}
Now, we will substitute the known values in the above equation. Therefore, we get
var(X)=4495(25)2\Rightarrow {\mathop{\rm var}} \left( X \right) = \dfrac{{44}}{{95}} - {\left( {\dfrac{2}{5}} \right)^2}
On applying the exponents on the base, we get
var(X)=4495425\Rightarrow {\mathop{\rm var}} \left( X \right) = \dfrac{{44}}{{95}} - \dfrac{4}{{25}}
Subtracting the terms, we get
var(X)=22076475\Rightarrow {\mathop{\rm var}} \left( X \right) = \dfrac{{220 - 76}}{{475}}
On further simplification, we get
var(X)=144475\Rightarrow {\mathop{\rm var}} \left( X \right) = \dfrac{{144}}{{475}}

Hence, the value of the variance is equal to 144475\dfrac{{144}}{{475}}.

Note:
We generally make mistakes while considering the number of possible cases. We need to take all the possible cases otherwise we will get the probability distribution incorrect. If we add all the probabilities of a probability distribution, we get the answer. Probability is defined as the ratio of number of desired or favorable outcomes to the total number of possible outcomes. In addition, the value of probability cannot be greater than 1 and the value of probability cannot be negative. Also remember that the probability of a sure event is always one.