Elementary and Conditional Probability
Senior 5 · Mathematics
Elementary and Conditional Probability
Lesson 3 of 4
45 min
A pupil is chosen at random from a school; the chance that she owns a bicycle is one number. If you are told that she is a day pupil, who travels to school every morning, the chance changes. Probability that takes known information into account is conditional probability. It is how a weather forecast updates after the morning clouds, and how a doctor reads a test result. When events affect each other, it replaces the simple multiplication rule of lesson 2.
Definition
The conditional probability of given , where , is
Knowing that occurred shrinks the sample space to ; with equally likely outcomes, . Events are dependent when knowing one changes the probability of the other.
Worked example 1: from a two-way table
120 S5 pupils are classified as follows (illustrative):
| owns a bicycle | no bicycle | total | |
|---|---|---|---|
| boarder | 10 | 40 | 50 |
| day pupil | 35 | 35 | 70 |
| total | 45 | 75 | 120 |
A pupil is chosen at random. Find , and .
Solution. . Given a day pupil, the sample space is the 70 day pupils: . Given a bicycle owner, it is the 45 owners: . Since , owning a bicycle and being a day pupil are dependent. Note that and are different numbers.
Important
Multiplication rule (general). Rearranging the definition,
Independence. When , and are independent if and only if : knowing does not change the chance of .
Properties of conditional probability. For a fixed event with , obeys all the rules of lesson 1:
Reason for the complement. and do not overlap and make up , so . Divide by .
A tree diagram shows an experiment in stages. Each branch carries a conditional probability given the path so far, and the branches leaving one point add up to 1. The probability of a whole path is the product along it (the multiplication rule); the probability of an event made of several paths is the sum of their products (the addition rule for exclusive events).
Worked example 2: avocados without replacement
A basket holds 5 ripe and 3 unripe avocados. Two are taken at random, one after the other, without replacement. Find the probability that both are ripe, that exactly one is ripe, and that the first was ripe given that exactly one is ripe.
Solution. From the tree, . Exactly one ripe is the paths and : . Then
Check: , so the four paths add to 1. ✓
Worked example 3: conditional probability from the rules
, and . Find and . Are and independent?
Solution. . So and . Since , they are independent.
Worked example 4: two dice, two different conditions
Two fair dice are rolled. Find and .
Solution. Given the first die is 3, the total is 8 only if the second shows 5: probability . A total of 8 has 5 outcomes, , and one of them starts with 3: probability .
Warning
Tip
Read "given" as "among": is "the fraction of bicycle owners among the day pupils". The word after "among" is the denominator.
Khan Academy: Conditional probability tree diagram example (about 11 min). Watch a two-stage tree built and then read backwards to find a conditional probability.
Practice
Questions 1 to 3 are routine; 4 to 6 need more care; 7 asks for a proof.
Sources and credits