ABSTRACT
De Morgan’s Laws describe the relationship between the complement of the union (or intersection) of sets and the intersection (or union) of their individual complements. In discrete mathematics, these laws serve as the logical bridge that allows us to use the Principle of Inclusion-Exclusion to solve “None of” or “Neither” counting problems.
1. The Two Laws
De Morgan’s Laws state that the complement of a group operation is equivalent to the operation on the individual complements, provided the operator is flipped ( becomes , and becomes ).
The Complement of the Union
- Meaning: The set of elements that are not in or is exactly the set of elements that are not in AND not in .
The Complement of the Intersection
- Meaning: The set of elements that are not in both and is the set of elements that are not in OR not in .
2. The Bridge to Inclusion-Exclusion
In combinatorics, we are often asked to count elements that satisfy none of a set of conditions (properties). De Morgan’s Law is what transforms these “None” problems into “Union” problems that we can actually solve.
The Problem Transformation
If we have a universal set and properties , let be the set of elements having property .
We want to find the number of elements with none of the properties:
By De Morgan’s Law, this intersection of complements is equal to the complement of the union:
The Final Formula
Since the size of a complement is simply the total minus the set itself:
IMPORTANT
This allows us to use the Inclusion-Exclusion Principle to calculate and subtract it from the total.
3. Example: Counting Integers
Goal: Find how many integers between 1 and 100 are divisible by neither 2 nor 5.
- Define Sets:
- Target: We want “Neither 2 nor 5”, which is .
- Apply De Morgan: .
- Inclusion-Exclusion:
- (divisible by 10)
- .
- Result: .
4. Logical Negation
De Morgan’s Laws are also used in logic to negate statements involving “And” () and “Or” ():