Professional Documents
Culture Documents
Boolean Algebra Logic
Boolean Algebra Logic
Boolean Algebra Logic
• NOT Expressions are said to be the complement of each other if one expression equals
‘1’ only when the other equals ‘0’, and vice versa.
• OR
• AND
Variables
Variables are the different symbols in a Boolean expression.
Sample Expression
Dual of an Expression
The dual of a Boolean expression is obtained by replacing all ‘⋅’ operations with ‘+’
operations, all ‘+’ operations with ‘⋅’ operations, all 0s with 1s and all 1s with 0s
Literal and leaving all literals unchanged.
Each occurrence of a variable or its complement is called a literal.
Sample Expression
Term
A term is the expression formed by literals and operations at one level.
Postulates of Boolean Algebra
Sample Expression
The following are the important postulates of Boolean algebra:
1. 1 ⋅ 1 = 1, 0 + 0 = 0
2. 1 ⋅ 0 = 0 ⋅ 1 = 0, 0 + 1 = 1 + 0 = 1
3. 0 ⋅ 0 = 0, 1 + 1 = 1
Equivalent Expressions
4. 0’ = 1 , 1’ = 0
Two given Boolean expressions are said to be equivalent if one of them equals ‘1’
only when the other equals ‘1’ and also one equals ‘0’ only when the other equals
‘0’.
Theorems of Boolean
Theorem 10 (Absorption Law or Redundancy Law)
Algebra
Simplifying an Expression
Theorem 1 (Operations with ‘0’ and ‘1’) Theorem 11
Theorem 15
Theorem 16
Theorem 8
16 Functions
Canonical Forms
• Product-of-Sums Form
Three-variable Map
Guidelines of Use
1. Each square containing a ‘1’ must be considered at least once, although it can
be considered as often as desired.
2. The objective should be to account for all the marked squares in the minimum
number of groups.
3. The number of squares in a group must always be a power of 2, i.e. groups can
have 1, 2, 4, 8, 16, squares.
4. Each group should be as large as possible, which means that a square should
not be accounted for by itself if it can be accounted for by a group of two squares;
a group of two squares should not be made if the involved squares can be Quad
included in a group of four squares and so on.
5. Don’t care’ entries can be used in accounting for all of 1-squares to make
optimum groups. They are marked ‘d’ in the corresponding squares. It is,
however, not necessary to account for all ‘don’t care’ entries. Only such entries
that can be used to advantage should be used.
Looping
The expression for an output of a logic circuit can be simplified by properly
combining those squares in the Karnaugh map which contain 1s. The process for
combining these 1s is called looping. The principle of simplification using loops is
based from the Theorem 8 as discussed in the earlier sections.
Pairs
Octets 5.Loop any quad that contains one or more 1s that have not already been looped,
making sure to use the minimum number of loops.
6.Loop any pair that contains one or two 1s that has not already been looped.
7.Form the sum-of-products or product- of-sums generated by the loops. The
resulting logic expression will be the simplest sum-of-products or products-of-
sums form.
Simplification Process
1. Construct the minterm or maxterm Karnaugh map.
2. Examine the map for adjacent 1s and loop those 1s which are not adjacent to
any other 1s. These are called isolated 1s.
3. Next, look for those 1s which are adjacent to only one other 1. Loop any pair
containing such a 1.
4. Loop any octet even if it contains one or more 1s that have not already been
looped, making sure to use the minimum number of loops.
Don’t Care Condition
Some logic circuits can be designed so that there are certain input conditions for
which there are no specified output levels, usually because these input conditions
will never occur. In other words, there will be certain combinations of input levels
where we “don’t care” whether the output is HIGH or LOW.
Example
Design a logic circuit that controls an elevator door in a three-story building. The
circuit in the figure has four inputs namely S, F1 , F2 and F3. The input S is a logic
signal that indicates when the elevator is stopped S = 1 or moving S = 0 . The
inputs F1, F2 and F3 are floor signals that are normally LOW and go HIGH only
when the elevator is positioned at the level of that particular floor. The circuit
output is the O signal which is normally LOW and is to go HIGH when the elevator
door is to be opened.
6-variable K-map
Larger Maps
Quine-McCluskie Tabular Method
The construction of Karnaugh maps for a larger number of variables is a
based on the complementation theorem, which says that
complex and cumbersome exercise, although manageable up to six variables.
X ⋅ Y + X ⋅ Y’ = X and ( X + Y )⋅ (X + Y’) = X
5-variable K-map
where X represents either a variable or a term or an expression and Y is a
variable.
Process
1. The Boolean expression to be simplified is expanded if it is not in
expanded form, or a truth table may be used instead.
2. Different terms in the expression are divided into groups depending upon
the number of 1s they have. True and complemented variables in a sum-
of-products expression mean ‘1’ and ‘0’ respectively. In case of a truth
table, consider those inputs that produce a 1 in the output. The reverse is
true in the case of a product-of-sums expression. The groups are then
arranged, beginning with the least number of 1s in its included term (in
case of truth table the input). Terms within the same group are arranged
in ascending order of the decimal numbers represented by these terms.
Illustration