Difference of Sets
In this lesson we will learn about another binary operation called Difference.
The Difference of from is denoted by which is the set of all elements in that are not in .
Example
This is simply taking out any elements that are in out of A.
Properties of difference
The following properties should be intuitive:
- The difference of a set from a disjoint set is the same set. if
- The difference of a subset from its set is the null set. if
- The difference of a set from the empty set is the same set. .
- The difference of a set from the universal set is the empty set.
- Generally, difference is not commutative.
- The difference of a Universal set from a set is the complement of that set.
Non-Commutativity of Difference
Let's look at some examples to confirm that difference is non commutative.
The first example is the difference of a set and the universal set. is the set of all elements of that are not in which is the empty set. But on the other side, is the set of all elements of the universal set which are not in which is the definition of the complement of a set.
Other explicit examples are;
Symbolic Representation of Difference
To do some practice of set builder notation, we can write the difference like this.
Venn Diagram Visualization
Visualizing Complements of a Set
Visualizing Complements of a Set
Find Y - X
Let and . What is ?
Find C - B
Let and . What is ?
Find Y - P
Let and . What is ?
Find Y - A
Let and . What is ?
Find X - Y
Let and . What is ?
End of Lesson