An urn contains 3 white and 6 red balls. Four balls are drawn one by one with replacement from the urn. Find the probability distribution of the number of red balls drawn. Also find mean and variance of the distribution.

#### Solution

Let X denote the total number of red balls when four balls are drawn one by one with replacement.

P (getting a red ball in one draw) = `2/3`

P (getting a white ball in one draw) = `1/3`

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

P(X) |
`(1/3)^4` |
`2/3(1/3)^3.""^4C_1` |
`(2/3)^2(1/3)^2.""^4C_2` |
`(2/3)^3(1/3).""^4C_3` |
`(2/3)^4` |

`1/81` |
`8/81` |
`24/81` |
`32/81` |
`16/81` |

Using the formula for mean, we have

`barX=sumP_iX_i`

`"Mean"(barX)=(0xx1/81)+1(8/81)+2(24/81)+3(32/81)+4(16/81)`

`=1/81(8+48+96+64)`

`=216/81`

`=8/3`

Using the formula for variance, we have

`Var(X)=sumP_iX_i^2-(sumP_iX_i)^2`

`Var(X)\{(0xx1/81)+1(8/81+4(24/81)+9(32/81)+16(16/81)}-(8/3)^2`

`=648/81-64/9`

=`8/9`

Hence, the mean of the distribution is `8/3` and the variance of the distribution is `8/9`