RS Aggarwal Class 12 Maths Solutions Exercise 31 — Probability Distribution
RS Aggarwal, Class 12 Mathematics — Probability Distribution, Exercise 31. All 19 questions solved.
Independent solutions by Shiwam’s Classes. Not affiliated with or endorsed by the author or publisher of the book.
Exercise 31 asks for the distribution, mean and variance of a random variable defined by tossing coins, throwing dice or drawing cards and bulbs. Question 1 works from given tables. Questions 2 to 8, 12, 17 and 18 are repeated independent trials, which are binomial. Questions 9 to 11, 13 to 16 and 19 are draws without replacement, which are hypergeometric.
Key insight. Always find $P(X=x)$ for every value first, then use $\mu=\sum xP(x)$ and $\sigma^2=\sum x^2P(x)-\mu^2$. The second term, $\mu^2$, is the one most often forgotten. For $n$ independent trials with success probability $p$ the shortcuts are $\mu=np$ and $\sigma^2=npq$. For draws without replacement the variance carries an extra factor $\frac{N-n}{N-1}$.
Question 1
Find the mean $\mu$, the variance $\sigma^2$ and the standard deviation $\sigma$ of each of the four probability distributions below.
Solution. For each table use $\mu=\sum x_ip_i$, then $\sigma^2=\sum x_i^2p_i-\mu^2$ and $\sigma=\sqrt{\sigma^2}$, after checking that the probabilities add up to 1.
(i) $x=0,1,2,3$ with $p=\frac16,\frac12,\frac3{10},\frac1{30}$. The sum is $\frac{5+15+9+1}{30}=1$. Then $\mu=0+\frac12+\frac{6}{10}+\frac{3}{30}=\frac65$. Next $\sum x^2p=0+\frac12+\frac{12}{10}+\frac{9}{30}=2$, so $\sigma^2=2-\frac{36}{25}=\frac{14}{25}=0.56$ and $\sigma=\sqrt{0.56}\approx0.748$.
(ii) $x=1,2,3,4$ with $p=0.4,0.3,0.2,0.1$. Here $\mu=0.4+0.6+0.6+0.4=2$ and $\sum x^2p=0.4+1.2+1.8+1.6=5$, so $\sigma^2=5-4=1$ and $\sigma=1$.
(iii) $x=-3,-1,0,2$ with $p=0.2,0.4,0.3,0.1$. Here $\mu=-0.6-0.4+0+0.2=-0.8$. For the squares, $\sum x^2p=9(0.2)+1(0.4)+0+4(0.1)=2.6$. Therefore $\sigma^2=2.6-(-0.8)^2=2.6-0.64=1.96$ and $\sigma=1.4$.
(iv) $x=-2,-1,0,1,2$ with $p=0.1,0.2,0.4,0.2,0.1$. The table is symmetric about 0, so $\mu=0$. Then $\sigma^2=\sum x^2p=0.4+0.2+0+0.2+0.4=1.2$ and $\sigma=\sqrt{1.2}\approx1.095$.
(i) $\mu=1.2$, $\sigma^2=0.56$, $\sigma\approx0.748$
(ii) $\mu=2$, $\sigma^2=1$, $\sigma=1$
(iii) $\mu=-0.8$, $\sigma^2=1.96$, $\sigma=1.4$
(iv) $\mu=0$, $\sigma^2=1.2$, $\sigma\approx1.095$
Question 2
Two coins are tossed together. Taking $X$ as the number of heads that show, find the mean and variance of $X$.
Solution. The four equally likely outcomes HH, HT, TH, TT give $X=0,1,2$ with probabilities $\frac14,\frac12,\frac14$. Then $\mu=0+\frac12+\frac12=1$ and $\sum x^2p=0+\frac12+1=\frac32$, so $\sigma^2=\frac32-1=\frac12$.
Mean $=1$, variance $=\dfrac12=0.5$
Question 3
Three coins are tossed together. Let $X$ be the number of tails obtained. Find the mean and the variance of $X$.
Solution. Of the 8 equally likely outcomes, $\binom3k$ have $k$ tails, so $P(X=0,1,2,3)=\frac18,\frac38,\frac38,\frac18$. Then $\mu=\frac38+\frac68+\frac38=\frac32$ and $\sum x^2p=\frac38+\frac{12}{8}+\frac98=3$, so $\sigma^2=3-\frac94=\frac34$.
Mean $=1.5$, variance $=\dfrac34=0.75$
Question 4
A die is thrown twice, and a throw counts as a success if it shows an odd number. Find the probability distribution of the number of successes, and then its mean and variance.
Solution. Each throw is odd with probability $\frac12$, independently, so $X$ (the number of successes) takes the values $0,1,2$ with $P(0)=\frac12\cdot\frac12=\frac14$, $P(1)=2\cdot\frac12\cdot\frac12=\frac12$ and $P(2)=\frac14$.
| $x$ | 0 | 1 | 2 |
|---|---|---|---|
| $P(X=x)$ | $\frac14$ | $\frac12$ | $\frac14$ |
Then $\mu=\frac12+\frac12=1$ and $\sum x^2p=\frac12+1=\frac32$, so $\sigma^2=\frac32-1=\frac12$.
Distribution $\frac14,\frac12,\frac14$ for $X=0,1,2$; mean $=1$, variance $=\dfrac12$
Question 5
A die is thrown twice, and a throw is a success when the number shown is greater than 4. Find the distribution of the number of successes, together with its mean and variance.
Solution. Only 5 and 6 qualify, so one throw succeeds with probability $\frac26=\frac13$ and fails with probability $\frac23$. For two independent throws $P(0)=\frac49$, $P(1)=2\cdot\frac13\cdot\frac23=\frac49$ and $P(2)=\frac19$.
| $x$ | 0 | 1 | 2 |
|---|---|---|---|
| $P(X=x)$ | $\frac49$ | $\frac49$ | $\frac19$ |
Then $\mu=\frac49+\frac29=\frac23$ and $\sum x^2p=\frac49+\frac49=\frac89$, so $\sigma^2=\frac89-\frac49=\frac49$.
Distribution $\frac49,\frac49,\frac19$ for $X=0,1,2$; mean $=\dfrac23$, variance $=\dfrac49$
Question 6
A pair of dice is rolled four times, and a roll is a success if both dice show the same number (a doublet). Find the probability distribution of the number of successes, and its mean and variance.
Solution. A doublet occurs in 6 of the 36 outcomes, so $p=\frac16$ and $q=\frac56$ on each roll. With 4 independent rolls $X$ is binomial: $P(X=k)=\binom4k\left(\frac16\right)^k\left(\frac56\right)^{4-k}$. This gives $\frac{625}{1296},\frac{500}{1296},\frac{150}{1296},\frac{20}{1296},\frac{1}{1296}$ for $k=0,\dots,4$.
| $x$ | 0 | 1 | 2 | 3 | 4 |
|---|---|---|---|---|---|
| $P(X=x)$ | $\frac{625}{1296}$ | $\frac{125}{324}$ | $\frac{25}{216}$ | $\frac{5}{324}$ | $\frac{1}{1296}$ |
For a binomial variable $\mu=np=\frac46=\frac23$ and $\sigma^2=npq=4\cdot\frac16\cdot\frac56=\frac59$.
Probabilities as in the table; mean $=\dfrac23$, variance $=\dfrac59$
Question 7
Toss a fair coin 4 times in a row and let $X$ stand for how many heads appear. Tabulate the distribution of $X$, and obtain $E(X)$ and $\operatorname{Var}(X)$.
Solution. There are 16 equally likely outcomes and $\binom4k$ of them have $k$ heads, so $P(X=0,\dots,4)=\frac1{16},\frac4{16},\frac6{16},\frac4{16},\frac1{16}$.
| $x$ | 0 | 1 | 2 | 3 | 4 |
|---|---|---|---|---|---|
| $P(X=x)$ | $\frac1{16}$ | $\frac14$ | $\frac38$ | $\frac14$ | $\frac1{16}$ |
The table is symmetric about 2, so $\mu=2$, which also equals $np=4\cdot\frac12$. The variance is $npq=4\cdot\frac12\cdot\frac12=1$.
Mean $=2$, variance $=1$
Question 8
Two throws of a pair of dice are made. Let $X$ count how many times the total 9 turns up. Find the distribution of $X$, then the mean, variance and standard deviation.
Solution. A total of 9 comes from $(3,6),(4,5),(5,4),(6,3)$, so $p=\frac4{36}=\frac19$ and $q=\frac89$. For two independent throws $P(0)=\frac{64}{81}$, $P(1)=2\cdot\frac19\cdot\frac89=\frac{16}{81}$ and $P(2)=\frac1{81}$.
| $x$ | 0 | 1 | 2 |
|---|---|---|---|
| $P(X=x)$ | $\frac{64}{81}$ | $\frac{16}{81}$ | $\frac1{81}$ |
Then $\mu=2\cdot\frac19=\frac29$, $\sigma^2=2\cdot\frac19\cdot\frac89=\frac{16}{81}$, and so $\sigma=\frac49$.
Mean $=\dfrac29$, variance $=\dfrac{16}{81}$, standard deviation $=\dfrac49$
Question 9
Five cards carry the numbers 1, 2, 3, 4, 5, one on each. Two are taken at random without replacement, and $X$ is the sum of the two numbers. Find the mean and variance of $X$.
Solution. There are $\binom52=10$ equally likely pairs. The sums are 3 from $\{1,2\}$; 4 from $\{1,3\}$; 5 from $\{1,4\},\{2,3\}$; 6 from $\{1,5\},\{2,4\}$; 7 from $\{2,5\},\{3,4\}$; 8 from $\{3,5\}$; 9 from $\{4,5\}$.
| $x$ | 3 | 4 | 5 | 6 | 7 | 8 | 9 |
|---|---|---|---|---|---|---|---|
| $P(X=x)$ | $\frac1{10}$ | $\frac1{10}$ | $\frac15$ | $\frac15$ | $\frac15$ | $\frac1{10}$ | $\frac1{10}$ |
The table is symmetric about 6, so $\mu=6$. Then $\sigma^2=\sum(x-6)^2p=9\cdot\frac1{10}+4\cdot\frac1{10}+1\cdot\frac15+0+1\cdot\frac15+4\cdot\frac1{10}+9\cdot\frac1{10}=\frac{9+4+2+0+2+4+9}{10}=3$.
Mean $=6$, variance $=3$
Question 10
From a thoroughly shuffled pack of 52 playing cards, a hand of two cards is picked. Tabulate how the number of kings in the hand is distributed, and then work out the variance of that number.
Solution. Let $X$ be the number of kings, from the 4 kings among 52 cards; $\binom{52}{2}=1326$. Then $P(0)=\frac{\binom{48}2}{1326}=\frac{1128}{1326}=\frac{188}{221}$, $P(1)=\frac{4\cdot48}{1326}=\frac{32}{221}$ and $P(2)=\frac{\binom42}{1326}=\frac{1}{221}$.
| $x$ | 0 | 1 | 2 |
|---|---|---|---|
| $P(X=x)$ | $\frac{188}{221}$ | $\frac{32}{221}$ | $\frac1{221}$ |
Here $\mu=\frac{32+2}{221}=\frac2{13}$ and $\sum x^2p=\frac{32+4}{221}=\frac{36}{221}$. So $\sigma^2=\frac{36}{221}-\frac4{169}=\frac{468-68}{2873}=\frac{400}{2873}$.
Distribution $\frac{188}{221},\frac{32}{221},\frac1{221}$ for $X=0,1,2$; variance $=\dfrac{400}{2873}$
Question 11
Sixteen bulbs sit in a carton and exactly 4 of them are faulty. If a random handful of three bulbs is pulled out, and $X$ denotes how many in that handful are faulty, what are $E(X)$ and $\operatorname{Var}(X)$?
Solution. With $\binom{16}3=560$ equally likely draws: $P(0)=\frac{\binom{12}3}{560}=\frac{220}{560}=\frac{11}{28}$, $P(1)=\frac{4\cdot66}{560}=\frac{33}{70}$, $P(2)=\frac{6\cdot12}{560}=\frac9{70}$, $P(3)=\frac4{560}=\frac1{140}$.
Then $\mu=\frac{33}{70}+\frac{18}{70}+\frac{3}{140}=\frac{66+36+3}{140}=\frac34$. Also $\sum x^2p=\frac{33}{70}+\frac{36}{70}+\frac{9}{140}=\frac{66+72+9}{140}=\frac{21}{20}$, so $\sigma^2=\frac{21}{20}-\frac9{16}=\frac{84-45}{80}=\frac{39}{80}$.
Mean $=\dfrac34$, variance $=\dfrac{39}{80}$
Question 12
Twenty per cent of the bulbs a machine makes are defective. A sample of 4 bulbs is taken at random. Find the probability distribution of the number of defective bulbs in the sample.
Solution. Each bulb is defective with probability $p=\frac15$, independently, so the number defective is binomial with $n=4$: $P(X=k)=\binom4k\left(\frac15\right)^k\left(\frac45\right)^{4-k}$. Hence $P(0)=\frac{256}{625}$, $P(1)=\frac{4\cdot64}{625}=\frac{256}{625}$, $P(2)=\frac{6\cdot16}{625}=\frac{96}{625}$, $P(3)=\frac{4\cdot4}{625}=\frac{16}{625}$, $P(4)=\frac1{625}$. These add to $\frac{625}{625}=1$.
| $x$ | 0 | 1 | 2 | 3 | 4 |
|---|---|---|---|---|---|
| $P(X=x)$ | $\frac{256}{625}$ | $\frac{256}{625}$ | $\frac{96}{625}$ | $\frac{16}{625}$ | $\frac1{625}$ |
$X=0,1,2,3,4$ with $P=\dfrac{256}{625},\dfrac{256}{625},\dfrac{96}{625},\dfrac{16}{625},\dfrac1{625}$
Question 13
A tray contains 14 eggs, of which 4 are rotten and the other 10 fresh. Eggs are removed singly, none being replaced, until three have been removed. Writing $X$ for the number of rotten eggs among those three, determine $E(X)$ and $\operatorname{Var}(X)$.
Solution. The order does not matter, so treat it as 3 eggs chosen from 14; $\binom{14}3=364$. Then $P(0)=\frac{120}{364}=\frac{30}{91}$, $P(1)=\frac{4\cdot45}{364}=\frac{45}{91}$, $P(2)=\frac{6\cdot10}{364}=\frac{15}{91}$, $P(3)=\frac{4}{364}=\frac1{91}$.
Then $\mu=\frac{45+30+3}{91}=\frac{78}{91}=\frac67$, and $\sum x^2p=\frac{45+60+9}{91}=\frac{114}{91}$. So $\sigma^2=\frac{114}{91}-\frac{36}{49}=\frac{798-468}{637}=\frac{330}{637}$. As a check, $3\cdot\frac4{14}\cdot\frac{10}{14}\cdot\frac{11}{13}=\frac{330}{637}$.
Mean $=\dfrac67$, variance $=\dfrac{330}{637}$
Question 14
A crate has 20 oranges in which 4 have gone bad by mistake and 16 are fine. Three oranges are picked at random, and $X$ counts the bad ones among the three picked. Calculate the expected value and variance of $X$.
Solution. Choose 3 from 20: $\binom{20}3=1140$. Then $P(0)=\frac{560}{1140}=\frac{28}{57}$, $P(1)=\frac{4\cdot120}{1140}=\frac{8}{19}$, $P(2)=\frac{6\cdot16}{1140}=\frac{8}{95}$, $P(3)=\frac4{1140}=\frac1{285}$.
Then $\mu=\frac8{19}+\frac{16}{95}+\frac3{285}=\frac{120+48+3}{285}=\frac{171}{285}=\frac35$. Also $\sum x^2p=\frac8{19}+\frac{32}{95}+\frac9{285}=\frac{120+96+9}{285}=\frac{15}{19}$, so $\sigma^2=\frac{15}{19}-\frac9{25}=\frac{375-171}{475}=\frac{204}{475}$.
Mean $=\dfrac35$, variance $=\dfrac{204}{475}$
Question 15
A bag holds nine balls, 5 coloured white and 4 coloured red. Three balls are taken out at the same moment, and $X$ equals how many of them are red. Obtain the mean and the variance of $X$.
Solution. Choose 3 from 9: $\binom93=84$. Then $P(0)=\frac{10}{84}=\frac5{42}$, $P(1)=\frac{4\cdot10}{84}=\frac{10}{21}$, $P(2)=\frac{6\cdot5}{84}=\frac5{14}$, $P(3)=\frac4{84}=\frac1{21}$.
Then $\mu=\frac{10}{21}+\frac{5}{7}+\frac{1}{7}=\frac{10+15+3}{21}=\frac43$. Also $\sum x^2p=\frac{10}{21}+\frac{10}{7}+\frac{3}{7}=\frac{10+30+9}{21}=\frac73$, so $\sigma^2=\frac73-\frac{16}9=\frac59$.
Mean $=\dfrac43$, variance $=\dfrac59$
Question 16
Two cards are dealt one after the other from a shuffled 52-card deck, neither being put back. If $X$ stands for the count of face cards among the two, determine $E(X)$ and $\operatorname{Var}(X)$.
Solution. There are 12 face cards (J, Q, K in four suits) and 40 others; $\binom{52}2=1326$. Then $P(0)=\frac{\binom{40}2}{1326}=\frac{780}{1326}=\frac{10}{17}$, $P(1)=\frac{12\cdot40}{1326}=\frac{80}{221}$, $P(2)=\frac{66}{1326}=\frac{11}{221}$.
Then $\mu=\frac{80+22}{221}=\frac{102}{221}=\frac6{13}$. Also $\sum x^2p=\frac{80+44}{221}=\frac{124}{221}$, so $\sigma^2=\frac{124}{221}-\frac{36}{169}=\frac{1612-612}{2873}=\frac{1000}{2873}$.
Mean $=\dfrac6{13}$, variance $=\dfrac{1000}{2873}$
Question 17
A shuffled 52-card deck is used and a card is picked, noted and returned before a second card is picked. For the number of aces seen in these two picks, determine the expected value and variance.
Solution. Because each card is replaced, the two draws are independent and each is an ace with probability $p=\frac4{52}=\frac1{13}$. So $X$ is binomial with $n=2$: $P(0)=\frac{144}{169}$, $P(1)=\frac{24}{169}$, $P(2)=\frac1{169}$. Then $\mu=np=\frac2{13}$ and $\sigma^2=npq=2\cdot\frac1{13}\cdot\frac{12}{13}=\frac{24}{169}$.
Mean $=\dfrac2{13}$, variance $=\dfrac{24}{169}$
Question 18
Three cards are drawn one after another, each returned before the next draw, from a well-shuffled deck of 52. Let $X$ be the number of hearts among the three. Find the mean and variance of $X$.
Solution. With replacement the draws are independent, and a heart has probability $p=\frac{13}{52}=\frac14$ each time. So $X$ is binomial with $n=3$, $p=\frac14$, $q=\frac34$. Then $\mu=np=\frac34$ and $\sigma^2=npq=3\cdot\frac14\cdot\frac34=\frac9{16}$.
Mean $=\dfrac34$, variance $=\dfrac9{16}$
Question 19
Five defective bulbs are accidentally mixed with 20 good ones, and a defective bulb cannot be told from a good one by looking. Find the probability distribution of the number of defective bulbs when 4 bulbs are drawn from the lot.
Solution. The lot has 25 bulbs, 5 defective, and the question is read as drawing 4 of them. There are $\binom{25}4=12650$ equally likely draws. With $X$ defective: $P(0)=\frac{\binom{20}4}{12650}=\frac{4845}{12650}=\frac{969}{2530}$, $P(1)=\frac{5\cdot1140}{12650}=\frac{114}{253}$, $P(2)=\frac{10\cdot190}{12650}=\frac{38}{253}$, $P(3)=\frac{10\cdot20}{12650}=\frac4{253}$, $P(4)=\frac{5}{12650}=\frac1{2530}$.
| $x$ | 0 | 1 | 2 | 3 | 4 |
|---|---|---|---|---|---|
| $P(X=x)$ | $\frac{969}{2530}$ | $\frac{114}{253}$ | $\frac{38}{253}$ | $\frac4{253}$ | $\frac1{2530}$ |
These add to 1, which confirms the working.
$X=0,1,2,3,4$ with $P=\dfrac{969}{2530},\dfrac{114}{253},\dfrac{38}{253},\dfrac4{253},\dfrac1{2530}$
Common mistakes
- Forgetting to subtract $\mu^2$. In Question 1(iii), $\sum x^2p=2.6$ is not the variance; with $\mu=-0.8$ the variance is $2.6-0.64=1.96$.
- Treating draws without replacement as binomial. In Questions 13 and 14 the factor $\frac{N-n}{N-1}$ matters: $npq$ alone gives the wrong variance.
- Reading “face cards” as 16 (including aces) or 4 (kings only). Question 16 uses J, Q, K, which is 12.
- Using the number of outcomes of one die (6) instead of the pair (36) in Questions 6 and 8, and missing that a doublet has 6 outcomes and a total of 9 has 4.
- Skipping the check that the probabilities add to 1 before computing $\mu$.
Practise next
A die is thrown three times and getting a 6 counts as a success. Find the mean and variance of the number of successes.
Show answer
Mean $\frac12$, variance $\frac5{12}$. The count is binomial with $n=3$, $p=\frac16$, so $\mu=np=\frac12$ and $\sigma^2=npq=3\cdot\frac16\cdot\frac56=\frac5{12}$.
Shiwam's Classes: IIT JEEJEE Main and Advanced, worked in full
Subscribe