GATE CS 2005 · Conditional Probability

MCQ · 2 marks · Problem EM-CBAY-0013

Box $P$ has $2$ red balls and $3$ blue balls and box $Q$ has $3$ red balls and $1$ blue ball. A ball is selected as follows: (i) select a box (ii) choose a ball from the selected box such that each ball in the box is equally likely to be chosen. The probabilities of selecting boxes $P$ and $Q$ are $\dfrac{1}{3}$ and $\dfrac{2}{3}$ respectively. Given that a ball selected in the above process is a red ball, the probability that it came from the box $P$ is:
  1. A
    $\dfrac{4}{19}$
  2. B
    $\dfrac{5}{19}$
  3. C
    $\dfrac{2}{9}$
  4. D
    $\dfrac{19}{30}$

Solve it on GATE DA practice →More Conditional Probability & Bayes problems

Show the worked solution\[\boxed{P(P\mid \text{red})=\frac{P(P)\,P(\text{red}\mid P)}{P(P)\,P(\text{red}\mid P)+P(Q)\,P(\text{red}\mid Q)}}\]\[P(P)\,P(\text{red}\mid P)=\frac13\cdot\frac25=\frac{2}{15},\qquad P(Q)\,P(\text{red}\mid Q)=\frac23\cdot\frac34=\frac12.\]\[P(\text{red})=\frac{2}{15}+\frac12=\frac{19}{30},\qquad P(P\mid\text{red})=\frac{2/15}{19/30}=\frac{4}{19}.\]Answer: A

GATE DA practice: past exam problems by chapter, with worked solutions · gatedaprep.com