4.6 Combined events and conditional probability

4.6 Combined events and conditional probability

IB Maths: Applications and Interpretation SL: Revision notes

Studying this course? Keep your progress in one place.

Key facts

  • Use a Venn diagram, tree diagram, table or sample space to organise combined events.
  • P(A∪B)=P(A)+P(B)−P(A∩B)P(A\cup B)=P(A)+P(B)-P(A\cap B); for mutually exclusive events 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)}: knowing BB shrinks the sample space to BB.
  • On a tree, multiply along branches for "and" and add branch products for "or".
  • Independent events satisfy P(A∩B)=P(A)P(B)P(A\cap B)=P(A)P(B).

Diagrams for combined events

Pick the diagram that fits: Venn for overlapping groups, table for two categories, tree for events in sequence.

Probabilities of combined events can be found from a Venn diagram, tree diagram, sample space diagram or table of outcomes. Often the problem can be solved straight from the diagram, without any formula.

Fill in a Venn diagram from the middle outwards: start with A∩BA\cap B, then the "only" regions, then the outside.

A onlyA ∩ BB onlyABR1R2R3R4
Venn diagram: overlapping groups. Use a table for two categories and a tree diagram for events in sequence

Venn diagram

Best for:
Overlapping groups
Shows:
Every region of a set

Tree diagram

Best for:
Events in sequence
Shows:
Branch probabilities

Table

Best for:
Two categories
Shows:
Row and column totals

Sample space

Best for:
Equally likely pairs
Shows:
Every outcome

Worked example

A class of 30: 18 study Spanish, 12 study French, 5 study both. Fill in the Venn diagram.

In the class above, how many study neither language?

Union and intersection

Add the two probabilities and subtract the overlap, so it is not counted twice.

A∪BA\cup B means "A or B or both" and A∩BA\cap B means "A and B". In mathematics "or" is not exclusive.

The addition rule is P(A∪B)=P(A)+P(B)−P(A∩B)P(A\cup B)=P(A)+P(B)-P(A\cap B).

Events are mutually exclusive when they cannot happen together, so P(A∩B)=0P(A\cap B)=0 and the rule becomes P(A∪B)=P(A)+P(B)P(A\cup B)=P(A)+P(B).

0.30.20.4ABR1R2R3R4
P(A ∪ B) = P(A) + P(B) − P(A ∩ B). Illustrative values: 0.3 + 0.2 + 0.4 = 0.9, so P(A) = 0.5, P(B) = 0.6 and 0.5 + 0.6 − 0.2 = 0.9
  • P(A∪B)P(A\cup B)P(A)+P(B)−P(A∩B)P(A)+P(B)-P(A\cap B)

Worked example

In the class above, find P(Spanish or French).

P(A)=0.5P(A)=0.5, P(B)=0.3P(B)=0.3 and they are mutually exclusive. P(A∪B)=P(A\cup B)=

Conditional probability

Knowing that BB has occurred shrinks the sample space to BB.

The probability of AA given that BB has occurred is P(A∣B)=P(A∩B)P(B)P(A\mid B)=\frac{P(A\cap B)}{P(B)}, or equivalently P(A∩B)=P(B) P(A∣B)P(A\cap B)=P(B)\,P(A\mid B).

On a tree diagram the second set of branches carries conditional probabilities, and you multiply along a branch to get an intersection.

p = 0.4p = 0.6p = 0.5p = 0.5p = 0.2p = 0.8AA′A ∩ B: 0.20A ∩ B′: 0.20A′ ∩ B: 0.12A′ ∩ B′: 0.48
Tree diagram (illustrative): P(A) = 0.4, P(B | A) = 0.5, P(B | A′) = 0.2. P(B) = 0.20 + 0.12 = 0.32, so P(A | B) = 0.20 ÷ 0.32 = 0.625
  • P(A∣B)P(A\mid B)P(A∩B)P(B)\dfrac{P(A\cap B)}{P(B)}

Worked example

In the class above, find P(French given Spanish).

Of 40 students, 16 play chess and 4 of those also play football. P(football given chess) =

Tree diagrams

Multiply along branches for "and", add the products for "or", and change the numbers if there is no replacement.

On a tree diagram, multiply along branches for "and" and add the products of different branches for "or". Branches from one point sum to 1.

With replacement, the second-stage probabilities equal the first. Without replacement the numbers change, so reduce both the numerator for that colour and the denominator.

  1. 1

    Multiply along a branch

    this gives "and"

  2. 2

    Add branch products

    this gives "or"

  3. 3

    Check each fork

    probabilities sum to 1

Reading a tree diagram

Worked example

4 red and 6 yellow pencils; two are drawn without replacement. Find P(both red) and P(different colours).

A bag has 3 red and 2 blue. Two are drawn without replacement. P(both red) =

Independent events

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

Events AA and BB are independent if 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 independence, calculate both sides and compare.

Do not confuse independent with mutually exclusive: events with non-zero probabilities that are mutually exclusive are never independent.

p = 0.5p = 0.5p = 0.3p = 0.7p = 0.3p = 0.7AA′A ∩ B: 0.15A ∩ B′: 0.35A′ ∩ B: 0.15A′ ∩ B′: 0.35
Independent events (illustrative): P(B) is 0.3 on every branch, so P(B | A) = P(B | A′) = P(B) and P(A ∩ B) = 0.5 × 0.3 = 0.15

Independent

Defining test:
P(A∩B)=P(A)P(B)P(A\cap B)=P(A)P(B)
Can both happen?:
Yes

Mutually exclusive

Defining test:
P(A∩B)=0P(A\cap B)=0
Can both happen?:
No

Worked example

Among 120 members, 70 play tennis (T), 50 play badminton (B) and 20 play both. Are T and B independent?

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

Try an exam question

In a class of 30, 18 study Spanish (SS), 12 study French (FF) and 5 study both. Find P(neither)P(\text{neither}) and P(F∣S)P(F\mid S).

[4 marks]

That's the notes covered.

Carry on to the next subtopic.

Try a question

Find P(S∩F)P(S\cap F).

1 mark, marked against the mark scheme

Revision notes