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 from this lot. Find the mean and variance of the distribution.
Solution
First of all, we will consider the number of cases in which the event can take place. Then from that, we will consider each possibility, and based on that we will find the expression of a combination of oranges being drawn out of total oranges. And then solve that combination using the expression nCr=r!(n−r)!n!. Then we will find the probability based on those answers and then will make the final distribution table of probability and number of events. After that use, the mean formula for the probability distribution, ∑xiPi to calculate the mean. Then use the formula var(X)=E(X2)−[E(X)]2 to calculate the variance.
Complete step-by-step solution:
First of we will assume that orange is drawn and it is bad, then we will denote the number of bad oranges as B.
Now, it may happen that when we draw an orange randomly then no bad orange is picked or only one orange is bad or all the two oranges are bad. So, here we will consider three cases.
So, in case 1 when an orange is picked randomly and the orange picked is not bad it can be given mathematically as,
⇒P(B=0)=20C216C2
Now, on solving the expression by using the formula, nCr=r!(n−r)!n! we will get,
⇒P(B=0)=2!(20−2)!20!2!(16−2)!16!
Simplify the terms,
⇒P(B=0)=2!18!20×19×18!2!14!16×15×14!
Cancel out the common factors,
⇒P(B=0)=194×3
Multiply the terms,
⇒P(B=0)=1912..................….. (1)
Now, in case 2, only one orange drawn is bad, which means 1 orange out of 4 bad oranges and 1 orange out of 16 good ones are drawn. Here, the total number of oranges remains the same so, the expression can of probability be given as,
⇒P(B=1)=20C24C1×16C1
Now, on solving the expression by using the formula, nCr=r!(n−r)!n! we will get,
⇒P(B=1)=2!(20−2)!20!1!(4−1)!4!×1!(16−1)!16!
Simplify the terms,
⇒P(B=1)=2!18!20×19×18!1!3!4×3!×1!15!16×15!
Cancel out the common factors,
⇒P(B=1)=5×192×16
Multiply the terms,
⇒P(B=1)=9532................….. (2)
Now, in case 3, both oranges drawn are bad. Here, the total number of oranges remains the same so, the expression can of probability be given as,
⇒P(B=2)=20C24C2
Now, on solving the expression by using the formula, nCr=r!(n−r)!n! we will get,
⇒P(B=2)=2!(20−2)!20!2!(4−2)!4!
Simplify the terms,
⇒P(B=2)=2!18!20×19×18!2!2!4×3×2!
Cancel out the common factors,
⇒P(B=1)=5×193
Multiply the terms,
⇒P(B=1)=953............….. (3)
Thus, the probability distribution can be given as,
B | 0 | 1 | 2 |
---|---|---|---|
P(B) | 1912 | 9532 | 953 |
Now find the mean of the distribution by the formula,
xˉ=∑xiPi
Substitute the values and find a summation,
⇒xˉ=0×1912+1×9532+2×953
Multiply the terms,
⇒xˉ=0+9532+956
Add the terms,
⇒xˉ=9538
Cancel out the common factors,
∴xˉ=52
Thus, the mean is 52.
Now find the value of E(X2) for calculating the variance.
E(X2)=∑xi2Pi
Substitute the values and find a summation,
⇒E(X2)=02×1912+12×9532+22×953
Square the terms,
⇒E(X2)=0×1912+1×9532+4×953
Multiply the terms,
⇒E(X2)=0+9532+9512
Now, add the terms,
⇒E(X2)=9544
The formula of variance is,
var(X)=E(X2)−[E(X)]2
Substitute the values,
⇒var(X)=9544−[52]2
Square the term,
⇒var(X)=9544−254
Take LCM on the right side,
⇒var(X)=475220−76
Subtract the values,
∴var(X)=475144
Thus, the variance is 475144.
Note: We generally make mistakes while considering the number of possible cases for an event to happen. We have to take all the possible cases otherwise the distribution function will be wrong. There is a good way to check if the distribution function is correct or not. If we add all the probabilities you should always get one. Probability of an event to occur or not occur will always lie between 0 and 1.