LearnTronics
Math
Simplifying Boolean Expressions
Knowing the Boolean laws is useful, but learning to work a problem is a different skill. On this page we will repeatedly take an expression apart, identify a useful law, make one legal change, and continue until nothing simpler remains.
A short working toolbox
- A + 0 = A
- A · 1 = A
- A + 1 = 1
- A · 0 = 0
- A + A = A
- A · A = A
- A + ~A = 1
- A · ~A = 0
- A + A·B = A — absorption
- A·(A+B) = A — absorption
- ~(A+B) = ~A·~B — De Morgan
- ~(A·B) = ~A+~B — De Morgan
Worked example 1 — identity
Worked example 2 — absorption
There is no need to know whether B is 0 or 1. If A is 1, the whole OR expression is already 1. If A is 0, the product A·B is also 0.
Worked example 3 — factor, complement, identity
Worked example 4 — distribute, then eliminate a complement
Here C is ~B, so:
Worked example 5 — a useful absorption variation
Worked example 6 — De Morgan, then absorption
Worked example 7 — two parenthesized terms
Worked example 8 — three variables
Worked example 9 — a longer expression
Worked example 10 — verify the result with a truth table
Algebra gives us a shorter expression, but a truth table can independently check that we did not change the function.
Check:
| A | B | ~B | A·B | A·~B | Original | A |
|---|---|---|---|---|---|---|
| 0 | 0 | 1 | 0 | 0 | 0 | 0 |
| 0 | 1 | 0 | 0 | 0 | 0 | 0 |
| 1 | 0 | 1 | 0 | 1 | 1 | 1 |
| 1 | 1 | 0 | 1 | 0 | 1 | 1 |
The last two columns match in every row, so the simplification is confirmed.
1. Simplify one expression into the other by Boolean algebra.
2. Build a truth table and show that the final output columns match on every row.
Now try some yourself
Work each problem on paper before opening its solution. Try to write the law you used beside each step.
Problem 1
Show solution
Identity law.
Problem 2
Show solution
Identity law.
Problem 3
Show solution
Idempotent law.
Problem 4
Show solution
Complement law.
Problem 5
Show solution
Absorption: A + A·B = A.
Problem 6
Show solution
Factor A, use complement, then identity.
Problem 7
Show solution
Problem 8
Show solution
Problem 9
Show solution
De Morgan's law.
Problem 10
Show solution
De Morgan's law.
Problem 11
Show solution
Problem 12
Show solution
Problem 13
Show solution
Problem 14
Show solution
This is an extended absorption form: if A is 0 the product is 0; if A is 1, the parenthesis already contains A and is therefore 1.
Problem 15
Show solution
Problem 16 — prove by truth table
Show that these two expressions are equivalent:
Show solution
Evaluate both expressions for 00, 01, 10, and 11. Both produce the pattern 0, 1, 1, 1, so they are equivalent.
What matters most
The goal is not merely to memorize a list of laws. It is to learn to recognize forms: a common factor, a variable beside its complement, an absorption pattern, or a NOT over a parenthesized expression. With practice, long Boolean expressions begin to look like a series of small familiar moves.