Conditional Probability

Conditional Probability

Spec E8.4 · Cambridge IGCSE Maths: Revision notes

Studying this course? Keep your progress in one place.

Key facts

  • Conditional probability is the probability of an event given that another event has already happened.
  • The "given" information makes the sample space smaller: only the outcomes that fit the condition count.
  • You do not need the formal P(A∣B)P(A|B) notation; read the answer from a table, tree diagram or Venn diagram.
  • Table: use only the row or column of the "given" condition, then divide.
  • Without replacement, the later branches of a tree diagram change after each draw.

What is conditional probability?

Knowing one outcome has happened shrinks the sample space.

Conditional probability is the chance of an event happening given that another event has already happened. Once you know one outcome, fewer possibilities remain. You are not required to use the formal notation P(A∣B)P(A|B) or a formula. Instead, read it directly from a Venn diagram, tree diagram or table.

00.050.10.150.20.250.30.35123456ScoreProbability
  • No information
  • Told it is even
Probability of each score on a fair die: before, and once we know the score is even.

No information

  • Fair die: 1, 2, 3, 4, 5, 6
  • P(6)=16P(6)=\tfrac16

Told the score is even

  • Remaining: 2, 4, 6
  • P(6)=13P(6)=\tfrac13

A fair die is rolled and you are told the result is even. What is the probability it is a 6?

From a table

Use only the row or column of the "given" condition as the new total.

In a two-way table, find the row or column that matches the given condition. Its total is the new sample space. Divide the frequency for the event you want by that restricted total, not by the grand total.

Boys: 60Girls: 4040 play sport25 play sport
Area diagram of the table: boys (width 6 = 60 students) and girls (width 4 = 40). The shaded area is boys who play sport: 40 out of 60.

Plays sport

Boys:
40
Girls:
25
Total:
65

Does not play

Boys:
20
Girls:
15
Total:
35

Total

Boys:
60
Girls:
40
Total:
100

Worked example

Using the table, find the probability that a student plays sport, given that the student is a boy.

Using the table, what is the probability a student is a girl, given that the student does not play sport?

From a tree diagram

Without replacement, later probabilities depend on what was taken first.

When items are taken without replacement, the probabilities on the second set of branches change depending on the first pick. The second branch probability is a conditional probability: the chance of the second pick given the first. Update the total after each draw.

  1. 1

    First pick

    Use the original numbers

  2. 2

    Remove it

    Update the counts and the total

  3. 3

    Second pick

    Probability given the first

  4. 4

    Multiply

    Along the branches for both picks

Tree diagram without replacement

Worked example

A bag has 5 red and 3 blue counters. Two are drawn without replacement. Find P(second red given first red) and P(both red).

The bag has 5 red and 3 blue. The first counter drawn is blue and is not replaced. What is the probability the second is red?

From a Venn diagram

Divide by the size of the "given" region, not by the whole universal set.

On a Venn diagram, the "given" event restricts you to its region. Count how many items in that region also belong to the event you want, and divide by the size of the given region.

A (30)B80 in total1218B only
Venn diagram: 30 items in A, 18 of them also in B. Given A, the new total is 30, so P(B given A) = 18/30.
  • P(B given A)n(A and B)n(A)\dfrac{n(A\text{ and }B)}{n(A)}

Worked example

n(E)=80n(\mathcal{E})=80. Event AA has 30 items, and 18 of them are also in BB. Find the probability of BB given AA.

n(E)=50n(\mathcal{E})=50. Set AA has 20 items and 5 of them are also in BB. What is the probability of BB given AA?

Try an exam question

In a class of 100 students: 40 boys play sport, 20 boys do not, 25 girls play sport and 15 girls do not. (a) A girl is chosen at random. Find the probability she plays sport. (b) A bag has 5 red and 3 blue counters. One blue counter is removed and not replaced. A second counter is then taken at random. Find the probability it is red.

[4 marks]

That's the notes covered.

Carry on to the next subtopic.

Try a question

Given that a randomly selected student owns a bicycle, find the probability they also own a scooter.

1 mark, marked against the mark scheme

Revision notes