A set of rules or Laws of Boolean Algebra expressions have been invented to help reduce the number of logic gates needed to perform a particular logic operation resulting in a list of functions or theorems known commonly as the Laws of Boolean Algebra.
As well as the logic symbols “0” and “1” being used to represent a digital input or output, we can also use them as constants for a permanently “Open” or “Closed” circuit or contact respectively.
Boolean Algebra is the mathematics we use to analyse digital gates and circuits. We can use these “Laws of Boolean” to both reduce and simplify a complex Boolean expression in an attempt to reduce the number of logic gates required. Boolean Algebra is therefore a system of mathematics based on logic that has its own set of rules or laws which are used to define and reduce Boolean expressions.
The variables used in Boolean Algebra only have one of two possible values, a logic “0” and a logic “1” but an expression can have an infinite number of variables all labelled individually to represent inputs to the expression, For example, variables A, B, C etc., giving us a logical expression of A + B = C, but each variable can ONLY be a 0 or a 1.
Examples of these individual laws of Boolean, rules and theorems for Boolean Algebra are given in the following table.
Truth Tables
The basic Laws of Boolean Algebra that relate to the Commutative Law allowing a change in position for addition and multiplication, the Associative Law allowing the removal of brackets for addition and multiplication, as well as the Distributive Law allowing the factoring of an expression, are the same as in ordinary algebra.
Each of the Boolean Laws above are given with just a single or two variables, but the number of variables defined by a single law is not limited to this as there can be an infinite number of variables as inputs too the expression. These Boolean laws detailed above can be used to prove any given Boolean expression as well as for simplifying complicated digital circuits.
A brief description of the various Laws of Boolean are given below with A representing a variable input.
Annulment Law – A term AND‘ed with a “0” equals 0 or OR‘ed with a “1” will equal 1
Identity Law – A term OR‘ed with a “0” or AND‘ed with a “1” will always equal that term
Idempotent Law – An input that is AND‘ed or OR´ed with itself is equal to that input
Complement Law – A term AND‘ed with its complement equals “0” and a term OR´ed with its complement equals “1”
Commutative Law – The order of application of two separate terms is not important
Double Negation Law – A term that is inverted twice is equal to the original term
- A double complement of a variable is always equal to the variable
de Morgan’s Theorem – There are two “de Morgan’s” rules or theorems,
(1) Two separate terms NOR‘ed together is the same as the two terms inverted (Complement) and AND‘ed for example:
(2) Two separate terms NAND‘ed together is the same as the two terms inverted (Complement) and OR‘ed for example:
Other algebraic Laws of Boolean not detailed above include:
Boolean Postulates – While not Boolean Laws in their own right, these are a set of Mathematical Laws which can be used in the simplification of Boolean Expressions.
Distributive Law – This law permits the multiplying or factoring out of an expression.
Absorptive Law – This law enables a reduction in a complicated expression to a simpler one by absorbing like terms.
Associative Law – This law allows the removal of brackets from an expression and regrouping of the variables.
Using the information above, simple 2-input AND, OR and NOT Gates can be represented by 16 possible functions as shown in the following table.
Using the above laws, simplify the following expression: (A + B)(A + C)
Then the expression: (A + B)(A + C) can be simplified to A + (B.C) as in the Distributive law.
32 docs|15 tests
|
|
Explore Courses for Computer Science Engineering (CSE) exam
|