Conditional probability
Introduced| English | Meaning |
|---|---|
| conditional probability/kənˈdɪʃənl ˌprɒbəˈbɪlɪti/ | The probability of an event given that another event has occurred. |
| two-way table/tuː weɪ ˈteɪbl/ | A table showing frequencies or other data classified by two categorical variables. |
| dependent/dɪˈpendənt/ | dependent |
Which group did you choose from?
- A student is chosen at random from the French group. What is the chance they also study German? Only French students can be chosen, so the total has changed.
- Conditional probability 条件概率 means the chance of an event given some information. This is an Extended topic. Use tables, Venn diagrams and trees; a special formula is not required.
A student is selected at random from the school orchestra. Which total is used for the chance that they play violin?
Difficulty 1/5 · 100 coins + a small bonus on first completion today
Only orchestra members can be selected.
A table makes the selected group visible
- In this class, 18 of the 30 students study French. Of these 18, 7 study German. A student is chosen at random from those who study French.
- Read across the French row: 7 of its 18 students meet the target. The two-way table 双向表 also shows the other students, but they cannot be chosen under this condition.
| Students | German | Not German | Total |
|---|---|---|---|
| French | 7 | 11 | 18 |
| Not French | 5 | 7 | 12 |
| Total | 12 | 18 | 30 |
The probability of German given French is $\dfrac{7}{18}$. If the student were chosen from the whole class, the probability of studying both languages would be $\dfrac{7}{30}$. The numerator is the same; the group available for selection is different.
In a class of 30, 18 students study French and 7 of these also study German. A French student is chosen at random. The probability they study German is 7/a. What is a?
Difficulty 2/5 · 140 coins + a small bonus on first completion today
The condition selects the 18 French students.
Of 18 French students, 7 also study German. A French student is chosen at random. The chance they do not study German is b/18. Find b.
Difficulty 2/5 · 140 coins + a small bonus on first completion today
Of the 18 French students, 18 − 7 = 11 do not study German.
Reversing the condition changes the question
- Now choose a student at random from the German group. There are 12 German students, and 7 also study French, so the probability of French given German is $\dfrac{7}{12}$.
- Compare $\dfrac{7}{12}$ with $\dfrac{7}{18}$. Saying which group is selected matters. A condition can be known information about a person; it need not be an earlier event in time.
Name the condition before calculating. For “German given French”, use the French total. Do not automatically use the class total, the smaller total or the total for the language you are trying to find.
Of 30 students, 18 study French, 12 study German and 7 study both. A German student is chosen at random. What is the chance they also study French?
Difficulty 1/5 · 100 coins + a small bonus on first completion today
The selected German group has 12 students; 7 also study French.
The probability of German given French must equal the probability of French given German.
Difficulty 1/5 · 100 coins + a small bonus on first completion today
The overlap is the same, but the selected group totals can differ.
Read a Venn diagram by counting regions
- The same class has 11 students in French only, 7 in both groups, 5 in German only and 7 in neither. Given French, the selected region contains $11+7=18$ students.
- Given not French, use the region outside the French circle. It contains $5+7=12$ students, of whom 5 study German, so the probability is $\dfrac{5}{12}$.
The counts describe the same students as the table. Each student belongs to exactly one of the four regions.
A Venn diagram shows French only 11, both French and German 7, German only 5 and neither 7. How many students are outside the French circle?
Difficulty 2/5 · 140 coins + a small bonus on first completion today
German only plus neither gives 5 + 7 = 12.
A Venn diagram shows French only 11, both French and German 7, German only 5 and neither 7. A student is chosen at random from those who do not study French. What is the chance they study German?
Difficulty 1/5 · 100 coins + a small bonus on first completion today
Of the 12 outside French, 5 are in German.
On a tree, read the branch after the condition
- A bag contains 3 red and 2 blue counters. Choose two counters at random without replacement. If the first was blue, 3 red and 1 blue remain, so the chance of a second red is $\dfrac{3}{4}$.
- The blue-then-red path has probability $\dfrac{2}{5}\times\dfrac{3}{4}=\dfrac{3}{10}$. This is the chance of both results before either draw. Given the first is blue, use only its second-stage red branch: $\dfrac{3}{4}$.
Two counters are drawn at random without replacement from a bag of 3 red and 2 blue counters. Given the first is blue, find the probability the second is red, as a decimal.
Difficulty 2/5 · 140 coins + a small bonus on first completion today
There are 3 red counters among the 4 remaining: 3/4 = 0.75.
Two counters are drawn at random without replacement from a bag of 3 red and 2 blue counters. What does (2/5) × (3/4) calculate?
Difficulty 1/5 · 100 coins + a small bonus on first completion today
Multiplying along the path gives the probability of both results before the draws.
A condition can select more than one path
- For the same bag, suppose you know the second counter is red, but the first colour is hidden. Two paths meet the condition: RR has probability $\dfrac{3}{5}\times\dfrac{2}{4}=\dfrac{6}{20}$, and BR has probability $\dfrac{2}{5}\times\dfrac{3}{4}=\dfrac{6}{20}$.
- Together these paths have probability $\dfrac{12}{20}$. The part that starts blue is $\dfrac{6}{20}$, so among the selected paths its share is $\dfrac{6}{20}\div\dfrac{12}{20}=\dfrac{1}{2}$. Count path probabilities, not just the number of paths; paths need not be equally likely.
Two counters are drawn at random without replacement from a bag of 3 red and 2 blue counters. You know the second counter is red. RR and BR each have probability 6/20. What is the probability the first counter was blue, as a decimal?
Difficulty 2/5 · 140 coins + a small bonus on first completion today
BR is 6/20 out of the selected total 12/20, giving 1/2.
If two paths meet a condition, each must have conditional probability 1/2.
Difficulty 1/5 · 100 coins + a small bonus on first completion today
Compare their probability weights. Two paths may have different probabilities.
Does knowing the first result change the chance?
- Before seeing the first colour, the second-red paths total $\dfrac{12}{20}=\dfrac{3}{5}$. Given the first was blue, the chance of a red second counter is $\dfrac{3}{4}$. The draws are dependent 相依的: knowing the first result changes the chance at the next stage.
- With replacement and a thorough mix, the chance of red on the second draw would stay $\dfrac{3}{5}$, whatever the first colour. Check the selection method before assuming that probabilities stay the same.
A bag has 4 red and 6 blue counters. A blue counter is drawn, replaced and mixed in. What is the probability the next counter is red?
Difficulty 1/5 · 100 coins + a small bonus on first completion today
Replacement restores all 10 counters, including the 4 red counters.
A bag has 4 red and 6 blue counters. A red counter is drawn and not replaced. The chance the next counter is red is 3/d. Find d.
Difficulty 2/5 · 140 coins + a small bonus on first completion today
One counter has been removed: 3 red remain among 9 counters.
Explain the group and the target
- For a new problem, write down which people or outcomes can be chosen after using the given information. Then count which of them meet the target.
- Give the probability as a fraction, decimal or percentage, and explain your denominator. If you reverse the condition, work out the new total before calculating again.
In a class of 40, 20 students swim, 16 play music and 8 do both. A student is chosen at random from the swimmers. Find the probability they play music, then find the probability of swimming given that they play music. Explain both denominators.
The condition determines which total can be selected from.
A Venn diagram has 9 students in chess only, 6 in both chess and drama, 14 in drama only and 11 in neither. A student is chosen at random from those who do not attend chess. Find the probability they attend drama, with a reason.
The overlap cannot be selected because it is inside chess.
A box contains 5 green and 3 yellow counters. Two are drawn at random without replacement. Given that the first is yellow, Sam calculates (3/8) × (5/7) for the probability the second is green. Correct the calculation and explain what Sam actually found.
Read the second-stage branch when the first result is already known.
Keep the condition in view
- A conditional probability uses only outcomes consistent with the given information.
- A table or Venn diagram supplies counts. Divide the target count in the selected group by that group's total.
- On a tree, a second-stage branch is already conditional on its first-stage result. For a condition covering several paths, compare their probability totals.
A club has 24 members, 10 wear glasses and 6 of those 10 cycle to school. A glasses-wearing member is selected at random. What is the probability they cycle?
Difficulty 1/5 · 100 coins + a small bonus on first completion today
The condition selects the 10 glasses-wearing members; 6 cycle.