Five bad oranges are accidently mixed with 20 good ones. If four oranges are drawn one by one successively with replacement, then find the probability distribution of number of bad oranges drawn. Hence find the mean and variance of the distribution.

#### Solution

Let X be the random variable denoting the number of bad oranges drawn.

P (getting a good orange) = `20/25=4/5`

P (getting a bad orange) = ` 5/25=1/5`

The probability distribution of X is given by

X | 0 | 1 | 2 | 3 | 4 |

P(X) |
`(4/5)^4= 256/625` |
`""^4C1(4/5)^3(1/5) =256/625` |
`""^4C2(4/5)^2(1/5)^2 =96/625` |
`""^4C3(4/5)(1/5)^3 = 16/625` |
`(1/5)^4 = 1/625` |

Mean of X is given by

`barX = ∑P_iX_i`

`= 0xx256/625+1xx256/625+2xx96/625+3xx16/625+4xx1/625`

`=1/625(256+192+48+4)`

`=4/5`

Variance of X is given by

`Var(X)=∑P_iX_i^2 −(∑P_iX_i)^2`

`=0xx256/625+1xx256/625+4xx96/625+9xx16/625+16xx1/625−(4/5)2`

`=1/625(256+384+144+16)−16/25`

`=800/625−16/25`

`=400/625`

`=16/25`

Thus, the mean and vairance of the distribution are `4/5 and 16/25` , respectively.