☰ Year plan · Statistics

Conditional probability

Week 13 · Conditional probability: the reduced sample space, P(A | B) = P(A ∩ B) ÷ P(B), the multiplication rule, two-way tables, tree and Venn diagrams · 3 lessons
1

From P(A) to P(A | B): knowing that B happened shrinks the sample space, and the formula P(A | B) = P(A ∩ B) ÷ P(B)

Statistics Sec 3 Term 1, Unit 3, Lesson 2
GoalExplain why knowing that B occurred shrinks the sample space, and compute P(A | B) = P(A ∩ B) ÷ P(B).
New words
conditional probability P(A | B) · the probability of A when we know that B has occurredgiven that · the words that introduce the conditionreduced sample space · the event B itself, once we know it occurred
Explanation

Sometimes we learn something about the result before we look at it. A die is thrown and a friend says the number is even. The chance of “more than 3” was 3/6 = 1/2 before the news. Now only 2, 4 and 6 are possible, and two of them (4 and 6) are more than 3, so the chance becomes 2/3. Knowing that B occurred has reduced the sample space from S to B. In general P(A | B), read “the probability of A given B”, is the share of B that also lies in A: P(A | B) = n(A ∩ B) ÷ n(B) = P(A ∩ B) ÷ P(B), where P(B) > 0. Dividing by P(B) is the step that makes B the new whole, so that P(B | B) = 1. The two forms agree because the common factor 1 ÷ n(S) cancels. Read the wording with care: the event after “the probability of” is the one we want, and the event after “given that” is the condition. The table lists the six outcomes of the die.

123456
even (B)noyesnoyesnoyes
more than 3 (A)nononoyesyesyes
both (A ∩ B)nononoyesnoyes
Worked examples
The die above, with A = “more than 3” and B = “even”. Reduced sample space B = {2, 4, 6}; A ∩ B = {4, 6}. So P(A | B) = 2/3. With the formula: P(A ∩ B) ÷ P(B) = (2/6) ÷ (3/6) = 2/3. The condition raised the chance from 1/2 to 2/3.
Reduced sample space: first die even (sums shown)
123456
2345678
45678910
6789101112
Two dice. Find P(the sum is 8 given that the first die is even). The first die is 2, 4 or 6, so the reduced sample space has 3 × 6 = 18 pairs, shown below. The sum 8 appears in 3 of them, (2, 6), (4, 4) and (6, 2). So the probability is 3/18 = 1/6. Without the condition P(sum 8) = 5/36, which is a little smaller.
Three coins. Find P(exactly two heads given that there is at least one head). “At least one head” keeps 7 of the 8 outcomes (all but TTT). Among them HHT, HTH and THH have exactly two heads. So the answer is 3/7. By the formula: (3/8) ÷ (7/8) = 3/7. The unconditional P(exactly two heads) is 3/8, so the condition changed the answer.
Class activity

Write the numbers 1 to 12 on slips. Suppose someone tells you only that the number drawn is prime. List the reduced sample space, find P(odd | prime) and compare it with P(odd) = 1/2. Explain in a sentence why the two answers are different.

Practice
1
A die is thrown. Let A = “5 or 6” and B = “greater than 2”. Find P(A | B).
2
A spinner has 12 equal sectors numbered 1 to 12. Find P(a multiple of 4 | even).
3
Two coins are tossed. Find P(two heads | at least one head).
4
P(A ∩ B) = 0.18 and P(B) = 0.45. Find P(A | B).
5
“Of the pupils who arrived late, what fraction were girls?” Write this as P( | ) and say which event is the condition.