Math Homework. Do It Faster, Learn It Better.
Operations on Sets
Recall that a set is a collection of elements.
Given sets and , we can define the following operations:
Operation
|
Notation
|
Meaning
|
Intersection
|
|
all elements which are in both
and
|
Union
|
|
all elements which are in either
or
(or both)
|
Difference
|
|
all elements which are in
but not in
|
Complement
|
(or
)
|
all elements which are not in
|
Example 1:
Let and let .
Then:
Example 2:
Let and let .
Then: