SlideShare a Scribd company logo
7/26/2020LCWU
1
CHAPTER - 2
BOOLEAN ALGEBRA &
LOGIC GATES
COMPLEMENT OF A FUNCTION
 The complement of a function F is F′
 Obtained by Changing every 0 to 1 and every 1 to 0
 Derived by using De-Morgan’s Laws
7/26/2020LCWU
2
Digital Logic
Design
DE – MORGAN’S LAWS
1. A + B = A . B
2. A . B = A + B
7/26/2020LCWU
3
Digital Logic
Design
EXAMPLE
F = x′.y.z′ + x′.y′.z
Complementing BOTH sides:
F = x′.y.z′ + x′.y′.z
Applying De-Morgan’s Laws:
= (x′.y.z′) . (x′.y′.z)
= (x′′ + y′ + z′′) . (x′′ + y′′ + z′)
= (x + y′ + z) . (x + y + z′)
7/26/2020LCWU
4
Digital Logic
Design
CIRCUIT DIAGRAM
7/26/2020LCWU
5
Digital Logic
Design
.
.
.
.Logic
Circuit
Inputs Outputs
EXAMPLES
Find the Complement and reduce them to a
minimum no. of literals:
 F1 = x + x.y
 F2 = AB′ + C′D′
 G = x.y + x.y′ + y′.z
7/26/2020LCWU
6
Digital Logic
Design
HOMEWORK
 Example 2.2 – 2.3
 Problem 2.7
7/26/2020LCWU
7
Digital Logic
Design
READING MATERIAL *extra’s
Applications Of Boolean Functions – Circuit Chip
Design
QUESTION
A fire sprinkler system should spray water if high heat
is sensed and the system is set to enabled.
ANSWER
Let Boolean variable h represent “high heat is sensed,” e
represent “enabled,” and F represent “spraying water.”
Then an equation is:
F = h AND e
Symbolically, F = h . e
7/26/2020LCWU
8
Digital Logic
Design
h
e
F
SEAT BELT WARNING LIGHT
SYSTEMDesign circuit for warning light
• Sensors
s=1: seat belt fastened
k=1: key inserted
p=1: person in seat
Capture Boolean equation
person in seat, and seat belt not
fastened, and key inserted
• Convert equation to circuit
7/26/2020LCWU
9
Digital Logic
Design
w = p AND NOT (s) AND k
REPRESENTATION OF BOOLEAN
EXPRESSIONS
 Canonical Forms (Not Simplified)
 Standard Forms (Simplified)
7/26/2020LCWU
10
CANONICAL FORMS
 Directly obtained from the Truth table
 Not Simplified
 Two types:
SUM of MINTERMS
PRODUCT of MAXTERMS
7/26/2020LCWU
11
MINTERMS
 Obtained by AND-ing all variables
 1 = variables without bar/prime
 0 = variables with bar/prime
NOTE:
Each Minterm must contain all variables !!
7/26/2020LCWU
12
Example
Variables = x , y
Possible Combinations
= 22 = 4
Index Bin Val Minterms MVal
0 00 x’ . y’ m0
1 01 x’ . y m1
2 10 x . y’ m2
3 11 x . y m3
7/26/2020LCWU
13
 4 Minterms for 2 variables.
 ? Minterms for 3 variables.
 ? Minterms for 4 variables.
7/26/2020LCWU
14
MAXTERMS
 Obtained by OR-ing all variables
 1 = variables with bar/prime
 0 = variables without bar/prime
NOTE:
Each Maxterm must contain all variables !!
7/26/2020LCWU
15
Example
Variables = x , y
Possible Combinations
= 22 = 4
Index Bin Val Maxterms MVal
0 00 x + y M0
1 01 x + y’ M1
2 10 x’ + y M2
3 11 x’ + y’ M3
7/26/2020LCWU
16
RELATIONSHIP BTW MINTERMS
AND MAXTERMS
Minterms = mi
Maxterms = Mj
mi = Mj
and
Mj = mi
7/26/2020LCWU
17

More Related Content

PPT
Boolean algebra And Logic Gates
PDF
Chapter 03 Boolean Algebra and Combinational Logic
PPT
Boolean Algebra
PDF
digital logic design Chapter 2 boolean_algebra_&_logic_gates
PPT
Lec5 Intro to Computer Engineering by Hsien-Hsin Sean Lee Georgia Tech -- Boo...
PDF
Boolean algebra and Logic gates
PPT
boolean algebra and logic simplification
PDF
Basic gates and boolean algebra
Boolean algebra And Logic Gates
Chapter 03 Boolean Algebra and Combinational Logic
Boolean Algebra
digital logic design Chapter 2 boolean_algebra_&_logic_gates
Lec5 Intro to Computer Engineering by Hsien-Hsin Sean Lee Georgia Tech -- Boo...
Boolean algebra and Logic gates
boolean algebra and logic simplification
Basic gates and boolean algebra

What's hot (20)

PDF
DM2020 boolean algebra
PPT
Boolean
PPTX
BOOLEAN ALGEBRA & LOGIC GATE
PPT
Boolean Algebra
PPT
Boolean algebra
PPTX
Boolean algebra
PPTX
Boolean expression org.
PPTX
Theorems in DE
PPTX
Subject seminar boolean algebra by :-shivanshu
PDF
Logic design basics
PPT
simplification of boolean algebra
PPTX
Boolean Algebra
PPT
13 Boolean Algebra
PPT
Boolean algebra
PPTX
presentation on (Boolean rules & laws)
PPTX
B sc cs i bo-de u-ii logic gates
PPTX
Chapter 5 boolean algebra
PPT
Boolean algebra
PPTX
Boolean algebra
PDF
Digital logic circuits
DM2020 boolean algebra
Boolean
BOOLEAN ALGEBRA & LOGIC GATE
Boolean Algebra
Boolean algebra
Boolean algebra
Boolean expression org.
Theorems in DE
Subject seminar boolean algebra by :-shivanshu
Logic design basics
simplification of boolean algebra
Boolean Algebra
13 Boolean Algebra
Boolean algebra
presentation on (Boolean rules & laws)
B sc cs i bo-de u-ii logic gates
Chapter 5 boolean algebra
Boolean algebra
Boolean algebra
Digital logic circuits
Ad

Similar to Boolean algebra and logic gates (20)

PPT
Lecture 2
PPTX
Introduction to digital logic
PPT
Ch1-Digital Logic Circuits Fundamentals.ppt
PPT
Introduction.ppt
PPTX
Digital-Logic40124sequential circuits logic gatepptx
PDF
Chapter 2 ee202 boolean part a
PPT
IS 139 Lecture 3 - 2015
PPT
IS 139 Lecture 3
PPTX
DIGITAL ELECTRONICS KMAP Boolean algebra
PDF
Digital Electronics basics book1_pdf.pdf
PPT
LCDF3_Chaaaaaaaaaaaaaaaaaaaaap_02_P1.ppt
PPT
digital logic tutorial combinational logic
PPT
LCDF3_Chap_02_P1.ppt Digital Login Design
PPT
LCDF4_Chap_02_P1 computer engineering.ppt
PPT
IntroductiontoDigitalElectronics IntroductiontoDigitalElectronics
PPT
xxxxxxxxxxxxxxxxxxxxxxx55-dlc-dr.jp_.ppt
PPT
combinational logic -lecture chapter 2....
PDF
DLD Chapter-2.pdf
PPTX
sop_pos(DE).pptx
PPT
55-dlc-dr.jphhhhhhhhhhhhhhhhhhhhhhhhhhhhh_.ppt
Lecture 2
Introduction to digital logic
Ch1-Digital Logic Circuits Fundamentals.ppt
Introduction.ppt
Digital-Logic40124sequential circuits logic gatepptx
Chapter 2 ee202 boolean part a
IS 139 Lecture 3 - 2015
IS 139 Lecture 3
DIGITAL ELECTRONICS KMAP Boolean algebra
Digital Electronics basics book1_pdf.pdf
LCDF3_Chaaaaaaaaaaaaaaaaaaaaap_02_P1.ppt
digital logic tutorial combinational logic
LCDF3_Chap_02_P1.ppt Digital Login Design
LCDF4_Chap_02_P1 computer engineering.ppt
IntroductiontoDigitalElectronics IntroductiontoDigitalElectronics
xxxxxxxxxxxxxxxxxxxxxxx55-dlc-dr.jp_.ppt
combinational logic -lecture chapter 2....
DLD Chapter-2.pdf
sop_pos(DE).pptx
55-dlc-dr.jphhhhhhhhhhhhhhhhhhhhhhhhhhhhh_.ppt
Ad

More from ZareenRauf1 (13)

PPTX
Communication system lec 8
PPTX
Communication system lec7
PPTX
Communication system lec6
PPTX
Communication system lec5
PPTX
communication system lec4
PPTX
communication system lec3
PPTX
communication system lec2
PPTX
Communication system
PPT
1's and 2's Complements
PPT
Binary codes
PPT
Boolean operators
PPT
Boolean functions
PPT
Lecture 1
Communication system lec 8
Communication system lec7
Communication system lec6
Communication system lec5
communication system lec4
communication system lec3
communication system lec2
Communication system
1's and 2's Complements
Binary codes
Boolean operators
Boolean functions
Lecture 1

Recently uploaded (20)

PDF
Level 2 – IBM Data and AI Fundamentals (1)_v1.1.PDF
PDF
Enhancing Cyber Defense Against Zero-Day Attacks using Ensemble Neural Networks
PDF
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
PDF
Abrasive, erosive and cavitation wear.pdf
PPTX
Fundamentals of Mechanical Engineering.pptx
PDF
Exploratory_Data_Analysis_Fundamentals.pdf
PDF
Visual Aids for Exploratory Data Analysis.pdf
PDF
BIO-INSPIRED HORMONAL MODULATION AND ADAPTIVE ORCHESTRATION IN S-AI-GPT
PDF
PPT on Performance Review to get promotions
PDF
Human-AI Collaboration: Balancing Agentic AI and Autonomy in Hybrid Systems
PDF
SMART SIGNAL TIMING FOR URBAN INTERSECTIONS USING REAL-TIME VEHICLE DETECTI...
PDF
Soil Improvement Techniques Note - Rabbi
PPTX
CURRICULAM DESIGN engineering FOR CSE 2025.pptx
PDF
Analyzing Impact of Pakistan Economic Corridor on Import and Export in Pakist...
PPT
Occupational Health and Safety Management System
PPTX
Information Storage and Retrieval Techniques Unit III
PPTX
UNIT 4 Total Quality Management .pptx
PDF
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
PDF
BIO-INSPIRED ARCHITECTURE FOR PARSIMONIOUS CONVERSATIONAL INTELLIGENCE : THE ...
PPTX
UNIT - 3 Total quality Management .pptx
Level 2 – IBM Data and AI Fundamentals (1)_v1.1.PDF
Enhancing Cyber Defense Against Zero-Day Attacks using Ensemble Neural Networks
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
Abrasive, erosive and cavitation wear.pdf
Fundamentals of Mechanical Engineering.pptx
Exploratory_Data_Analysis_Fundamentals.pdf
Visual Aids for Exploratory Data Analysis.pdf
BIO-INSPIRED HORMONAL MODULATION AND ADAPTIVE ORCHESTRATION IN S-AI-GPT
PPT on Performance Review to get promotions
Human-AI Collaboration: Balancing Agentic AI and Autonomy in Hybrid Systems
SMART SIGNAL TIMING FOR URBAN INTERSECTIONS USING REAL-TIME VEHICLE DETECTI...
Soil Improvement Techniques Note - Rabbi
CURRICULAM DESIGN engineering FOR CSE 2025.pptx
Analyzing Impact of Pakistan Economic Corridor on Import and Export in Pakist...
Occupational Health and Safety Management System
Information Storage and Retrieval Techniques Unit III
UNIT 4 Total Quality Management .pptx
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
BIO-INSPIRED ARCHITECTURE FOR PARSIMONIOUS CONVERSATIONAL INTELLIGENCE : THE ...
UNIT - 3 Total quality Management .pptx

Boolean algebra and logic gates

  • 1. 7/26/2020LCWU 1 CHAPTER - 2 BOOLEAN ALGEBRA & LOGIC GATES
  • 2. COMPLEMENT OF A FUNCTION  The complement of a function F is F′  Obtained by Changing every 0 to 1 and every 1 to 0  Derived by using De-Morgan’s Laws 7/26/2020LCWU 2 Digital Logic Design
  • 3. DE – MORGAN’S LAWS 1. A + B = A . B 2. A . B = A + B 7/26/2020LCWU 3 Digital Logic Design
  • 4. EXAMPLE F = x′.y.z′ + x′.y′.z Complementing BOTH sides: F = x′.y.z′ + x′.y′.z Applying De-Morgan’s Laws: = (x′.y.z′) . (x′.y′.z) = (x′′ + y′ + z′′) . (x′′ + y′′ + z′) = (x + y′ + z) . (x + y + z′) 7/26/2020LCWU 4 Digital Logic Design
  • 6. EXAMPLES Find the Complement and reduce them to a minimum no. of literals:  F1 = x + x.y  F2 = AB′ + C′D′  G = x.y + x.y′ + y′.z 7/26/2020LCWU 6 Digital Logic Design
  • 7. HOMEWORK  Example 2.2 – 2.3  Problem 2.7 7/26/2020LCWU 7 Digital Logic Design
  • 8. READING MATERIAL *extra’s Applications Of Boolean Functions – Circuit Chip Design QUESTION A fire sprinkler system should spray water if high heat is sensed and the system is set to enabled. ANSWER Let Boolean variable h represent “high heat is sensed,” e represent “enabled,” and F represent “spraying water.” Then an equation is: F = h AND e Symbolically, F = h . e 7/26/2020LCWU 8 Digital Logic Design h e F
  • 9. SEAT BELT WARNING LIGHT SYSTEMDesign circuit for warning light • Sensors s=1: seat belt fastened k=1: key inserted p=1: person in seat Capture Boolean equation person in seat, and seat belt not fastened, and key inserted • Convert equation to circuit 7/26/2020LCWU 9 Digital Logic Design w = p AND NOT (s) AND k
  • 10. REPRESENTATION OF BOOLEAN EXPRESSIONS  Canonical Forms (Not Simplified)  Standard Forms (Simplified) 7/26/2020LCWU 10
  • 11. CANONICAL FORMS  Directly obtained from the Truth table  Not Simplified  Two types: SUM of MINTERMS PRODUCT of MAXTERMS 7/26/2020LCWU 11
  • 12. MINTERMS  Obtained by AND-ing all variables  1 = variables without bar/prime  0 = variables with bar/prime NOTE: Each Minterm must contain all variables !! 7/26/2020LCWU 12
  • 13. Example Variables = x , y Possible Combinations = 22 = 4 Index Bin Val Minterms MVal 0 00 x’ . y’ m0 1 01 x’ . y m1 2 10 x . y’ m2 3 11 x . y m3 7/26/2020LCWU 13
  • 14.  4 Minterms for 2 variables.  ? Minterms for 3 variables.  ? Minterms for 4 variables. 7/26/2020LCWU 14
  • 15. MAXTERMS  Obtained by OR-ing all variables  1 = variables with bar/prime  0 = variables without bar/prime NOTE: Each Maxterm must contain all variables !! 7/26/2020LCWU 15
  • 16. Example Variables = x , y Possible Combinations = 22 = 4 Index Bin Val Maxterms MVal 0 00 x + y M0 1 01 x + y’ M1 2 10 x’ + y M2 3 11 x’ + y’ M3 7/26/2020LCWU 16
  • 17. RELATIONSHIP BTW MINTERMS AND MAXTERMS Minterms = mi Maxterms = Mj mi = Mj and Mj = mi 7/26/2020LCWU 17