Worked examples · Sheet 1
Set operations
Theory used:Sets, membership, and the empty setUnion and intersectionSet difference and complement
Go to: Exercise 1Exercise 2Exercise 3
Exercise 1
A company uses for the set of months in which it exceeded its sales target and for the set of months in which costs stayed below budget:
Which set contains the months in which the company exceeded its sales target and kept costs below budget?
- A)
- B)
- C)
- D)
The question asks which months belong to both sets, so we need the intersection . Looking through , the months that also appear in are February, June, and September. Choice B is the union , which contains the months in which at least one condition holds. Choice C is the set difference , and choice D is . The correct answer is A.
Exercise 2
Let and . Which of the following is the set ?
- A)
- B)
- C)
- D)
First list the elements of the two sets. The divisors of are , , , , , and . The even numbers from to are , , , , and . The set difference contains the elements of that do not belong to , so remove , , and from . This leaves , , and . The number remains because, although even, it is greater than and therefore does not belong to . Choice A is , choice B is the intersection, and choice D is the symmetric difference. The correct answer is C.
Exercise 3
In the universal set , let be the set of multiples of and the set of multiples of . What is the complement of ?
- A)
- B)
- C)
- D)
The union contains the numbers that are multiples of or of . The complement of contains the numbers in that are multiples of neither nor , namely , , and . The rule gives the same result because the odd numbers in are , , , , and , and those that are not multiples of are , , and . Choice C is the complement of alone, and choice D is the complement of . The correct answer is B.