Union and Intersection Calculator
Result
Set Operations
1. Union (A ∪ B)
The union of two sets is the set of all elements that are in either set.
A ∪ B = {x | x ∈ A or x ∈ B}
2. Intersection (A ∩ B)
The intersection of two sets is the set of all elements that are in both sets.
A ∩ B = {x | x ∈ A and x ∈ B}
Example Problems
Example 1:
A = {1, 2, 3, 4, 5}
B = {4, 5, 6, 7, 8}
Solution:
- A ∪ B = {1, 2, 3, 4, 5, 6, 7, 8}
- A ∩ B = {4, 5}
Example 2:
A = {a, b, c, d}
B = {c, d, e, f}
Solution:
- A ∪ B = {a, b, c, d, e, f}
- A ∩ B = {c, d}
Advertisement Space