Resources For Teachers For Tutors For Students & Parents AI New Pricing
Year 9 Maths Probability and Statistics

Using Set Notation

20 practice questions 1 video lesson Theory + worked examples
Practice 20 questions
Practice questions

Every question with a fully worked solution.

Start practising
Watch 1 video(s)
  • Using Set Notation - Video - Venn Diagrams with set notation Watch
Create a free accountTrack your progress and save your work as you go.
Create free account

Theory

Set notation is a short way to name the regions of a Venn diagram: \(A \cap B\) (and), \(A \cup B\) (or), \(A'\) (not) and \(n(A)\) (how many). This Year 9 maths page shows how to read and write the notation, list sets of numbers, find a missing region, move between a Venn diagram and a two-way table, and calculate probabilities, with counts or with probabilities in the regions.

A set is a collection of distinct objects. The universal set \(\xi\) (or \(S\)) holds everything and is drawn as a rectangle. Each event is a circle inside it.

\(A \cap B\), the intersection, means "\(A\) and \(B\)": the overlap. \(A \cup B\), the union, means "\(A\) or \(B\) or both": everything inside the circles.

\(A'\) (also written \(\overline{A}\) or \(A^c\)), the complement of \(A\), means "not \(A\)": everything outside circle \(A\).

\(n(A)\) means the number of elements in \(A\).

Events are mutually exclusive if they cannot happen together. Their circles do not overlap, and \(P(A \cup B) = P(A) + P(B)\).

The four regions of a two-set Venn diagramTwo overlapping circles A and B inside a rectangle. The region in A only is A intersect B complement, the shaded overlap is A intersect B, the region in B only is A complement intersect B, and outside both circles is A complement intersect B complement. ξ A B A ∩ B′ A ∩ B A′ ∩ B A′ ∩ B′
\(A\cap B\) is "A and B" (the overlap). \(A\cup B\) is "A or B or both": every region inside a circle. \(A'\) is everything outside \(A\).
The region A and not BA Venn diagram with 7 in A only, 4 in both, 6 in B only and 3 outside. Only the A-only region is shaded, showing A intersect B complement, which has 7 elements. ξ A B 7 4 6 3
\(B'\) means "not in \(B\)", so \(A \cap B'\) is the part of \(A\) outside \(B\): here \(n(A \cap B') = 7\).

The addition rule (the overlap is counted twice when you add the circles, so subtract it once):

\[n(A \cup B) = n(A) + n(B) - n(A \cap B)\]
\[P(A \cup B) = P(A) + P(B) - P(A \cap B)\]
P(A∪B)=P(A)+P(B)−P(A∩B)
In wordsNotationRegions
\(A\) and \(B\)\(A\cap B\)the overlap
\(A\) or \(B\) (or both)\(A\cup B\)all three regions inside the circles
\(A\) only\(A\cap B'\)\(n(A)-n(A\cap B)\)
neither\(A'\cap B'=(A\cup B)'\)total \(-\ n(A\cup B)\)
\(A\) or not \(B\)\(A\cup B'\)everything except \(B\) only
Useful regions. "Exactly one" \(=\) \(A\) only \(+\) \(B\) only. "Neither" \(=\) outside both \(= 1 - P(A \cup B)\). "\(A\) but not \(B\)" \(= A \cap B'\) \(=\) \(A\) only.
A missing region. All the regions add to the total. If \(P(\text{neither}) = 0.1\) and there are \(50\) people, \(5\) are outside both circles; subtract the known regions from \(50\) to find the last one.
Three circles. Fill from the centre outwards. "Exactly two" means the three regions where just two circles overlap, leaving out the centre.
Venn diagrams and two-way tables. The four regions of a two-set diagram are the four inner cells of a two-way table: \(A \cap B\), \(A \cap B'\), \(A' \cap B\) and \(A' \cap B'\). The Venn diagram in Example 1 (\(11\), \(6\), \(8\) and \(5\)) becomes:
\(B\)\(B'\)Total
\(A\)61117
\(A'\)8513
Total141630

How to fill in a Venn diagram from totals

  1. Start with the overlap (if it is not given, find it: \(n(A) + n(B) - n(A \cup B)\)).
  2. Fill the "only" regions: circle total minus the overlap.
  3. Fill the outside: grand total minus everything inside the circles.
  4. Check that all the regions add to the grand total.

How to find a probability

  1. Shade (or list) the regions that match the event.
  2. Add those regions for the numerator.
  3. Divide by the grand total (or, with probabilities in the regions, the total is \(1\)).

Writing the notation

  1. Translate each word: and \(\to \cap\), or \(\to \cup\), not \(\to\ '\).
  2. Shade one part at a time: for \(A \cap B'\), shade \(A\), then keep only the part outside \(B\).
  3. Count or add the probabilities in the shaded regions.
Example 1 — Reading a Venn diagram
The Venn diagram shows the number of elements in each region. One element is chosen at random.
Venn diagram for Example 1Venn diagram: 11 in A only, 6 in both, 8 in B only, 5 outside both circles. ξ A B 11 6 8 5
Find: (i) \(n(A \cup B)\) (ii) \(P(A \cap B)\) (iii) \(P(B')\) (iv) \(P(\text{exactly one of } A, B)\)
Solution

Total: \(11 + 6 + 8 + 5 = 30\).

\((\text{i})\quad n(A \cup B)\)\(=\)\(11 + 6 + 8 = \boldsymbol{25}\)
\((\text{ii})\quad P(A \cap B)\)\(=\)\(\dfrac{6}{30} = \boldsymbol{\dfrac{1}{5}}\)

(iii) \(B'\) is everything outside circle \(B\): \(A\) only and outside both.

\(P(B')\)\(=\)\(\dfrac{11 + 5}{30} = \boldsymbol{\dfrac{8}{15}}\)

(iv) Exactly one means \(A\) only or \(B\) only, not the overlap.

\(P\)\(=\)\(\dfrac{11 + 8}{30} = \boldsymbol{\dfrac{19}{30}}\)
P=1930
Example 2 — Finding the overlap
Of \(90\) students, \(48\) play a sport, \(41\) play a musical instrument and \(14\) do neither.
(i) How many do both?
(ii) Find the probability that a student chosen at random plays an instrument only.
(iii) Find the probability that a student chosen at random does exactly one of the two.
Solution

(i) Students in at least one circle: \(90 - 14 = 76\). Adding the circles counts the overlap twice, so the extra is the overlap.

\(\text{both}\)\(=\)\(48 + 41 - 76 = \boldsymbol{13}\)
\(\text{sport only}\)\(=\)\(48 - 13 = 35\)
\(\text{instrument only}\)\(=\)\(41 - 13 = 28\)
Venn diagram for Example 2Venn diagram for 90 students: 35 sport only, 13 both, 28 music only, 14 neither. ξ Sport Music 35 13 28 14
\((\text{ii})\quad P\)\(=\)\(\dfrac{28}{90} = \boldsymbol{\dfrac{14}{45}}\)

(iii) Exactly one means sport only or instrument only, not the overlap.

\(P(\text{exactly one})\)\(=\)\(\dfrac{35 + 28}{90} = \boldsymbol{\dfrac{7}{10}}\)
P=710
Example 3 — Sets of numbers
\(\xi = \{1, 2, 3, \ldots, 20\}\). \(A\) is the set of multiples of \(4\) and \(B\) is the set of factors of \(20\). A number is chosen at random from \(\xi\). Find
(i) \(P(A \cap B)\)
(ii) \(P(A \cup B)\)
(iii) \(P(A' \cap B)\).
Solution

List each set, then find the numbers in both.

\(A\)\(=\)\(\{4, 8, 12, 16, 20\}\)
\(B\)\(=\)\(\{1, 2, 4, 5, 10, 20\}\)
\(A \cap B\)\(=\)\(\{4, 20\}\)

(i) Two numbers are in both sets.

\(P(A \cap B)\)\(=\)\(\dfrac{2}{20} = \boldsymbol{\dfrac{1}{10}}\)
P=110

(ii) \(A \cup B\) has \(5 + 6 - 2 = 9\) numbers (the \(2\) shared numbers are counted once).

\(P(A \cup B)\)\(=\)\(\boldsymbol{\dfrac{9}{20}}\)
P=920

(iii) \(A' \cap B\) means in \(B\) but not in \(A\): \(\{1, 2, 5, 10\}\).

\(P(A' \cap B)\)\(=\)\(\dfrac{4}{20} = \boldsymbol{\dfrac{1}{5}}\)
P=15
Example 4 — Probabilities in the regions
For two events, \(P(A) = 0.55\), \(P(B) = 0.4\) and \(P(\text{neither}) = 0.25\). Find
(i) \(P(A \cap B)\)
(ii) \(P(A \cap B')\)
(iii) \(P(A \cup B')\).
Solution

All four regions add to \(1\), so \(P(A \cup B) = 1 - 0.25 = 0.75\).

(i) Add \(P(A)\) and \(P(B)\), then take away \(P(A \cup B)\), because the overlap was counted twice.

\(P(A \cap B)\)\(=\)\(0.55 + 0.4 - 0.75\)
\(\)\(=\)\(\boldsymbol{0.2}\)
P(A∩B)=0.2

(ii) \(A \cap B'\) is \(A\) only.

\(P(A \cap B')\)\(=\)\(0.55 - 0.2 = \boldsymbol{0.35}\)

The regions are \(0.35\) (\(A\) only), \(0.2\) (both), \(0.4 - 0.2 = 0.2\) (\(B\) only) and \(0.25\) (neither). Check: they add to \(1\) ✓

(iii) \(A \cup B'\) is everything in \(A\) or outside \(B\): every region except \(B\) only.

\(P(A \cup B')\)\(=\)\(1 - 0.2 = \boldsymbol{0.8}\)
P=1−0.2=0.8

Common pitfalls

A circle includes its overlap. "Plays netball" is the netball-only region plus the overlap, not just the netball-only number.
Do not double count. \(n(A) + n(B)\) counts the overlap twice. Subtract \(n(A \cap B)\) once.
Remember the outside region. People in neither circle still count in the total. Leave them out of \(A \cup B\) only.
Union is not intersection. \(A \cup B\) (or) is the whole of both circles; \(A \cap B\) (and) is only the overlap.
Read the dash. \(A' \cap B\) and \(A \cap B'\) are different regions: the first is \(B\) only, the second is \(A\) only.

Frequently asked questions

What do the symbols intersection and union mean?

\(A \cap B\) (intersection) means \(A\) and \(B\), the overlap of the circles. \(A \cup B\) (union) means \(A\) or \(B\) or both, everything inside the two circles.

What does A' mean in a Venn diagram?

\(A'\) is the complement of \(A\): everything that is not in \(A\), which is all the regions outside circle \(A\).

How do you find the overlap of a Venn diagram?

Add the two circle totals and subtract the number in at least one circle. The extra amount is the overlap, because it was counted twice.

What are mutually exclusive events?

Events that cannot happen at the same time. Their circles do not overlap, so \(P(A \cup B) = P(A) + P(B)\).

How do you turn a Venn diagram into a two-way table?

Use \(A\) and \(A'\) as the rows and \(B\) and \(B'\) as the columns. The overlap goes in the \(A\), \(B\) cell, \(A\) only in \(A\), \(B'\), \(B\) only in \(A'\), \(B\), and the outside region in \(A'\), \(B'\). Then add the totals.