Set operations combine sets to form new ones. The union A ∪ B is the set of elements in A or in B (or both). The intersection A ∩ B is the set of elements in both A and B. If A = {1, 2, 3, 4} and B = {3, 4, 5}, then A ∪ B = {1, 2, 3, 4, 5} and A ∩ B = {3, 4}. If A ∩ B = ∅ the sets are disjoint.
Key terms
- Union A ∪ B
- elements in A or B
- Intersection A ∩ B
- elements in both A and B
- Difference A \ B
- elements in A but not in B
- Complement A'
- elements of U not in A
- Symmetric difference A Δ B
- elements in exactly one set
- De Morgan's laws
- rules for complements of unions and intersections
Key formulas
Summary
- ∪ = or; ∩ = and; \ = but not; ' = not in A.
- n(A ∪ B) = n(A) + n(B) - n(A ∩ B).
- De Morgan: complement swaps ∪ and ∩.
- A \ B ≠ B \ A in general.
In everyday life: If a shop has customers paying by telebirr and by cash, the number of customers is the union, and those who used both are the intersection.
Check yourself
- If A ⊆ B, what is A ∩ B? What is A ∪ B?
- Find (A ∪ B)' when U = {1,...,6}, A = {1,2}, B = {2,3}.
- Why do we subtract n(A ∩ B) in the union formula?
Practice questions
1. If U = {1, 2, 3, 4, 5, 6}, A = {1, 2, 3} and B = {3, 4}, what is (A ∪ B)'?
- A. {5, 6}
- B. {3}
- C. {4, 5, 6}
- D. {1, 2}
Show answer
Answer: {5, 6}
A ∪ B = {1, 2, 3, 4}; its complement in U is everything else, {5, 6}. This equals A' ∩ B' by De Morgan's law.
On WeLearn
The full lesson: reading notes, worked examples, class activities and the Unit 1 quiz
Study Operations on Sets on WeLearnTeach Operations on Sets with WeLearn
We will bring a demo to your school: a lesson on your interactive TV, a virtual lab and a classroom game, with your own teachers.
