4 4 votes In a probability space, it is given that $P(A)=a$, $P(B)=b$, and $P(B \mid A^c)=e$. Also, $P(A \mid B^c)=f$. Determine $P(A \mid B)$ and $P(B \mid A)$ in terms of $a$, $b$, $e$, and $f$.$P(A \mid B)=\frac{a-(1-b)f}{b}, \quad P(B \mid A)=\frac{b-(1-a)e}{a}$ $P(A \mid B)=\frac{a+(1-b)f}{b}, \quad P(B \mid A)=\frac{b-(1-a)e}{a}$ $P(A \mid B)=\frac{a-(1-b)f}{b}, \quad P(B \mid A)=\frac{b+(1-a)e}{a}$ $P(A \mid B)=\frac{a+(1-b)f}{b}, \quad P(B \mid A)=\frac{b+(1-a)e}{a}$ Probability goclasses goclasses-cs-dpp goclasses-cs-dpp-day-251 probability goclasses-probability-practice-questions conditional-probability + – GO Classes 155 views answer comment Share Follow Print See 1 comment 1 1 comment reply VIPIN_CHANDRA commented Apr 27 reply Follow flag Very nice question related to total probability 1 1 replyShare Please log in or register to add a comment.
1 1 vote First find $P(B \mid A)$:Using total probability with respect to $A$ and $A^c$,$P(B)=P(B \mid A)P(A)+P(B \mid A^c)P(A^c)$.$\Rightarrow b=P(B \mid A)\cdot a+e(1-a)$.$\Rightarrow P(B \mid A)=\frac{b-e(1-a)}{a}$.Now find $P(A \mid B)$:Using total probability with respect to $B$ and $B^c$,$P(A)=P(A \mid B)P(B)+P(A \mid B^c)P(B^c)$.$\Rightarrow a=P(A \mid B)\cdot b+f(1-b)$.$\Rightarrow P(A \mid B)=\frac{a-f(1-b)}{b}$.$\boxed{\therefore P(A \mid B)=\frac{a-f(1-b)}{b} \qquad \& \qquad P(B \mid A)=\frac{b-e(1-a)}{a}}$ GO Classes answered Apr 21 GO Classes comment Share Follow 0 reply Please log in or register to add a comment.