Junior Cycle Mathematics8.3 Intersection, union and set difference

All books

8.3 Intersection, union and set difference — Practise

Work independently. The questions and answers are shown together at the end.

Decide first whether a question asks for the shared elements, for everything, or for one set with the other removed. Write the operation before you calculate.

  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.
  2. 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\cup B.
  3. 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\setminus B.
  4. 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 B∖AB\setminus A.
  5. In a class, 18 students play football and 12 play basketball. Six play both. How many play at least one of the two sports?
  6. In the same class, how many students play football but not basketball?
  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 A∩BA\cap B and A∪BA\cup B.
  8. Let P={2,3,5,7}P=\{2, 3, 5, 7\} and Q={2,4,6,8}Q=\{2, 4, 6, 8\}. Find P∩QP\cap Q.
  9. In a survey of 40 people, 22 read a book and 18 watched a film. Nine did both. How many did neither?
  10. Let A={a,b,c,d,e}A=\{a, b, c, d, e\} and B={d,e,f}B=\{d, e, f\}. Find n(A∖B)n(A\setminus B) and n(A∪B)n(A\cup B).

Answers and concise solutions

1. Show the answer

1. Find the intersection of AA and BB.

Answer: A∩B={4,5}A\cap B=\{4, 5\}. These are the numbers that appear in both lists. The numbers 1, 2 and 3 are only in AA, and 6 and 7 are only in BB.

2. Show the answer

2. Find the union of AA and BB.

Answer: A∪B={1,2,3,4,5,6,7}A\cup B=\{1, 2, 3, 4, 5, 6, 7\}. The union holds every element from both sets, written once. Its size is 5+4−2=75+4-2=7, because 4 and 5 were counted twice.

3. Show the answer

3. Find AA with BB removed.

Answer: A∖B={1,2,3}A\setminus B=\{1, 2, 3\}. Start with AA and remove 4 and 5, because those two are also in BB. What is left is the three elements 11, 22 and 33.

4. Show the answer

4. Find BB with AA removed.

Answer: B∖A={6,7}B\setminus A=\{6, 7\}. This is different from A∖BA\setminus B, because the order matters in a difference. Here you start with BB and remove 4 and 5.

5. Show the answer

5. How many play at least one sport?

Answer: 2424 students. Use n(F∪B)=18+12−6=24n(F\cup B)=18+12-6=24. The six who play both are counted in each total, so subtracting them once stops them being counted twice.

6. Show the answer

6. How many play football but not basketball?

Answer: 1212 students. This is a difference, because it takes the 18 football players and removes the 6 who also play basketball. The answer is 18−6=1218-6=12.

7. Show the answer

7. Find the intersection and the union of AA and BB.

Answer: A∩B={4}A\cap B=\{4\} and A∪B={2,4,6}A\cup B=\{2, 4, 6\}. Only the number 4 is in both sets. The union has 2+2−1=32+2-1=3 elements.

8. Show the answer

8. Find the intersection of the primes and the evens.

Answer: P∩Q={2}P\cap Q=\{2\}. The only even prime is 2, so it is the only number that belongs to both sets.

9. Show the answer

9. How many did neither?

Answer: 99 people. The number who did at least one is 22+18−9=3122+18-9=31. The universal set is 40, so the complement has 40−31=940-31=9 people.

10. Show the answer

10. Find the size of AA without BB, and of the union.

Answer: n(A∖B)=3n(A\setminus B)=3 and n(A∪B)=6n(A\cup B)=6. The shared letters are dd and ee. So A∖B={a,b,c}A\setminus B=\{a, b, c\}, and the union is {a,b,c,d,e,f}\{a, b, c, d, e, f\}.

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.