Worked examples · Sheet 1
Set operations
Theory used:Operations and membership
Go to: Exercise 1Exercise 2Exercise 3
Exercise 1
Given and , list the elements of . How many are there?
It helps to list because only a few integers satisfy its condition. Include because of and exclude because of . Then start with the elements of and add and , the only elements of that are not already present. The three shaded regions provide a check. Two elements lie only in , two lie in both sets, and two lie only in , for a total of .
Exercise 2
In the universal set , let be the multiples of and the multiples of . Find .
A short approach starts from , which has four elements. Of these, and are odd and therefore fail the condition for belonging to . The numbers and are multiples of both. Check directly using . This method works because the intersection can contain only elements of the list we started with, and we have tested every element of that list.
Exercise 3
Let and . Find , , and the set of numbers in exactly one of and .
The two differences have different starting sets. First identify the elements in common, and . Remove them from for the first difference and from for the second. To satisfy “exactly one,” gather all the elements remaining in the two differences. Every element collected belongs to at least one set and, by the way it was selected, lies outside the other. The element belongs only to , so it is present in the final answer.