1MA1 · P9ProbabilityHigherGrades 7–9

Conditional Probability

The probability that a randomly chosen student plays tennis is one thing. The probability that a student plays tennis given that\textit{given that} they play football is another — you already know something about them, so you only look at the footballers. That is conditional probability\textbf{conditional probability}, and it is the most challenging probability idea at GCSE.

50 min Probability

The big picture

"Given that" shrinks the sample space. Instead of dividing by everyone, divide by the group you are told about. In a Venn diagram or two-way table, that means using the total of the given set as the denominator.

Written as P(A∣BA \mid B), the probability of AA given BB equals P(A∩B)P(B)\dfrac{P(A \cap B)}{P(B)}. Edexcel sets conditional probability questions using Venn diagrams, two-way tables and tree diagrams, and they are usually worth 2–4 marks each.

What you'll learn

  • Understand and use the notation P(A∣BA \mid B)
  • Calculate conditional probabilities from two-way tables and Venn diagrams
  • Use tree diagrams with dependent events
  • Work backwards to find a conditional probability from a tree diagram (Higher)
1

What "given that" means

P(A∣BA \mid B) is read "the probability of AA given BB". You already know BB has happened, so only outcomes in BB are possible.

So P(A∣BA \mid B) =number in both A and Bnumber in B= \dfrac{\text{number in both } A \text{ and } B}{\text{number in } B}.

Using probabilities: P(A∣BA \mid B) =P(A∩B)P(B)= \dfrac{P(A \cap B)}{P(B)}.

P(A∣B)=P(A∩B)P(B)P(A \mid B) = \dfrac{P(A \cap B)}{P(B)}
Conditional probability.
Example 1In a class of 30, 18 play football, 12 play tennis and 5 play both. A footballer is chosen at random. Find the probability they also play tennis.
1Given football: only the 18 footballers are possible.
2Of those, 5 play tennis.
AnswerP(tennis | football) =518= \tfrac{5}{18}
Your turnSame method, new numbers — try it before moving on.

In a class of 40, 22 dance, 15 sing and 6 do both. A singer is chosen at random. Find the probability that they also dance.

Show worked solution
Solution
  1. 1Only the 15 singers count.
  2. 26 of them dance: 615=25\frac{6}{15} = \frac{2}{5}.

Answer: 25\frac{2}{5}

Tip — Underline the "given" condition in the question. Its total is your denominator.

2

Two-way tables

A two-way table shows counts for two categories. For a conditional probability, find the row or column for the given condition and use its total.

Example 180 students choose a trip. Of the 45 in Year 10, 27 choose the museum; of the 35 in Year 11, 14 choose the museum. A student who chose the museum is picked at random. Find the probability they are in Year 11.
1Museum total: 27+14=4127 + 14 = 41.
2Year 11 among those: 14.
Answer1441\tfrac{14}{41}
Your turnSame method, new numbers — try it before moving on.

Of 30 adults, 18 own a dog. Of 20 children, 8 own a dog. A dog owner is chosen at random. Find the probability it is a child.

Show worked solution
Solution
  1. 1Dog owners: 18+8=2618 + 8 = 26.
  2. 2Children among them: 826=413\frac{8}{26} = \frac{4}{13}.

Answer: 413\frac{4}{13}

Why this works

P(Year 11 | museum) =1441= \tfrac{14}{41} is not the same as P(museum | Year 11) =1435= \tfrac{14}{35}. Swapping the condition changes the denominator — confusing the two is the classic error.

3

Dependent events on trees

On a tree diagram, second-stage branches often show conditional probabilities: P(second event | first outcome).

Multiplying along a path uses P(AA and BB) == P(AA) × P(B∣AB \mid A).

Example 1The probability it rains is 0.3. If it rains, the probability the bus is late is 0.6; if not, it is 0.2. Find the probability the bus is late.
1Rain and late: 0.3×0.6=0.180.3 \times 0.6 = 0.18.
2No rain and late: 0.7×0.2=0.140.7 \times 0.2 = 0.14.
3Add the paths.
Answer0.320.32
Your turnSame method, new numbers — try it before moving on.

A team wins its first game with probability 0.4. If it wins, it wins the second with probability 0.7; if it loses, it wins the second with probability 0.2. Find the probability it wins the second game.

Show worked solution
Solution
  1. 1Win then win: 0.4×0.7=0.280.4 \times 0.7 = 0.28.
  2. 2Lose then win: 0.6×0.2=0.120.6 \times 0.2 = 0.12. Total 0.40.4.

Answer: 0.40.4

4

Working backwards

Sometimes you know the second event happened and want the probability of the first: for example, given the bus was late, what is the probability it rained?

Use P(rain | late) =P(rain and late)P(late)= \dfrac{P(\text{rain and late})}{P(\text{late})}, taking both from the tree.

Example 1Using the bus example, find the probability it rained, given that the bus was late.
1P(rain and late) =0.18= 0.18.
2P(late) =0.32= 0.32.
30.180.32\dfrac{0.18}{0.32}.
Answer0.56250.5625
Your turnSame method, new numbers — try it before moving on.

Using the same team, find the probability it won the first game, given that it won the second.

Show worked solution
Solution
  1. 1P(won first and second)=0.28P(\text{won first and second}) = 0.28.
  2. 2Divide by P(won second)=0.4P(\text{won second}) = 0.4: 0.70.7.

Answer: 0.70.7

Tip — The numerator is one path; the denominator is the sum of all paths that satisfy the given condition.

Think like an examiner

  • Identify the given condition and use its total as the denominator.
  • On trees, show the paths used in both numerator and denominator.
  • Leave answers as fractions or exact decimals unless told to round.

Conditional probability

P(A∣B)=P(A∩B)P(B)P(A \mid B) = \tfrac{P(A \cap B)}{P(B)}
Definition.
P(A∩B)=P(A)×P(B∣A)P(A \cap B) = P(A) \times P(B \mid A)
Multiplying along a tree.
P(A∣B)=P(A)P(A \mid B) = P(A)
If A and B are independent.

Watch out for these

Dividing by the grand total for a "given that" probability.
Divide by the total of the given group.
Confusing P(A∣BA \mid B) with P(B∣AB \mid A).
The event after the bar is the condition.
Using only one path for the denominator when working backwards.
Add every path that satisfies the condition.
Treating dependent events as independent.
Use the conditional probabilities on the second branches.

Stretch yourself

A test for a condition that affects 1 in 50 people gives a positive result for 95% of people with the condition and for 4% of people without it. A person tests positive. Find the probability that they have the condition, to 3 significant figures.

Hint — Draw a tree: condition or not, then positive or negative. Divide the "condition and positive" path by all positive paths.

Reveal solution
SolutionP(condition and positive) =0.02×0.95=0.019= 0.02 \times 0.95 = 0.019. P(no condition and positive) =0.98×0.04=0.0392= 0.98 \times 0.04 = 0.0392. P(positive) =0.0582= 0.0582. So P(condition | positive) =0.0190.0582=0.326= \dfrac{0.019}{0.0582} = 0.326. Despite the test being quite accurate, only about a third of positive results are genuine, because the condition is rare. ■\blacksquare

Questions students ask

What does the vertical line mean?
"Given that". P(A∣BA \mid B) is the probability of AA given that BB has happened.
How does conditional probability relate to independence?
If AA and BB are independent, knowing BB does not change the probability of AA, so P(A∣BA \mid B) == P(AA).
Where does conditional probability appear in real life?
Medical testing, weather forecasts and insurance all depend on probabilities given certain information.

Key takeaways

  • "Given that" restricts outcomes to the given group.
  • P(A∣BA \mid B) =P(A∩B)P(B)= \tfrac{P(A \cap B)}{P(B)}, or count in both ÷ count in the given group.
  • On trees, second branches are conditional probabilities.
  • Working backwards: one path ÷ sum of paths meeting the condition.
  • P(A∣BA \mid B) and P(B∣AB \mid A) are usually different.

Exam-style questions

Practise it the way it is examined

3 original questions · 8 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 a group of 60 people, 34 have been to America, 20 have been to Brazil and 8 have been to both.

  1. A person who has been to America is chosen at random. Work out the probability they have also been to Brazil.[2]
    Show mark scheme

    Answer: 417\frac{4}{17}

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

Ana travels by car with probability 0.6, otherwise by bus. By car she is late with probability 0.1; by bus, with probability 0.25.

  1. Given that Ana is late, work out the probability she travelled by bus.[3]
    Show mark scheme

    Answer: 0.6250.625

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

A bag contains 6 red and 4 blue counters. Two counters are taken at random without replacement.

  1. Given that the second counter is red, work out the probability that the first counter was red.[3]
    Show mark scheme

    Answer: 59\frac{5}{9}

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 5 lessons