There are 5 cards numbered 1 to 5, one number on one card. Two cards are drawn at random without replacement. Let X denote the sum of the numbers on two cards drawn. Find the mean and variance of X.
AnswerHere, S = {(1,2), (2, 1), (1,3), (3, 1), (2, 3), (3, 2), (1,4), (4, 1), (1,5), (5. 1), (2, 4), (4, 2), (2, 5), (5, 2), (3, 4), (4, 3), (3, 5), (5, 3), (5, 4), (4, 5)}
⇒ n(S) = 20
Let random variable be X which denotes the sum of the numbers on two cards drawn.
$\therefore\text{X}=3,\ 4,\ 5,\ 6,\ 7,\ 8,\ 9$
At $\text{X}=3,\text{P(x)}=\frac{2}{20}=\frac{1}{10}$
At $\text{X}=4,\text{P(x)}=\frac{2}{20}=\frac{1}{10}$
At $\text{X}=5,\text{P(x)}=\frac{4}{20}=\frac{1}{5}$
At $\text{X}=6,\text{P(x)}=\frac{4}{20}=\frac{1}{5}$
At $\text{X}=7,\text{P(x)}=\frac{4}{20}=\frac{1}{5}$
At $\text{X}=8,\text{P(x)}=\frac{2}{20}=\frac{1}{10}$
At $\text{X}=9=,\text{P}(\text{X})=\frac{2}{20}=\frac{1}{10}$
$\therefore\text{Mean}, \text{E}(\text{X})=\sum\text{XP}(\text{X})$
$=\frac{3}{10}+\frac{4}{10}+\frac{5}{5}+\frac{6}{5}+\frac{7}{5}+\frac{8}{10}+\frac{9}{10}$
$=\frac{3+4+10+12+14+8+9}{10}=6$
Also, $\sum\text{X}^2\text{P}(\text{X})=\frac{9}{10}+\frac{16}{10}+\frac{25}{5}+\frac{36}{5}+\frac{49}{5}+\frac{64}{10}+\frac{81}{10}$
$=\frac{9+16+50+72+98+64+81}{10}=39$
$\therefore\text{Var}(\text{X})=\sum\text{X}^{2}\text{P}(\text{X})-\Big[\sum\text{XP}(\text{X})\Big]^2$
$=39-(6)^2=39-36=3$