Interactive Guide to Understanding Logic Laws 🧠
Meaning: The complement of (A OR B) equals (NOT A) AND (NOT B).
Meaning: The complement of (A AND B) equals (NOT A) OR (NOT B).
| 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 |
Check: ¬(A + B) = ¬A · ¬B → matches perfectly!
| A | B | A · B | ¬(A · B) | ¬A | ¬B | ¬A + ¬B |
|---|---|---|---|---|---|---|
| 0 | 0 | 0 | 1 | 1 | 1 | 1 |
| 0 | 1 | 0 | 1 | 1 | 0 | 1 |
| 1 | 0 | 0 | 1 | 0 | 1 | 1 |
| 1 | 1 | 1 | 0 | 0 | 0 | 0 |
Check: ¬(A · B) = ¬A + ¬B → also matches perfectly!
"NOT (Rain OR Snow)" means:
It's NOT raining AND NOT snowing — both must be false to say no precipitation.
"NOT (Rain AND Snow)" means:
Either NOT raining OR NOT snowing (so if at least one is false, the whole statement is false).
Meaning: AND-ing A with (A OR B) just equals A.
Meaning: OR-ing A with (A AND B) also just equals A.
This law removes redundant parts in expressions.
| A | B | A + B | A · (A + B) | Result compared to A |
|---|---|---|---|---|
| 0 | 0 | 0 | 0 | Same as A = 0 |
| 0 | 1 | 1 | 0 | Same as A = 0 |
| 1 | 0 | 1 | 1 | Same as A = 1 |
| 1 | 1 | 1 | 1 | Same as A = 1 |
Check: A · (A + B) = A
| A | B | A · B | A + A · B | Result compared to A |
|---|---|---|---|---|
| 0 | 0 | 0 | 0 | Same as A = 0 |
| 0 | 1 | 0 | 0 | Same as A = 0 |
| 1 | 0 | 0 | 1 | Same as A = 1 |
| 1 | 1 | 1 | 1 | Same as A = 1 |
Check: A + A · B = A
Think of A as a switch controlling a lamp.
A + A · B means: the lamp is ON if A is ON OR A AND B are ON.
But if A is already ON, the second part A · B doesn't add anything new — the lamp is ON anyway.
So the expression simplifies to just A.
Absorption laws help you simplify Boolean expressions by removing redundant terms.
This saves gates and makes circuits simpler!
Meaning: If either A or NOT A is true, the result is always 1.
Meaning: A value and its opposite can never both be true at the same time — result is always 0.
| A | A′ | A + A′ (OR) | A · A′ (AND) |
|---|---|---|---|
| 0 | 1 | 1 | 0 |
| 1 | 0 | 1 | 0 |
Matches both laws exactly!
Think of a light switch:
The switch is either ON (1) or OFF (0).
There's no third option — it can't be both ON and OFF at the same time.
ON OR OFF = 1 → One of them is always true → light can be detected as existing (binary decision).
ON AND OFF = 0 → Can't happen together → light is OFF.
These laws reinforce the binary nature of Boolean logic — only two states: 0 or 1.
Helps in simplifying expressions and checking circuit logic.
Eliminates unnecessary terms to simplify expressions.
Meaning: If you have two terms — one with A and another with A′ (NOT A) — then the middle term (A′C) can be absorbed into just C.
| A | B | C | AB | A′ | A′C | AB + A′C | AB + C |
|---|---|---|---|---|---|---|---|
| 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 |
| 0 | 0 | 1 | 0 | 1 | 1 | 1 | 1 |
| 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 |
| 0 | 1 | 1 | 0 | 1 | 1 | 1 | 1 |
| 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
| 1 | 0 | 1 | 0 | 0 | 0 | 0 | 1 |
| 1 | 1 | 0 | 1 | 0 | 0 | 1 | 1 |
| 1 | 1 | 1 | 1 | 0 | 0 | 1 | 1 |
Notice: In all rows, AB + A′C = AB + C → The consensus term A′C can be eliminated.
Meaning: You can add terms to make the expression simpler in logic or easier to implement.
| A | B | C | BC | A + BC | A′ | A′B | A′B + C | A + A′B + C |
|---|---|---|---|---|---|---|---|---|
| 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 |
| 0 | 0 | 1 | 0 | 1 | 1 | 0 | 1 | 1 |
| 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 1 |
| 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 |
| 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 |
| 1 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 1 |
| 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 1 |
| 1 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 1 |
In all rows, A + BC = A + A′B + C → The law is valid.
| Law | Simplifies to | Meaning |
|---|---|---|
| AB + A′C | AB + C | One redundant term can be removed. |
| A + BC | A + A′B + C | Extra terms can be added for simplification or implementation benefits. |
If A is true, you don't need to check both B and C to decide the output — the decision is already made.
These laws help reduce logic complexity in circuits by removing or transforming terms.
This is a valid Boolean identity. Let's verify it step by step.
Left side: (A + B)(A + B′)
Distribute using Boolean distributive law:
= A + AB′ + AB + BB′
But note:
So the full expression becomes:
= A
Valid!
| A | B | B′ | A + B | A + B′ | (A + B)(A + B′) | Result (A) |
|---|---|---|---|---|---|---|
| 0 | 0 | 1 | 0 | 1 | 0 × 1 = 0 | 0 |
| 0 | 1 | 0 | 1 | 0 | 1 × 0 = 0 | 0 |
| 1 | 0 | 1 | 1 | 1 | 1 × 1 = 1 | 1 |
| 1 | 1 | 0 | 1 | 1 | 1 × 1 = 1 | 1 |
Left side matches the value of A in all rows.
A Boolean expression is just a combination of:
This means: A OR B, ANDed with A OR C
No statement of equality — it's just a value you can calculate.
A Boolean equation is when two expressions are set equal to each other using an = sign.
This means:
We apply Boolean Laws (like distributive, absorption, De Morgan's, etc.) to:
Original Expression: AB + AC
Can be simplified using distributive law:
= A(B + C)
So the Boolean Equation: AB + AC = A(B + C) is true.
AB + AC uses 2 AND gates + 1 OR gate (3 gates)
A(B + C) uses 1 OR gate + 1 AND gate (2 gates)
Result: Fewer gates = simpler, cheaper, faster circuit.
| Term | Description | Example |
|---|---|---|
| Expression | A logic formula (no = sign) | (A + B)(A + C) |
| Equation | Two expressions set equal | AB + AC = A(B + C) |
| Why simplify? | To reduce logic gates in circuits | Fewer gates = simpler design |