Explore truth tables, Karnaugh maps, and boolean expression minimization. Build boolean functions interactively, watch optimal groupings form, and see step-by-step simplification using algebraic laws.
| # | A | B | C | F |
|---|---|---|---|---|
| m0 | 0 | 0 | 0 | |
| m1 | 0 | 0 | 1 | |
| m2 | 0 | 1 | 0 | |
| m3 | 0 | 1 | 1 | |
| m4 | 1 | 0 | 0 | |
| m5 | 1 | 0 | 1 | |
| m6 | 1 | 1 | 0 | |
| m7 | 1 | 1 | 1 |
Every digital circuit implements a boolean function. Minimizing the boolean expression directly reduces the number of logic gates needed, resulting in smaller, faster, and more power-efficient circuits. This optimization is fundamental to chip design, from simple microcontrollers to modern CPUs.
| Concept | Description | Example |
|---|---|---|
| Minterm | Product term where all variables appear | ABC' (m5) |
| Maxterm | Sum term where all variables appear | A+B+C' (M2) |
| SOP | Sum of Products canonical form | AB + A'C + BC |
| POS | Product of Sums canonical form | (A+B)(A'+C) |
| Don't Care | Output undefined for some inputs | X in truth table |
| Prime Implicant | Largest possible group in K-map | Group of 4 cells |