8.5 Order of operations on sets — Practise with help
Warm-up: remember
- Work out .
- Work out .
Answers and feedback
- . Multiplication goes first: , then .
- . The bracket goes first: , then .
The same idea runs through this section. Brackets decide what happens first, and the answer can change when they move.
Practise with help
1. Let , and . Find .
Hint
The bracket comes first. Find , then take the union with .
Next step
.
Full working
The union collects every element from both sets, and the shared 4 is written once.
2. For the same sets, find .
Hint
This time the bracket is . Find it first, then intersect with .
Next step
.
Full working
Only the elements that are in and also in the union survive.
3. Compare your answers to questions 1 and 2. What do you notice?
Hint
Write the two sets side by side.
Next step
Question 1 gave and question 2 gave .
Full working
The two sets are different. The first contains 6 and the second does not.
So and are not the same set in general. The brackets change which operation happens first, and the answer changes with them.
4. Let and . Find .
Hint
The complement holds the elements of that are not in .
Next step
Remove 1, 2 and 3 from .
Full working
The complement is worked out before any other operation in an expression, unless a bracket says otherwise.
5. Let , and . Find .
Hint
Find the bracket first, then take the union with .
Next step
.
Full working
The union with a set that is already inside adds nothing new.
6. For the same sets, find .
Hint
Find first, then intersect with .
Next step
.
Full working
Compare this with question 5. The bracket moved, and the answer changed from to .
7. Let , and . Find .
Hint
Find the union first, then take its complement.
Next step
.
Full working
These are the elements of that are in neither nor . The bracket makes the union happen first, and the complement applies to the whole union.
8. For the same sets, find .
Hint
Find each complement, then intersect them. Both complements are worked out before the intersection.
Next step
and .
Full working
Both this answer and the answer to question 7 are , so in this example the two ways agree. The elements outside both sets are the same as the elements outside the union.
A question from an earlier section
9. Solve .
Hint
Undo the first, then undo the . Section 12.1 has the method.
Next step
.
Full working
Check: . The order of undoing an equation is like the order in a set expression: the operation applied last is undone first.