In a high school having equal number of boy students and girl students, \(75\%\)
of the students study Science and the remaining \(25\%\)
students study Commerce. Commerce students are two times more likely to be a boy than are Science students. The amount of information gained in knowing that a randomly selected girl student studies Commerce (rounded off to three decimal places) is bits.
Show the worked solution\[\begin{aligned} \text{Given,}\qquad P(G)&=\frac{1}{2} \text { and } P(B)=\frac{1}{2} \\ P(C)&=\frac{1}{4} \text { and } P(S)=\frac{3}{4} \end{aligned}\]Let probability of selected science student is a boy is \(P(B/S) = x\)
Given that Commerce students are two time more likely to be a boy than are Science students.
Then, probability of selected Commerce student is a boy
\(P\left(\frac{B}{C}\right)=2 x\)
We have to find probability of randomly selected girl studies Commerce i.e.\[\begin{aligned} P\left(\frac{C}{G}\right)&=\frac{P(C \cap G)}{P(G)}=\frac{P(C) P(G / C)}{P(G)} \\ P\left(\frac{C}{G}\right)&=\frac{\frac{1}{4} \times P\left(\frac{G}{C}\right)}{\frac{1}{2}} &\ldots(i) \end{aligned}\]To find \(P(G / C)\), first we have to find \(P(B/C).\)
The probability of selected student is a boy\[\begin{aligned} P(B) &=P(S) P(B / S)+P(C) \times P(B / C) \\ \frac{1}{2} &=\frac{3}{4} \times x+\frac{1}{4} \times 2 x \\ \Rightarrow\qquad\qquad x &=\frac{2}{5}\\ \text{Then},\qquad \qquad P(B / C)&=2 x=\frac{4}{5}\\ \text{We know that},\qquad \\ P\left(\frac{B}{C}\right)+P\left(\frac{G}{C}\right)&=1 \\ P\left(\frac{G}{C}\right) =1- \frac{4}{5}&=\frac{1}{5} \\ \text{From equation (i),} \\ P\left(\frac{G}{C}\right) = \frac{1}{4} \times \frac{1}{\frac{5}{1/2}} &= \frac{1}{10} \end{aligned}\]The amount of information gained in knowing that a randomly selected girl student studies Commerce
\(I\left ( \frac{C}{G} \right )=\log _2 \frac{1}{P\left ( \frac{C}{G} \right )}= \log _2 10=3.32\)
GATE DA practice: past exam problems by chapter, with worked solutions · gatedaprep.com