De Morgan’s Laws
De Morgan's Laws - Definition, Explanation, and Examples edit
De Morgan's laws are fundamental rules in set theory that describe the relationship between union, intersection, and complements of sets. They help simplify complex set expressions, especially involving complements.
Statements of De Morgan's Laws edit
Let and be two sets and be the universal set.
1. The complement of the union of two sets is equal to the intersection of their complements:
2. The complement of the intersection of two sets is equal to the union of their complements:
Here, denotes the complement of with respect to .
Explanation edit
- The first law means that everything not in either or is exactly the elements not in and not in . - The second law means that everything not in both and is everything not in or not in .
Examples edit
Example 1 edit
Let
Calculate and :
- -
Find complements:
- -
Calculate intersection of complements:
-
Thus,
Example 2 edit
Using the same sets,
Calculate and :
- -
Calculate union of complements:
-
Therefore,
Summary edit
- De Morgan's laws provide a way to distribute complements over unions and intersections.
- These laws are very useful in simplifying set expressions and solving problems in mathematics, logic, and computer science.