Sets and Venn diagrams
Studying this course? Keep your progress in one place.
Key facts
- A set is a collection of elements in curly brackets; is the universal set.
- Union is "or"; intersection is "and"; complement is "not in ".
- .
- Fill a Venn diagram from the middle outwards.
- .
Sets and notation
A set is written in curly brackets, and the universal set contains every element being considered.
A set is a collection of objects called elements, written in curly brackets, for example . The universal set contains every element being considered.
- : is an element of
- : the number of elements in
- or : the empty set
Example: with and the even numbers, and .
- is an element of
- The number of elements in
- The empty set
- The universal set
. What is ?
Union, intersection, complement
Union is everything in either set, intersection is the overlap, and the complement is everything outside the set.
- Union : elements in or (or both).
- Intersection : elements in both and .
- Complement : elements of that are not in .
The counting rule is , because the intersection is counted twice if you just add.
Worked example
and with . Find , and .
- 1
Elements in both: .
- 2
Elements in either: .
- 3
Elements in neither: .
, and . What is ?
Drawing Venn diagrams
Write the overlap first, then subtract it from each set total to find the "only" regions.
A Venn diagram shows sets as overlapping circles inside a rectangle that represents . Fill it in from the middle outwards:
- Write the number in the overlap first.
- Subtract it from each set total to find 'only ' and 'only '.
- Subtract the total of all regions from to find the number outside the circles.
Worked example
There are 44 students, , and 8 play both. Fill in the diagram.
- 1
Both: .
- 2
Football only: .
- 3
Basketball only: .
- 4
Neither: .
, . How many are in only?
Three sets
Start with the region where all three sets overlap and work outwards.
With three sets, start with the region where all three overlap. Then work out each region where exactly two sets overlap by subtracting the all-three number from each pair total.
Next find each 'only' region. Finally, find the number outside all circles by subtracting the total of the regions from .
- 1
All three
the centre region first
- 2
Exactly two
subtract the centre from each pair total
- 3
Only one
subtract the other regions
- 4
Outside
subtract all regions from the universal set
Worked example
Of the 22 members of , 8 are also in (including 5 in all three sets) and 4 are in and the third set only. Find the number in and only, and the number in only.
- 1
includes the 5 in all three sets, so and only is .
- 2
only .
Why do you start with the region where all three sets overlap?
Probability from a Venn diagram
Add the numbers in the regions that make up the event and divide by the total number of elements.
Probabilities come from the numbers in the regions:
Use set notation to describe the event: 'art but not music' is , and 'neither' is . Add only the regions that belong to the event, and check that the regions do not overlap.
Worked example
In the group of 44, find .
- 1
Football only is and basketball only is .
- 2
Add them: .
- 3
.
Using the group of 44, what is ?
Try an exam question
In a group of students, play football, play basketball and play both. Find the number who play neither sport, and the probability that a student plays exactly one sport.
[4 marks]
- [1]Football only and basketball only .
- [1]Neither .
- [1].
- [1].
That's the notes covered.
Carry on to the next subtopic.
Try a question
Which set is ?
1 mark, marked against the mark scheme
Which set is ?
1 mark, marked against the mark scheme