Sets

Maths · Number. The idea in plain words, the rules to remember, the mistake to avoid and a worked example, written and checked by Mega Lecture.

Test this topic freeAll Maths topics

Venn diagram: two overlapping circles A and B inside the universal set ξ; only the part of A outside B is shaded.
Venn diagram: two overlapping circles A and B inside the universal set ξ; only the part of A outside B is shaded.

The idea

A set is a collection of things, called elements, written inside curly brackets. The universal set ξ holds everything being considered in the question. n(A) means the number of elements in A.

Two sets are combined in two ways. The intersection A ∩ B holds the elements that are in both sets. The union A ∪ B holds the elements that are in A or in B or in both. The complement A′ holds everything in ξ that is not in A.

A Venn diagram shows these regions as overlapping circles inside a rectangle. In counting problems, fill in the overlap first and then work outwards.

In simpler words

A set is a group of things, like the even numbers from 1 to 10. Each thing in it is an element. Two sets can overlap. The overlap holds things that are in both sets. The union holds everything in either set. A Venn diagram draws each set as a circle. Fill in the overlap first, then the rest.

An everyday comparison

Think of a class where some students play cricket and some play football. Students who play both stand in the middle, in the overlap. If you count the cricket players and then the football players, the students in the middle get counted twice. That is why you take the overlap away once. The comparison stops working when a set holds numbers or letters, because those elements need not be people or anything you can line up.

Rules to remember

Common mistake

Adding n(A) and n(B) counts the overlap twice. Always subtract n(A ∩ B) once when you find the union.

In the exam

Draw a rectangle for ξ and two overlapping circles, labelled with the set names. Write the number for A ∩ B in the overlap first. Then fill A only as n(A) − n(A ∩ B) and B only in the same way. Find the number outside both circles as n(ξ) − n(A ∪ B). For a union, state n(A ∪ B) = n(A) + n(B) − n(A ∩ B) and substitute. Use the correct symbols ∩, ∪ and ′ when you shade or describe regions.

Worked example

ξ = {1, 2, 3, …, 15}, A = {prime numbers}, B = {odd numbers}. Find n((A ∪ B)′).

  1. A = {2, 3, 5, 7, 11, 13} and B = {1, 3, 5, 7, 9, 11, 13, 15}.
  2. A ∪ B = {1, 2, 3, 5, 7, 9, 11, 13, 15}, so n(A ∪ B) = 9.
  3. n((A ∪ B)′) = 15 − 9 = 6 (the elements 4, 6, 8, 10, 12, 14).

Answer: 6

Ask about this

Type what you are stuck on. The helper finds the explanation, worked examples and the notes to read, free and instant.

Read the full notes

Keep going

← Types of numberPowers and roots →Take a Maths test