4.6 Combined, conditional and independent events

4.6 Combined, conditional and independent events

IB Maths: Analysis and Approaches HL: Revision notes

Studying this course? Keep your progress in one place.

Key facts

  • P(A∪B)=P(A)+P(B)−P(A∩B)P(A\cup B)=P(A)+P(B)-P(A\cap B); 'or' includes both.
  • Mutually exclusive: P(A∩B)=0P(A\cap B)=0.
  • Conditional probability: P(A∣B)=P(A∩B)P(B)P(A\mid B)=\frac{P(A\cap B)}{P(B)}.
  • Independent: P(A∩B)=P(A)P(B)P(A\cap B)=P(A)P(B).
  • Without replacement, reduce the counts on the second draw. 'At least one' =1−P(none)=1-P(\text{none}).

Venn diagrams, trees and tables

Use a Venn diagram for overlaps, a tree for stages and a table for two dice.

  • Venn diagram: overlapping sets inside UU; fill in the intersection first, then 'only AA', 'only BB' and 'neither'.
  • Tree diagram: one set of branches per stage; multiply along a branch, add the ends of different branches.
  • Sample space diagram: for two dice, a 6×66\times6 grid of 36 outcomes.

With '120 members, 20 use neither', start from n(A∪B)=120−20=100n(A\cup B)=120-20=100.

AB
Sets A and B: the overlap is the intersection, both circles the union.
  1. 1

    Draw the branches

    one set per stage

  2. 2

    Label each branch

    with its probability

  3. 3

    Multiply along a path

    for "and"

  4. 4

    Add the paths

    that give the event you want

Using a tree diagram

n(A∪B)=100n(A\cup B)=100, n(A)=60n(A)=60 and n(B)=70n(B)=70. What is n(A∩B)n(A\cap B)?

Combined events

Add the probabilities and subtract the overlap, which was counted twice.

The addition rule is in the formula booklet. The overlap is subtracted because it has been counted twice. In probability, 'or' is inclusive: 'AA or BB' includes the outcomes where both happen.

AA and BB are mutually exclusive if they cannot happen together: P(A∩B)=0P(A\cap B)=0, so P(A∪B)=P(A)+P(B)P(A\cup B)=P(A)+P(B).

ABAB
Left: A and B overlap, so P(A∩B) is counted twice in P(A) + P(B). Right: mutually exclusive events do not overlap.
  • Addition ruleP(A∪B)=P(A)+P(B)−P(A∩B)P(A\cup B)=P(A)+P(B)-P(A\cap B)
  • Mutually exclusiveP(A∪B)=P(A)+P(B)P(A\cup B)=P(A)+P(B)

Worked example

P(A)=0.5P(A)=0.5, P(B)=0.4P(B)=0.4 and P(A∩B)=0.2P(A\cap B)=0.2. Find P(A∪B)P(A\cup B).

AA and BB are mutually exclusive with P(A)=0.3P(A)=0.3 and P(B)=0.45P(B)=0.45. What is P(A∪B)P(A\cup B)?

Conditional probability

The probability of AA given that BB has happened: divide by P(B)P(B), the event that is given.

P(A∣B)P(A\mid B) is the probability of AA given that BB has happened. The condition shrinks the sample space to BB. With counts, P(W∣S)=n(S∩W)n(S)=2570P(W\mid S)=\frac{n(S\cap W)}{n(S)}=\frac{25}{70}.

'Given that the socks are the same colour' means the denominator is P(same colour)P(\text{same colour}). From a tree you can also reverse the condition.

0204060In S (the condition)In both S and WOutcomesCount
Given S, the sample space shrinks to the 70 outcomes in S, of which 25 are also W: P(W | S) = 25/70.
  • Conditional probabilityP(A∣B)=P(A∩B)P(B)P(A\mid B)=\dfrac{P(A\cap B)}{P(B)}

Worked example

From a tree, P(bus∩L)=0.1P(\text{bus}\cap L)=0.1 and P(L)=0.16P(L)=0.16, where LL is 'late'. Find P(bus∣L)P(\text{bus}\mid L).

P(A∩B)=0.12P(A\cap B)=0.12 and P(B)=0.3P(B)=0.3. What is P(A∣B)P(A\mid B)?

Independent events

When one happening does not change the probability of the other: P(A∩B)=P(A)P(B)P(A\cap B)=P(A)P(B).

AA and BB are independent events if one happening does not change the probability of the other: P(A∩B)=P(A)P(B)P(A\cap B)=P(A)P(B), equivalently P(A∣B)=P(A)P(A\mid B)=P(A). To test, calculate both sides and compare.

Do not confuse this with mutually exclusive. Mutually exclusive events with non-zero probabilities are never independent, because one happening makes the other impossible.

  1. 1

    Calculate P(A)P(B)

    multiply the two separate probabilities

  2. 2

    Calculate P(A∩B)

    from the data or the question

  3. 3

    Compare

    equal means independent; mutually exclusive events (non-zero) never are

Testing for independence.

Independent

Test:
P(A∩B)=P(A)P(B)P(A\cap B)=P(A)P(B)
Can both happen?:
Yes
Independent if non-zero?:
Possible

Mutually exclusive

Test:
P(A∩B)=0P(A\cap B)=0
Can both happen?:
No
Independent if non-zero?:
Never

Worked example

P(A)=0.5P(A)=0.5, P(B)=0.4P(B)=0.4 and P(A∩B)=0.2P(A\cap B)=0.2. Are AA and BB independent?

Events A and B are mutually exclusive and both have non-zero probability. Could they be independent?

With and without replacement

With replacement the draws are independent; without it, the counts fall by one.

With replacement, the second draw is independent of the first: (512)2\left(\frac{5}{12}\right)^2.

Without replacement, the second draw depends on the first: both the number of that colour and the total go down by one: 512×411\frac{5}{12}\times\frac{4}{11}.

For 'one of each colour' remember both orders: P(WB)+P(BW)P(WB)+P(BW). For 'at least one' use the complement: 1−P(none)1-P(\text{none}).

00.050.10.15With replacementWithout replacementDrawsProbability
Two draws of a colour with 5 of 12 counters: with replacement (5/12)² ≈ 0.174; without replacement 5/12 × 4/11 ≈ 0.152.

With replacement

Counts:
Unchanged
Two of a colour (5 of 12):
512×512\frac{5}{12}\times\frac{5}{12}

Without replacement

Counts:
Colour and total each go down by one
Two of a colour (5 of 12):
512×411\frac{5}{12}\times\frac{4}{11}

A bag has 12 counters, 5 of them red. Two are drawn without replacement. What is P(both red)?

Try an exam question

P(A)=0.5P(A)=0.5, P(B)=0.4P(B)=0.4 and P(A∩B)=0.2P(A\cap B)=0.2. (a) Find P(A∪B)P(A\cup B). (b) Find P(A∣B)P(A\mid B). (c) Show that AA and BB are independent.

[4 marks]

That's the notes covered.

Carry on to the next subtopic.

Try a question

Find P(A∩B)P(A \cap B).

1 mark, marked against the mark scheme

Revision notes