HomeSet Operations Practice: Union, Intersection, and Complement Free original lessons
Set Operations Practice: Union, Intersection, and Complement
Build fluency with union, intersection, and complement using roster-form sets. Includes worked example, four practice tasks, common mistakes, and a validation plan.
Free lesson
Four exercises
Worked answers
Algebra and Function Practice
Set operations combine or compare collections of distinct items. This practice set focuses on three core operations using sets written in roster form, such as A = {1, 2, 3}. The union A ∪ B contains every element that appears in A or B or both. The intersection A ∩ B contains only elements that appear in both A and B. The complement of A, written A′ when the universal set U is understood, contains every element of U that is not in A. Combined expressions such as (A ∪ B)′ or A ∩ B′ require working from the inside out, applying one operation at a time and tracking the universal set carefully. All sets here use distinct elements, and the universal set is stated explicitly for every complement task. Practice with these operations strengthens logical reasoning and prepares you for functions, logic, and data classification. Each exercise is self-contained: the sets are listed in the prompt, so no external diagram is required. When a task mentions a diagram, a text description of the labeled regions is provided instead.
Practice materials: Printable downloads are not available for this lesson yet. Use the instructions and four exercises below.
Core definitions and notation
A set is a collection of distinct objects, called elements. In roster form, elements are listed inside braces, for example B = {2, 4, 6}. The universal set U is the reference set that contains all elements under consideration for a given problem. The union A ∪ B is the set of elements belonging to A, to B, or to both. The intersection A ∩ B is the set of elements belonging to both A and B. The complement A′ is the set of elements in U that are not in A. The empty set, written ∅, contains no elements.
Order does not matter in a set, and repeated elements are not listed twice. For example, {1, 2} and {2, 1} are the same set. When combining operations, parentheses indicate which operation to perform first. For instance, (A ∪ B)′ means find the union first, then take the complement of that result within U.
- Identify the universal set U and each given set in roster form.
- For union, list every element from both sets without repeating any element.
- For intersection, list only elements that appear in both sets.
- For complement, list elements of U that are not in the specified set.
- For combined expressions, evaluate the operation inside parentheses first, then apply the remaining operation.
Working with combined operations
Combined expressions such as A ∩ B′ or (A ∪ B)′ require careful sequencing. A useful strategy is to rewrite the expression in words before computing. For example, A ∩ B′ means elements that are in A and also not in B. Computing B′ first and then intersecting with A often reduces errors. Similarly, (A ∪ B)′ means elements of U that are in neither A nor B.
Keep the universal set visible throughout the problem. A common error is to take a complement relative to the wrong set or to forget that the complement depends on U. After computing an answer, verify that every listed element belongs to U and that no element is repeated.
- Rewrite the expression in words to clarify the intended operation order.
- Compute the innermost operation first, listing the resulting set explicitly.
- Apply the next operation to that result and the remaining set.
- Check that the final set contains only elements from U and has no duplicates.
- Compare the result with a second method, such as listing elements by membership conditions.
Checking your work
A reliable check is to test each element of U against the final expression. For A ∪ B, an element should be included exactly when it is in A or in B. For A ∩ B, it should be included exactly when it is in both. For A′, it should be included exactly when it is not in A. This element-by-element test catches missing or extra elements.
Another check is to compare the size of the result with expected bounds. The union cannot have fewer elements than either input set, and the intersection cannot have more elements than either input set. The complement of A within U has size equal to the number of elements in U minus the number of elements in A, provided A is a subset of U.
- List every element of U and mark whether it satisfies the final condition.
- Count the elements in the result and compare with the expected size.
- Verify that no element appears twice and that all elements belong to U.
- Recompute using a different operation order where possible, such as using A ∩ B′ versus A minus B.
Worked example
Let U = {1, 2, 3, 4, 5, 6}, A = {1, 2, 3, 4}, and B = {3, 4, 5}. Find (A ∪ B)′.
Worked answer
(A ∪ B)′ = {6}.
Four practice exercises
Exercise 1
Let U = {1, 2, 3, 4, 5, 6, 7, 8}, A = {1, 3, 5, 7}, and B = {2, 3, 5, 8}. Find A ∪ B and A ∩ B.
Show answer and check
A ∪ B = {1, 2, 3, 5, 7, 8}; A ∩ B = {3, 5}.
Why: For the union, list every element from A and B without repeats: 1, 2, 3, 5, 7, 8. For the intersection, keep only elements in both A and B: 3 and 5 appear in both.
Check: Test each element of U: 1 is in A only, so in union but not intersection; 2 is in B only; 3 and 5 are in both; 7 is in A only; 8 is in B only; 4 and 6 are in neither. The results match.
Exercise 2
Let U = {a, b, c, d, e, f}, C = {a, c, e}, and D = {b, c, d}. Find C′ and C ∩ D.
Show answer and check
C′ = {b, d, f}; C ∩ D = {c}.
Why: The complement C′ contains elements of U not in C: b, d, f. The intersection C ∩ D contains elements in both C and D: only c.
Check: Check C′ by confirming each listed element is in U and not in C, and that every element of U not in C is listed. Check C ∩ D by testing each element of C against D.
Exercise 3
Let U = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10}, E = {2, 4, 6, 8, 10}, and F = {1, 2, 3, 4, 5}. Find (E ∪ F)′.
Show answer and check
(E ∪ F)′ = {7, 9}.
Why: First compute E ∪ F = {1, 2, 3, 4, 5, 6, 8, 10}. Then take the complement within U: elements of U not in that union are 7 and 9.
Check: Test each element of U: 7 and 9 are in neither E nor F, so they belong in the complement. All other elements appear in E or F. The result matches.
Exercise 4
Let U = {1, 2, 3, 4, 5, 6, 7, 8}, G = {1, 2, 3, 4}, and H = {3, 4, 5, 6}. Find G ∩ H′.
Show answer and check
G ∩ H′ = {1, 2}.
Why: First compute H′ = {1, 2, 7, 8}. Then intersect with G: elements in both G and H′ are 1 and 2. Alternatively, G ∩ H′ means elements in G that are not in H, which are 1 and 2.
Check: Test each element of G: 1 and 2 are not in H, so they qualify; 3 and 4 are in H, so they do not. The result is {1, 2}.
Common mistakes
- Including duplicate elements when forming a union. List each distinct element once. For example, if A = {1, 2} and B = {2, 3}, then A ∪ B = {1, 2, 3}, not {1, 2, 2, 3}.
- Taking a complement relative to the wrong universal set. Write U at the top of your work and check that every complement uses that exact U. If U changes, the complement changes.
- Evaluating combined operations in the wrong order. Follow parentheses first. Rewrite the expression in words, such as 'in A and not in B' for A ∩ B′, before computing.
- Confusing intersection with union when sets overlap heavily. For intersection, ask whether an element appears in both sets. For union, ask whether it appears in at least one set. Test each element separately.
Self-check rubric
- Correctly identifies the universal set and all given sets in roster form.
- Applies union by listing each distinct element from both sets exactly once.
- Applies intersection by listing only elements common to both sets.
- Applies complement relative to the stated universal set.
- Evaluates combined operations in the correct order, following parentheses.
- Presents final answers as sets in roster form with no duplicates.
- Shows a check, such as testing each element of U against the final condition.
Questions and answers
What is the difference between union and intersection?
Union combines all elements from both sets, while intersection keeps only elements shared by both sets. For A = {1, 2} and B = {2, 3}, A ∪ B = {1, 2, 3} and A ∩ B = {2}.
Does the order of elements in a set matter?
No. Sets are unordered, so {1, 2} and {2, 1} are the same set. Roster form may list elements in any order, but listing them in numerical order can make checking easier.
How do I handle a complement when no universal set is given?
A complement requires a universal set. If none is stated, the problem is incomplete. In this practice set, every complement task states U explicitly.
Can a set contain repeated elements?
In standard set notation, repeated elements are not listed because a set contains distinct objects. If a list shows repeats, treat each distinct value once.