Set Operations
Explanation
You can combine or compare sets using operations:
-
Union ( ∪ ) – all elements from both sets
Example: A = {1, 2}, B = {2, 3} → A ∪ B = {1, 2, 3} -
Intersection ( ∩ ) – elements common to both sets
Example: A ∩ B = {2} -
Difference ( − ) – elements in one set but not the other
Example: A − B = {1} -
Complement ( A′ ) – elements not in the set but in the universal set
Example: U = {1,2,3,4}, A = {1,2} → A′ = {3,4}