2 exam-style questions plus unlimited generated ones on this topic, at up to four difficulty levels, with full mark schemes. Notes and Full packs are open to everyone. Practice needs a free account.
Or take a quick quiz: 10 questions on this subtopic in A level Maths (Edexcel), marked as you tap.
Finding the probability of an event given that another event has happened, using two-way tables, Venn diagrams, tree diagrams and the formula \(P(A \mid B) = \dfrac{P(A \cap B)}{P(B)}\). Typical questions are ‘given that’ probabilities, reversed tree diagrams and independence checks.
Key facts
\(P(A \mid B) = \dfrac{P(A \cap B)}{P(B)}\)
\(P(A \cap B) = P(A) \times P(B \mid A)\)
\(P(A \cup B) = P(A) + P(B) - P(A \cap B)\)
\(P(B) = P(A)P(B \mid A) + P(A')P(B \mid A')\)
Independent if and only if \(P(A \mid B) = P(A)\)
Two-way table: divide by the total of the ‘given’ row or column
Notes
What conditional probability means
diagram
\(P(A \mid B)\) is the probability that A happens given that B has happened.
Knowing that B has happened narrows the possibilities down to B only, so \(P(A \mid B) = \dfrac{P(A \cap B)}{P(B)}\)
Given B, the circle B becomes the whole sample space
With frequencies (a two-way table or Venn diagram), \(P(A \mid B) = \dfrac{n(A \cap B)}{n(B)}\): divide by the total for B, not the grand total.
In general \(P(A \mid B) \ne P(B \mid A)\)
The multiplication rule and tree diagrams
diagram
\[P(A \cap B) = P(A) \times P(B \mid A)\]
On a tree diagram the second-stage branches are conditional probabilities: the branch to B after A is \(P(B \mid A)\)
Second-stage branches are conditional. P(B) = sum of the blue paths
Total probability: \(P(B) = P(A)P(B \mid A) + P(A')P(B \mid A')\), adding every path that ends in B.
Reversing a tree: \(P(A \mid B) = \dfrac{P(A \cap B)}{P(B)}\), where the top is one path and the bottom is the total of all the paths ending in B.
Conditional probability and independence
A and B are independent if and only if \(P(A \mid B) = P(A)\) (equivalently \(P(B \mid A) = P(B)\)).
In a two-way table, compare the proportion within the given row (or column) with the overall proportion.
Useful Venn diagram results
\[P(A \mid B') = \frac{P(A \cap B')}{P(B')}\]
\(P(A \mid A \cup B) = \dfrac{P(A)}{P(A \cup B)}\), because \(A \cap (A \cup B) = A\)
How to answer each type of question
M = method mark, A = answer mark, B = a mark on its own.
‘Given that’ questions from a two-way table
3 to 5 marksGrade D
Find the row or column for the ‘given’ event.
Divide the cell you want by that row or column total.
For independence, compare a conditional probability with the overall probability.
Example. The table shows how 200 students travel to school.
Bus
Car
Walk
Year 12
40
25
35
Year 13
30
45
25
A student is chosen at random. Find (a) \(P(\text{walks} \mid \text{Year 13})\) (b) \(P(\text{Year 12} \mid \text{car})\) (c) Determine whether the events ‘travels by bus’ and ‘is in Year 12’ are independent.Show the model answerHide the model answer
(c) \(P(\text{bus} \mid \text{Year 12}) = \dfrac{40}{100} = 0.4\) but \(P(\text{bus}) = \dfrac{70}{200} = 0.35\) (M1); these are not equal, so the events are not independent
(A1)
Reverse a tree diagram
4 to 5 marksGrade B
Draw the tree in the order the information is given.
Find the total probability of the event you are told has happened.
Divide the path you want by that total.
Example. 2% of people in a population have a certain condition. A test gives a positive result for 95% of people with the condition and for 8% of people without it. A person is chosen at random and tested. (a) Find the probability that the test result is positive. (b) Given that the result is positive, find the probability that the person has the condition.
(c) \(P(A \cap B') = 0.5 - 0.15 = 0.35\) and \(P(B') = 0.65\), so \(P(A \mid B') = \dfrac{0.35}{0.65}\) (M1) \(= \dfrac{7}{13}\) or 0.538
(A1)
Don’t lose marks
Dividing by the grand total instead of the total of the given event.
Mixing up \(P(A \mid B)\) and \(P(B \mid A)\)
Using \(P(A \cap B) = P(A) \times P(B)\) when the events are not known to be independent.
Missing a path when finding the total probability of the given event.
More tips
Memory tricks
The ‘given’ event always goes on the bottom of the fraction.
Reverse trees: find the total probability of the event you are given first, then divide.
Sense check with test questions: when a condition is rare, a positive result can still leave the condition unlikely.
Exam technique
Write the formula with the events named, e.g. \(P(C \mid +) = \dfrac{P(C \cap +)}{P(+)}\), before substituting: this earns the method mark.
Draw a tree, table or Venn diagram to organise the information, even when the question doesn't ask for one.
Give exact fractions or decimals to 3 significant figures.
What each grade needs
What you need to be able to do, from the first marks up to the top grade.
Grade E
Find conditional probabilities from a two-way tableDivide by the total of the row or column that you are given.
Grade D
Use conditional probabilities on tree diagramsThe second-stage branches are conditional probabilities, e.g. \(P(B \mid A)\)
Grade C
Apply the conditional probability formula\(P(A \mid B) = \dfrac{P(A \cap B)}{P(B)}\), using a Venn diagram or given values.
Grade C
Show independence using conditional probabilityCheck whether \(P(A \mid B) = P(A)\) to decide whether A and B are independent.
Grade B
Reverse a tree diagramFind the probability of a first-stage event given a second-stage event: one path divided by the total of all paths ending in that event.
Grade A
Solve conditional problems with unknown probabilitiesUse \(P(A \cap B) = P(A)P(B \mid A)\) and the addition rule to form and solve equations.
Grade A*
Handle multi-step conditional problems in contextWork through several conditions in an unfamiliar context, organising them in a tree, table or Venn diagram.
Sample questions
Written for this site in the style of Edexcel exam questions. They are not taken from real past papers.
Question 1Easy3 marks
The table shows information about 105 students invited on a school trip. One student is chosen at random.
Year
Went on the trip
Did not go
Total
Year 12
40
28
68
Year 13
26
11
37
Total
66
39
105
(a) Find the probability that the student went on the trip.
[1]
(b) Given that the student was in Year 12, find the probability that the student went on the trip.
[2]
Show the answer and mark scheme
(a)Answer: \(\frac{22}{35} \approx 0.629\)
B1 for \(\frac{22}{35}\) (or awrt 0.629)
(b)Answer: \(\frac{10}{17} \approx 0.588\)
M1 for \(\dfrac{40}{68}\)
A1 for \(\frac{10}{17}\) (or awrt 0.588)
Question 2Medium5 marks
The table shows information about 75 orders placed with a retailer. One order is chosen at random. \(C\) is the event that the order was placed with the city centre branch and \(T\) is the event that the order was delivered on time.
Branch
On time
Late
Total
City centre
25
10
35
Retail park
23
17
40
Total
48
27
75
(a) Given that the order was delivered late, find the probability that the order was placed with the retail park branch.
[2]
(b) Determine whether the events \(C\) and \(T\) are independent. Show your working.
[3]
Show the answer and mark scheme
(a)Answer: \(\frac{17}{27} \approx 0.630\)
M1 for \(\dfrac{17}{27}\)
A1 for \(\frac{17}{27}\) (or awrt 0.630)
(b)Answer: \(P(T \mid C) = \dfrac{25}{35} = \frac{5}{7}\) and \(P(T) = \dfrac{48}{75} = \frac{16}{25}\), which are not equal, so \(C\) and \(T\) are not independent.
M1 for a correct test, e.g. comparing \(P(T \mid C)\) with \(P(T)\), or \(P(C \cap T) = \frac{1}{3}\) with \(P(C) \times P(T) = \frac{7}{15} \times \frac{16}{25}\)
A1 for correct values (\(\frac{5}{7}\) and \(\frac{16}{25}\), or equivalent)
A1 for the correct conclusion (not independent) with a reason
Question 3Hard10 marks
A screening test for a disease is used on a population in which 2% of people have the disease. If a person has the disease, the probability that the test is positive is 0.95. If a person does not have the disease, the probability that the test is positive is 0.10.
(a) Find the probability that a randomly chosen person tests positive.
[2]
(b) Given that a person tests positive, find the probability that they have the disease.
[2]
(c) A newspaper states: “The test is 95% accurate, so if you test positive you almost certainly have the disease.” Use your answer to part (b) to comment on this statement.
[2]
(d) People who test positive are tested a second time. Assuming that, for each person, the results of the two tests are independent, find the probability that a person who tests positive twice has the disease.
[3]
(e) Explain why the independence assumption in part (d) may not be valid.
Worked solution:\(P(D \mid +) = \dfrac{0.019}{0.117} = 0.162\).
(c)Answer: Only about 16% of people who test positive have the disease. Because the disease is rare, the false positives from the large healthy group outnumber the true positives.
B1 for the statement is wrong: only about 16% of positives have the disease
B1 for the reason: the disease is rare (2%), so most positive results come from the 98% who do not have it (false positives)
Worked solution: The statement is misleading: only about 16% of people who test positive actually have the disease. Although the test detects 95% of cases, the disease is rare, so the 10% false-positive rate among the 98% without the disease produces many more positives (0.098) than the true positives (0.019).
(d)Answer: 0.648 (3 s.f.)
M1 for the numerator \(0.02 \times 0.95^2\)
M1 for the denominator \(0.02 \times 0.95^2 + 0.98 \times 0.10^2\)
(e)Answer: Whatever caused a false positive in one person (e.g. a similar condition) is likely to cause another false positive, so the two results for the same person are likely to be related.
B1 for a reason in context, e.g. a person who gives a false positive once is more likely to do so again (the cause is a feature of that person), so the results are not independent
Worked solution: A false positive is often caused by something about the person (such as a related condition), which would also affect the second test. So a second positive is more likely after a first false positive than the model assumes, and the tests are not independent.