Worked examples · Sheet 2
Complements and combined operations
Theory used:Operations and membershipThe union formulaComplements of set operations
Go to: Exercise 1Exercise 2Exercise 3
Exercise 1
Let . Find its complement first in the universal set and then in .
The complement starts with the stated universal set. In the first calculation remove , , and from . In the second the starting set is , which also contains and . Both are outside , so they remain in the new complement. To check, take the union of and its complement. This recovers in the first case and in the second. In each calculation the two parts are disjoint.
Exercise 2
In , let and . Find and check the result by computing .
First identify the overlap. Taking the complement means removing just that region from . To check, reason by region. An element only in is outside , and an element only in is outside . An element outside both belongs to both complements. The three regions therefore make up . This is De Morgan’s law. The diagram also shows why would give only .
Exercise 3
In , let , , and . Find and identify the regions containing its elements.
The brackets require us to take the union of and before selecting the elements in . All the odd numbers on the first line are removed in the second. The distributive law allows the other order. Find the two overlaps with first and then take their union. The number lies in the overlap of and outside , in the overlap of and outside , and in the centre. The fact that occurs in both overlaps meets the requirement to be in at least one of and .