Learn how to simplify Boolean expressions with examples
We are going to simplify this Boolean expression to make it shorter and more efficient.
Just like in algebra:
So here:
This is called distribution over OR:
Now expand both parts:
Which gives:
(Note: A·A = A², and in Boolean algebra, we use • for AND.)
In Boolean algebra:
So:
Now the expression becomes:
One of the key rules:
So:
Apply both:
💡 Why simplify?
The original expression (A+B)(A+C) requires 3 gates.
The simplified version A+BC needs only 2 gates.
That means: cheaper, faster, smaller circuit.
This means: NOT of (A OR B)
De Morgan's Law says:
This flips:
💡 Real-World Analogy:
Imagine a statement: "It is not true that it's raining or snowing."
This means: It's not raining AND it's not snowing.
Which is exactly what De Morgan's Law shows us.
| A | B | A + B | ¬(A + B) | ¬A | ¬B | ¬A • ¬B |
|---|---|---|---|---|---|---|
| 0 | 0 | 0 | 1 | 1 | 1 | 1 |
| 0 | 1 | 1 | 0 | 1 | 0 | 0 |
| 1 | 0 | 1 | 0 | 0 | 1 | 0 |
| 1 | 1 | 1 | 0 | 0 | 0 | 0 |
✔️ Both sides give the same result — so the identity is valid!
✅ Summary:
| Original | After Applying De Morgan |
|---|---|
| ¬(A+B) | ¬A·¬B |
This simplification is especially useful when designing circuits with NAND or NOR gates.
This is the Associative Law of OR:
The grouping (parentheses) does not affect the result for OR ( + ).
So both:
and
give the same result in Boolean logic.
✅ You can remove the brackets safely when only using OR.
| A | B | C | A + B | (A + B) + C | B + C | A + (B + C) | Result |
|---|---|---|---|---|---|---|---|
| 0 | 0 | 0 | 0 | 0 | 0 | 0 | ✅ |
| 0 | 0 | 1 | 0 | 1 | 1 | 1 | ✅ |
| 0 | 1 | 0 | 1 | 1 | 1 | 1 | ✅ |
| 0 | 1 | 1 | 1 | 1 | 1 | 1 | ✅ |
| 1 | 0 | 0 | 1 | 1 | 0 | 1 | ✅ |
| 1 | 0 | 1 | 1 | 1 | 1 | 1 | ✅ |
| 1 | 1 | 0 | 1 | 1 | 1 | 1 | ✅ |
| 1 | 1 | 1 | 1 | 1 | 1 | 1 | ✅ |
✔️ Both sides are always equal, no matter the inputs.
💡 Real-World Analogy:
Suppose you're checking: "Is A, B, or C true?"
It doesn't matter if you check A and B first, then C, or B and C first, then A — the answer will be the same.
✅ Summary:
| Law Type | OR Form | AND Form |
|---|---|---|
| Associative | (A+B)+C = A+(B+C) | (AB)C = A(BC) |
| Effect | Grouping doesn't change result | Grouping doesn't change result |
Computers are built with logic gates.
Each gate costs transistors, power, and time.
Simplifying Boolean expressions = fewer gates.
👉 Example:
Expression 1: (A + B)(A + C) = 4 gates
Expression 2 (simplified): A + BC = only 3 gates
Millions of circuits → huge savings in CPU design.
✅ In summary:
Boolean algebra is the mathematical backbone of digital circuits.
Laws & theorems make it possible to simplify logic.
Simplification = faster, cheaper, more efficient computers.