Practice Union in Math

Use these practice problems to test your method after reviewing the concept explanation and worked examples.

Quick Recap

The union of sets A and B is the set of all elements that belong to A, to B, or to both, written A∪B.

Pour both sets into one container and remove duplicates. Everything from either pile ends up in the union — this is the OR operation for sets.

Showing a random 20 of 50 problems.

Example 1

easy
Let U={1,2,3,4,5} and A={2,4}. Find A∪U.

Example 2

easy
Compute {1,2}∪{3,4}.

Example 3

hard
Let A={x∈R:x2≤9} and B={x∈R:x≥2}. Express A∪B.

Example 4

easy
Let P={a,b,c} and Q={c,d,e}. Find P∪Q.

Example 5

easy
Compute ∅∪{4,5,6}.

Example 6

medium
Let A={x∈R:x>2} and B={x∈R:x<5}. Express A∪B in interval notation.

Example 7

medium
Let A={x∈Z:−2≤x≤2} and B={x∈Z:0≤x≤4}. Find A∪B.

Example 8

medium
Compute the union of {1},{2},{3},{4} (all four sets together).

Example 9

easy
Is A⊆A∪B always true?

Example 10

hard
In a class of 30 students, 18 play soccer, 12 play basketball, and 5 play both. How many play at least one?

Example 11

easy
Is B⊆A∪B always true?

Example 12

medium
Let A={multiples of 3 from 1 to 20} and B={multiples of 5 from 1 to 20}. List A∪B.

Example 13

easy
Compute {1,2}∪{2,1}.

Example 14

medium
If ∣A∣=5, ∣B∣=3, and ∣A∩B∣=2, find ∣A∪B∣.

Example 15

medium
True or false: for any sets A,B, A∪B=B∪A.

Example 16

hard
60 people are surveyed: 40 like coffee, 35 like tea, and 5 like neither. How many like at least one of coffee or tea?

Example 17

easy
Compute A∪∅ for A={5,6}.

Example 18

easy
Compute A∪B for A={2,4,6,8} and B={1,3,5}.

Example 19

challenge
Prove the inclusion-exclusion formula ∣A∪B∣=∣A∣+∣B∣−∣A∩B∣ for finite sets.

Example 20

medium
List A∪B∪C for A={1,2}, B={2,3}, C={3,4}.