Solution

ID: past-exam-of-the-year-1-of-the-computer-science-course-of-the-university-of-oxford/2013/discrete-mathematics-probability-and-continuous-mathematics/7/b/ii/solution

The events and are disjoint and their union is . Additivity of probability gives
Both conditioning events have positive probability because . Apply the definition of conditional probability to each term to obtain the law of total probability:

New to topics? Read the docs here!