P9ProbabilityHigherGrades 7–9

Conditional Probability

The probability a student plays football is one thing; the probability a student plays football given that\textit{given that} they are a boy is another. Conditional probability asks about one event when you already know another has happened, and it appears in AQA questions with two-way tables, Venn diagrams and tree diagrams.

45 min AQA GCSE Maths

The big picture

Knowing that an event has happened shrinks the set of possibilities. For "the probability of AA given BB", written P(A∣B)P(A \mid B), you only look at outcomes where BB happened, and ask what fraction of those are also AA.

With counts in a table or Venn diagram, this is just a fraction with a smaller denominator. On a tree diagram, the second set of branches already are conditional probabilities — which is why picking without replacement changes them.

What you'll learn

  • Find conditional probabilities from two-way tables
  • Find conditional probabilities from Venn diagrams
  • Use tree diagrams for dependent events
  • Work backwards to find "given that" probabilities from a tree
1

From a two-way table

80 students were asked whether they play football. Boys: 27 yes, 13 no. Girls: 18 yes, 22 no.

Given that a student plays football, the denominator is the 45 who play: P(boy∣football)=2745=0.6P(\text{boy} \mid \text{football}) = \dfrac{27}{45} = 0.6.

Given that the student is a girl, the denominator is 40: P(football∣girl)=1840=0.45P(\text{football} \mid \text{girl}) = \dfrac{18}{40} = 0.45.

Your turnSame method, new numbers — try it before moving on.

In a class, 30 boys and 20 girls were asked if they like maths. 18 boys and 12 girls said yes. A student who likes maths is chosen at random. What is the probability that the student is a girl?

Show worked solution
Solution
  1. 1Students who like maths: 18+12=3018 + 12 = 30.
  2. 2Of those, 12 are girls: 1230=25\frac{12}{30} = \frac{2}{5}.

Answer: 25\frac{2}{5}

Tip — Underline the "given that" condition. It tells you which row or column total to divide by.

2

From a Venn diagram

P(A∣B)=P(A∩B)P(B)P(A \mid B) = \dfrac{P(A \cap B)}{P(B)}, or with counts, n(A∩B)n(B)\dfrac{n(A \cap B)}{n(B)}.

Example 1In a group of 50, 12 are in AA only, 8 are in both AA and BB, 20 are in BB only, and 10 are in neither. Find P(A∣B)P(A \mid B).
1n(B)=8+20=28n(B) = 8 + 20 = 28.
2n(A∩B)=8n(A \cap B) = 8.
AnswerP(A∣B)=828=27P(A \mid B) = \dfrac{8}{28} = \dfrac27
Your turnSame method, new numbers — try it before moving on.

In the group of 50 (12 in AA only, 8 in both, 20 in BB only, 10 in neither), find P(B∣A)P(B \mid A).

Show worked solution
Solution
  1. 1Inside AA: 12+8=2012 + 8 = 20 people.
  2. 2Of those, 8 are also in BB: 820=25\frac{8}{20} = \frac{2}{5}.

Answer: 25\frac{2}{5}

3

Tree diagrams for dependent events

Events are dependent when the first changes the probabilities for the second — for example, taking counters from a bag without replacing them.

A bag holds 4 red and 6 blue counters. Two are taken without replacement. After a red, 3 of the 9 remaining are red, so the second-branch probability is 39\dfrac39.

Example 1Find the probability both counters are red, and the probability at least one is red.
1P(RR)=410×39=215P(RR) = \dfrac{4}{10} \times \dfrac{3}{9} = \dfrac{2}{15}.
2P(BB)=610×59=13P(BB) = \dfrac{6}{10} \times \dfrac{5}{9} = \dfrac13, so P(at least one red)=1−13=23P(\text{at least one red}) = 1 - \dfrac13 = \dfrac23.
AnswerP(RR)=215P(RR) = \dfrac{2}{15}, P(at least one red)=23P(\text{at least one red}) = \dfrac23
Your turnSame method, new numbers — try it before moving on.

A bag has 4 red and 6 blue counters. Two are taken without replacement. Given that the first is red, what is the probability that the second is red?

Show worked solution
Solution
  1. 1After one red is removed, 9 counters remain and 3 are red.
  2. 2P=39=13P = \frac{3}{9} = \frac{1}{3}.

Answer: 13\frac{1}{3}

Why this works

Every probability on a second branch is conditional: it is the probability of that outcome given what happened on the first branch.

4

Working backwards

To find a "given that" probability from a tree, divide the probability of the path you want by the total probability of the condition.

Using the counters: P(both red∣at least one red)=2/152/3=15P(\text{both red} \mid \text{at least one red}) = \dfrac{2/15}{2/3} = \dfrac15.

Tip — Write the condition’s total probability first, then pick out which of its paths also satisfy the question.

Think like an examiner

  • Show the restricted total you are dividing by.
  • Label tree branches with probabilities that reflect any change.
  • Leave answers as simplified fractions where possible.

Remember these

P(A∣B)=P(A∩B)P(B)P(A \mid B) = \dfrac{P(A \cap B)}{P(B)}
Conditional probability.
P(A∩B)=P(A)×P(B∣A)P(A \cap B) = P(A) \times P(B \mid A)
Multiplying along tree branches.
P(A∣B)=P(A)  ⟺  independentP(A \mid B) = P(A) \iff \text{independent}
Independence test.

Watch out for these

Dividing by the grand total for a "given that" question.
Divide by the total for the condition.
Keeping the same second-branch probabilities without replacement.
Reduce the numbers after each pick.
Confusing P(A∣B)P(A \mid B) with P(B∣A)P(B \mid A).
The event after the bar is the one known to have happened.
Adding along branches.
Multiply along branches, add between paths.

Stretch yourself

The probability Kai passes a driving test at the first attempt is 0.6. If Kai fails, the probability of passing at the second attempt is 0.75. (a) Find the probability Kai passes within two attempts. (b) Given that Kai passes within two attempts, find the probability Kai failed the first attempt.

Hint — There are two paths that end in a pass.

Reveal solution
Solution(a) Pass first: 0.6. Fail then pass: 0.4×0.75=0.30.4 \times 0.75 = 0.3. Total =0.9= 0.9. (b) P(failed first∣passed within two)=0.30.9=13P(\text{failed first} \mid \text{passed within two}) = \dfrac{0.3}{0.9} = \dfrac13. ■\blacksquare

Questions students ask

What does the vertical bar mean?
P(A∣B)P(A \mid B) is read "the probability of A given B".
How do I know if events are independent?
If P(A∣B)=P(A)P(A \mid B) = P(A), knowing B does not change the chance of A.
Should I use a table or a tree?
Use whatever the question gives; if it gives neither, a tree is usually quickest for sequences of events.

Key takeaways

  • "Given that" restricts the outcomes you count.
  • Divide by the total of the known condition.
  • Tree branches after the first are conditional probabilities.
  • Without replacement, update the numbers on later branches.
  • Work backwards by dividing a path by the condition’s total.

Exam-style questions

Practise it the way it is examined

3 original questions · 9 marks, written to match the style and mark allocation of the real papers. Work on paper, then open the mark scheme and tick the marks you earned — method marks count even if the final answer slips.

Question 1Grade 72 marks

In Year 10, 27 of 45 students have a phone case. In Year 11, 28 of 35 students have a phone case.

  1. A student with a phone case is chosen at random. Work out the probability that they are in Year 11.[2]
    Show mark scheme

    Answer: 2855\frac{28}{55}

Answer on paper first, then mark it.
Question 2Grade 84 marks

A bag contains 5 red and 3 green sweets. Two sweets are taken at random without replacement.

  1. Given that at least one of the sweets is red, work out the probability that both are red.[4]
    Show mark scheme

    Answer: 25\frac{2}{5}

Answer on paper first, then mark it.
Question 3Grade 93 marks

P(A)=0.4P(A) = 0.4. P(B∣A)=0.3P(B \mid A) = 0.3 and P(B∣A′)=0.6P(B \mid A') = 0.6.

  1. Work out P(A∣B)P(A \mid B).[3]
    Show mark scheme

    Answer: 0.250.25

Answer on paper first, then mark it.

Unlimited practice

Skill drill

A new question every time, marked instantly, with a full worked solution. Aim for a streak of five, then move up a level.

0 / 0 first-time correct Streak 0Best at this level: 0

Generating a question…

Test yourself

Answer a few questions, then review anything you missed.

Next step

Keep practising

Start with the quiz above to check the key ideas. You can also choose another topic from the practice library.

Browse practice topics

Related lessons

All 6 lessons