SlideShare a Scribd company logo
1 of 39
Digital Logic Design
IT101LGD
Prepared By
Asst. Lect. Mohammed Salim
Department of IT
1 LFU 2014
Contents
LFU 20142
1- Rules of Boolean algebra.
2- Demorgan's theorems.
3- Sum of Product (SOP).
4- Product of Sum (POS).
Introduction
LFU 20143
 Logic Simplification :
A simplified Boolean expression which uses the
fewest gates possible to implement a given
expression.
 Simplification methods:
 Boolean algebra(algebraic method)
 Karnaugh map(map method))
 Quine-McCluskey(tabular method)
Introduction
LFU 20144
Boolean Algebra: Mathematical tool to express
and analyze digital (logic) circuits
Laws of Boolean Algebra :
Rules of Boolean Algebra
LFU 20145
Rules of Boolean Algebra
LFU 20146
Rules of Boolean Algebra
LFU 20147
Basic Functions
Rules of Boolean Algebra
LFU 20148
 Boolean Addition
 Logical OR operation
Ex : Determine the values of A, B, C, and D that make the sum ‘0’
A+B’+C+D’
So all literals must be ‘0’ for the sum term to be ‘0’
A+B’+C+D’=0+1’+0+1’=0 A=0, B=1, C=0, and D=1
 Boolean Multiplication
 Logical AND operation
Ex : Determine the values of A, B, C, and D for AB’CD’=1
So all literals must be ‘1’ for the product term to be ‘1’
AB’CD’=10’10’=1 A=1, B=0, C=1, and D=0
Rules of Boolean Algebra
LFU 20149
Laws of Boolean Algebra
LFU 201410
 Commutative Law
the order of literals does not matter
 A + B = B + A
 A B = B A
Laws of Boolean Algebra
LFU 201411
 Associative Law
the grouping of literals does not matter
 A + (B + C) = (A + B) + C (=A+B+C)
 A(BC) = (AB)C (=ABC)
Laws of Boolean Algebra
LFU 201412
 Distributive Law
The distributive law is written for three variables as
follows: A(B + C) = AB + AC
Rules of Boolean Algebra
LFU 201413
 Below are the basic rules that are useful in
manipulating and simplifying Boolean expressions.
Rules 1 through 9 will be viewed in terms of their
application to logic gates. Rules 10 through 12 will be
derived in terms of the simpler rules and the laws
previously discussed.
Rules of Boolean Algebra
LFU 201414
 Rule 1: A + 0 = A
 A variable ORed with 0 is always equal to the
variable. If the input variable A is 1, the output
variable X is 1, which is equal to A. If A is 0, the
output is 0, which is also equal to A.
Rules of Boolean Algebra
LFU 201415
 Rule 2: A + 1 = 1
 A variable ORed with 1 is always equal to 1. A 1 on
an input to an OR gate produces a 1 on the output,
regardless of the value of the variable on the other
input.
Rules of Boolean Algebra
LFU 201416
 Rule 3: A . 0 = 0
 A variable ANDed with 0 is always equal to 0. Any
time one input to an AND gate is 0, the output is 0,
regardless of the value of the variable on the other
input.
Rules of Boolean Algebra
LFU 201417
 Rule 4: A . 1 = A
 A variable ANDed with 1 is always equal to the
variable. If A is 0 the output of the AND gate is 0. If A
is 1, the output of the AND gate is 1 because both
inputs are now 1s.
Rules of Boolean Algebra
LFU 201418
 Rule 5: A + A = A
 A variable ORed with itself is always equal to the
variable. If A is 0, then 0+ 0 = 0; and if A is 1, then 1
+ 1 = 1.
Rules of Boolean Algebra
LFU 201419
 Rule 6: A + A = 1
 A variable ORed with its complement is always equal
to 1. If A is 0, then 0 + 0 = 0 + 1 = 1. If A is l, then 1 +
1 = 1+ 0 = 1.
Rules of Boolean Algebra
LFU 201420
 Rule 7 : A . A = A
 A variable ANDed with itself is always equal to the
variable. If A = 0, then 0.0 = 0; and if A = 1. then 1.1
= 1.
Rules of Boolean Algebra
LFU 201421
 Rule 8 : A . A = 0
 A variable ANDed with its complement is always
equal to 0. Either A or A will always be 0: and when a
0 is applied to the input of an AND gate. The output
will be 0 also.
Rules of Boolean Algebra
LFU 201422
 Rule 9 : A = A
 The double complement of a variable is always
equal to the variable. If you start with the variable A
and complement (invert) it once, you get A. If you
then take A and complement (invert) it, you get A ,
which is the original variable.
Rules of Boolean Algebra
LFU 201423
 Rule 10: A + AB = A
 This rule can be proved by applying the distributive law,
rule 2, and rule 4 as follows:
 A + AB = A( 1 + B) Factoring (distributive law)
 = A . l Rule 2: (1 + B) = 1
 = A Rule 4: A . 1 = A
Rules of Boolean Algebra
LFU 201424
Rules of Boolean Algebra
LFU 201425
Demorgan's theorems
LFU 201426
 DeMorgan, a mathematician who knew Boole,
proposed two theorems that are an important part of
Boolean algebra. In practical terms. DeMorgan‘s
theorems provide mathematical verification of the
equivalency of the NAND and negative-OR gates
and the equivalency of the NOR and negative-AND
gates.
Demorgan's theorems
LFU 201427
 The first DeMorgan's theorems is stated as follows:
The complement of two or more ANDed variables is equivalent
to the OR of the complements of the individual variables. The
formula for expressing this theorem for two variables is:
 XY = X + Y
Demorgan's theorems
LFU 201428
 The second DeMorgan's theorem is stated as follows:
The complement of two or more ORed variables is
equivalent to the AND of the complements of the
individual variables, The formula for expressing this
theorem for two variables is
 X + Y = X Y
Demorgan's theorems
LFU 201429
Demorgan's theorems
LFU 201430
Demorgan's theorems
LFU 201431
Demorgan's theorems
LFU 201432
Ex: Apply DeMorgan’s theorems to (XYZ)’ and
(X+Y+Z)’
Sol: (XYZ)’=X’+Y’+Z’ and (X+Y+Z)’=X’Y’Z’
Ex : Apply DeMorgan’s theorems to :
(a) ((A+B+C)D)’ (b) (ABC+DEF)’ (c)
(AB’+C’D+EF)’
Sol:
(a) ((A+B+C)D)’= (A+B+C)’+D’=A’B’C’+D’
(b) (ABC+DEF)’=(ABC)’(DEF)’=(A’+B’+C’)(D’+E’+F’)
(c)
SIMPLIFICATION USING BOOLEAN
ALGEBRA
LFU 201433
 A simplified Boolean expression uses the fewest gates possible to
implement a given expression.
 Example, by using Boolean algebra techniques, simplify this expression:
AB + A(B + C) + B(B + C)
 Solution:
 Step 1: Apply the distributive law to the second and third terms in the
expression, as follows:
AB + AB + AC + BB + BC
 Step 2: Apply rule 7 (BB = B) to the fourth term.
AB + AB + AC + B + BC
 Step 3: Apply rule 5 (AB + AB = AB) to the first two terms.
AB + AC + B + BC
 Step 4: Apply rule 10 (B + BC = B) to the last two terms.
 AB + AC + B
 Step 5: Apply rule 10 (AB + B = B) to the first and third terms.
B+AC
 At this point the expression is simplified as much as possible, as shown in
next page
SIMPLIFICATION USING BOOLEAN ALGEBRA
LFU 201434
Simplification process by using Boolean Algebra
rules
SIMPLIFICATION USING BOOLEAN ALGEBRA
LFU 201435
Ex : Simplify the following Boolean expression
(AB’(C+BD)+A’B’)C
Sol:
(AB’C+AB’BD+A’B’)C=AB’CC+A’B’C=(A+A’)B’C=B
’C
Ex : Simplify the following Boolean expression
A’BC+AB’C’+A’B’C’+AB’C+ABC
Sol: (A+A’)BC+(A+A’)B’C’+AB’C=BC+B’C’+AB’C
=BC+B’(C’+AC)=BC+B’(C’+A)=BC+B’C’+AB’
Ex : Simplify the following Boolean expression
(AB +AC)’+A’B’C
Sol: (AB)’(AC)’+A’B’C=(A’+B’)(A’+C’)+A’B’C=A’+A’B’
+A’C’+B’C+A’B’C =A’(1+B’+C’+B’C)+B’C=A’+B’C’
Standard Form of Boolean Expressions
LFU 201436
 Boolean expression can be converted into one of 2
standard forms:
– The sum‐of‐products (SOP) form
Ex) AB+ABC, ABC+CDE+B’CD’
– The product‐of‐sums (POS) form
Ex) (A+B)(A+B+C), (A+B+C)(C+D+E)(B’+C+D’)
 Standardization makes the evaluation, simplification, and
implementation of Boolean expressions more systematic and
easier
 Product term = a term with the product (Boolean
multiplication) of literals
 Sum term = a term with the sum (Boolean addition) of
literals
The Sum-of-Products (SOP) Form
LFU 201437
The product‐of‐sums (POS) form
LFU 201438
LFU 201439
End of Chapter 4
 Note : Chapter 4 PowerPoint slides are quoted from Internet websites
and a variety of presentations.

More Related Content

What's hot

Lec5 Intro to Computer Engineering by Hsien-Hsin Sean Lee Georgia Tech -- Boo...
Lec5 Intro to Computer Engineering by Hsien-Hsin Sean Lee Georgia Tech -- Boo...Lec5 Intro to Computer Engineering by Hsien-Hsin Sean Lee Georgia Tech -- Boo...
Lec5 Intro to Computer Engineering by Hsien-Hsin Sean Lee Georgia Tech -- Boo...
Hsien-Hsin Sean Lee, Ph.D.
 
Boolean algebra
Boolean algebraBoolean algebra
Boolean algebra
mdaglis
 
Boolean Algebra
Boolean AlgebraBoolean Algebra
Boolean Algebra
gavhays
 

What's hot (20)

Chapter 2: Boolean Algebra and Logic Gates
Chapter 2: Boolean Algebra and Logic GatesChapter 2: Boolean Algebra and Logic Gates
Chapter 2: Boolean Algebra and Logic Gates
 
Logic Equation Simplification
Logic Equation SimplificationLogic Equation Simplification
Logic Equation Simplification
 
Chapter 2 Boolean Algebra (part 2)
Chapter 2 Boolean Algebra (part 2)Chapter 2 Boolean Algebra (part 2)
Chapter 2 Boolean Algebra (part 2)
 
Boolean algebra simplification and combination circuits
Boolean algebra simplification and combination circuitsBoolean algebra simplification and combination circuits
Boolean algebra simplification and combination circuits
 
FYBSC IT Digital Electronics Unit II Chapter I Boolean Algebra and Logic Gates
FYBSC IT Digital Electronics Unit II Chapter I Boolean Algebra and Logic GatesFYBSC IT Digital Electronics Unit II Chapter I Boolean Algebra and Logic Gates
FYBSC IT Digital Electronics Unit II Chapter I Boolean Algebra and Logic Gates
 
Digital systems logicgates-booleanalgebra
Digital systems logicgates-booleanalgebraDigital systems logicgates-booleanalgebra
Digital systems logicgates-booleanalgebra
 
BOOLEAN ALGEBRA AND LOGIC GATE
BOOLEAN ALGEBRA AND LOGIC GATE BOOLEAN ALGEBRA AND LOGIC GATE
BOOLEAN ALGEBRA AND LOGIC GATE
 
All About Boolean Algebra DLD.
All About Boolean Algebra DLD.All About Boolean Algebra DLD.
All About Boolean Algebra DLD.
 
07 boolean algebra
07 boolean algebra07 boolean algebra
07 boolean algebra
 
boolean algebra and logic simplification
boolean algebra and logic simplificationboolean algebra and logic simplification
boolean algebra and logic simplification
 
Lec5 Intro to Computer Engineering by Hsien-Hsin Sean Lee Georgia Tech -- Boo...
Lec5 Intro to Computer Engineering by Hsien-Hsin Sean Lee Georgia Tech -- Boo...Lec5 Intro to Computer Engineering by Hsien-Hsin Sean Lee Georgia Tech -- Boo...
Lec5 Intro to Computer Engineering by Hsien-Hsin Sean Lee Georgia Tech -- Boo...
 
Boolean Algebra DLD
Boolean Algebra DLDBoolean Algebra DLD
Boolean Algebra DLD
 
Boolean algebra
Boolean algebraBoolean algebra
Boolean algebra
 
Boolean Algebra
Boolean AlgebraBoolean Algebra
Boolean Algebra
 
B sc cs i bo-de u-ii logic gates
B sc cs i bo-de u-ii logic gatesB sc cs i bo-de u-ii logic gates
B sc cs i bo-de u-ii logic gates
 
boolean algebra
boolean algebraboolean algebra
boolean algebra
 
Boolean algebra.pptx
Boolean algebra.pptxBoolean algebra.pptx
Boolean algebra.pptx
 
simplification of boolean algebra
simplification of boolean algebrasimplification of boolean algebra
simplification of boolean algebra
 
Boolean algebra
Boolean algebraBoolean algebra
Boolean algebra
 
Boolean algebra and Logic gates
Boolean algebra and Logic gatesBoolean algebra and Logic gates
Boolean algebra and Logic gates
 

Viewers also liked

Logical expression and logical operators
Logical expression and logical operatorsLogical expression and logical operators
Logical expression and logical operators
Suneel Dogra
 
Boolean algebra
Boolean algebraBoolean algebra
Boolean algebra
Gagan Deep
 

Viewers also liked (13)

Boolean Algebra and Logic Smiplification
Boolean Algebra and Logic SmiplificationBoolean Algebra and Logic Smiplification
Boolean Algebra and Logic Smiplification
 
Logical expression and logical operators
Logical expression and logical operatorsLogical expression and logical operators
Logical expression and logical operators
 
Mixing Source and Bytecode: A Case for Compilation By Normalization (OOPSLA 2...
Mixing Source and Bytecode: A Case for Compilation By Normalization (OOPSLA 2...Mixing Source and Bytecode: A Case for Compilation By Normalization (OOPSLA 2...
Mixing Source and Bytecode: A Case for Compilation By Normalization (OOPSLA 2...
 
gujju
gujjugujju
gujju
 
presentation
presentationpresentation
presentation
 
Introduction to digital logic
Introduction to digital logicIntroduction to digital logic
Introduction to digital logic
 
Normalization 1
Normalization 1Normalization 1
Normalization 1
 
Logical and Conditional Operator In C language
Logical and Conditional Operator In C languageLogical and Conditional Operator In C language
Logical and Conditional Operator In C language
 
K Map Simplification
K Map SimplificationK Map Simplification
K Map Simplification
 
BOOLEAN ALGEBRA
BOOLEAN ALGEBRA BOOLEAN ALGEBRA
BOOLEAN ALGEBRA
 
Boolean algebra
Boolean algebraBoolean algebra
Boolean algebra
 
CBSE XII Boolean Algebra
CBSE XII Boolean AlgebraCBSE XII Boolean Algebra
CBSE XII Boolean Algebra
 
LinkedIn SlideShare: Knowledge, Well-Presented
LinkedIn SlideShare: Knowledge, Well-PresentedLinkedIn SlideShare: Knowledge, Well-Presented
LinkedIn SlideShare: Knowledge, Well-Presented
 

Similar to Digital logic mohammed salim ch4

Similar to Digital logic mohammed salim ch4 (20)

DLD PRESENTATION1.pptx
DLD PRESENTATION1.pptxDLD PRESENTATION1.pptx
DLD PRESENTATION1.pptx
 
Ch3 Boolean Algebra.ppt
Ch3 Boolean Algebra.pptCh3 Boolean Algebra.ppt
Ch3 Boolean Algebra.ppt
 
Boolean Algebra.pdf
Boolean Algebra.pdfBoolean Algebra.pdf
Boolean Algebra.pdf
 
Boolean algebra r009
Boolean algebra   r009Boolean algebra   r009
Boolean algebra r009
 
Lecture 05-Logic expression and Boolean Algebra.pptx
Lecture 05-Logic expression and Boolean Algebra.pptxLecture 05-Logic expression and Boolean Algebra.pptx
Lecture 05-Logic expression and Boolean Algebra.pptx
 
Basic theorems and properties of boolean algebra
Basic theorems and properties of boolean algebraBasic theorems and properties of boolean algebra
Basic theorems and properties of boolean algebra
 
boolean-algebra.pdf
boolean-algebra.pdfboolean-algebra.pdf
boolean-algebra.pdf
 
Boolean Algebra Terminologies.pdf
Boolean Algebra Terminologies.pdfBoolean Algebra Terminologies.pdf
Boolean Algebra Terminologies.pdf
 
BOOLEAN
BOOLEANBOOLEAN
BOOLEAN
 
Boolean Algebra - R.D.Sivakumar
Boolean Algebra - R.D.SivakumarBoolean Algebra - R.D.Sivakumar
Boolean Algebra - R.D.Sivakumar
 
Computer Architecture & Organization
Computer Architecture & OrganizationComputer Architecture & Organization
Computer Architecture & Organization
 
Boolen Algebra Lecture Notes.pdf
Boolen Algebra Lecture Notes.pdfBoolen Algebra Lecture Notes.pdf
Boolen Algebra Lecture Notes.pdf
 
Boolean algebra
Boolean algebraBoolean algebra
Boolean algebra
 
Digital electronics
Digital electronicsDigital electronics
Digital electronics
 
Dld (1)
Dld (1)Dld (1)
Dld (1)
 
Boolean Logic.pptx
Boolean Logic.pptxBoolean Logic.pptx
Boolean Logic.pptx
 
Presentation COMPUTER final.pptx
Presentation COMPUTER final.pptxPresentation COMPUTER final.pptx
Presentation COMPUTER final.pptx
 
Chapter 2.pdf
Chapter 2.pdfChapter 2.pdf
Chapter 2.pdf
 
B sc ii sem unit 2(b) ba
B sc ii sem unit 2(b) baB sc ii sem unit 2(b) ba
B sc ii sem unit 2(b) ba
 
Boolean Algebra Presentation
Boolean Algebra PresentationBoolean Algebra Presentation
Boolean Algebra Presentation
 

Recently uploaded

Recently uploaded (20)

🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 

Digital logic mohammed salim ch4

  • 1. Digital Logic Design IT101LGD Prepared By Asst. Lect. Mohammed Salim Department of IT 1 LFU 2014
  • 2. Contents LFU 20142 1- Rules of Boolean algebra. 2- Demorgan's theorems. 3- Sum of Product (SOP). 4- Product of Sum (POS).
  • 3. Introduction LFU 20143  Logic Simplification : A simplified Boolean expression which uses the fewest gates possible to implement a given expression.  Simplification methods:  Boolean algebra(algebraic method)  Karnaugh map(map method))  Quine-McCluskey(tabular method)
  • 4. Introduction LFU 20144 Boolean Algebra: Mathematical tool to express and analyze digital (logic) circuits Laws of Boolean Algebra :
  • 5. Rules of Boolean Algebra LFU 20145
  • 6. Rules of Boolean Algebra LFU 20146
  • 7. Rules of Boolean Algebra LFU 20147 Basic Functions
  • 8. Rules of Boolean Algebra LFU 20148  Boolean Addition  Logical OR operation Ex : Determine the values of A, B, C, and D that make the sum ‘0’ A+B’+C+D’ So all literals must be ‘0’ for the sum term to be ‘0’ A+B’+C+D’=0+1’+0+1’=0 A=0, B=1, C=0, and D=1  Boolean Multiplication  Logical AND operation Ex : Determine the values of A, B, C, and D for AB’CD’=1 So all literals must be ‘1’ for the product term to be ‘1’ AB’CD’=10’10’=1 A=1, B=0, C=1, and D=0
  • 9. Rules of Boolean Algebra LFU 20149
  • 10. Laws of Boolean Algebra LFU 201410  Commutative Law the order of literals does not matter  A + B = B + A  A B = B A
  • 11. Laws of Boolean Algebra LFU 201411  Associative Law the grouping of literals does not matter  A + (B + C) = (A + B) + C (=A+B+C)  A(BC) = (AB)C (=ABC)
  • 12. Laws of Boolean Algebra LFU 201412  Distributive Law The distributive law is written for three variables as follows: A(B + C) = AB + AC
  • 13. Rules of Boolean Algebra LFU 201413  Below are the basic rules that are useful in manipulating and simplifying Boolean expressions. Rules 1 through 9 will be viewed in terms of their application to logic gates. Rules 10 through 12 will be derived in terms of the simpler rules and the laws previously discussed.
  • 14. Rules of Boolean Algebra LFU 201414  Rule 1: A + 0 = A  A variable ORed with 0 is always equal to the variable. If the input variable A is 1, the output variable X is 1, which is equal to A. If A is 0, the output is 0, which is also equal to A.
  • 15. Rules of Boolean Algebra LFU 201415  Rule 2: A + 1 = 1  A variable ORed with 1 is always equal to 1. A 1 on an input to an OR gate produces a 1 on the output, regardless of the value of the variable on the other input.
  • 16. Rules of Boolean Algebra LFU 201416  Rule 3: A . 0 = 0  A variable ANDed with 0 is always equal to 0. Any time one input to an AND gate is 0, the output is 0, regardless of the value of the variable on the other input.
  • 17. Rules of Boolean Algebra LFU 201417  Rule 4: A . 1 = A  A variable ANDed with 1 is always equal to the variable. If A is 0 the output of the AND gate is 0. If A is 1, the output of the AND gate is 1 because both inputs are now 1s.
  • 18. Rules of Boolean Algebra LFU 201418  Rule 5: A + A = A  A variable ORed with itself is always equal to the variable. If A is 0, then 0+ 0 = 0; and if A is 1, then 1 + 1 = 1.
  • 19. Rules of Boolean Algebra LFU 201419  Rule 6: A + A = 1  A variable ORed with its complement is always equal to 1. If A is 0, then 0 + 0 = 0 + 1 = 1. If A is l, then 1 + 1 = 1+ 0 = 1.
  • 20. Rules of Boolean Algebra LFU 201420  Rule 7 : A . A = A  A variable ANDed with itself is always equal to the variable. If A = 0, then 0.0 = 0; and if A = 1. then 1.1 = 1.
  • 21. Rules of Boolean Algebra LFU 201421  Rule 8 : A . A = 0  A variable ANDed with its complement is always equal to 0. Either A or A will always be 0: and when a 0 is applied to the input of an AND gate. The output will be 0 also.
  • 22. Rules of Boolean Algebra LFU 201422  Rule 9 : A = A  The double complement of a variable is always equal to the variable. If you start with the variable A and complement (invert) it once, you get A. If you then take A and complement (invert) it, you get A , which is the original variable.
  • 23. Rules of Boolean Algebra LFU 201423  Rule 10: A + AB = A  This rule can be proved by applying the distributive law, rule 2, and rule 4 as follows:  A + AB = A( 1 + B) Factoring (distributive law)  = A . l Rule 2: (1 + B) = 1  = A Rule 4: A . 1 = A
  • 24. Rules of Boolean Algebra LFU 201424
  • 25. Rules of Boolean Algebra LFU 201425
  • 26. Demorgan's theorems LFU 201426  DeMorgan, a mathematician who knew Boole, proposed two theorems that are an important part of Boolean algebra. In practical terms. DeMorgan‘s theorems provide mathematical verification of the equivalency of the NAND and negative-OR gates and the equivalency of the NOR and negative-AND gates.
  • 27. Demorgan's theorems LFU 201427  The first DeMorgan's theorems is stated as follows: The complement of two or more ANDed variables is equivalent to the OR of the complements of the individual variables. The formula for expressing this theorem for two variables is:  XY = X + Y
  • 28. Demorgan's theorems LFU 201428  The second DeMorgan's theorem is stated as follows: The complement of two or more ORed variables is equivalent to the AND of the complements of the individual variables, The formula for expressing this theorem for two variables is  X + Y = X Y
  • 32. Demorgan's theorems LFU 201432 Ex: Apply DeMorgan’s theorems to (XYZ)’ and (X+Y+Z)’ Sol: (XYZ)’=X’+Y’+Z’ and (X+Y+Z)’=X’Y’Z’ Ex : Apply DeMorgan’s theorems to : (a) ((A+B+C)D)’ (b) (ABC+DEF)’ (c) (AB’+C’D+EF)’ Sol: (a) ((A+B+C)D)’= (A+B+C)’+D’=A’B’C’+D’ (b) (ABC+DEF)’=(ABC)’(DEF)’=(A’+B’+C’)(D’+E’+F’) (c)
  • 33. SIMPLIFICATION USING BOOLEAN ALGEBRA LFU 201433  A simplified Boolean expression uses the fewest gates possible to implement a given expression.  Example, by using Boolean algebra techniques, simplify this expression: AB + A(B + C) + B(B + C)  Solution:  Step 1: Apply the distributive law to the second and third terms in the expression, as follows: AB + AB + AC + BB + BC  Step 2: Apply rule 7 (BB = B) to the fourth term. AB + AB + AC + B + BC  Step 3: Apply rule 5 (AB + AB = AB) to the first two terms. AB + AC + B + BC  Step 4: Apply rule 10 (B + BC = B) to the last two terms.  AB + AC + B  Step 5: Apply rule 10 (AB + B = B) to the first and third terms. B+AC  At this point the expression is simplified as much as possible, as shown in next page
  • 34. SIMPLIFICATION USING BOOLEAN ALGEBRA LFU 201434 Simplification process by using Boolean Algebra rules
  • 35. SIMPLIFICATION USING BOOLEAN ALGEBRA LFU 201435 Ex : Simplify the following Boolean expression (AB’(C+BD)+A’B’)C Sol: (AB’C+AB’BD+A’B’)C=AB’CC+A’B’C=(A+A’)B’C=B ’C Ex : Simplify the following Boolean expression A’BC+AB’C’+A’B’C’+AB’C+ABC Sol: (A+A’)BC+(A+A’)B’C’+AB’C=BC+B’C’+AB’C =BC+B’(C’+AC)=BC+B’(C’+A)=BC+B’C’+AB’ Ex : Simplify the following Boolean expression (AB +AC)’+A’B’C Sol: (AB)’(AC)’+A’B’C=(A’+B’)(A’+C’)+A’B’C=A’+A’B’ +A’C’+B’C+A’B’C =A’(1+B’+C’+B’C)+B’C=A’+B’C’
  • 36. Standard Form of Boolean Expressions LFU 201436  Boolean expression can be converted into one of 2 standard forms: – The sum‐of‐products (SOP) form Ex) AB+ABC, ABC+CDE+B’CD’ – The product‐of‐sums (POS) form Ex) (A+B)(A+B+C), (A+B+C)(C+D+E)(B’+C+D’)  Standardization makes the evaluation, simplification, and implementation of Boolean expressions more systematic and easier  Product term = a term with the product (Boolean multiplication) of literals  Sum term = a term with the sum (Boolean addition) of literals
  • 37. The Sum-of-Products (SOP) Form LFU 201437
  • 38. The product‐of‐sums (POS) form LFU 201438
  • 39. LFU 201439 End of Chapter 4  Note : Chapter 4 PowerPoint slides are quoted from Internet websites and a variety of presentations.