4.6 Combined, conditional and independent events

4.6 Combined, conditional and independent events

IB Maths: Analysis and Approaches SL: 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.
  • 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

Venn diagrams, tree diagrams and tables of outcomes each organise a different kind of problem.

In a Venn diagram fill in the intersection first, then "only AA", "only BB" and "neither". On a tree diagram multiply along a branch and add the ends of different branches. For two dice use a 6×66\times6 table of 36 outcomes.

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

ABU1U2UU4AB
A Venn diagram: two overlapping sets A and B inside the universal set U. The overlap is the intersection, filled in first.

Venn diagram

  • Overlapping sets in UU
  • Fill in the intersection first

Tree diagram

  • One set of branches per stage
  • Multiply along, add between branches

Table of outcomes

  • For two dice, a 6×66\times6 grid
  • Count favourable outcomes

Worked example

A club has 120 members. 60 play A, 50 play B and 20 play neither. How many play both?

On a tree diagram, how do you find the probability of one complete branch?

Combined events

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

The addition rule is in the formula booklet. "Or" is inclusive: it includes outcomes where both happen. AA and BB are mutually exclusive if they cannot happen together, so P(A∩B)=0P(A\cap B)=0 and P(A∪B)=P(A)+P(B)P(A\cup B)=P(A)+P(B).

A: 0.5B: 0.4U1U2UU4ABA∩B = 0.2
With P(A) = 0.5, P(B) = 0.4 and P(A∩B) = 0.2 the overlap is counted twice, so P(A∪B) = 0.5 + 0.4 − 0.2 = 0.7.
  • 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)=0P(A\cap B)=0

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).

Conditional probability

P(A∣B)P(A\mid B) is the probability of AA once BB is known to have happened; divide by P(B)P(B).

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}. From a tree you can reverse the condition: if P(bus∩L)=0.1P(\text{bus}\cap L)=0.1 and P(L)=0.16P(L)=0.16, then P(bus∣L)=0.625P(\text{bus}\mid L)=0.625.

"Given that the socks are the same colour" means the denominator is P(same colour)P(\text{same colour}).

  1. 1

    The condition shrinks the sample space to B

  2. 2

    Find P(A ∩ B)

    for example 0.1

  3. 3

    Find P(B)

    for example 0.16

  4. 4

    Divide

    0.1 ÷ 0.16 = 0.625

Conditional probability worked through.
  • Conditional probabilityP(A∣B)=P(A∩B)P(B)P(A\mid B)=\dfrac{P(A\cap B)}{P(B)}

Worked example

70 students study Spanish; 25 of them also study Art. Find P(Art∣Spanish)P(\text{Art}\mid\text{Spanish}).

P(bus∩L)=0.1P(\text{bus}\cap L)=0.1 and P(L)=0.16P(L)=0.16. Find P(bus∣L)P(\text{bus}\mid L).

Independent events

Events are independent if one happening does not change the probability of the other.

Test by calculating both sides and comparing. Do not confuse independent with mutually exclusive: mutually exclusive events with non-zero probabilities are never independent, because one happening makes the other impossible. Show the calculation and state the conclusion.

  1. 1

    Calculate P(A) × P(B)

  2. 2

    Calculate P(A ∩ B)

  3. 3

    Compare the two values

  4. 4

    Equal means independent

    different means dependent; state the conclusion

Testing for independence.
  • IndependentP(A∩B)=P(A)P(B)P(A\cap B)=P(A)P(B)
  • EquivalentlyP(A∣B)=P(A)P(A\mid B)=P(A)

Independent

  • P(A∩B)=P(A)P(B)P(A\cap B)=P(A)P(B)

Mutually exclusive

  • P(A∩B)=0P(A\cap B)=0

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

With and without replacement

With replacement the draws are independent; without it both the count and the total go down.

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 replacementMethodP(both white)
Both balls white from a bag of 12 balls with 5 white: with replacement (5/12)² ≈ 0.174; without replacement 5/12 × 4/11 ≈ 0.152.

With replacement

Second draw:
Same probabilities each draw
Both white:
(512)2\left(\frac{5}{12}\right)^2

Without replacement

Second draw:
Counts go down by one
Both white:
512×411\frac{5}{12}\times\frac{4}{11}

Worked example

A bag has 5 white and 7 black counters. Two are taken without replacement. Find the probability both are white.

Same bag, without replacement. Find P(one of each colour)P(\text{one of each colour}).

Try an exam question

Events AA and BB are such that P(A)=0.5P(A)=0.5, P(B)=0.3P(B)=0.3 and P(A∩B)=0.15P(A\cap B)=0.15. (a) Find P(A∪B)P(A\cup B). (b) Determine whether 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