Sets
Set language and notation: listing and describing sets, , the universal set, complements, unions and intersections, and two-set Venn diagrams for listing, counting and shading. Extended adds , , , subsets, three-set problems and sets of points.
What the syllabus says
C1.2 (Core)
- Understand and use set language, notation and Venn diagrams to describe sets.
Notes and examples
- Venn diagrams are limited to two sets.
- The following set notation will be used:
- Number of elements in set
- Complement of set
- Universal set
- Union of and
- Intersection of and .
- Example definition of sets: .
E1.2 (Extended)
- Understand and use set language, notation and Venn diagrams to describe sets and represent relationships between sets.
Notes and examples
- Venn diagrams are limited to two or three sets.
- The following set notation will be used:
- Number of elements in set
- “… is an element of …”
- “… is not an element of …”
- Complement of set
- The empty set
- Universal set
- is a subset of
- is not a subset of
- Union of and
- Intersection of and .
- Example definition of sets: .
Quoted from the Cambridge IGCSE Mathematics 0580 syllabus for 2025 to 2027.
What a set is
A set is a collection of objects, called its elements or members. Sets are named with capital letters and written in curly brackets, with the elements separated by commas: . Order does not matter, and no element is written twice, so and are the same set.
A set can be described in three ways:
- By listing its elements: . For a long pattern you may write , where the dots mean the pattern carries on.
- In words: , which is .
- With a rule, in set-builder notation: is read as the set of all such that is a natural number. The colon means such that. is every number from 2 to 6, including both ends. If the universal set says is an integer, is .
means the number of elements in . For , . Read inequality signs carefully when you count: leaves 2 out but keeps 6.
The universal set and the complement
The universal set, , contains everything being considered in the question. Every other set in the question is part of it.
The complement of , written , is everything in that is not in . If and , then .
A set and its complement together make up the whole of , with no overlap, so . Here . This gives a quick way to count a complement without listing it.
Union and intersection
The intersection is the set of elements in both and .
The union is the set of elements in or or both.
To remember which is which, think of as a cup that holds everything from both sets, and as the narrow part that the two sets share.
With and :
- . Each element is written once, even though 2, 4, 6 and 12 are in both sets.
The symbols combine. is everything outside both sets. is everything in that is not in : here . Work from the inside of any brackets outwards.
Venn diagrams
A Venn diagram shows the universal set as a rectangle, marked , and each set as a circle inside it. Two overlapping circles make four regions:
- in only, which is ;
- in both, which is ;
- in only, which is ;
- in neither, which is .
Every element of goes in exactly one region. Place the elements of the overlap first, then the rest of each circle, then everything left over outside the circles. Cambridge Core questions use two sets.
A completed Venn diagram
, and . Reading from the diagram: , and .
Worked example 1
, and .
(a) List the elements of . (b) Find . (c) List the elements of .
List each set first. and . Remember that 1 is not prime.
(a) The only element in both is 3, so .
(b) , writing 3 once. So .
Check with the counting rule: .
(c) The integers from 1 to 15 not yet used: . Check: .
Answer: (a) (b) (c)
Check yourself
Use the completed Venn diagram above, where and . List the elements of .
Answer it in the portal, where your answer is checked as you type →
Counting with Venn diagrams
Often a Venn diagram shows how many elements are in each region rather than the elements themselves. Then the regions add up to , and
The overlap is subtracted because adding and counts the elements in both sets twice.
For a survey question:
- Put the number in both sets in the overlap first.
- Subtract it from each set's total to get only and only.
- Subtract everything inside the circles from to get the number outside.
If the overlap is not given, find it from the totals: . If a region is unknown, call it , write the other regions in terms of , and set the total equal to .
Worked example 2
In a group of 40 students, 23 play hockey (H), 19 play netball (N) and 5 play neither. Find the number of students who play both, and the number who play netball but not hockey.
Students in : .
Both: .
Hockey only: . Netball only, : .
Check that the four regions add to 40: .
Answer: 7 play both; 12 play netball but not hockey
The diagram for Worked example 2
The numbers in the four regions add to . The circle for holds students and the circle for holds .
Check yourself
, , and . Find .
Answer it in the portal, where your answer is checked as you type →
Shading regions
Questions ask you to shade a region given in set notation, or to describe a shaded region. Decide region by region: for each of the four regions, ask whether it belongs to the set, and shade it only if the answer is yes.
- : the overlap.
- : in and not in , the part of outside the overlap.
- : only.
- : both circles completely.
- : outside both circles.
- : everything except the overlap.
- : everything outside , which includes only and the outside.
- : in , or outside . That is everything except only.
A common slip is to shade as only the outside region. also contains the part of that is not in .
Shading for A union B complement
The regions in are marked shaded. only is left blank, because an element there is not in and is in , so it is in neither nor .
Elements, the empty set and subsets Extended
Extended candidates also use these symbols.
- means is an element of: .
- means is not an element of: .
- is the empty set, the set with no elements, so . If two sets have no element in common, . Do not write for the empty set: has one element, the number 0.
- means is a subset of : every element of is also in . For example . Every set is a subset of itself, and is a subset of every set.
- means is not a subset of : at least one element of is missing from . One counter-example is enough to show it.
Elements and subsets are different things: , but .
These symbols describe how sets are related, and the Venn diagram is drawn to match. If , the circle for is drawn inside the circle for , and then and . If , the two circles are drawn apart, not overlapping.
Check yourself Extended
and . Which of these statements are true? Choose all that apply.
Answer it in the portal, where your answer is checked as you type →
Three sets Extended
Extended questions can use three sets, , and . Three overlapping circles make eight regions, counting the outside. Fill them from the middle outwards:
- the centre, ;
- the three regions where exactly two sets overlap, such as : subtract the centre from each two-set total;
- the three regions for one set only: subtract everything already placed in that circle from the set's total;
- the outside: subtract everything inside the circles from .
Read the wording closely. Taking both and includes the centre, so is the centre plus the and only region. Taking and only, or exactly two of them, excludes the centre.
If a region is unknown, call it , write all eight regions in terms of and form an equation with the total.
Worked example 3 Extended
80 people were asked which of three streaming services, , and , they use. 4 use all three. 6 use and only, 3 use and only, and 5 use and only. , and . How many use none of the three?
Centre: 4. Two-set-only regions: 6, 3 and 5.
only: .
only: .
only: .
Inside the circles: .
None: .
Answer: 27
The eight regions of Worked example 3 Extended
| Region | Number |
|---|---|
| 4 | |
| 6 | |
| 3 | |
| 5 | |
| 17 | |
| 10 | |
| 8 | |
| 27 |
The eight numbers add to 80. When you draw the three-set Venn diagram, these are the numbers in the eight regions, from the centre outwards.
Check yourself Extended
. For three sets, , and each of the three regions where exactly two sets overlap contains 3 elements. The regions for one set only contain 9, 7 and 5 elements. Find .
Answer it in the portal, where your answer is checked as you type →
Sets of points Extended
Set-builder notation can describe points as well as numbers. is the set of all points that satisfy : every point on that straight line.
For two such sets, the intersection is the set of points on both lines: the point where they cross. Find it by solving the two equations together. Two different parallel lines never meet, so the intersection of their sets is .
To test whether a point is an element, substitute it. because , but that set because , not 4.
Worked example 4 Extended
and . Find .
A point in both sets satisfies both equations, so .
, so .
. Check in the other equation: .
.
Answer:
Key points
is the number of elements. .
: in both. : in either or both, each element written once.
.
Fill a Venn diagram from the overlap outwards, and check that the regions add to .
To shade a region, test each of the four regions in turn against the description.
Extended: and are for elements, and are for sets, and is the set with no elements.
Extended: with three sets, start at the centre; for sets of points, solve the equations together.
Where marks are lost
Listing an element twice in a union, or giving as .
Forgetting the elements outside both circles when counting or listing .
Putting a set's total in its only region: if 18 study French and 7 study both, French only is 11, not 18.
Shading only the outside for , which also includes only.
Misreading and in a set rule, and so including or leaving out an end value.
Answering with a list, or a list with a number. Read whether the question says list or find .
Extended: writing or for the empty set, or using between two sets.
Related IGCSE Mathematics 0580 lessons
An original lesson written to the Cambridge IGCSE Mathematics 0580 syllabus (2025 to 2027). The worked examples and questions are our own, not Cambridge questions. Back to every IGCSE Mathematics 0580 lesson.