Digital-Electronics Lecture3 DQH
Digital-Electronics Lecture3 DQH
Outline
❑ Boolean Algebra (postulates, theorems)
❑ Logic function and their representations (table,
schematic, SOP, POS, canonical expression)
❑ Minimizing logic functions (Algebra method, Karnaugh
map, Quine-McCluskey method)
Boolean Algebra
Boolean Algebra
❑ Invented by Gorge Boole in 1854.
❑ Boolean algebra is mathematics of logic.
❑ It is one of the most basic tools available to the logic
designer and thus can be effectively used for
simplification of complex logic expressions.
❑ It contains a set of mathematical rules that govern a two-
valued (binary) system represented by zeros and ones.
Boolean Algebra
❑ Boolean implementation :
Boolean Algebra
Boolean Algebra
❑ In Boolean algebra, the letter can only take on either of
two values, that is, 0 and 1.
❑ The values assigned to a variable in Boolean algebra
only have a logic significance.
❑ In Boolean algebra ‘.’ means an AND operation and ‘+’
means an OR operation.
❑ Boolean algebra captures the essential properties of both
logic operations such as AND, OR and NOT and set
operations such as intersection, union and complement.
Boolean Algebra
❑ Boolean Addition :
❑ Boolean Multiplication :
Venn Diagram
Boolean Algebra
❑ Boolean algebra may also be defined to be a set A
supplied with two binary operations of logical AND (^),
logical OR (V), a unary operation of logical NOT (¬) and
two elements, namely logical FALSE (0) and logical TRUE
(1).
Boolean Algebra
❑ Examples :
• Y = A. B (Y is equal to A AND B)
• z = x + y (z is equal to x OR y)
• X = A (x is equal to NOT A)
❑ Note :
• 1 + 1 = 2 (one plus one equal two)
• 1 + 1 = 1 (one or one equal one)
Boolean Algebra
❑ Postulates of Boolean Algebra :
❑ Duality principle :
SOP and POS Boolean Expression
❑ A sum-of-product (SOP) expression can transform into
an equivalent product-of-sum (POS) by :
a. Taking the dual of the given expression
b. Multiplying out different terms to get the sum-of-
products form
c. Removing redundancy
d. Taking a dual to get the equivalent product-of-sums
expression
Expanded Forms of Boolean Expression
❑ The expanded form, sum-of-products or product-of-sums,
is obtained by including all possible combinations of
missing variables.
❑ Consider the SOP expression :
F = A.B + B .C + A.B .C + A.C
❑ The expanded sum-of-product expression :
F = A.B .C + A.B .C + A.B .C + A.B .C + A.B .C + A.B .C
Canonical Form of Boolean Expression
❑ An expanded form of Boolean expression, where each term
contains all Boolean variables in their true or complemented
form, is also known as the canonical form of the expression.
❑ Σ and Π notations are respectively used to represent sum-
of-products and product-of-sums Boolean expressions.
Canonical Form of Boolean Expression
❑ To use Σ notation, the first step is to write the expanded
sum-of-product expression :