LC Ordinary Maths

Number · Chapter 09

Sets and Venn diagrams

Clear notes, 5 worked examples and 2 questions to try.

01 · Understand the idea

The essentials

Key terms

Universal set
All elements under consideration, usually labelled U.
Complement
Elements in U that are not in the named set.
Cardinality
The number of elements in a finite set.
Empty set
A set with no elements.

Key ideas

  • A set is a collection of distinct elements. State the universal set before finding a complement.
  • A∪B\displaystyle A\cup B means in A or B or both. A∩B\displaystyle A\cap B means in both. A∖B\displaystyle A\setminus B means in A but not B.
  • Fill a Venn diagram from the most specific overlap outwards: the triple intersection first, then pair-only regions, then one-set-only regions.
  • For two sets, n(A∪B)=n(A)+n(B)−n(A∩B)\displaystyle n(A\cup B)=n(A)+n(B)-n(A\cap B). Subtract the union from the universal total to find neither.
  • Union and intersection are commutative and associative. These laws regroup sets; they do not change which elements belong.
  • A subset contains only elements of another set: A⊆B\displaystyle A\subseteq B. Distinguish an element belonging to a set, x∈A\displaystyle x\in A, from a set being a subset.
  • For three sets, n(A∪B∪C)=n(A)+n(B)+n(C)−n(A∩B)−n(A∩C)−n(B∩C)+n(A∩B∩C)\displaystyle n(A\cup B\cup C)=n(A)+n(B)+n(C)-n(A\cap B)-n(A\cap C)-n(B\cap C)+n(A\cap B\cap C).
Four separate regions: A only, both A and B, B only, and neither. Together they make the universal set.

03 · Follow the working

Worked examples

Read the question first. Cover the working and decide what you would do next.

01Two-set Venn diagrams

In a group of 20\displaystyle 20 students,12\displaystyle , 12 play football,12\displaystyle , 12 play hockey, and 5\displaystyle 5 play both. How many play football only?

Two-set Venn diagram for 20 students. Football only: 7. Both: 5. Hockey only: 7. Neither: 1.

Why this method? Identify which region or operation the question asks for. Count each element or person only in the regions where they belong.

  1. Football total =\displaystyle = football only +\displaystyle + both.
    Why?The 12\displaystyle 12 football players already include the 5\displaystyle 5 who play both sports.
  2. 12=football only+5\displaystyle 12=\text{football only}+5
    Why?Put the given numbers into that relationship.
  3. football only=12−5=7\displaystyle \text{football only}=12-5=7
    Why?Subtract the overlap once to leave only the football-only region.

Think about it: Before moving on: why must the overlap be taken away from each circle total?

02Set notation: union, intersection and difference

A={3,5,6,7,11,12}\displaystyle A = \left\{3 , 5 , 6 , 7 , 11 , 12\right\} and B={2,4,5,7,8,11,12}\displaystyle B = \left\{2 , 4 , 5 , 7 , 8 , 11 , 12\right\}. How many elements are in A∪B\displaystyle A \cup B?

Venn diagram matching the sets in this question. A only: [3, 6]. Both: [5, 7, 11, 12]. B only: [2, 4, 8].

Why this method? Identify which region or operation the question asks for. Count each element or person only in the regions where they belong.

  1. A∪B={2,3,4,5,6,7,8,11,12}\displaystyle A \cup B = \left\{2 , 3 , 4 , 5 , 6 , 7 , 8 , 11 , 12\right\}
    Why?A∪B\displaystyle A \cup B contains every element in A or in B, each listed once
  2. 9\displaystyle 9 elements
    Why?Count the elements

Think about it: Before moving on: why is an element that is in both sets listed only once in A∪B\displaystyle A \cup B?

03Complement and universal set

The universal set is U={1,2}\displaystyle U = \left\{1 , 2\right\} …,12}\displaystyle , 12 \}. A={2,6,8,12}\displaystyle A = \left\{2 , 6 , 8 , 12\right\}. How many elements are in A′, the complement of A?

Universal set U = {1, …, 12} drawn as a rectangle, with A = {2, 6, 8, 12} as a circle inside it. The complement A′ is the part of U outside the circle, with 8 elements.

Why this method? Identify which region or operation the question asks for. Count each element or person only in the regions where they belong.

  1. A′ ={1,3,4,5,7,9,10,11}\displaystyle = \left\{1 , 3 , 4 , 5 , 7 , 9 , 10 , 11\right\}
    Why?The complement is the elements of U that are not in A
  2. 12−4=8\displaystyle 12 - 4 = 8
    Why?Count the elements of A′

Think about it: Before moving on: why is A′ found by taking A away from U rather than by adding A to U?

04Cardinal number and the null set

Hannah writes the set A={2,2,9,12}\displaystyle A = \left\{2 , 2 , 9 , 12\right\}. What is n(A), the number of elements in A?

Why this method? Identify which region or operation the question asks for. Count each element or person only in the regions where they belong.

  1. Different elements:{2,9,12}\displaystyle : \left\{2 , 9 , 12\right\}
    Why?Each element of a set is counted once, even if it is written more than once
  2. n(A)=3\displaystyle n \left(A\right) = 3
    Why?Count the different elements

Think about it: Before moving on: why is the null set not the same as the set {0}\displaystyle \left\{0\right\}?

05Count an overlap

In a group of 32,18\displaystyle 32 , 18 take French,15\displaystyle , 15 take Music and 7\displaystyle 7 take both. How many take neither?

Why this method?

  1. 18+15−7=26\displaystyle 18 + 15 - 7 = 26
    Why?Subtract the overlap once: it was counted twice.
  2. 32−26=6\displaystyle 32 - 26 = 6
    Final stepSubtract the union from the total.

Common mistake

Counting the overlap twice when finding how many are in A or B. If n(A)=12\displaystyle n(A)=12, n(B)=10\displaystyle n(B)=10 and n(A∩B)=4\displaystyle n(A\cap B)=4, the total is 12+10−4=18\displaystyle 12+10-4=18, not 22\displaystyle 22.

Exam technique

Check that all disjoint regions add to the universal total.

Show your method, use units where appropriate and check whether the question asks for an exact or rounded answer.

04 · Try it yourself

Self-check questions

Work on paper first, then open the answer. These are practice questions, not submitted homework.

Question 1

In a group of 15\displaystyle 15 students,9\displaystyle , 9 play football,8\displaystyle , 8 play hockey, and 4\displaystyle 4 play both. How many play neither sport?

Two-set Venn diagram for 15 students. Football only: 5. Both: 4. Hockey only: 4. Neither: 2.
Show answer & check
2\displaystyle 2

Compare your result with the answer. If it differs, revisit a worked example and check each step.

Question 2

A={1,2,3,4}\displaystyle A = \left\{1 , 2 , 3 , 4\right\} and B={3,4,5}\displaystyle B = \left\{3 , 4 , 5\right\}. How many elements are in A∪B\displaystyle A \cup B?

Venn diagram matching the sets in this question. A only: [1, 2]. Both: [3, 4]. B only: [5].
Show answer & check
5\displaystyle 5

Compare your result with the answer. If it differs, revisit a worked example and check each step.

Watch an explanation

Videos for this chapter

Choose one explanation, pause to work an example, then return to the notes. All Maths videos →

Classroom resources

Open slides & animated PowerPoint →
Open full-size image ↗
Enlarged maths diagram