LearnTronics
Deriving De Morgan's Laws Without a Truth Table
De Morgan without building a truth table
Truth tables are excellent for checking a result, but they are not the only way to understand or prove De Morgan's laws.
First theorem in ordinary language
Start with:
~(A • B)
This says, “It is not true that A and B are both true.”
If they are not both true, then at least one must be false:
~A + ~B
So:
~(A • B) = ~A + ~B
Second theorem in ordinary language
Start with:
~(A + B)
This says, “Neither A nor B is true.” Therefore A is false and B is false:
~(A + B) = ~A • ~B
A Boolean-algebra proof of one theorem
Let:
F = A + B
and propose:
X = ~A • ~B
To show X is the complement of F, it is enough to show two things:
F•X = 0 and F + X = 1
(A+B)(~A•~B)
= A•~A•~B + B•~A•~B
= 0 + 0 = 0
Now the OR condition:
(A+B) + (~A•~B)
= [(A+B)+~A] • [(A+B)+~B] (Boolean distributive law)
= (A+~A+B) • (A+B+~B)
= 1 • 1 = 1
Therefore ~A•~B is the complement of A+B, so:
~(A+B) = ~A•~B
Useful memory rule: when a NOT moves through parentheses, invert each term and swap AND ↔ OR.