The difference of sets and , , is the set $$ A - B = \{ x | x \in A \text{ and } x \notin B \} $$
consists of those elements that are in but not in . This can also be called the complement of with respect to .
| Venn diagram of |
For example, let and . Hence and .
Properties of complementation
Complementation laws (Sets)
There are complementation laws that say that:
De Morgan's law (Sets)
The De Morgan’s law can be represented in sets as so: ?