Conditional Probability A Level Maths Revision
Revise conditional probability for A-level Maths with clear formulas, worked examples, common mistakes and exam-style questions with full answers.

Conditional Probability A Level Maths Revision Guide
Conditional probability measures the probability of an event when you already know that another event has occurred. For events AAA and BBB, the central formula is
P(A∣B)=P(A∩B)P(B), P(A\mid B)=\frac{P(A\cap B)}{P(B)}, P(A∣B)=P(B)P(A∩B),provided P(B)>0P(B)>0P(B)>0. The condition after the vertical line restricts the sample space, so P(B)P(B)P(B) becomes the new denominator.
This conditional probability A level maths guide explains the notation step by step, connects it to tree diagrams, tables and independence, and includes worked examples and exam-style questions with answers.
What is conditional probability?
The notation P(A∣B)P(A\mid B)P(A∣B) means the probability that AAA occurs, given that BBB has occurred. The vertical line is read as “given”.
Once BBB is known to have occurred, outcomes outside BBB are no longer possible. The new sample space consists only of outcomes in BBB, while successful outcomes must lie in both AAA and BBB.
Therefore,
P(A∣B)=P(A∩B)P(B). P(A\mid B)=\frac{P(A\cap B)}{P(B)}. P(A∣B)=P(B)P(A∩B).Here:
- A∩BA\cap BA∩B means that both AAA and BBB occur
- P(B)P(B)P(B) is the probability of the event being given
- P(A∣B)P(A\mid B)P(A∣B) is generally different from P(B∣A)P(B\mid A)P(B∣A)
Rearranging the formula gives the multiplication rule:
P(A∩B)=P(B)P(A∣B). P(A\cap B)=P(B)P(A\mid B). P(A∩B)=P(B)P(A∣B).Equally, by reversing the roles of the events,
P(A∩B)=P(A)P(B∣A). P(A\cap B)=P(A)P(B\mid A). P(A∩B)=P(A)P(B∣A).Consequently,
P(A)P(B∣A)=P(B)P(A∣B). P(A)P(B\mid A)=P(B)P(A\mid B). P(A)P(B∣A)=P(B)P(A∣B).How to solve conditional probability questions
A reliable method is to identify the condition before doing any calculation.
- Write down the probability being requested, such as P(A∣B)P(A\mid B)P(A∣B).
- Identify the event after the vertical line. This defines the restricted sample space.
- Find the probability or frequency of outcomes satisfying both events.
- Divide the intersection by the probability or frequency of the condition.
- Check that the answer lies between 000 and 111.
With frequency data, it is usually easier to work directly with frequencies:
P(A∣B)=number in both A and Bnumber in B. P(A\mid B)=\frac{\text{number in both }A\text{ and }B}{\text{number in }B}. P(A∣B)=number in Bnumber in both A and B.There is no need to divide every frequency by the overall total first because the common total would cancel.
Conditional probability worked examples
Worked example 1: Using a two-way table
A college records whether 120120120 students study physics and whether they study mathematics.
| Studies mathematics | Does not study mathematics | Total | |
|---|---|---|---|
| Studies physics | 363636 | 141414 | 505050 |
| Does not study physics | 424242 | 282828 | 707070 |
| Total | 787878 | 424242 | 120120120 |
One student is selected at random. Find the probability that the student studies physics, given that they study mathematics.
Let PPP represent studying physics and MMM represent studying mathematics. We need
P(P∣M). P(P\mid M). P(P∣M).The condition is that the student studies mathematics, so the denominator is the total in the mathematics column, not the total number of students. Of the 787878 mathematics students, 363636 also study physics.
P(P∣M)=3678=613. P(P\mid M)=\frac{36}{78}=\frac{6}{13}. P(P∣M)=7836=136.The restricted sample space contains only the 787878 students who study mathematics.
Worked example 2: Using probabilities
Suppose
P(A)=0.55,P(B)=0.4 P(A)=0.55,\qquad P(B)=0.4 P(A)=0.55,P(B)=0.4and
P(A∩B)=0.24. P(A\cap B)=0.24. P(A∩B)=0.24.Find P(A∣B)P(A\mid B)P(A∣B) and P(B∣A)P(B\mid A)P(B∣A).
Using the condition BBB as the denominator,
P(A∣B)=P(A∩B)P(B)=0.240.4=0.6. P(A\mid B)=\frac{P(A\cap B)}{P(B)} =\frac{0.24}{0.4}=0.6. P(A∣B)=P(B)P(A∩B)=0.40.24=0.6.Reversing the condition changes the denominator:
P(B∣A)=P(A∩B)P(A)=0.240.55=2455. P(B\mid A)=\frac{P(A\cap B)}{P(A)} =\frac{0.24}{0.55}=\frac{24}{55}. P(B∣A)=P(A)P(A∩B)=0.550.24=5524.This demonstrates why P(A∣B)P(A\mid B)P(A∣B) and P(B∣A)P(B\mid A)P(B∣A) are not generally equal. They share the same intersection but use different restricted sample spaces.
Worked example 3: A tree diagram without replacement
A bag contains 555 red counters and 333 blue counters. Two counters are selected at random without replacement. Find the probability that the second counter is red, given that the first counter is blue.
Once the first counter is known to be blue, 777 counters remain. All 555 red counters are still in the bag, so
P(second red∣first blue)=57. P(\text{second red}\mid\text{first blue})=\frac{5}{7}. P(second red∣first blue)=75.This is the second-stage branch probability following a blue first counter. It is not necessary to multiply by the probability of selecting blue first because that event has already been given.
To find the probability of selecting blue first and red second, multiplication would be required:
P(first blue∩second red)=38×57=1556. P(\text{first blue}\cap\text{second red}) =\frac{3}{8}\times\frac{5}{7} =\frac{15}{56}. P(first blue∩second red)=83×75=5615.Conditional probability on tree diagrams
A branch probability at the second or later stage of a tree is usually conditional on the outcomes already followed. For example,
P(B∣A) P(B\mid A) P(B∣A)is the probability written on the branch leading to BBB after the branch for AAA.
The standard tree diagram rules still apply:
- probabilities on branches leaving the same point add to 111
- multiply probabilities along a route
- add probabilities from different mutually exclusive routes
Be careful to distinguish between a branch probability and the probability of an entire route. The branch may represent P(B∣A)P(B\mid A)P(B∣A), while the complete route represents
P(A∩B)=P(A)P(B∣A). P(A\cap B)=P(A)P(B\mid A). P(A∩B)=P(A)P(B∣A).For sampling without replacement, the probabilities usually change between selections. For sampling with replacement, the original probabilities are restored before the next selection.
Conditional probability and independence
Events AAA and BBB are independent if knowing that one event occurred does not change the probability of the other. Provided the relevant conditional probability is defined,
P(A∣B)=P(A). P(A\mid B)=P(A). P(A∣B)=P(A).Equivalent tests for independence are
P(B∣A)=P(B) P(B\mid A)=P(B) P(B∣A)=P(B)and
P(A∩B)=P(A)P(B). P(A\cap B)=P(A)P(B). P(A∩B)=P(A)P(B).The product test is often the most convenient when a question provides P(A)P(A)P(A), P(B)P(B)P(B) and P(A∩B)P(A\cap B)P(A∩B).
Worked example 4: Testing independence
Suppose
P(A)=0.3,P(B)=0.5,P(A∩B)=0.15. P(A)=0.3,\qquad P(B)=0.5, \qquad P(A\cap B)=0.15. P(A)=0.3,P(B)=0.5,P(A∩B)=0.15.Since
P(A)P(B)=0.3×0.5=0.15, P(A)P(B)=0.3\times0.5=0.15, P(A)P(B)=0.3×0.5=0.15,we have
P(A∩B)=P(A)P(B). P(A\cap B)=P(A)P(B). P(A∩B)=P(A)P(B).Therefore, AAA and BBB are independent.
You can confirm this using conditional probability:
P(A∣B)=0.150.5=0.3=P(A). P(A\mid B)=\frac{0.15}{0.5}=0.3=P(A). P(A∣B)=0.50.15=0.3=P(A).Independent is not the same as mutually exclusive
These terms describe different relationships.
| Relationship | Meaning | Key equation |
|---|---|---|
| Independent | One event does not change the probability of the other | P(A∩B)=P(A)P(B)P(A\cap B)=P(A)P(B)P(A∩B)=P(A)P(B) |
| Mutually exclusive | The events cannot occur together | P(A∩B)=0P(A\cap B)=0P(A∩B)=0 |
If two events with positive probability are mutually exclusive, they cannot be independent. Knowing that one has occurred makes the other impossible.
Finding a missing probability
Conditional probability equations can be rearranged to find an unknown probability. If
P(A∣B)=q, P(A\mid B)=q, P(A∣B)=q,then
P(A∩B)=qP(B). P(A\cap B)=qP(B). P(A∩B)=qP(B).Worked example 5: Forming an equation
Suppose
P(A)=0.7,P(B)=x,P(A∣B)=0.4 P(A)=0.7,\qquad P(B)=x, \qquad P(A\mid B)=0.4 P(A)=0.7,P(B)=x,P(A∣B)=0.4and AAA and BBB are independent. Find xxx if P(A∪B)=0.82P(A\cup B)=0.82P(A∪B)=0.82.
Independence gives
P(A∩B)=P(A)P(B)=0.7x. P(A\cap B)=P(A)P(B)=0.7x. P(A∩B)=P(A)P(B)=0.7x.Using the addition rule,
P(A∪B)=P(A)+P(B)−P(A∩B). P(A\cup B)=P(A)+P(B)-P(A\cap B). P(A∪B)=P(A)+P(B)−P(A∩B).Therefore,
0.82=0.7+x−0.7x. 0.82=0.7+x-0.7x. 0.82=0.7+x−0.7x.So
0.12=0.3x 0.12=0.3x 0.12=0.3xand
x=0.4. x=0.4. x=0.4.The given value P(A∣B)=0.4P(A\mid B)=0.4P(A∣B)=0.4 is inconsistent with independence because independence would require P(A∣B)=P(A)=0.7P(A\mid B)=P(A)=0.7P(A∣B)=P(A)=0.7. This means the conditions in the question cannot all hold simultaneously.
Spotting this contradiction is important. In an exam, do not force incompatible information into a calculation. State clearly that no value of xxx can satisfy all the given conditions.
Common mistakes in conditional probability
Using the overall total as the denominator
For P(A∣B)P(A\mid B)P(A∣B), the denominator is the number or probability associated with BBB. The overall total is only used when no condition has restricted the sample space.
Reversing the condition
P(A∣B)≠P(B∣A) P(A\mid B)\ne P(B\mid A) P(A∣B)=P(B∣A)in general. Read the notation from left to right as “AAA given BBB”, then use BBB as the denominator.
Multiplying when a branch probability is requested
On a tree diagram, P(B∣A)P(B\mid A)P(B∣A) is the branch probability after AAA. Multiplying by P(A)P(A)P(A) gives the probability of the complete route, P(A∩B)P(A\cap B)P(A∩B).
Assuming events are independent
Independence must be stated, implied by the setting, or demonstrated mathematically. Do not automatically multiply P(A)P(A)P(A) and P(B)P(B)P(B) when dependence is possible.
Confusing complements and conditions
The notation A′A'A′ or AcA^cAc means “not AAA”. The notation A∣BA\mid BA∣B means “AAA given BBB”. These operations are unrelated.
Rounding too early
Keep fractions or exact decimal values during intermediate calculations. Round only the final answer to the requested accuracy.
Embedded exam-style question
Events AAA and BBB satisfy
P(A)=35,P(B∣A)=23 P(A)=\frac{3}{5},\qquad P(B\mid A)=\frac{2}{3} P(A)=53,P(B∣A)=32and
P(B∣A′)=14. P(B\mid A')=\frac{1}{4}. P(B∣A′)=41.Find:
- P(A∩B)P(A\cap B)P(A∩B)
- P(B)P(B)P(B)
- P(A∣B)P(A\mid B)P(A∣B)
- whether AAA and BBB are independent
Answer
For the first route,
P(A∩B)=P(A)P(B∣A)=35×23=25. P(A\cap B)=P(A)P(B\mid A) =\frac{3}{5}\times\frac{2}{3} =\frac{2}{5}. P(A∩B)=P(A)P(B∣A)=53×32=52.Also,
P(A′)=1−35=25. P(A')=1-\frac{3}{5}=\frac{2}{5}. P(A′)=1−53=52.Therefore,
P(A′∩B)=P(A′)P(B∣A′)=25×14=110. P(A'\cap B)=P(A')P(B\mid A') =\frac{2}{5}\times\frac{1}{4} =\frac{1}{10}. P(A′∩B)=P(A′)P(B∣A′)=52×41=101.The event BBB can occur through either mutually exclusive route, so
P(B)=25+110=12. P(B)=\frac{2}{5}+\frac{1}{10}=\frac{1}{2}. P(B)=52+101=21.Now apply the conditional probability formula:
P(A∣B)=P(A∩B)P(B)=2512=45. P(A\mid B)=\frac{P(A\cap B)}{P(B)} =\frac{\frac{2}{5}}{\frac{1}{2}} =\frac{4}{5}. P(A∣B)=P(B)P(A∩B)=2152=54.The events are not independent because
P(A∣B)=45≠35=P(A). P(A\mid B)=\frac{4}{5}\ne\frac{3}{5}=P(A). P(A∣B)=54=53=P(A).Try 4 more conditional probability practice questions on MathsGenie.
Four more conditional probability exam questions
Question 1
In a group of 808080 students, 454545 study chemistry, 323232 study biology and 202020 study both subjects. One student is chosen at random. Find the probability that the student studies biology, given that they study chemistry.
Answer:
P(B∣C)=2045=49. P(B\mid C)=\frac{20}{45}=\frac{4}{9}. P(B∣C)=4520=94.Question 2
Events XXX and YYY satisfy
P(X)=0.65,P(Y)=0.4,P(X∪Y)=0.81. P(X)=0.65,\qquad P(Y)=0.4, \qquad P(X\cup Y)=0.81. P(X)=0.65,P(Y)=0.4,P(X∪Y)=0.81.Find P(X∣Y)P(X\mid Y)P(X∣Y).
Answer:
First use
P(X∩Y)=P(X)+P(Y)−P(X∪Y). P(X\cap Y)=P(X)+P(Y)-P(X\cup Y). P(X∩Y)=P(X)+P(Y)−P(X∪Y).Hence
P(X∩Y)=0.65+0.4−0.81=0.24. P(X\cap Y)=0.65+0.4-0.81=0.24. P(X∩Y)=0.65+0.4−0.81=0.24.Therefore,
P(X∣Y)=0.240.4=0.6. P(X\mid Y)=\frac{0.24}{0.4}=0.6. P(X∣Y)=0.40.24=0.6.Question 3
A box contains 444 green balls and 666 yellow balls. Two balls are selected without replacement. Given that the second ball is green, find the probability that the first ball was yellow.
Answer:
Let Y1Y_1Y1 mean yellow first and G2G_2G2 mean green second.
P(Y1∩G2)=610×49=415. P(Y_1\cap G_2)=\frac{6}{10}\times\frac{4}{9}=\frac{4}{15}. P(Y1∩G2)=106×94=154.The probability that the second ball is green is 410\frac{4}{10}104 by symmetry, or by adding both tree routes. Therefore,
P(Y1∣G2)=P(Y1∩G2)P(G2)=41525=23. P(Y_1\mid G_2) =\frac{P(Y_1\cap G_2)}{P(G_2)} =\frac{\frac{4}{15}}{\frac{2}{5}} =\frac{2}{3}. P(Y1∣G2)=P(G2)P(Y1∩G2)=52154=32.Question 4
Events RRR and SSS satisfy
P(R)=0.35,P(S)=0.6 P(R)=0.35,\qquad P(S)=0.6 P(R)=0.35,P(S)=0.6and
P(R∣S)=0.35. P(R\mid S)=0.35. P(R∣S)=0.35.Determine whether RRR and SSS are independent.
Answer:
Since
P(R∣S)=P(R)=0.35, P(R\mid S)=P(R)=0.35, P(R∣S)=P(R)=0.35,the events are independent.
Exam technique for conditional probability questions
Translate words such as given, among, of those and knowing that into a conditional probability. These phrases indicate that the original sample space has been restricted.
Write the formula before substituting values. This reduces the risk of reversing the condition and can make your method clear to the examiner.
When information describes several stages, draw a tree diagram and label later branches conditionally. When information classifies one group in two ways, a two-way table or Venn diagram is usually clearer.
For an independence question, show an explicit comparison. For example,
P(A∩B)=P(A)P(B) P(A\cap B)=P(A)P(B) P(A∩B)=P(A)P(B)followed by a written conclusion. A numerical answer without the comparison may not fully justify the claim.
Conclusion
Conditional probability changes the sample space to reflect information already known. The essential formula is
P(A∣B)=P(A∩B)P(B), P(A\mid B)=\frac{P(A\cap B)}{P(B)}, P(A∣B)=P(B)P(A∩B),while the multiplication rule is
P(A∩B)=P(B)P(A∣B). P(A\cap B)=P(B)P(A\mid B). P(A∩B)=P(B)P(A∣B).On tables, use the conditioned row or column as the denominator. On trees, distinguish a conditional branch probability from the probability of a complete route. For independence, check whether conditioning leaves the original probability unchanged or use the product test.
After reviewing the worked examples, use MathsGenie practice questions, mark schemes and A-level past-paper resources to practise selecting the correct method without prompts. Students revisiting earlier probability foundations can also consult the GCSE maths topics by exam board and tier.



