Solution

ID: past-exam-of-the-mathematics-course-of-the-university-of-cambridge/2021/ia/paper-2/9e/a/i/solution

For , the conditional probability is
Hence
Because the form a partition, the law of total probability gives
Substitution proves Bayes theorem in the required form:

New to topics? Read the docs here!