Set Notation and Venn Diagrams

AS · S1 · 3 min

Probability is written in the language of sets. An event is a set of outcomes, and the words "and", "or", "not" become intersection, union and complement. Venn diagrams make the relationships visible and turn many probability questions into simple arithmetic on regions.

Notation

Key result
SymbolRead asMeaning
A∩BA \cap BAA and BBoutcomes in both
A∪BA \cup BAA or BBoutcomes in at least one
A′A'not AAoutcomes not in AA (the complement)
P(A∣B)P(A \mid B)AA given BBprobability of AA knowing BB has occurred

Key results:

P(A′)=1−P(A),P(A∪B)=P(A)+P(B)−P(A∩B)P(A') = 1 - P(A), \qquad P(A \cup B) = P(A) + P(B) - P(A \cap B)

Events are mutually exclusive if P(A∩B)=0P(A \cap B) = 0; then P(A∪B)=P(A)+P(B)P(A \cup B) = P(A) + P(B).

Venn diagrams

Draw a rectangle for all outcomes and overlapping circles for events. Fill in the intersection first, then the rest of each circle, then what is outside both.

Filling a Venn diagram

In a class of 30, 18 study French, 14 study Spanish and 6 study both. Draw a Venn diagram and find the number who study neither.

Solution

Intersection: 66. French only: 18−6=1218 - 6 = 12. Spanish only: 14−6=814 - 6 = 8. Total in at least one: 2626. Neither: 30−26=430 - 26 = 4.

Using the addition rule

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

Solution

P(A∩B)=0.5+0.4−0.7=0.2P(A \cap B) = 0.5 + 0.4 - 0.7 = 0.2. P(A′∩B)=P(B)−P(A∩B)=0.2P(A' \cap B) = P(B) - P(A \cap B) = 0.2. P(A′∩B′)=1−P(A∪B)=0.3P(A' \cap B') = 1 - P(A \cup B) = 0.3.

Three events

Of 100 students, 40 play football, 35 play hockey, 30 play tennis; 12 play football and hockey, 10 football and tennis, 8 hockey and tennis; 5 play all three. How many play none?

Solution

Start from the centre: all three 55. Football and hockey only: 12−5=712 - 5 = 7; football and tennis only: 55; hockey and tennis only: 33. Football only: 40−7−5−5=2340 - 7 - 5 - 5 = 23; hockey only: 35−7−3−5=2035 - 7 - 3 - 5 = 20; tennis only: 30−5−3−5=1730 - 5 - 3 - 5 = 17.

Total playing something: 23+20+17+7+5+3+5=8023 + 20 + 17 + 7 + 5 + 3 + 5 = 80. None: 2020.

Translating words

WordsSetRegion
both AA and BBA∩BA \cap Bthe overlap
AA or BB (or both)A∪BA \cup Beverything inside either circle
AA but not BBA∩B′A \cap B'AA minus the overlap
exactly one of AA, BB(A∩B′)∪(A′∩B)(A \cap B') \cup (A' \cap B)the two crescents
neitherA′∩B′A' \cap B'outside both circles
Exactly one

P(A)=0.6P(A) = 0.6, P(B)=0.5P(B) = 0.5, P(A∩B)=0.3P(A \cap B) = 0.3. Find the probability that exactly one of AA and BB occurs.

Solution

P(A∩B′)+P(A′∩B)=(0.6−0.3)+(0.5−0.3)=0.5P(A \cap B') + P(A' \cap B) = (0.6 - 0.3) + (0.5 - 0.3) = 0.5.

Watch out

"AA or BB" in probability includes the case where both happen. Do not subtract the intersection twice: P(A∪B)=P(A)+P(B)−P(A∩B)P(A \cup B) = P(A) + P(B) - P(A \cap B) already removes the double count once.

Exam tip

When a question gives probabilities of AA, BB and either their union or intersection, draw the Venn diagram with the four regions labelled. Then P(A∣B)=P(A∩B)P(B)P(A \mid B) = \dfrac{P(A \cap B)}{P(B)} and independence checks are read straight from it; see Conditional Probability.

Practice

Question
  1. P(A)=0.35P(A) = 0.35, P(B)=0.45P(B) = 0.45, P(A∩B)=0.15P(A \cap B) = 0.15. Find P(A∪B)P(A \cup B) and P(A′∩B′)P(A' \cap B').
  2. 50 people: 28 like tea, 30 like coffee, 4 like neither. How many like both?
  3. AA and BB are mutually exclusive with P(A)=0.3P(A) = 0.3 and P(B)=0.5P(B) = 0.5. Find P(A∪B)P(A \cup B) and P(A∣B)P(A \mid B).
  4. Describe in words the region A′∪BA' \cup B.
Answers
  1. 0.650.65; 0.350.35.
  2. At least one: 4646; both =28+30−46=12= 28 + 30 - 46 = 12.
  3. 0.80.8; P(A∣B)=0P(A \mid B) = 0 (they cannot both occur).
  4. Everything except "AA but not BB".

How well do you know this?

Where this leads

Console

Search notes, courses and tools, or run an action