In a Boolean algebra, a Boolean function that is composed of standard logical operators can be expressed in a canonical form using the dual concepts of minterms and maxterms. All logical functions are expressible in canonical form, both as a "sum of minterms" and as a "product of maxterms". This allows for greater analysis into the simplification of these functions, which is of great importance in the minimization of digital circuits.
A Boolean function expressed as a disjunction (OR) of minterms is commonly known as the "sum of products", and its De Morgan dual is the "product of sums", which is a function expressed as a conjunction (AND) of maxterms.
For example, the following are examples of minterms:
There are 2n minterms of n variables - this is true since a variable in the minterm expression can either be in the form of itself or its complement - two choices per n variables.
If one is given a truth table of a logical function, it is possible to write the function as a "sum of products". This is a special form of disjunctive normal form, qv. For example, if given the truth table a b f(a, b) 0 0 1 0 1 0 1 0 1 1 1 0
observing that the rows that have an output of 1 are the first and third, so we can write f as a sum of minterms m0 and m2.
If we wish to verify this:
For example, the following are maxterms:
There are again 2n maxterms of n variables - this is true since a variable in the maxterm expression can also be in the form of itself or its complement - two choices per n variables.
If one is given a truth table of a logical function, it is possible to write the function as a "product of sums". This a special form of conjunctive normal form, q.v. For example, if given the truth table a b f(a, b) 0 0 1 0 1 0 1 0 1 1 1 0
observing that the rows that have an output of 0 are the second and fourth, so we can write f as a product of maxterms M1 and M3.
If we wish to verify this:
This article is licensed under the GNU Free Documentation License.
It uses material from the
"Canonical form (Boolean algebra)".
Home Page • arts • business • computers • games • health • hospitals • home • kids & teens • news • physicians • recreation• reference • regional • science • shopping • society • sports • world