De Morgan’s laws and the key logical equivalences
Logical laws let you rewrite a formula without changing its value. The ones you need most are De Morgan, the distributive law and absorption.
Rules
- De Morgan: ¬(A ∧ B) ≡ ¬A ∨ ¬B and ¬(A ∨ B) ≡ ¬A ∧ ¬B
- Distributive: A ∧ (B ∨ C) ≡ (A ∧ B) ∨ (A ∧ C)
- Absorption: A ∨ (A ∧ B) ≡ A
- Implication: A → B ≡ ¬A ∨ B
- Contraposition: A → B ≡ ¬B → ¬A
Your turn
Three problems on this topic. Any equivalent formula counts.
- 1 · Logical laws
- 2
- 3
Which formula is equivalent, and which law is behind it?
¬(C ∨ B)
Equivalent formula
Law
Worked example
Which formula is equivalent, and which law is behind it?
¬(C ∨ A)
Worked solution
- 1De Morgan: ¬(C ∨ A) ≡ ¬C ∧ ¬A
Typical mistake: With De Morgan the operator flips: ∧ becomes ∨ and the other way round, and every variable is negated.
Common questions
How do I remember De Morgan?
The negation moves inward: every variable is negated and the operator flips, ∧ becomes ∨ and the other way round.
