SlideShare a Scribd company logo
1. DIGITAL LOGIC GATES
A logic gate is the basic building block of digital circuits. A digital logic gate is an
electronic device that makes logical decision based on the different combination of inputs.
There are three basic logic gates, namely the OR gate,the AND gate and the NOT gate.
Other logic gates that are derived from these basic gates are the NAND gate, the NOR gate,
the EXCLUSIVE-OR (XOR) gate and the EXCLUSIVE-NOR (XNOR) gate.
AND gate:
The AND gate gives a low output (0) if any one of its input is low. A dot (.) is used to
show the AND operation.
OR gate:
The OR gate gives a high output (1) if any one of its input is high. A plus (+) is used to
show the OR operation.
NOT gate:
The NOT gate produces an inverted (complement) version of the input at its output. It
is also known as an inverter.
1
NAND gate:
The NAND gate gives a high output (1) if any one of its inputs is low (0). The
NAND gate operation is inversion of AND gate operation.
NOR gate:
The NOR gate gives a low output (0) if any one of its input is high. The NOR gate
operation is inversion of OR gate operation.
XOR:
Exclusive-OR gate gives a high output (1), if the inputs are at different logic levels i.e
either (0 and 1) or (1 and 0) and its output is low (0) if the inputs are at the same logic levels.
An encircled plus sign (⊕) is used to show the XOR operation.
A⊕B =A’B + AB’
2
XNOR:
The Exclusive-NOR gate gives a high (1) output only if both of its inputs are same and
its output is low (0) if the inputs are at different logic levels, either (0 and 1) or (0 and 1). An
encircled dot sign (⊙) is used to show the XNOR operation.
A ⊙ B =AB + A’B’
2. BOOLEAN ALGEBRA
Boolean Algebra is an algebra that deals with binary variables and logic operations.
2.1. Rules in Boolean Algebra:
Following are the important rules used in Boolean algebra.
▪ Variable used can have only two values. Binary 1 for HIGH and Binary 0 for LOW.
▪ Logical AND operation of the variables is represented by a dot (.) sign between the
variables eg: (A.B.C) or (ABC).
▪ Logical OR operation of the variables is represented by a plus (+) sign between the
variables eg: (A+B+C).
▪ Logical NOT operation of a variable (eg) ‘x’ is represented by a bar ( 𝑥 ) or prime
(x').
2.2. Variables, Literals and constant in Boolean Functions:
Boolean function or Boolean Expression:
a. Boolean function consists of binary variables and logical operations (AND, OR,
NOT) and constants (0 and 1).
b. It has one of the two possible outputs either ‘0’ or ‘1’.
Eg: F(A,B,C) = AB+BC'+CA'
● Binary Variables or Variables:
The variables are designated by alphabets such as A, B, C, X, Y, Z and so on.
● Literals:
Each occurrence of a variable or its complement in the Boolean expression is called
as a literal.
Eg: F( X, Y ,Z) = XY+YZ'+X'Z
There are 6 literals in the above example.
● Constant :
Constant is a value that does not change.
Y = A + 1 or Y = A + 0 (here 0 and 1 are constants)
3
2.3. Duality principle:
Dual of the Boolean expression is obtained by interchanging all AND’s and OR’s and
all 0’s and 1’s. The Boolean expression remains valid.
Eg: A+A' = 1
After applying duality principle,
A.A' = 0
2.4. Theorems and postulates of Boolean algebra
The theorems and postulates of Boolean algebra can be used to simplify the
Boolean expression by reducing the number of literals.
Some of the important Boolean postulates (Basic Assumptions) are
1. Identity: x + 0 = x
x . 1= x
2. Distributive: x . (y+ z) = (x . y) + (x . z)
x + (y . z) = (x + y) . (x + z)
3. Commutative: (x . y) = (y . x)
x + y = y + x
4. Complement: x + x' = 1
x . x' = 0
Some of the important Boolean theorems are
Theorem 1: Idempotency: x + x = x
x . x = x
Theorem 2: Annulment: x + 1 = 1
x . 0 = 0
Theorem 3: Involution: (x')' = x
Theorem 4: Associative: (x . y) . z = x . (y . z)
(x + y) + z = x + (y + z)
Theorem 5: Absorption x + x . y = x
x . (x + y) = x
Theorem 6: De-Morgan theorem:
(𝐴 + 𝐵) = 𝐴 . 𝐵
(𝐴 . 𝐵) = 𝐴 + 𝐵
4
2.5. Boolean Functions
Boolean function can be represented in a truth table, which lists all binary combinations
of input variables (2n , where n is the number of variables) and their corresponding output
values. Consider the following Boolean function: F (A,B,C) = A+ B'C
Truth table: Implementation using logic circuit:
Inputs Output
A
B C F
0 0 0 0
0 0 1 0
0 1 0 0
0 1 1 1
1 0 0 1
1 0 1 0
1 1 0 0
1 1 1 1
Other examples of implementation of Boolean function using logic circuit:
F1 = AB + CD + E F2 = W'Z + WZ'(X+Y')
2.6. Minimization of Boolean Functions
using Boolean theorems
Examples:
1. x(x' + y)
x(x' + y) = xx' + xy
= 0 + xy
= xy
2. (x + y)(x + y')
(x + y)(x + y') = x + xy + xy' + yy'
= x(1 + y + y') [i.e., 1+x=1]
= x
3. (x + y)(x' + z)(y + z)
= (x+y)(z+x'y) [i.e., (x+y).(y+z) = y+(x.z)]
= xz+xx'y+yz+yx'y [i.e., x.x'=0 & y.y=y]
= xz+0+yz+x'y
= xz+ x'y+yz
5
Examples:
Minimization of Boolean function using demorgan’s theorem
1. (A + B + C) ' = A' .(B + C) ' by DeMorgan’s theorem
= A' . (B' . C') by DeMorgan’s theorem
= A'B'C'
2. (A. B .C) ' = A' + (B . C) ' by DeMorgan’s theorem
= A'+ (B'+C') by DeMorgan’s theorem
= A'+B' +C'
2.7. Complement ofa Boolean Function:
Examples:
1. Find complements using De-Morgans theorem: F1 = x'yz'+ x'y'z ; F2 = x(y'z'+ yz).
F1' = (x'yz' + x'y'z) ' = (x'yz')' . (x'y'z)'
= (x + y' + z) . (x + y + z')
F2' = [x(y'z' + yz)] ' = x' + (y'z' + yz) ' = x' + (y'z') ' (yz) '
= x' + (y + z)(y' + z')
= x' +y y'+ yz' + y'z +z z' [i.e., y . y'=0]
= x' + yz' + y'z
2. Find the complement of the functions F1 and F2 by applying duality principle and
complementing each literal.
F1 = x'yz' + x'y'z.
The duality of F1 = (x' + y + z')(x' + y' + z).
Complement each literal F1 = (x + y' + z)(x + y + z')
F1' = (x + y' + z)(x + y + z')
F2 = x(y'z' + yz)
The duality of F2 = x + (y'+ z')(y + z).
Complement each literal F2 = x'+ (y + z)(y' + z')
F2' = x'+ (y + z)(y' + z')
3. CANONICAL AND STANDARD FORMS
There are two ways to express a Boolean expression
1. Standard form
2. Canonical form
There are two types of standard forms. They are
● Sum of products (SOP)
● Products of sums (POS)
6
3.1. Sum of products:
A Sum of products (SOP) expressions will appear as two or more AND terms ORed
together.
3.2. Product of sums:
Product of Sums (POS) expressions will appear as two or more OR terms ANDed
together.
3.3. CANONICAL FORM:
Boolean functions expressed as a Sum of Minterms (or) Product of Maxterms are
said to be in canonical form.
All the terms in the given expression should be present in either minterm or maxterm
with each variable in either primed (complemented) or unprimed (True) form.
Example: F(A,B,C) = ABC+AB'C+A'BC'
In the above example, A,B,C are variables. All variables are present in each term.
3.3.1. MINTERM (Standard Products):
Minterm are called standard products because they are the logical ‘AND’ of a set of
variables.
The pr
oduct t
er
m cont
ains all ‘n’ var
iables of t
he funct
ion in
eit
her pr
im
ed (com
plem
ent
) or unpr
im
ed (nor
m
al) for
m
. Each
m
int
er
m is obt
ained by an AND oper
at
ion of t
he var
iables in t
heir
primed or unprimed form. It is denoted by a symbol (∑)
If the bit is 0, the variable is primed. If the bit is 1, the variable is unprimed.
7
Minterms for 3 variables is shown in the table:
For example:
Inputs Output
X Y Z F
0 0 0 0
0 0 1 0
0 1 0 0
0 1 1 1
1 0 0 1
1 0 1 0
1 1 0 0
1 1 1 1
F(X,Y,Z) = XYZ+X'YZ+XY'Z' = ∑ (7,3,4)
= ∑ (3,4,7)
8
3.3.2. MAXTERM (Standard Sums):
Maxterms are called standard sums because they are the logical ‘OR’ of a set of variables.
The sum term containing all n variables of the function in either primed (complemented)
or unprimed (Normal) form. Each maxterm is obtained by an OR operation of the variables in
their primed or unprimed form. It is denoted by a symbol (П).
If the bit is 1 the variable is primed. If the bit is 0 the variable is unprimed.
Maxterm for 3 variables as shown in below table:
For example:
Inputs Output
X Y Z F
0 0 0 1
0 0 1 1
0 1 0 0
0 1 1 1
1 0 0 0
1 0 1 1
1 1 0 1
1 1 1 1
F(X,Y,Z)= (X+Y'+Z).(X'+Y+Z) = П( 2, 4)
9
Problems:
1. Express the function F(X,Y,Z)= X'Y'Z'+X'Y'Z+XYZ' in sum of minterms
= 000+001+110
=m0+m1+m6
Answer =∑ (0,1,6)
2. Express the function F(A,B,C,D) =(A+B+C+D').(A'+B+C+D').(A'+B'+C'+D) in
product of maxterm
= (0+0+0+1).(1+0+0+1).(1+1+1+0)
=M1.M9.M14
Answer=П(1,9,14)
4. CONVERSIONS – SOP, POS & CANONICAL FORM
a) CONVERSION BETWEEN CANONICAL FORMS:
Problems:
Convert the following sum of minterms to the product of maxterm.
F(X,Y,Z) =∑(1,3,7)
Answer = П(0,2,4,5,6)
Convert the following product of maxterm to the sum of minterms form.
F(X,Y,Z) =П(2,5,7)
Answer= ∑(0,1,3,4,6)
b) SOP TO CANONICAL FORM:
Procedure:
Step 1: Check whether the given expression contains all the variables.
Step 2: If there is a missing of variables in any minterm then “AND” the
corresponding minterm with expression (x+x'), where x be the missing
variable.
Step 3: Expand the terms by applying distributive law and reorder the literals
in the product terms.
Step 4: If two minterms are identical, eliminate one of the minterms.
Problems:
1. Express the Boolean function F (A,B,C) = A + B'C as a sum of minterms
Step 1: B, C variables is missed in 1st term and A variable is missed in 2nd term
Step 2: Missing variables are ‘AND’ operation with the corresponding minterms
= A(B+B')(C + C') + B'C(A+A')
Step 3:Expand the expression
= ABC + ABC' + AB'C + AB'C' + A'B'C+ AB'C
Step 4:Eliminate one of the repeated terms
= ABC + ABC' + AB'C + AB'C' + A'B'C+ AB'C
= ABC + ABC' + AB'C + AB'C' + A'B'C [i.e., x+x=x]
= m1 + m4 + m5 + m6 + m7
Answer: F(A, B, C) = ∑(1, 4, 5, 6, 7)
10
2. Express the Boolean function F (X,Y,Z) = X'Y+YZ'+XZ' as a sum of
minterms
= X'Y(Z+Z')+YZ'(X+X')+XZ'(Y+Y') [by Step 2]
=X'YZ+X'YZ'+XYZ'+X'YZ'+XYZ'+XY'Z' [by Step 3]
= X'YZ+X'YZ'+XYZ' +XY'Z' [by Step 4]
=m3+m2+m6+m4
Answer: F(X,Y,Z)=∑(2,3,4,6)
c) POS TO CANONICAL FORM:
Procedure:
Step 1: Check whether the given expression contains all the variables.
Step 2: If there is missing of variables in any maxterm then “OR” the
corresponding maxterm with expression (x.x'), where x be the missing variable
Step 3: Expand the terms by applying distributive law and reorder the literals in
the sum terms.
Step 4: If two maxterms are identical, eliminate one of the maxterms.
Problems:
1. Express the Boolean function F (A,B,C) = (A+B') .( B+C').(A'+C) as a
product of maxterms
Step 1: C, variable is missed in 1st term and A, variable is missed in 2nd
term and B variable is missed in 3rd term.
Step 2: Missing variables are ‘OR’ operation with the corresponding
minterms
= (A+B' + (C.C')). (B+C' + (A.A')). ( A' +C +(B.B'))
Step 3: Expand the expression
= (A+B'+C). (A+B'+C'). (A+B+C').(A'+B+C').(A'+B+C).(A'+B'+C)
Answer: F(A, B, C) = П(1, 2, 3,4,5, 6)
2. Express the Boolean function F (X,Y,Z) = (X+Z') .( Y'+Z) as a product of
maxterms
=(X+Z'+(Y.Y')).(Y'+Z+(X.X')) [ by step 2]
=(X+Y+Z').(X+Y'+Z').(X+Y'+Z).(X'+Y'+Z) [ by step 3]
Answer: F(X,Y,Z) = П(1,2, 3, 6)
Limitations of Boolean algebra:
1. To reduce the Boolean expression it is necessary to have the knowledge of all the
Boolean laws, rules and theorems.
2. It lacks specific rules to predict each succeeding step in the minimization process.

More Related Content

PPTX
Boolean algebra
PPT
Boolean Algebra
PPTX
SOP POS, Minterm and Maxterm
PPTX
Subtractor (1)
PPTX
Adder ppt
PPTX
Design half ,full Adder and Subtractor
PPTX
Multiplexer and DeMultiplexer
PPSX
Boolean algebra simplification and combination circuits
Boolean algebra
Boolean Algebra
SOP POS, Minterm and Maxterm
Subtractor (1)
Adder ppt
Design half ,full Adder and Subtractor
Multiplexer and DeMultiplexer
Boolean algebra simplification and combination circuits

What's hot (20)

PPT
decoder and encoder
PPTX
Boolean Function SOP & POS
PPT
boolean algebra and logic simplification
PPT
08 logic simplification
PPTX
Coordinate system
PPTX
K - Map
PPTX
BOOLEAN ALGEBRA AND LOGIC GATE
PDF
Subtractor
PPTX
DLD Lecture No 18 Analysis and Design of Combinational Circuit.pptx
PPTX
Amplitude modulation
PDF
Magnitude comparator
PPTX
sequential circuits
PPT
BOOLEAN ALGEBRA
PPTX
UNIT - II.pptx
PPTX
BOOLEAN ALGEBRA & LOGIC GATE
PPTX
Half & Full Adder
PDF
FYBSC IT Digital Electronics Unit II Chapter II Minterm, Maxterm and Karnaugh...
PPT
multiplexers and demultiplexers
PDF
Chapter 07 Digital Alrithmetic and Arithmetic Circuits
PPTX
Combinational circuit
decoder and encoder
Boolean Function SOP & POS
boolean algebra and logic simplification
08 logic simplification
Coordinate system
K - Map
BOOLEAN ALGEBRA AND LOGIC GATE
Subtractor
DLD Lecture No 18 Analysis and Design of Combinational Circuit.pptx
Amplitude modulation
Magnitude comparator
sequential circuits
BOOLEAN ALGEBRA
UNIT - II.pptx
BOOLEAN ALGEBRA & LOGIC GATE
Half & Full Adder
FYBSC IT Digital Electronics Unit II Chapter II Minterm, Maxterm and Karnaugh...
multiplexers and demultiplexers
Chapter 07 Digital Alrithmetic and Arithmetic Circuits
Combinational circuit
Ad

Similar to 18 pc09 1.2_ digital logic gates _ boolean algebra_basic theorems (20)

PPT
13 Boolean Algebra
PPT
Boolean algebra
PDF
1Boolean Alegebra 3booleanalgebraold-160325120651.pdf
PPT
Boolean algebra And Logic Gates
PPTX
Boolean algebra
PPT
Boolean Algebra and Logic gates ( Chapter 2)
PPTX
WINSEM2024-25_ISWE201L_TH_VL2024250503341_2024-12-18_Reference-Material-I.pptx
PDF
Chapter 2.pdf
PPT
2-Boolean-Algebra.ppt logic and computer design fundamental
PPT
5. Combinational Circuits_P1 lecturee of dld
PPT
Boolean_Algebra and digital circuits .ppt
PDF
Boolean Algebra Boolean Algebra and Logi
PDF
DLD Chapter-2.pdf
PPT
boolean_algebra.ppt of all of us and the family will not even have to worry
PDF
Chapter 4 logic design
PPTX
Chapter 2.pptx
PPT
102_2_digitalSystem_Chap_2_part_1.ppt
PPTX
Boolean expression org.
PPTX
Chapter2 (1).pptx
PDF
DM2020 boolean algebra
13 Boolean Algebra
Boolean algebra
1Boolean Alegebra 3booleanalgebraold-160325120651.pdf
Boolean algebra And Logic Gates
Boolean algebra
Boolean Algebra and Logic gates ( Chapter 2)
WINSEM2024-25_ISWE201L_TH_VL2024250503341_2024-12-18_Reference-Material-I.pptx
Chapter 2.pdf
2-Boolean-Algebra.ppt logic and computer design fundamental
5. Combinational Circuits_P1 lecturee of dld
Boolean_Algebra and digital circuits .ppt
Boolean Algebra Boolean Algebra and Logi
DLD Chapter-2.pdf
boolean_algebra.ppt of all of us and the family will not even have to worry
Chapter 4 logic design
Chapter 2.pptx
102_2_digitalSystem_Chap_2_part_1.ppt
Boolean expression org.
Chapter2 (1).pptx
DM2020 boolean algebra
Ad

More from arunachalamr16 (19)

PPT
Pipeline r014
PPT
Registers r011
PDF
Boolean algebra r009
PPT
Boolean variables r010
PPT
Central processing unit and stack organization r013
PPT
Combinational circuits r011
PPT
Counters r012
PPT
Flipflop r012
PPT
Code conversion r006
PPT
Binary coded decimal r004
PPT
Digital fundamendals r001a
PDF
Universal gates r008
PPT
Number systems r002
PPT
Logic gates r007
PPT
Error detection and correction codes r006
PPTX
Codes r005
PPT
1sand2scomplement r004
PPT
1’s and 2’s complements
PPTX
Pill camera
Pipeline r014
Registers r011
Boolean algebra r009
Boolean variables r010
Central processing unit and stack organization r013
Combinational circuits r011
Counters r012
Flipflop r012
Code conversion r006
Binary coded decimal r004
Digital fundamendals r001a
Universal gates r008
Number systems r002
Logic gates r007
Error detection and correction codes r006
Codes r005
1sand2scomplement r004
1’s and 2’s complements
Pill camera

Recently uploaded (20)

PPTX
Virtual and Augmented Reality in Current Scenario
PPTX
History, Philosophy and sociology of education (1).pptx
PPTX
TNA_Presentation-1-Final(SAVE)) (1).pptx
PDF
A GUIDE TO GENETICS FOR UNDERGRADUATE MEDICAL STUDENTS
DOC
Soft-furnishing-By-Architect-A.F.M.Mohiuddin-Akhand.doc
PPTX
B.Sc. DS Unit 2 Software Engineering.pptx
PDF
Computing-Curriculum for Schools in Ghana
PPTX
202450812 BayCHI UCSC-SV 20250812 v17.pptx
PDF
Vision Prelims GS PYQ Analysis 2011-2022 www.upscpdf.com.pdf
PDF
Chinmaya Tiranga quiz Grand Finale.pdf
PDF
Empowerment Technology for Senior High School Guide
PDF
LDMMIA Reiki Yoga Finals Review Spring Summer
PDF
Τίμαιος είναι φιλοσοφικός διάλογος του Πλάτωνα
PPTX
CHAPTER IV. MAN AND BIOSPHERE AND ITS TOTALITY.pptx
PPTX
Share_Module_2_Power_conflict_and_negotiation.pptx
PDF
Trump Administration's workforce development strategy
PDF
AI-driven educational solutions for real-life interventions in the Philippine...
PDF
Hazard Identification & Risk Assessment .pdf
PDF
Indian roads congress 037 - 2012 Flexible pavement
PDF
BP 704 T. NOVEL DRUG DELIVERY SYSTEMS (UNIT 1)
Virtual and Augmented Reality in Current Scenario
History, Philosophy and sociology of education (1).pptx
TNA_Presentation-1-Final(SAVE)) (1).pptx
A GUIDE TO GENETICS FOR UNDERGRADUATE MEDICAL STUDENTS
Soft-furnishing-By-Architect-A.F.M.Mohiuddin-Akhand.doc
B.Sc. DS Unit 2 Software Engineering.pptx
Computing-Curriculum for Schools in Ghana
202450812 BayCHI UCSC-SV 20250812 v17.pptx
Vision Prelims GS PYQ Analysis 2011-2022 www.upscpdf.com.pdf
Chinmaya Tiranga quiz Grand Finale.pdf
Empowerment Technology for Senior High School Guide
LDMMIA Reiki Yoga Finals Review Spring Summer
Τίμαιος είναι φιλοσοφικός διάλογος του Πλάτωνα
CHAPTER IV. MAN AND BIOSPHERE AND ITS TOTALITY.pptx
Share_Module_2_Power_conflict_and_negotiation.pptx
Trump Administration's workforce development strategy
AI-driven educational solutions for real-life interventions in the Philippine...
Hazard Identification & Risk Assessment .pdf
Indian roads congress 037 - 2012 Flexible pavement
BP 704 T. NOVEL DRUG DELIVERY SYSTEMS (UNIT 1)

18 pc09 1.2_ digital logic gates _ boolean algebra_basic theorems

  • 1. 1. DIGITAL LOGIC GATES A logic gate is the basic building block of digital circuits. A digital logic gate is an electronic device that makes logical decision based on the different combination of inputs. There are three basic logic gates, namely the OR gate,the AND gate and the NOT gate. Other logic gates that are derived from these basic gates are the NAND gate, the NOR gate, the EXCLUSIVE-OR (XOR) gate and the EXCLUSIVE-NOR (XNOR) gate. AND gate: The AND gate gives a low output (0) if any one of its input is low. A dot (.) is used to show the AND operation. OR gate: The OR gate gives a high output (1) if any one of its input is high. A plus (+) is used to show the OR operation. NOT gate: The NOT gate produces an inverted (complement) version of the input at its output. It is also known as an inverter.
  • 2. 1 NAND gate: The NAND gate gives a high output (1) if any one of its inputs is low (0). The NAND gate operation is inversion of AND gate operation. NOR gate: The NOR gate gives a low output (0) if any one of its input is high. The NOR gate operation is inversion of OR gate operation. XOR: Exclusive-OR gate gives a high output (1), if the inputs are at different logic levels i.e either (0 and 1) or (1 and 0) and its output is low (0) if the inputs are at the same logic levels. An encircled plus sign (⊕) is used to show the XOR operation. A⊕B =A’B + AB’
  • 3. 2 XNOR: The Exclusive-NOR gate gives a high (1) output only if both of its inputs are same and its output is low (0) if the inputs are at different logic levels, either (0 and 1) or (0 and 1). An encircled dot sign (⊙) is used to show the XNOR operation. A ⊙ B =AB + A’B’ 2. BOOLEAN ALGEBRA Boolean Algebra is an algebra that deals with binary variables and logic operations. 2.1. Rules in Boolean Algebra: Following are the important rules used in Boolean algebra. ▪ Variable used can have only two values. Binary 1 for HIGH and Binary 0 for LOW. ▪ Logical AND operation of the variables is represented by a dot (.) sign between the variables eg: (A.B.C) or (ABC). ▪ Logical OR operation of the variables is represented by a plus (+) sign between the variables eg: (A+B+C). ▪ Logical NOT operation of a variable (eg) ‘x’ is represented by a bar ( 𝑥 ) or prime (x'). 2.2. Variables, Literals and constant in Boolean Functions: Boolean function or Boolean Expression: a. Boolean function consists of binary variables and logical operations (AND, OR, NOT) and constants (0 and 1). b. It has one of the two possible outputs either ‘0’ or ‘1’. Eg: F(A,B,C) = AB+BC'+CA' ● Binary Variables or Variables: The variables are designated by alphabets such as A, B, C, X, Y, Z and so on. ● Literals: Each occurrence of a variable or its complement in the Boolean expression is called as a literal. Eg: F( X, Y ,Z) = XY+YZ'+X'Z There are 6 literals in the above example. ● Constant : Constant is a value that does not change. Y = A + 1 or Y = A + 0 (here 0 and 1 are constants)
  • 4. 3 2.3. Duality principle: Dual of the Boolean expression is obtained by interchanging all AND’s and OR’s and all 0’s and 1’s. The Boolean expression remains valid. Eg: A+A' = 1 After applying duality principle, A.A' = 0 2.4. Theorems and postulates of Boolean algebra The theorems and postulates of Boolean algebra can be used to simplify the Boolean expression by reducing the number of literals. Some of the important Boolean postulates (Basic Assumptions) are 1. Identity: x + 0 = x x . 1= x 2. Distributive: x . (y+ z) = (x . y) + (x . z) x + (y . z) = (x + y) . (x + z) 3. Commutative: (x . y) = (y . x) x + y = y + x 4. Complement: x + x' = 1 x . x' = 0 Some of the important Boolean theorems are Theorem 1: Idempotency: x + x = x x . x = x Theorem 2: Annulment: x + 1 = 1 x . 0 = 0 Theorem 3: Involution: (x')' = x Theorem 4: Associative: (x . y) . z = x . (y . z) (x + y) + z = x + (y + z) Theorem 5: Absorption x + x . y = x x . (x + y) = x Theorem 6: De-Morgan theorem: (𝐴 + 𝐵) = 𝐴 . 𝐵 (𝐴 . 𝐵) = 𝐴 + 𝐵
  • 5. 4 2.5. Boolean Functions Boolean function can be represented in a truth table, which lists all binary combinations of input variables (2n , where n is the number of variables) and their corresponding output values. Consider the following Boolean function: F (A,B,C) = A+ B'C Truth table: Implementation using logic circuit: Inputs Output A B C F 0 0 0 0 0 0 1 0 0 1 0 0 0 1 1 1 1 0 0 1 1 0 1 0 1 1 0 0 1 1 1 1 Other examples of implementation of Boolean function using logic circuit: F1 = AB + CD + E F2 = W'Z + WZ'(X+Y') 2.6. Minimization of Boolean Functions using Boolean theorems Examples: 1. x(x' + y) x(x' + y) = xx' + xy = 0 + xy = xy 2. (x + y)(x + y') (x + y)(x + y') = x + xy + xy' + yy' = x(1 + y + y') [i.e., 1+x=1] = x 3. (x + y)(x' + z)(y + z) = (x+y)(z+x'y) [i.e., (x+y).(y+z) = y+(x.z)] = xz+xx'y+yz+yx'y [i.e., x.x'=0 & y.y=y] = xz+0+yz+x'y = xz+ x'y+yz
  • 6. 5 Examples: Minimization of Boolean function using demorgan’s theorem 1. (A + B + C) ' = A' .(B + C) ' by DeMorgan’s theorem = A' . (B' . C') by DeMorgan’s theorem = A'B'C' 2. (A. B .C) ' = A' + (B . C) ' by DeMorgan’s theorem = A'+ (B'+C') by DeMorgan’s theorem = A'+B' +C' 2.7. Complement ofa Boolean Function: Examples: 1. Find complements using De-Morgans theorem: F1 = x'yz'+ x'y'z ; F2 = x(y'z'+ yz). F1' = (x'yz' + x'y'z) ' = (x'yz')' . (x'y'z)' = (x + y' + z) . (x + y + z') F2' = [x(y'z' + yz)] ' = x' + (y'z' + yz) ' = x' + (y'z') ' (yz) ' = x' + (y + z)(y' + z') = x' +y y'+ yz' + y'z +z z' [i.e., y . y'=0] = x' + yz' + y'z 2. Find the complement of the functions F1 and F2 by applying duality principle and complementing each literal. F1 = x'yz' + x'y'z. The duality of F1 = (x' + y + z')(x' + y' + z). Complement each literal F1 = (x + y' + z)(x + y + z') F1' = (x + y' + z)(x + y + z') F2 = x(y'z' + yz) The duality of F2 = x + (y'+ z')(y + z). Complement each literal F2 = x'+ (y + z)(y' + z') F2' = x'+ (y + z)(y' + z') 3. CANONICAL AND STANDARD FORMS There are two ways to express a Boolean expression 1. Standard form 2. Canonical form There are two types of standard forms. They are ● Sum of products (SOP) ● Products of sums (POS)
  • 7. 6 3.1. Sum of products: A Sum of products (SOP) expressions will appear as two or more AND terms ORed together. 3.2. Product of sums: Product of Sums (POS) expressions will appear as two or more OR terms ANDed together. 3.3. CANONICAL FORM: Boolean functions expressed as a Sum of Minterms (or) Product of Maxterms are said to be in canonical form. All the terms in the given expression should be present in either minterm or maxterm with each variable in either primed (complemented) or unprimed (True) form. Example: F(A,B,C) = ABC+AB'C+A'BC' In the above example, A,B,C are variables. All variables are present in each term. 3.3.1. MINTERM (Standard Products): Minterm are called standard products because they are the logical ‘AND’ of a set of variables. The pr oduct t er m cont ains all ‘n’ var iables of t he funct ion in eit her pr im ed (com plem ent ) or unpr im ed (nor m al) for m . Each m int er m is obt ained by an AND oper at ion of t he var iables in t heir primed or unprimed form. It is denoted by a symbol (∑) If the bit is 0, the variable is primed. If the bit is 1, the variable is unprimed.
  • 8. 7 Minterms for 3 variables is shown in the table: For example: Inputs Output X Y Z F 0 0 0 0 0 0 1 0 0 1 0 0 0 1 1 1 1 0 0 1 1 0 1 0 1 1 0 0 1 1 1 1 F(X,Y,Z) = XYZ+X'YZ+XY'Z' = ∑ (7,3,4) = ∑ (3,4,7)
  • 9. 8 3.3.2. MAXTERM (Standard Sums): Maxterms are called standard sums because they are the logical ‘OR’ of a set of variables. The sum term containing all n variables of the function in either primed (complemented) or unprimed (Normal) form. Each maxterm is obtained by an OR operation of the variables in their primed or unprimed form. It is denoted by a symbol (П). If the bit is 1 the variable is primed. If the bit is 0 the variable is unprimed. Maxterm for 3 variables as shown in below table: For example: Inputs Output X Y Z F 0 0 0 1 0 0 1 1 0 1 0 0 0 1 1 1 1 0 0 0 1 0 1 1 1 1 0 1 1 1 1 1 F(X,Y,Z)= (X+Y'+Z).(X'+Y+Z) = П( 2, 4)
  • 10. 9 Problems: 1. Express the function F(X,Y,Z)= X'Y'Z'+X'Y'Z+XYZ' in sum of minterms = 000+001+110 =m0+m1+m6 Answer =∑ (0,1,6) 2. Express the function F(A,B,C,D) =(A+B+C+D').(A'+B+C+D').(A'+B'+C'+D) in product of maxterm = (0+0+0+1).(1+0+0+1).(1+1+1+0) =M1.M9.M14 Answer=П(1,9,14) 4. CONVERSIONS – SOP, POS & CANONICAL FORM a) CONVERSION BETWEEN CANONICAL FORMS: Problems: Convert the following sum of minterms to the product of maxterm. F(X,Y,Z) =∑(1,3,7) Answer = П(0,2,4,5,6) Convert the following product of maxterm to the sum of minterms form. F(X,Y,Z) =П(2,5,7) Answer= ∑(0,1,3,4,6) b) SOP TO CANONICAL FORM: Procedure: Step 1: Check whether the given expression contains all the variables. Step 2: If there is a missing of variables in any minterm then “AND” the corresponding minterm with expression (x+x'), where x be the missing variable. Step 3: Expand the terms by applying distributive law and reorder the literals in the product terms. Step 4: If two minterms are identical, eliminate one of the minterms. Problems: 1. Express the Boolean function F (A,B,C) = A + B'C as a sum of minterms Step 1: B, C variables is missed in 1st term and A variable is missed in 2nd term Step 2: Missing variables are ‘AND’ operation with the corresponding minterms = A(B+B')(C + C') + B'C(A+A') Step 3:Expand the expression = ABC + ABC' + AB'C + AB'C' + A'B'C+ AB'C Step 4:Eliminate one of the repeated terms = ABC + ABC' + AB'C + AB'C' + A'B'C+ AB'C = ABC + ABC' + AB'C + AB'C' + A'B'C [i.e., x+x=x] = m1 + m4 + m5 + m6 + m7 Answer: F(A, B, C) = ∑(1, 4, 5, 6, 7)
  • 11. 10 2. Express the Boolean function F (X,Y,Z) = X'Y+YZ'+XZ' as a sum of minterms = X'Y(Z+Z')+YZ'(X+X')+XZ'(Y+Y') [by Step 2] =X'YZ+X'YZ'+XYZ'+X'YZ'+XYZ'+XY'Z' [by Step 3] = X'YZ+X'YZ'+XYZ' +XY'Z' [by Step 4] =m3+m2+m6+m4 Answer: F(X,Y,Z)=∑(2,3,4,6) c) POS TO CANONICAL FORM: Procedure: Step 1: Check whether the given expression contains all the variables. Step 2: If there is missing of variables in any maxterm then “OR” the corresponding maxterm with expression (x.x'), where x be the missing variable Step 3: Expand the terms by applying distributive law and reorder the literals in the sum terms. Step 4: If two maxterms are identical, eliminate one of the maxterms. Problems: 1. Express the Boolean function F (A,B,C) = (A+B') .( B+C').(A'+C) as a product of maxterms Step 1: C, variable is missed in 1st term and A, variable is missed in 2nd term and B variable is missed in 3rd term. Step 2: Missing variables are ‘OR’ operation with the corresponding minterms = (A+B' + (C.C')). (B+C' + (A.A')). ( A' +C +(B.B')) Step 3: Expand the expression = (A+B'+C). (A+B'+C'). (A+B+C').(A'+B+C').(A'+B+C).(A'+B'+C) Answer: F(A, B, C) = П(1, 2, 3,4,5, 6) 2. Express the Boolean function F (X,Y,Z) = (X+Z') .( Y'+Z) as a product of maxterms =(X+Z'+(Y.Y')).(Y'+Z+(X.X')) [ by step 2] =(X+Y+Z').(X+Y'+Z').(X+Y'+Z).(X'+Y'+Z) [ by step 3] Answer: F(X,Y,Z) = П(1,2, 3, 6) Limitations of Boolean algebra: 1. To reduce the Boolean expression it is necessary to have the knowledge of all the Boolean laws, rules and theorems. 2. It lacks specific rules to predict each succeeding step in the minimization process.