Skip to main content
Examonaut

Topic P · Lesson 4 of 5

Conditional probability (Higher tier)

Conditional probabilityHigher tier

A conditional probability is the probability of one event given that another has happened. The phrase "given that" restricts you to a smaller group, so the denominator changes.

How to find a conditional probability

  1. Step 1: Identify the condition (the "given that" part). That group becomes your new total.
  2. Step 2: Count, or find the probability of, the outcomes in that group that also satisfy the event.
  3. Step 3: Divide: P(A given B)=number in both A and Bnumber in BP(A \text{ given } B) = \frac{\text{number in both } A \text{ and } B}{\text{number in } B}.

From the two-way table, P(Year 10, given that the student takes the bus) =1840= \frac{18}{40}: only the 40 bus users count. From the Venn diagram, P(plays football given that they play tennis) =615= \frac{6}{15}: only the 15 tennis players count.

In a tree diagram, the second set of branches already shows conditional probabilities: 47\frac{4}{7} is P(second red given first red). If two events are independent, the condition makes no difference: P(A given B) = P(A).

Worked example

Conditional probability from a treegrade 9

A test for a condition is used on a group in which 5% have the condition. If someone has the condition, the test is positive with probability 0.9. If they do not, the test is positive with probability 0.1. A person tests positive. Find the probability that they have the condition.

Show solution
  1. P(condition and positive) =0.05×0.9=0.045= 0.05 \times 0.9 = 0.045.
  2. P(no condition and positive) =0.95×0.1=0.095= 0.95 \times 0.1 = 0.095.
  3. P(positive) =0.045+0.095=0.14= 0.045 + 0.095 = 0.14.
  4. Given a positive test, restrict to the positive outcomes: 0.0450.14=928≈0.32\frac{0.045}{0.14} = \frac{9}{28} \approx 0.32.
  5. Interpretation: even with a positive test, it is more likely the person does not have the condition, because the condition is rare.
0.050.95conditionno condition0.9positive0.0450.1negative0.0050.1positive0.0950.9negative0.855probabilityP(condition given positive) = 0.045 ÷ 0.14 ≈ 0.32

Worked example

Forming an equationgrade 9

A bag holds nn sweets, 6 of them orange. Two sweets are taken at random without replacement. The probability that both are orange is 13\frac{1}{3}. Show that n2−n−90=0n^2 - n - 90 = 0 and find nn.

Show solution
  1. P(both orange) =6n×5n−1=30n(n−1)= \frac{6}{n} \times \frac{5}{n - 1} = \frac{30}{n(n - 1)}.
  2. Set it equal to 13\frac{1}{3}: 30n(n−1)=13\frac{30}{n(n - 1)} = \frac{1}{3}, so n(n−1)=90n(n - 1) = 90, giving n2−n−90=0n^2 - n - 90 = 0.
  3. Factorise: (n−10)(n+9)=0(n - 10)(n + 9) = 0. A number of sweets must be positive, so n=10n = 10.

Practise this topic

Both are part of Premium.