Attic › Mathematics › Conditional probability

Conditional probability changes the chance of an event when you know that another event has already occurred

Conditional probability is the probability that an event occurs, given that another event has already occurred. New information changes the chance of an outcome because it eliminates all possibilities that do not match what you now know.

In probability theory, the set of all possible outcomes of an experiment is the sample space. If you roll a standard six-sided die, the sample space has six outcomes: 1, 2, 3, 4, 5, and 6. The probability of rolling a 6 is 1/6.

Suppose someone rolls the die, looks at it, and tells you the result is an even number. This condition reduces the sample space. The outcomes 1, 3, and 5 are no longer possible. Only three outcomes remain: 2, 4, and 6. Because 6 is one of these three equally likely outcomes, the probability that the roll is a 6 is now 1/3.

Mathematicians write the conditional probability of event A given event B as P(A|B). The vertical bar means "given". In 1933, the Russian mathematician Andrey Kolmogorov defined this value with a standard formula:

P(A|B) = P(A ∩ B) / P(B)

In this formula, A ∩ B is the intersection of A and B, which means the event where both A and B occur at the same time. P(B) must be greater than zero, because you cannot condition on an impossible event.

To find the conditional probability of rolling a 6 (event A) given an even roll (event B), follow these steps:

1. Find the probability of both events occurring together, P(A ∩ B). A roll that is both 6 and even is simply a 6, so P(A ∩ B) = 1/6.

2. Find the probability of the given condition, P(B). Three of the six sides are even, so P(B) = 3/6.

3. Divide P(A ∩ B) by P(B): (1/6) / (3/6) = 1/3.

Fact-checked against Conditional probability on Wikipedia

Part of the Mathematics syllabus: Probability and Statistical Inference

See it on the timeline of Probability and Statistical Inference