Unit 1 (STLD) Lecture5
Unit 1 (STLD) Lecture5
AND LOGIC
DESIGN
UNIT-I
BOOLEAN ALGEBRA
Switching functions
Canonical forms and Standard forms
Simplification of switching functions using
theorems.
Switching Functions
• Switching functions are also called as Boolean Functions
• Boolean expressions are constructed by connecting Boolean
constants and variables with Boolean operators.
• Boolean expressions are also known as Boolean formulae.
• Boolean expressions are used to describe Boolean
functions.
• Example: The Boolean expression (A + B’) C is used to
describe the function f , then the Boolean function written
as
f(A, B, C) = (A + B’) C(or) f
•In the following Boolean function, the variables appeared either
in a complemented or in an uncomplemented form
•Occurrence of variable either in a complemented or in an
uncomplemented form is called a Literal.
•A product term is defined as either a literal or product of
literals.
• The above Boolean function consists of seven literals, they
appear in sum terms.
• A sum term is defined as either literal or sum of literals.
Standard Forms
• Boolean function can be expressed in the standard
form.
• In the standard form, the terms that form the function
may contain one, two, or any number of literals.
• The literals and terms are arranged in one of the two
standard forms:
(1) Sum Of Products form (SOP)
(2) Product Of Sums form (POS)
Sum Of Products (SOP)
• The sum and product are derived from the
symbolic representations of the OR and AND
functions by + and . boolean operators
•
Product term is group of literals that are
ANDed together.
example: A.B.C , X.Y
• Sum term is group of literals that are
Ored together.
example: A + B + C, X +
• Sum Of Products (SOP): It is a boolean expression containing
AND terms, called product terms. Sum(OR) of these product
terms having one or more literals called SOP form
Example: Sum
f(A,B,C) = A B C + A B’
C’
Product terms
• Each of these sum of products expression consist of two or
more product terms (AND) that are ORed together
• Each product term consists of one or more literals, appear in
either complemented or uncomplemented form
• The sum of products form is also known as disjunctive
normal form
Product Of Sums (POS)
• A product of sums is group of sum terms ANDed
E together.
xample: Product
f(A,B,C) = (A + B) . (B’ +
C) Sum terms
• Product of sums expression consist of two or sum terms (OR)
more that are ANDed together.
• Each sum term consists of one or more literals, appear in
either complemented or an uncomplemented form.
• The product of sums form is also known as conjunctive
normal form
Canonical Forms
• The canonical forms are the special cases of Sum Of
Product (SOP) and Product Of Sum (POS) forms
• These are also known as standard Sum Of
Product(SOP) and standard Product Of Sum
(POS) forms
Standard SOP
• In the SOP form allForm
the individual terms do not involve all
literals.
• Example: AB + ABC’
• If each term in SOP form contains all the literals, then the SOP
form is known as Standard or canonical SOP form.
• Each individual term in standard SOP form is called minterm.
So it also called as minterm canonical form.
• Example: f(A,B,C) = A B’C + A B C + A’ B C’
Each product term consists of all literals in either complemnted or
uncomplemented form
Standard POS form
• If each term in POS form contains all the literals,
then the POS form is known as standard or
canonical POS form.
• Each individual term in the standard POS form is
called maxterm. So it is also known as
maxterm canonical form
Example: f(A,B,C) = (A + B+ C) . (A + B’ +
C)
Each sum term consists of all literals in either complemnted or un
Converting expressions in to standard SOP or POS form
• Steps to convert SOP to Standard SOP form:
– Step1: Find the missing literal in each product term.
– Step2: AND each product term having missing literal with
term formed by ORing the literal and its complement.
– Step3: Expand the terms by applying distributive law
and reorder the literals in the product terms.
– Step4: Reduce the expression by omitting repeated
product terms, if any. Because A + A = A.
Example
• Convert the given expression in to standard SOP form
f(A,B,C) = AC + AB + BC
• Solution:
Step1: Find the missing literal in each product term.
f(A,B,C) = AC + AB + BC
Literal B is missing Literal A is missing
Literal C is missing
• Step2: AND product term with (missing literal + its complement).
Original product terms
f(A,B,C) = AC . (B+B’) + AB . (C+C’) + BC . (A+A’)
Missing Literals and their complements
• Step3: Expand the terms and reorder literals
Expand: f(A,B,C) = ACB +ACB’ + ABC + ABC’ + BCA +
BCA’ Reorder: f(A,B,C) = ABC + AB’C + ABC + ABC’ + ABC
+ A’BC
• Step4:Omit repeated product terms
f(A,B,C) = ABC + AB’C + ABC + ABC’ +ABC +
A’BC
= (A + B + C) ( A + B’ + C) (A + B + C’) (A + B’
+ C’) ( A+ B+ C)
• Step4: Omit repeated sum terms