Let a and g rapresent the boyy and the girl child respectively. if a family has two children, the samplw space will be S = {(b, b), (b, g), (g, b), (g, g)} Let a be the event that both children are girls. $\therefore\ \text{A}=\big\{(\text{g},\text{g})\big\}$ - Let B be the event that the youngest child is a girl.
$\therefore\text{B}=\big[(\text{b},\text{g}),(\text{g},\text{g})\big]$
$\Rightarrow\ \text{A}\cap\text{B}=\big\{(\text{g},\text{g})\big\}$
$\therefore\text{P(B)}=\frac{2}{4}=\frac{1}{2}$
$\text{P}(\text{A}\cap\text{B})=\frac{1}{4}$
The conditional probability that both are girls, given that the youngest child is a girl, is given by p (A | B).
$\text{P}(\text{A}|\text{B})=\frac{\text{P}(\text{A}\cap\text{B})}{\text{P(B)}}=\frac{\frac{1}{4}}{\frac{1}{2}}=\frac{1}{2}$
Therefore, the required probability is $\frac{1}{2}$.
- Let C be the event that at least one child is a girl.
$\therefore\text{C}=\big\{(\text{b},\text{g}),(\text{g},\text{b}),(\text{g},\text{g})\big\}$
$\Rightarrow\text{A}\cap\text{C}=\big\{\text{g},\text{g}\big\}$
$\Rightarrow\text{P(C)}=\frac{3}{4}$
$\text{P}(\text{A}\cap\text{C})=\frac{1}{4}$
The conditional probability that both are girls, given that at least one child a girl, is given by P(A|C).
$\therefore \text{P}(\text{A}|\text{C})=\frac{\text{P}(\text{A}\cap\text{C})}{\text{P}(\text{C})}=\frac{\frac{1}{4}}{\frac{3}{4}}=\frac{1}{3}$