Question 12 of 12: Conditional Probability and the Binomial Distribution
Nivaar worked solution (AI-drafted; not reviewed by a licensed engineer)
Notes on this paper
National Examination, 04-BS-16 Discrete Mathematics, May 2013. Closed book, no aids, 3 hours, 12 questions of 10 marks each (100 marks); the exam instructs "answer 10 of 12" but every question is solved below as a complete study resource.
Reference texts: Rosen, Discrete Mathematics and Its Applications, 7th ed. (logic Ch.1, induction & recursion Ch.5, counting Ch.6, discrete probability Ch.7, relations Ch.9, graphs Ch.10-11); Epp, Discrete Mathematics with Applications.
Question 12: Conditional Probability and the Binomial Distribution (10 marks)
Given. (a) 3-child family, 8 equally-likely B/G sequences. (b) 8 independent fair bits (each 0 or 1 with probability $\tfrac12$).
Find. (a) $P(\text{exactly 2 boys, 1 girl}\mid\text{at least 1 boy})$. (b)(i) $P(\text{exactly 3 ones})$. (b)(ii) $P(\text{at least 3 ones})$.
(a) Reduce the sample space. "At least one boy" excludes only the sequence GGG, leaving $8-1=7$ equally-likely sequences.
(a) Count the favourable sequences. Sequences with exactly 2 boys and 1 girl: BBG, BGB, GBB — 3 sequences (all lie within the reduced 7-sequence space, since each contains at least one boy).
$$P(\text{2B,1G}\mid\ge1\text{ boy}) = \frac{3}{7} = \boxed{\frac{3}{7}}.$$
(b-i) Exactly three 1's among 8 bits. Choose which 3 of the 8 bit positions are 1 ($\binom{8}{3}$ ways); each specific pattern has probability $(\tfrac12)^8$:
$$P(\text{exactly 3 ones}) = \binom{8}{3}\left(\frac12\right)^8 = \frac{56}{256} = \boxed{\frac{7}{32}}.$$
(b-ii) At least three 1's. Complement: fewer than 3 ones, i.e. 0, 1, or 2 ones.
$$P(0)+P(1)+P(2) = \frac{\binom{8}{0}+\binom{8}{1}+\binom{8}{2}}{2^8} = \frac{1+8+28}{256} = \frac{37}{256}.$$
$$P(\text{at least 3 ones}) = 1 - \frac{37}{256} = \boxed{\frac{219}{256}}.$$