Junior Cycle Mathematics8.3 Intersection, union and set difference

All books

8.3 Intersection, union and set difference — Practise with help

Warm-up: remember

  1. Work out 7×87 \times 8.
  2. Write down all the factors of 16.
Answers and feedback
  1. 5656.
  2. 1,2,4,81, 2, 4, 8 and 1616. Work in pairs: 1×161\times16, 2×82\times8, 4×44\times4.

Comparing two factor lists is the same skill as finding the intersection of two sets. You look for the numbers that appear in both.

Practise with help

1. Let A={1,2,3,4,5}A = \{1, 2, 3, 4, 5\} and B={4,5,6,7}B = \{4, 5, 6, 7\}. Find A∩BA \cap B.

Hint

The intersection holds the elements that are in both sets.

Next step

Which numbers appear in both lists? Look for 4 and 5.

Full working A∩B={4,5}A \cap B = \{4, 5\}

The numbers 1, 2 and 3 are only in AA, and 6 and 7 are only in BB. Only 4 and 5 are shared, so they are the intersection.

2. For the same sets, find A∪BA \cup B.

Hint

The union holds every element from both sets. Write each shared element once.

Next step

Combine the lists 1,2,3,4,51, 2, 3, 4, 5 and 4,5,6,74, 5, 6, 7.

Full working A∪B={1,2,3,4,5,6,7}A \cup B = \{1, 2, 3, 4, 5, 6, 7\}

The numbers 4 and 5 are in both sets, but each is written once in the union.

3. For the same sets, find A∖BA \setminus B.

Hint

Start with AA and remove any element that is also in BB.

Next step

Remove 4 and 5 from A={1,2,3,4,5}A = \{1, 2, 3, 4, 5\}.

Full working A∖B={1,2,3}A \setminus B = \{1, 2, 3\}

These are the elements of AA that are not in BB. The numbers 6 and 7 are in BB only, so they never enter this calculation.

4. For the same sets, find B∖AB \setminus A.

Hint

This time start with BB and remove the elements that are in AA.

Next step

Remove 4 and 5 from B={4,5,6,7}B = \{4, 5, 6, 7\}.

Full working B∖A={6,7}B \setminus A = \{6, 7\}

Compare this with question 3. The two differences are different sets, because the order of the two sets matters in a difference.

5. In a group of 25 students, 14 like tea, 11 like coffee, and 5 like both. How many like at least one of the two drinks?

Hint

The students who like both are counted twice when you add 14 and 11. Subtract them once.

Next step 14+11−514 + 11 - 5
Full working n(T∪K)=14+11−5=20n(T \cup K) = 14 + 11 - 5 = 20

Here TT is the set of students who like tea and KK is the set who like coffee.

So 20 students like at least one of the drinks. The remaining 25−20=525 - 20 = 5 students like neither.

6. For the same group, how many like tea but not coffee?

Hint

This asks for a difference. Take the tea drinkers and remove the five who like both.

Next step 14−514 - 5
Full working n(T∖K)=14−5=9n(T \setminus K) = 14 - 5 = 9

So 9 students like tea but not coffee. The five who like both are removed, because they are in the coffee set as well.

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

Hint

The two sets share the number 4, so use the counting rule.

Next step

n(A)=2n(A) = 2, n(B)=2n(B) = 2 and n(A∩B)=1n(A \cap B) = 1.

Full working n(A∪B)=2+2−1=3n(A \cup B) = 2 + 2 - 1 = 3

The union is {2,4,6}\{2, 4, 6\}, which has three elements, so the rule agrees with the list.

8. Let A={a,b,c,d}A = \{a, b, c, d\} and B={c,d,e}B = \{c, d, e\}. Find A∩BA \cap B and A∪BA \cup B.

Hint

Do the intersection first, then the union. The shared elements are cc and dd.

Next step

A∩B={c,d}A \cap B = \{c, d\}.

Full working A∩B={c,d}A∪B={a,b,c,d,e}A \cap B = \{c, d\} \qquad A \cup B = \{a, b, c, d, e\}

The union collects all five letters. Notice that n(A∪B)=4+3−2=5n(A \cup B) = 4 + 3 - 2 = 5, which matches the five letters in the list.

A question from an earlier section

9. Find the lowest common multiple of 6 and 8.

Hint

List the multiples of each number and look for the first one in both lists. Section 3.3 has the method.

Next step

Multiples of 6: 6,12,18,24,30,…6, 12, 18, 24, 30, \ldots Multiples of 8: 8,16,24,32,…8, 16, 24, 32, \ldots

Full working

The lowest common multiple is 24.

The common multiples form the set {24,48,72,…}\{24, 48, 72, \ldots\}, and its smallest element is 24. The lowest common multiple is the smallest number in the intersection of the two sets of multiples.

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.