Conditional probability

GCSE Maths Higher (Edexcel) · Edexcel 1MA1 · Higher · P9 · Probability

45 exam-style questions plus unlimited generated ones on this topic, at up to four difficulty levels, with full mark schemes. Notes, past-paper booklets and workbooks are open to everyone. Practice needs a free account.

Or take a quick quiz: 11 questions on this subtopic in GCSE Maths Higher (Edexcel), marked as you tap.

Revision notes

A conditional probability is the probability of an event when you already know that another event has happened. It is Higher tier only (grades 6 to 9) and is tested using two-way tables, Venn diagrams, tree diagrams and expected frequencies, usually in questions worth 2 to 5 marks.

Key facts

  • Conditional probability: the probability of an event given that another event has happened
  • P(\(B\) given \(A\)) = P(\(A\) and \(B\)) ÷ P(\(A\))
  • With frequencies: P(\(B\) given \(A\)) = number in both ÷ number in \(A\)
  • Two-way table: 'given that' means the denominator is that row or column total
  • Venn diagram: 'given \(A\)' means the denominator is everything in circle \(A\)
  • Tree diagram: the second-stage branches are conditional probabilities
  • Grade 9+ only Given the second event: P(first and second) ÷ P(second), where P(second) adds every path that ends in it
  • Grade 8+ only Independent events: P(\(A\) and \(B\)) = P(\(A\)) × P(\(B\))

Notes

What conditional probability means Grade 6+ only

  • A conditional probability is the probability of one event when you know that another has already happened.
  • Look for the words 'given that', 'if' or 'of those who'.
  • The extra information cuts down the possible outcomes: you only count the outcomes where the given event happened.
  • P(\(B\) given \(A\)) = P(\(A\) and \(B\)) ÷ P(\(A\)). With frequencies, it is the number in both ÷ the number in \(A\)
  • Some books write P(\(B\) given \(A\)) as \(\text{P}(B \mid A)\)

Two-way tables, Venn diagrams and sample spaces Grade 6+ only

diagram
  • Two-way table: 'given that' tells you which row or column to use. The denominator is that row or column total, not the grand total.
  • Example: of 60 students, 25 are in Year 10 and 15 of those walk to school. P(walks given Year 10) = \(\dfrac{15}{25} = \dfrac{3}{5}\), not \(\dfrac{15}{60}\)
  • Venn diagram: 'given \(A\)' means the denominator is everything inside circle \(A\)
  • ξABGiven A: only lookinside circle A.P(B given A) =overlap ÷ all of A
    The whole of circle A becomes the new total.
  • Sample space: given that the total on two fair dice is 10, the outcomes are (4, 6), (5, 5) and (6, 4). So P(at least one 6 given a total of 10) = \(\dfrac{2}{3}\)

Tree diagrams Grade 7+ only

diagram
  • The second set of branches shows conditional probabilities: the probability of the second event given the first branch.
  • Example: P(rain) = 0.3. If it rains, P(Ben is late) = 0.4; if it does not rain, P(Ben is late) = 0.1.
  • P(Ben is late) = 0.3 × 0.4 + 0.7 × 0.1 = 0.12 + 0.07 = 0.19.
  • 0.3rain0.4late0.6on time0.7dry0.1late0.9on time0.3 × 0.4 = 0.120.7 × 0.1 = 0.07
    The second branches depend on the first: P(late) = 0.12 + 0.07 = 0.19.
  • Given that Ben is late, P(it rained) = P(rain and late) ÷ P(late) = 0.12 ÷ 0.19 = \(\dfrac{12}{19}\) Grade 9+ only

Expected frequencies Grade 7+ only

diagram
  • Turning probabilities into numbers makes conditional questions easier. Choose a total such as 100 or 1000 and build a frequency tree or two-way table.
  • Ben over 100 days: 30 rainy days, on 12 of which he is late; 70 dry days, on 7 of which he is late.
  • 100rain3012late18on timedry707late63on time
    Ben is late on 12 + 7 = 19 of the 100 days.
  • He is late on 12 + 7 = 19 days and 12 of those were rainy, so given that he is late, P(it rained) = \(\dfrac{12}{19}\), the same answer as the tree method. Grade 9+ only

Independent events Grade 8+ only

  • \(A\) and \(B\) are independent if P(\(A\) and \(B\)) = P(\(A\)) × P(\(B\)).
  • Equivalently, P(\(A\) given \(B\)) = P(\(A\)): knowing that \(B\) happened does not change the chance of \(A\)
  • To test, work out both sides and compare. If they are not equal, the events are not independent.

How to answer each type of question

M = method mark, A = answer mark, B = a mark on its own, C = a communication mark.

'Given that …' from a two-way table

2 marks per partGrade 6
  1. Complete the table first if you need to: every row and column must add up to its total.
  2. Find the row or column named after 'given that': its total is your denominator.
  3. Find the cell in that row or column that matches the event you want: this is your numerator.

Example. The table shows how 60 students travel to school.

WalkBusCarTotal
Year 10156425
Year 111218535
A student is chosen at random.
(a) Given that the student travels by bus, work out the probability that the student is in Year 11. (2 marks)
(b) Given that the student is in Year 10, work out the probability that the student does not walk. (2 marks)

Show the model answerHide the model answer
(a) Students who travel by bus: 6 + 18 = 24
(M1)
P(Year 11 given bus) = \(\dfrac{18}{24} = \dfrac{3}{4}\)
(A1)
(b) Year 10 students who do not walk: 6 + 4 = 10
(M1)
P(does not walk given Year 10) = \(\dfrac{10}{25} = \dfrac{2}{5}\)
(A1)

'Given that …' from a Venn diagram

3 marksGrade 7
  1. Complete the Venn diagram first, starting with the overlap.
  2. Identify the given set and add up everything inside it: this is the denominator.
  3. The numerator is the part of the given set that is also in the event you want.

Example. 40 people were asked whether they like tea and whether they like coffee. 12 like tea, 14 like coffee and 4 like both.
One of the 40 people is chosen at random. Given that this person likes at least one of the drinks, work out the probability that they like both.

Show the model answerHide the model answer
ξTC841018
Tea only: 12 − 4 = 8 and coffee only: 14 − 4 = 10
(M1)
People who like at least one drink: 8 + 4 + 10 = 22
(M1)
P(both given at least one) = \(\dfrac{4}{22} = \dfrac{2}{11}\)
(A1)

Tree diagram where the second event depends on the first

3 marksGrade 7
  1. Draw the tree: the second set of branches depends on the first, so write the probabilities for each branch separately.
  2. Each pair of branches still adds up to 1.
  3. Multiply along each path you need, then add the paths.

Example. Ali plays two games of chess. The probability that he wins the first game is 0.4. If he wins a game, the probability that he wins the next game is 0.5. If he does not win a game, the probability that he wins the next game is 0.3.
Work out the probability that Ali wins exactly one of the two games.

Show the model answerHide the model answer
0.4W0.5W0.5N0.4 × 0.5 = 0.20.6N0.3W0.6 × 0.3 = 0.180.7NGame 1Game 2
W = win, N = not win. Win then not win: 0.4 × 0.5 = 0.2 (M1 for one correct product)
Not win then win: 0.6 × 0.3 = 0.18
0.2 + 0.18 (M1 for adding both products) = 0.38
(A1)

Are the events independent?

3 marksGrade 8
  1. Work out P(\(A\)), P(\(B\)) and P(\(A\) and \(B\)) as fractions or decimals of the same total.
  2. Multiply P(\(A\)) × P(\(B\)) and compare it with P(\(A\) and \(B\)). (Or compare P(\(A\) given \(B\)) with P(\(A\)).)
  3. Write a conclusion: equal means independent, different means not independent.

Example. In a group of 50 students, 20 wear glasses and 30 are girls. 9 of the girls wear glasses.
Are the events 'wears glasses' and 'is a girl' independent? Show how you decide.

Show the model answerHide the model answer
P(glasses) = \(\dfrac{20}{50}\) = 0.4 and P(girl) = \(\dfrac{30}{50}\) = 0.6, so P(glasses) × P(girl) = 0.24
(M1)
P(girl and glasses) = \(\dfrac{9}{50}\) = 0.18
(M1)
0.18 ≠ 0.24, so the events are not independent
(C1)
(Or: P(glasses given girl) = \(\dfrac{9}{30}\) = 0.3, which is not equal to P(glasses) = 0.4.)

Given the outcome, find the probability of the cause

3 to 4 marksGrade 9
  1. Imagine a convenient number of items, e.g. 1000, and split them using the first probabilities.
  2. Split each group using the conditional probabilities.
  3. Add the groups that match the given outcome: this is the denominator.
  4. The numerator is the part of that total that also matches the event asked about.

Example. A factory has two machines. Machine A makes 70% of the bolts and machine B makes the rest. 2% of the bolts made by machine A are faulty and 5% of the bolts made by machine B are faulty.
A bolt is chosen at random and is found to be faulty. Work out the probability that it was made by machine B.

Show the model answerHide the model answer
1000A70014faulty686notB30015faulty285not
Out of 1000 bolts, A makes 700 and B makes 300
(M1)
Faulty: 2% of 700 = 14 and 5% of 300 = 15, so 14 + 15 = 29 faulty bolts
(M1)
P(machine B given faulty) = \(\dfrac{15}{29}\)
(A1)

Don’t lose marks

  • Dividing by the grand total instead of the total of the given group.
  • Mixing up P(\(A\) given \(B\)) with P(\(B\) given \(A\)): in the table example, P(Year 11 given bus) = \(\dfrac{18}{24}\) but P(bus given Year 11) = \(\dfrac{18}{35}\)
  • Copying the first-stage probabilities onto the second stage when the events are dependent.
  • In a 'given the outcome' question, using only one path for the denominator instead of adding every path that ends in that outcome.
  • Saying events are independent because they seem unrelated, instead of checking with numbers.

More tips

Memory tricks

  • 'Given that' means shrink your total: the denominator is the given group only.
  • Stuck with probabilities? Imagine 100 or 1000 people and turn every probability into a number.
  • Check a tree: every pair of branches adds up to 1, even when the second-stage branches differ.
  • For a 'given the outcome' question, the denominator is the total of every path that ends in that outcome.

Exam technique

  • Underline the 'given that' part of the question and write down the group you are restricting to before you calculate.
  • Write the fraction with its numerator and denominator (e.g. \(\dfrac{18}{24}\)) before simplifying, so the method mark is clear.
  • For independence questions, show both calculations and finish with a clear conclusion in words.
  • Keep answers as exact fractions: a result like \(\dfrac{15}{29}\) does not give a neat decimal.

What each grade needs

What you need to be able to do, from the first marks up to the top grade.

  1. Grade 6
    Find 'given that' probabilities from two-way tablesUse only the row or column you are given, e.g. P(walks given Year 10) = Year 10 walkers ÷ all Year 10 students.
  2. Grade 7
    Find conditional probabilities from a Venn diagramDivide the number in the part you need by the number in the whole of the given set, not by the grand total.
  3. Grade 7
    Use conditional probabilities on tree diagramsThe second set of branches gives the probability of the second event given what happened first, so the branches can differ.
  4. Grade 7
    Use expected frequencies to find conditional probabilitiesTurn the probabilities into numbers out of a convenient total, such as 100 or 1000, then read off the fraction you need.
  5. Grade 8
    Test whether two events are independentCompare P(A and B) with P(A) × P(B), or P(A given B) with P(A): if they are equal, the events are independent.
  6. Grade 9
    Find the first event given the secondDivide P(first and second) by the total P(second), e.g. P(rain given late) = P(rain and late) ÷ P(late).

Quick recall

Cover the answers and test yourself. The app has these as flashcards that come back just before you'd forget them.

Write down, using the notation \(\text{P}(\ldots \mid \ldots)\), the probability that the student walks to school given that they are in Year 8.
\(\text{P}(W \mid Y)\)

Sample questions

Written for this site in the style of Edexcel exam questions. They are not taken from real past papers.

Question 1Easy1 mark
Which of these is the meaning of \(\text{P}(A \mid B)\)? Tick (✓) one box.
[1]
  • The probability that A happens
  • The probability that A and B both happen
  • The probability that A happens, given that B has happened
  • The probability that B happens, given that A has happened
Show the answer and mark scheme
Answer: The probability that A happens, given that B has happened
  • B1 for the third box ticked

Worked solution: The vertical bar is read as ‘given that’, and the event after it is the one that is already known to have happened.

Question 2Medium3 marks
At a cinema, 40% of the audience are adults and the rest are children. 70% of the adults buy popcorn. 50% of the children buy popcorn. A person is chosen at random from the audience.
Work out the probability that this person buys popcorn.
[3]
Show the answer and mark scheme
Answer: 0.58
  • M1 for \(0.4 \times 0.7\) (= 0.28) or \(0.6 \times 0.5\) (= 0.3)
  • M1 for \(0.4 \times 0.7 + 0.6 \times 0.5\) oe
  • A1 for 0.58

Worked solution: Adults who buy popcorn: \(0.4 \times 0.7 = 0.28\). Children who buy popcorn: \(0.6 \times 0.5 = 0.30\). Total \(0.28 + 0.30 = 0.58\).

Question 3Hard5 marks
A shop buys memory cards from three suppliers, X, Y and Z. 50% of the cards come from X, 30% from Y and 20% from Z. The percentages of cards that are faulty are 1% for X, 2% for Y and 5% for Z.
A card is chosen at random from the shop’s cards and is found to be faulty.
Which supplier is the faulty card most likely to have come from? You must show your working.
[5]
Show the answer and mark scheme
Answer: Supplier Z (probability 10/21, about 0.48).
  • M1 for any one correct product: \(0.5 \times 0.01\) (= 0.005), \(0.3 \times 0.02\) (= 0.006) or \(0.2 \times 0.05\) (= 0.01)
  • M1 for adding the three products to get P(faulty) = 0.021 oe
  • M1 for a correct conditional probability: a product divided by 0.021
  • A1 for all three probabilities correct: X \(\frac{5}{21}\) (awrt 0.238), Y \(\frac{2}{7}\) (awrt 0.286), Z \(\frac{10}{21}\) (awrt 0.476)
  • C1 for supplier Z (the largest probability), even though Z supplies the fewest cards

Worked solution: P(faulty) \(= 0.005 + 0.006 + 0.010 = 0.021\). Given faulty: X \(\frac{0.005}{0.021} = \frac{5}{21}\), Y \(\frac{0.006}{0.021} = \frac{2}{7}\), Z \(\frac{0.01}{0.021} = \frac{10}{21}\). Z is the most likely.

More in Probability

Stuck? Get 1-to-1 help.

Chhetri Academy tutors GCSE and A level Maths and Science online, with a free 30-minute trial lesson.