Boolean algebra is a branch of algebra where operands are 0s and 1s (i.e., binary numbers), with fundamental operations: NOT (), AND (), OR () (in that order of precedence).
Boolean algebra finds considerable use in implementing digital circuits.
Representations
Boolean functions can be represented in several ways:
- Truth tables represent every possible combination of inputs and outputs.
- Venn diagrams are used to visually show Boolean expressions, similar to applications in probability theory.
- Timing diagrams are analogous to a visual representation of truth tables.
Additionally, functions can be expressed in different ways:
- Minterms and maxterms represent the outputs as a function (AND, OR) of the inputs.
- Sum-of-products and product-of-sums are closed form, compact representations of a function using minterms and maxterms.
- Karnaugh maps are used to minimise logic expressions.
Properties
Boolean algebra is commutative and associative:
Distributivity over OR and over AND:
The absorption property:
De Morgan’s laws are also foundational.
The combination property:
And the consensus property: