Sets: membership, union and intersection
Machine translation
Learn
A set is a collection of different things. Each thing is an element of the set. A set is written between curly brackets: A = {2, 4, 6, 8}. The order does not matter and an element is not repeated.
To say that an element is in the set we write ∈, which is read “belongs to”: 4 ∈ A. If it is not, we write ∉: 5 ∉ A.
With two sets, A = {1, 2, 3, 4} and B = {3, 4, 5}, we make two more. The union A ∪ B has the elements that are in A, in B or in both. The intersection A ∩ B has the ones that are in A and in B at the same time. They are drawn with circles that overlap: it is a Venn diagram.
Venn diagram: A ∩ B is the middle area, and 6 is in neither A {1, 2, 3, 4} B {3, 4, 5} A ∪ B {1, 2, 3, 4, 5} A ∩ B {3, 4} The union and the intersection of A and B To count the elements of the union, the ones that are in both sets are counted only once: 4 + 3 − 2 = 5. If two sets have no element in common, their intersection is the empty set, which is written ∅.
Each number says how many elements there are in that area: 2 + 2 + 1 = 5 in the union
Worked examples
Example 1
At a tea party, A is the people who like bread and B is the ones who prefer cheese. Who is in A ∩ B?
- A ∩ B is the area where the two circles overlap.
- Only Julie is in that area.
A ∩ B = {Julie}.
Watch out! Many children say everyone who is in any circle, but that is the union.
Example 2
With A = {2, 4, 6} and B = {4, 6, 8}, what is A ∪ B?
- Write the elements of A: 2, 4 and 6.
- Add the ones from B that are missing: only the 8.
- The 4 and the 6 were already there: you do not write them again.
A ∪ B = {2, 4, 6, 8}.
Watch out! Many children write {2, 4, 6, 4, 6, 8}, with repeated elements.
Example 3
In a class, 8 children have a dog, 6 have a cat and 3 have both. How many have a dog or a cat?
- If you add 8 + 6 = 14, the 3 who have both are counted twice.
- Take them away once: 14 − 3 = 11.
11 children have a dog or a cat.
Watch out! Many children say 14, because they count the children who have both twice.
A challenge to think about
Ask five people whether they like bread or cheese more: they can choose both. Draw a Venn diagram with their names. Who is in the intersection? Is anyone outside both sets?
Practise
Rounds of 10 questions. Choose a level:
Your grade in this topic:No grade yetDo a round at the Basic level to get a grade.