We're told that
a. We want to find . By definition of conditional probability,
By the law of total probability,
Then
(the first equality is Bayes' theorem)
b. We want to find .
since .
9.4m questions
12.2m answers