Picture two bouncers standing at the door of a logical statement. One says "NOT (this AND that)." The other says "NOT this, OR NOT that." They sound like they're arguing, but they're actually saying the exact same thing, just wearing different outfits. That's the whole trick behind DeMorgan's Law, and once you see it, you can't unsee it: it's hiding in your spam filter, your thermostat's circuit board, and the sentence you just used to talk your way out of dinner plans.
What Is DeMorgan’s Law?
At its core, DeMorgan’s Law is a pair of rules in logic and set theory that describe how negation interacts with “and” (conjunction) and “or” (disjunction). Named after the 19th-century British mathematician Augustus De Morgan, the law shows that negating a compound statement flips both the connective and the components inside it.
In plain English: “not (A and B)” is the same as “not A or not B.” And “not (A or B)” is the same as “not A and not B.” Negation doesn’t just cancel things out — it redistributes itself, like a courier who splits one package into two and flips a switch on each.
Recommended Reading: How to Write 99000 in Words? | Number in Words
De Morgan's Law in Boolean Algebra
De Morgan's Law explains how logical operations change when a statement is negated. It is widely used in Boolean algebra, digital logic, computer science, and programming. Let's explore its two simple and powerful rules.
Negation of a Conjunction
In simple words: NOT (A AND B) becomes (NOT A) OR (NOT B).
Negation of a Disjunction
In simple words: NOT (A OR B) becomes (NOT A) AND (NOT B).
✦ De Morgan's Laws in Boolean Notation
💡 Easy Way to Remember
When the whole expression is negated, AND changes to OR, while OR changes to AND. Each individual statement is also negated.
De Morgan's Law Proof: Showing the Symmetry Holds
De Morgan's Law can be verified using a truth table. By checking every possible combination of A and B, we can see that both sides of the equation always produce the same result.
Proof by Truth Table
Let's verify the first De Morgan's Law:
| A | B | ¬A | ¬B | A ∨ B | ¬(A ∨ B) | ¬A ∧ ¬B |
|---|---|---|---|---|---|---|
| 1 | 1 | 0 | 0 | 1 | 0 | 0 |
| 1 | 0 | 0 | 1 | 1 | 0 | 0 |
| 0 | 1 | 1 | 0 | 1 | 0 | 0 |
| 0 | 0 | 1 | 1 | 0 | 1 | 1 |
✓ What Does the Table Show?
The final two columns are identical in every row. This confirms that ¬(A ∨ B) = ¬A ∧ ¬B is true for every possible combination of A and B.
Try the Second Identity
Create the same truth table for this expression and compare the final columns. They will match perfectly!
Why It’s Named After a Man Who Didn’t Even Discover It First
“Every act of thought is an act of measurement.” — Augustus De Morgan
Here’s a delicious irony: versions of these rules trace back to ancient Greek and medieval logicians centuries before Augustus De Morgan was born. But De Morgan was the one who formalized them rigorously within symbolic logic in the mid-1800s, and mathematics, much like a stubborn group chat, tends to name things after whoever shows up with the receipts, not whoever had the idea first.
Recommended Reading: What Are the Measures of Central Tendency in Math?
Where DeMorgan’s Law Shows Up in the Real World
This isn’t just chalkboard trivia. DeMorgan’s Law is quietly load-bearing infrastructure across several fields:
- Digital circuit design: Engineers use it to convert AND/OR/NOT gate combinations into equivalent circuits using only NAND or only NOR gates — a huge deal for manufacturing efficiency.
- Programming and debugging: Ever simplified “if (!(x > 5 && y < 10))” into “if (x <= 5 || y >= 10)”? That’s DeMorgan’s Law making your conditional statements more readable.
- Database queries: SQL’s WHERE clauses and search filters rely on the same negation logic to correctly interpret “NOT (category = A OR category = B).”
- Everyday arguments: Saying “I’m not tired and hungry” versus “I’m not tired or not hungry” changes your meaning entirely — DeMorgan’s Law is the reason precision matters here.
A Quick Mental Shortcut
If you only remember one thing, remember this: negation is a flip. Push a NOT through a set of parentheses, and every AND becomes an OR (and vice versa), while every term inside gets its own NOT. It’s the logical equivalent of turning a glove inside out — the shape changes, but nothing is lost.
Conclusion
DeMorgan’s Law proves something oddly comforting: that two statements can look completely different on the surface and still mean exactly the same thing underneath. Whether you’re simplifying a Boolean expression, designing a circuit, or just trying to word a text message more precisely, this 170-year-old rule is still doing the quiet, unglamorous work of making sure logic holds together — one flipped connective at a time.
You can opt for our Advanced Math or Vedic Math+Mental Math courses. Our Math Quiz for grades 3rd, 4th, 5th, and 6th helps in further exciting and engaging students in mathematics with hands-on lessons.












