De Morgan's Laws — Definition, Formula & Examples
De Morgan's Laws are two rules that show how to negate a compound logical statement. The negation of an AND becomes an OR (with each part negated), and the negation of an OR becomes an AND (with each part negated).
For propositions and : (1) , and (2) . These equivalences hold in propositional logic and extend to set theory, where complement distributes over union and intersection analogously.
Key Formula
Where:
- = Propositions (statements that are either true or false)
- = Negation (NOT)
- = Conjunction (AND)
- = Disjunction (OR)
- = Logically equivalent
How It Works
When you negate a statement that uses AND or OR, De Morgan's Laws tell you to do three things: negate each individual part, and swap the connector (AND becomes OR, OR becomes AND). For example, the negation of "it is raining and it is cold" is "it is not raining or it is not cold." These laws work the same way in set theory: the complement of equals , and the complement of equals .
Worked Example
Problem: Write the negation of the statement: "x > 3 and x ≤ 10."
Identify the structure: The statement has the form , where is "" and is "."
Apply De Morgan's first law: Negate each part and change AND to OR.
Write the result: Negate each proposition: is "" and is "."
Answer: The negation is " or ."
Why It Matters
De Morgan's Laws appear constantly in proof writing, programming (simplifying Boolean conditions in if-statements), and circuit design. In discrete math and theoretical computer science courses, they are essential tools for rewriting logical expressions into equivalent forms.
Common Mistakes
Mistake: Negating the compound statement but forgetting to swap AND with OR (or vice versa).
Correction: Always change the connector when you distribute the negation. Negating both parts alone is not enough — is , not .
