1.4.3 - Boolean laws and simplification
A shorter Boolean expression can implement exactly the same decision with fewer operations. You will justify each transformation using a valid law, handle negated groups carefully, and check that simplification preserves every input outcome.
Equivalence and basic identities
Simplification changes the form of an expression while preserving its output for every input combination.
Boolean equivalence
Two expressions are equivalent when they give the same output for every possible input combination. The equivalence sign , or the accepted alternative , expresses that whole-input agreement.
An expression that works for one input is not necessarily equivalent. For example, and agree for 00 and 11, but differ for 01 and 10.
This lesson uses , and ; Boolean dot, plus and overbar are recognised alternatives. XOR is , or OCR's underlined vee . Do not replace OR with XOR when applying a law. A Boolean 1 is true and 0 is false, rather than an arbitrary numerical value.
Several basic identities explain why terms can disappear:
| Meaning | AND identity | OR identity |
|---|---|---|
| Identity | ||
| Dominating value | ||
| Repeating a condition | ||
| Condition and its complement |
The complement identities follow from the two cases. If , then ; if , then . They can never both be true, but at least one is always true. This is why becomes 1 rather than 0.
For example, . The variable has no effect on the output because its entire AND term is forced to 0. A simplification may remove a redundant input without changing the system's decision.
Commutation and association
Commutation changes the order of operands, while association changes the grouping of repeated instances of the same operator.
An AND chain is true only if all its conditions are true, regardless of their order or grouping. An OR chain is true if at least one condition is true. These laws let you bring repeated or complementary conditions together so that another identity can simplify them.
For example,
The first step combines commutation and association to expose the complementary pair. It does not introduce a new condition or distribute NOT.
Association requires the same operator
Association applies to the same repeated operator. It does not licence changing to . For , the first expression gives 0 and the second gives 1. Similarly, moving a NOT across a bracket requires a different law, rather than a rearrangement of terms.
Distribution and factoring
Distribution expands an expression across a bracket, and its reverse factors out a shared condition.
Boolean algebra has both of these distributive forms:
The first resembles familiar algebraic expansion. The second is also valid in Boolean logic, even though ordinary arithmetic addition does not distribute over multiplication in that way. Use the meaning of the operators, rather than importing an arithmetic rule.
Factoring often shortens a circuit. Suppose two AND gates feed OR and implement . The common can be factored:
Continue this lesson.
You’re previewing NovaLearn without an account. Create a free account to read the rest.
Create free account