Skip to main content
Examonaut

Topic 3 · Lesson 1 of 4

Venn diagrams and independent events

Events and notation

An experiment (rolling a dice, picking a student) has outcomes; the set of all outcomes is the sample space. An event is a set of outcomes, such as "an even number". If the outcomes are equally likely,

P(A)=number of outcomes in Atotal number of outcomesP(A) = \frac{\text{number of outcomes in } A}{\text{total number of outcomes}}

Set notation describes combinations of events:

  • A∩BA \cap B ("AA and BB"): both happen.
  • A∪BA \cup B ("AA or BB"): at least one happens.
  • A′A' ("not AA"): AA does not happen, and P(A′)=1−P(A)P(A') = 1 - P(A), since one of AA and A′A' must happen.

Venn diagrams

A Venn diagram shows events as overlapping circles inside a rectangle, which represents the whole sample space. Each region gets a number (a count or a probability), so every combination can be read off. The diagram shows 50 students: 22 study French, 18 Spanish and 7 both.

FS1571117ξ: 50 students

How to fill in a Venn diagram

  1. Step 1: Start in the middle: the overlap (here 7).
  2. Step 2: Work outwards: French only =22−7=15= 22 - 7 = 15; Spanish only =18−7=11= 18 - 7 = 11.
  3. Step 3: Outside: 50−15−7−11=1750 - 15 - 7 - 11 = 17.
  4. Step 4: Read off what you need: P(F∪S)=15+7+1150=3350P(F \cup S) = \frac{15 + 7 + 11}{50} = \frac{33}{50}; P(F∩S′)=1550P(F \cap S') = \frac{15}{50}.

Counting the regions gives the addition rule. Adding P(A)P(A) and P(B)P(B) counts the overlap twice, so subtract it once:

P(A∪B)=P(A)+P(B)−P(A∩B)P(A \cup B) = P(A) + P(B) - P(A \cap B)

Here 2250+1850−750=3350\frac{22}{50} + \frac{18}{50} - \frac{7}{50} = \frac{33}{50} ✓.

Mutually exclusive and independent events

These two ideas sound similar but are completely different, as the diagram shows.

ABmutually exclusiveP(A ∩ B) = 00.280.120.180.42independent0.4 × 0.3 = 0.12 ✓

Mutually exclusive events cannot happen together: their circles don't overlap. So P(A∩B)=0P(A \cap B) = 0 and the addition rule simplifies to P(A∪B)=P(A)+P(B)P(A \cup B) = P(A) + P(B). Example: on one dice roll, "a 2" and "a 5".

Independent events don't affect each other: knowing one happened doesn't change the probability of the other. Example: flipping a coin and rolling a dice. For independent events, the probability of both is found by multiplying:

P(A∩B)=P(A)×P(B)P(A \cap B) = P(A) \times P(B)

To test for independence, check whether this equation is true. On the right of the diagram, P(A)=0.28+0.12=0.4P(A) = 0.28 + 0.12 = 0.4 and P(B)=0.12+0.18=0.3P(B) = 0.12 + 0.18 = 0.3; their product is 0.12, which equals P(A∩B)P(A \cap B), so AA and BB are independent. Note that two events with non-zero probabilities can't be both mutually exclusive and independent: if they can't happen together, knowing one happened changes the other's probability to 0.

Try it: set P(A), P(B) and P(A ∩ B), shade any region and test for independence.

Try it: simulation

Probability trees and Venn diagrams

Loading the simulation…

Worked example

Independenceexam standard

P(A)=0.5P(A) = 0.5, P(B)=0.3P(B) = 0.3 and P(A∪B)=0.65P(A \cup B) = 0.65. a) Find P(A∩B)P(A \cap B). b) Are AA and BB independent? c) Find P(A′∩B′)P(A' \cap B').

Show solution
  1. a) Addition rule: 0.65=0.5+0.3−P(A∩B)0.65 = 0.5 + 0.3 - P(A \cap B), so P(A∩B)=0.15P(A \cap B) = 0.15.
  2. b) P(A)×P(B)=0.15=P(A∩B)P(A) \times P(B) = 0.15 = P(A \cap B), so yes, independent.
  3. c) A′∩B′A' \cap B' is the region outside both circles: 1−P(A∪B)=0.351 - P(A \cup B) = 0.35.

Practise this topic

Both are part of Premium.