Junior Cycle Mathematics8.5 Order of operations on sets

All books

8.5 Order of operations on sets — Practise with help

Warm-up: remember

  1. Work out 2+3×42 + 3 \times 4.
  2. Work out (2+3)×4(2 + 3) \times 4.
Answers and feedback
  1. 1414. Multiplication goes first: 3×4=123\times4=12, then 2+12=142+12=14.
  2. 2020. The bracket goes first: 2+3=52+3=5, then 5×4=205\times4=20.

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 A={1,2,3,4}A = \{1, 2, 3, 4\}, B={3,4,5}B = \{3, 4, 5\} and C={2,4,6}C = \{2, 4, 6\}. Find (A∩B)∪C(A \cap B) \cup C.

Hint

The bracket comes first. Find A∩BA \cap B, then take the union with CC.

Next step

A∩B={3,4}A \cap B = \{3, 4\}.

Full working (A∩B)∪C={3,4}∪{2,4,6}={2,3,4,6}(A \cap B) \cup C = \{3, 4\} \cup \{2, 4, 6\} = \{2, 3, 4, 6\}

The union collects every element from both sets, and the shared 4 is written once.

2. For the same sets, find A∩(B∪C)A \cap (B \cup C).

Hint

This time the bracket is B∪CB \cup C. Find it first, then intersect with AA.

Next step

B∪C={2,3,4,5,6}B \cup C = \{2, 3, 4, 5, 6\}.

Full working A∩(B∪C)={1,2,3,4}∩{2,3,4,5,6}={2,3,4}A \cap (B \cup C) = \{1, 2, 3, 4\} \cap \{2, 3, 4, 5, 6\} = \{2, 3, 4\}

Only the elements that are in AA 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 {2,3,4,6}\{2, 3, 4, 6\} and question 2 gave {2,3,4}\{2, 3, 4\}.

Full working

The two sets are different. The first contains 6 and the second does not.

So (A∩B)∪C(A \cap B) \cup C and A∩(B∪C)A \cap (B \cup C) are not the same set in general. The brackets change which operation happens first, and the answer changes with them.

4. Let U={1,2,3,4,5,6}U = \{1, 2, 3, 4, 5, 6\} and A={1,2,3}A = \{1, 2, 3\}. Find A′A'.

Hint

The complement holds the elements of UU that are not in AA.

Next step

Remove 1, 2 and 3 from UU.

Full working A′={4,5,6}A' = \{4, 5, 6\}

The complement is worked out before any other operation in an expression, unless a bracket says otherwise.

5. Let A={1,2,3,4}A = \{1, 2, 3, 4\}, B={3,4,5}B = \{3, 4, 5\} and C={4,6}C = \{4, 6\}. Find A∪(B∩C)A \cup (B \cap C).

Hint

Find the bracket B∩CB \cap C first, then take the union with AA.

Next step

B∩C={4}B \cap C = \{4\}.

Full working A∪(B∩C)={1,2,3,4}∪{4}={1,2,3,4}A \cup (B \cap C) = \{1, 2, 3, 4\} \cup \{4\} = \{1, 2, 3, 4\}

The union with a set that is already inside AA adds nothing new.

6. For the same sets, find (A∪B)∩C(A \cup B) \cap C.

Hint

Find A∪BA \cup B first, then intersect with CC.

Next step

A∪B={1,2,3,4,5}A \cup B = \{1, 2, 3, 4, 5\}.

Full working (A∪B)∩C={1,2,3,4,5}∩{4,6}={4}(A \cup B) \cap C = \{1, 2, 3, 4, 5\} \cap \{4, 6\} = \{4\}

Compare this with question 5. The bracket moved, and the answer changed from {1,2,3,4}\{1, 2, 3, 4\} to {4}\{4\}.

7. Let U={1,2,3,4,5,6,7,8}U = \{1, 2, 3, 4, 5, 6, 7, 8\}, A={2,4,6}A = \{2, 4, 6\} and B={1,2,3,4}B = \{1, 2, 3, 4\}. Find (A∪B)′(A \cup B)'.

Hint

Find the union first, then take its complement.

Next step

A∪B={1,2,3,4,6}A \cup B = \{1, 2, 3, 4, 6\}.

Full working (A∪B)′={5,7,8}(A \cup B)' = \{5, 7, 8\}

These are the elements of UU that are in neither AA nor BB. The bracket makes the union happen first, and the complement applies to the whole union.

8. For the same sets, find A′∩B′A' \cap B'.

Hint

Find each complement, then intersect them. Both complements are worked out before the intersection.

Next step

A′={1,3,5,7,8}A' = \{1, 3, 5, 7, 8\} and B′={5,6,7,8}B' = \{5, 6, 7, 8\}.

Full working A′∩B′={5,7,8}A' \cap B' = \{5, 7, 8\}

Both this answer and the answer to question 7 are {5,7,8}\{5, 7, 8\}, 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 3x+5=203x + 5 = 20.

Hint

Undo the +5+5 first, then undo the ×3\times3. Section 12.1 has the method.

Next step

3x=20−5=153x = 20 - 5 = 15.

Full working 3x=15x=53x = 15 \qquad x = 5

Check: 3×5+5=15+5=203\times5+5=15+5=20. The order of undoing an equation is like the order in a set expression: the operation applied last is undone first.

Settings

Colour scheme

Light or dark pages. Your colour and layout stay the same.

Colour

The paper, ink and lettering. Your layout stays the same.

Quiet colours
Bold colours
Layout

How pages are arranged. Your colours stay the same.

Reading offline

Keep this book on this device and read it offline.