SlideShare a Scribd company logo
1
Boolean Algebra and Logic
Simplification
 Boolean Operations and Expressions
 Laws and Rules of Boolean Algebra
 Boolean Analysis of Logic Circuits
 Simplification Using Boolean Algebra
 Standard Forms of Boolean Expressions
2
Introduction
Boolean Algebra
• George Boole(English mathematician), 1854
“An Investigation of the Laws of Thought, on Which Are Founded
the Mathematical Theories of Logic and Probabilities”
Boolean Algebra
{(1,0), Var, (NOT, AND, OR), Thms}
• Mathematical tool to expression and analyze digital
(logic) circuits
3
Boolean functions : NOT, AND, OR,
exclusive OR(XOR) : odd function
exclusive NOR(XNOR) : even function(equivalence)
Basic Functions
4
• AND
Z=X ⋅ Y or Z=XY
Z=1 if and only if X=1 and Y=1, otherwise Z=0
• OR
Z=X + Y
Z=1 if X=1 or if Y=1, or both X=1and Y=1. Z=0 if
and only if X=0 and Y=0
• NOT
Z=X′ or
Z=1 if X=0, Z=0 if X=1
Basic Functions
5
Basic Functions
6
Boolean Operations and
Expressions
• Boolean Addition
– Logical OR operation
Ex ) Determine the values of A, B, C, and D that make the sum
term A+B’+C+D’
Sol) 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
Sol) 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
7Basic Identities of Boolean Algebra
The relationship between
a single variable X, its
complement X′, and the
binary constants 0 and 1
8Laws of Boolean Algebra
• Commutative Law
the order of literals does not matter
A + B = B + A
A B = B A
9
• 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
10
• Distributive Law : A(B + C) = AB + AC
Laws of Boolean Algebra
11
 A+0=A
In math if you add 0 you have changed nothing
in Boolean Algebra ORing with 0 changes
nothing
 A+1=1
ORing with 1 must give a 1 since if any input is
1 an OR gate will give a 1
Rules of Boolean Algebra
12
 A•0=0
In math if 0 is multiplied with anything
you get 0. If you AND anything with 0
you get 0
 A•1 =A
ANDing anything with 1 will yield the
anything
Rules of Boolean Algebra
13
 A+A = A
ORing with itself will give the same result.
 A+A’=1
Either A or A’ must be 1 so A + A’ =1
A•A = A
ANDing with itself will give the same result.
 A•A’ =0
In digital Logic 1’ =0 and 0’ =1, so AA’=0 since
one of the inputs must be 0.
Rules of Boolean Algebra
14
• DeMorgan’s Theorem
– (A • B)’ = A’ + B’ and (A + B)’ = A’ • B’
– DeMorgan’s theorem will help to simplify digital
circuits using NORs and NANDs his theorem
states
DeMorgan’s Theorems
15
• Example:
Apply DeMorgan’s theorem to the given expressions:
YXZXF
)XY()ZX(F
)XY()ZX(F
)XY()ZX(F
)XY()ZX(F
)XY)(ZX(F
+=
+=
+=
++=
++=
+=
2
2
2
2
2
2
16
Ex 4-8) Using Boolean algebra, simplify this
expression
AB+A(B+C)+B(B+C)
Sol) AB+AB+AC+BB+BC =B(1+A+A+C)+AC=B+AC
Simplification Using Boolean
Algebra
17
Standard Forms of Boolean
Expressions
• 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’)
• Principle of Duality : SOP ⇔ POS
• Domain of a Boolean Expression
The set of variables contained in the expression
Ex) A’B+AB’C : the domain is {A, B, C}
18
• Implementation of a SOP Expression
AND-OR logic
• Conversion of General Expression to SOP Form
A(B+CD)=AB +ACD
Ex 4-12) Convert the expressions to SOP form (A+B)
(B+C+D)
Sol)
(A+B)(B+C+D)=AB+AC+AD+ BB+BC+BD
=B(1+A+C+D)+ AC+AD
=B+AC+AD
19Standard SOP Form (Canonical SOP Form)
– For all the missing variables, apply (x+x’)=1 to the
AND terms of the expression
– List all the min-terms in forms of the complete set
of variables in ascending order
Ex 4-13) Convert the following expression into standard
SOP form: AB’C+A’B’+ABC’D
Sol) domain={A,B,C,D}, AB’C(D’+D)+A’B’(C’+C)(D’+D)
+ABC’D
=AB’CD’+AB’CD+A’B’C’D’+A’B’C’D+A’B’CD’+A’B’CD+ABC’D
=1010+1011+0000+0001+0010+0011+1101
=0+1+2+3+10+11+13 = Σ(0,1,2,3,10,11,13)
20Product-of-Sums Form
• Implementation of a POS Expression
OR-AND logic
21
Standard POS Form (Canonical POS
Form)
– For all the missing variables, apply (x’x)=0 to the
OR terms of the expression
– List all the max-terms in forms of the complete
set of variables in ascending order
Ex) Convert the following expression into standard
POS form: (A+B’+C)(B’+C+D’)(A+B’+C’+D)
Sol) domain={A,B,C,D}, (A+B’+C)(B’+C+D’)
(A+B’+C’+D) =(A+B’+C+D’D)(A’A+B’+C+D’)
(A+B’+C’+D) =(A+B’+C+D’)(A+B’+C+D)(A’+B’+C+D’)
(A+B’+C+D’)(A+B’+C’+D)=(0100) )(0101)(0110)(1101)=
Π(4,5,6,13)
22
Converting Standard SOP to Standard
POS
Step 1. Evaluate each product term in the SOP
expression. Determine the binary numbers
that represent the product terms
Step 2. Determine all of the binary numbers not
included in the evaluation in Step 1
Step 3. Write in equivalent sum term for each binary
number Step 2 and expression in POS form
Ex 4-17) Convert the following SOP to POS
Sol) SOP= A’B’C’+A’BC’+A’BC+AB’C+ABC=0+2+3+5+7
=Σ(0,2,3,5,7)
POS=(1)(4)(6) = Π(1, 4, 6) (A+B+C’)(A’+B+C)
(A’+B’+C))

More Related Content

What's hot

What's hot (20)

Boolean Algebra
Boolean AlgebraBoolean Algebra
Boolean Algebra
 
simplification of boolean algebra
simplification of boolean algebrasimplification of boolean algebra
simplification of boolean algebra
 
07 boolean algebra
07 boolean algebra07 boolean algebra
07 boolean algebra
 
Boolean Algebra
Boolean AlgebraBoolean Algebra
Boolean Algebra
 
Boolean Algebra DLD
Boolean Algebra DLDBoolean Algebra DLD
Boolean Algebra DLD
 
Chapter 03 Boolean Algebra and Combinational Logic
Chapter 03 Boolean Algebra and Combinational LogicChapter 03 Boolean Algebra and Combinational Logic
Chapter 03 Boolean Algebra and Combinational Logic
 
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
 
Logic Equation Simplification
Logic Equation SimplificationLogic Equation Simplification
Logic Equation Simplification
 
boolean algebra and logic simplification
boolean algebra and logic simplificationboolean algebra and logic simplification
boolean algebra and logic simplification
 
Boolean expression org.
Boolean expression org.Boolean expression org.
Boolean expression org.
 
Chapter 5 boolean algebra
Chapter 5 boolean algebraChapter 5 boolean algebra
Chapter 5 boolean algebra
 
digital logic design Chapter 2 boolean_algebra_&_logic_gates
digital logic design Chapter 2 boolean_algebra_&_logic_gatesdigital logic design Chapter 2 boolean_algebra_&_logic_gates
digital logic design Chapter 2 boolean_algebra_&_logic_gates
 
Boolean algebra
Boolean algebraBoolean algebra
Boolean algebra
 
Boolean algebra
Boolean algebraBoolean algebra
Boolean algebra
 
Boolean
BooleanBoolean
Boolean
 
Boolean algebra and Logic gates
Boolean algebra and Logic gatesBoolean algebra and Logic gates
Boolean algebra and Logic gates
 
Boolean Algebra
Boolean AlgebraBoolean Algebra
Boolean Algebra
 
Digital logic mohammed salim ch4
Digital logic mohammed salim ch4Digital logic mohammed salim ch4
Digital logic mohammed salim ch4
 
13 Boolean Algebra
13 Boolean Algebra13 Boolean Algebra
13 Boolean Algebra
 
Chapter 2 Boolean Algebra (part 2)
Chapter 2 Boolean Algebra (part 2)Chapter 2 Boolean Algebra (part 2)
Chapter 2 Boolean Algebra (part 2)
 

Viewers also liked

BOOLEAN ALGEBRA
BOOLEAN ALGEBRA BOOLEAN ALGEBRA
BOOLEAN ALGEBRA Shaik Aman
 
Boolean algebra
Boolean algebraBoolean algebra
Boolean algebraGagan Deep
 
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...lennartkats
 
Boolean Algebra and Logic Smiplification
Boolean Algebra and Logic SmiplificationBoolean Algebra and Logic Smiplification
Boolean Algebra and Logic Smiplificationsamantha rathnayake
 
Logical expression and logical operators
Logical expression and logical operatorsLogical expression and logical operators
Logical expression and logical operatorsSuneel Dogra
 
Introduction to digital logic
Introduction to digital logicIntroduction to digital logic
Introduction to digital logicKamal Acharya
 
Boolean algebra
Boolean algebraBoolean algebra
Boolean algebraRania H
 
Normalization 1
Normalization 1Normalization 1
Normalization 1Gagan Deep
 
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 languageAbdul Rehman
 
K Map Simplification
K Map SimplificationK Map Simplification
K Map SimplificationRamesh C
 
De Morgan Theorem B[1]
De Morgan Theorem B[1]De Morgan Theorem B[1]
De Morgan Theorem B[1]Mr. Bullerman
 
Inverse Matrix & Determinants
Inverse Matrix & DeterminantsInverse Matrix & Determinants
Inverse Matrix & Determinantsitutor
 
Matrices And Determinants
Matrices And DeterminantsMatrices And Determinants
Matrices And DeterminantsDEVIKA S INDU
 
Digital logic gates and Boolean algebra
Digital logic gates and Boolean algebraDigital logic gates and Boolean algebra
Digital logic gates and Boolean algebraSARITHA REDDY
 
Simplificación de funciones aplicando el Álgebra de Boole
Simplificación de funciones aplicando el Álgebra de BooleSimplificación de funciones aplicando el Álgebra de Boole
Simplificación de funciones aplicando el Álgebra de BooleDanilo Vivenes
 

Viewers also liked (20)

boolean algebra
boolean algebraboolean algebra
boolean algebra
 
BOOLEAN ALGEBRA
BOOLEAN ALGEBRA BOOLEAN ALGEBRA
BOOLEAN ALGEBRA
 
Boolean algebra
Boolean algebraBoolean algebra
Boolean algebra
 
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...
 
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
 
gujju
gujjugujju
gujju
 
presentation
presentationpresentation
presentation
 
Introduction to digital logic
Introduction to digital logicIntroduction to digital logic
Introduction to digital logic
 
Boolean algebra
Boolean algebraBoolean algebra
Boolean algebra
 
Normalization 1
Normalization 1Normalization 1
Normalization 1
 
Boolean algebra
 Boolean algebra Boolean algebra
Boolean algebra
 
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
 
De Morgan Theorem B[1]
De Morgan Theorem B[1]De Morgan Theorem B[1]
De Morgan Theorem B[1]
 
Inverse Matrix & Determinants
Inverse Matrix & DeterminantsInverse Matrix & Determinants
Inverse Matrix & Determinants
 
Matrices And Determinants
Matrices And DeterminantsMatrices And Determinants
Matrices And Determinants
 
Digital logic gates and Boolean algebra
Digital logic gates and Boolean algebraDigital logic gates and Boolean algebra
Digital logic gates and Boolean algebra
 
Simplificación de funciones aplicando el Álgebra de Boole
Simplificación de funciones aplicando el Álgebra de BooleSimplificación de funciones aplicando el Álgebra de Boole
Simplificación de funciones aplicando el Álgebra de Boole
 
Boolean algebra
Boolean algebraBoolean algebra
Boolean algebra
 

Similar to Boolean algebra

digital logic circuits, digital component
 digital logic circuits, digital component digital logic circuits, digital component
digital logic circuits, digital componentRai University
 
Digital logic design lecture 06
Digital logic design   lecture 06 Digital logic design   lecture 06
Digital logic design lecture 06 FarhatUllah27
 
B.sc cs-ii-u-1.5 digital logic circuits, digital component
B.sc cs-ii-u-1.5 digital logic circuits, digital componentB.sc cs-ii-u-1.5 digital logic circuits, digital component
B.sc cs-ii-u-1.5 digital logic circuits, digital componentRai University
 
Boolean Algebra SOP POS_Computer Architecture.pdf
Boolean Algebra SOP POS_Computer Architecture.pdfBoolean Algebra SOP POS_Computer Architecture.pdf
Boolean Algebra SOP POS_Computer Architecture.pdfSangitaBose2
 
IS 151 Lecture 5
IS 151 Lecture 5IS 151 Lecture 5
IS 151 Lecture 5wajanga
 
Introduction-to-Boolean-Algebra.ppt
Introduction-to-Boolean-Algebra.pptIntroduction-to-Boolean-Algebra.ppt
Introduction-to-Boolean-Algebra.pptSanjay446332
 
Bca 2nd sem-u-1.5 digital logic circuits, digital component
Bca 2nd sem-u-1.5 digital logic circuits, digital componentBca 2nd sem-u-1.5 digital logic circuits, digital component
Bca 2nd sem-u-1.5 digital logic circuits, digital componentRai University
 
Digital electronics lesson 2
Digital electronics lesson 2Digital electronics lesson 2
Digital electronics lesson 2Sukriti Dhang
 
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 gatesRai University
 
Gerbang Logika Dasar
Gerbang Logika DasarGerbang Logika Dasar
Gerbang Logika DasarArif Hakim
 
IS 151 lecture 4
IS 151   lecture 4IS 151   lecture 4
IS 151 lecture 4wajanga
 
Unit 2 Boolean Algebra and Logic Gates.pdf
Unit 2 Boolean Algebra and Logic Gates.pdfUnit 2 Boolean Algebra and Logic Gates.pdf
Unit 2 Boolean Algebra and Logic Gates.pdfShirazHusain4
 
Lect 2 boolean algebra (4 5-21)
Lect 2 boolean algebra (4 5-21)Lect 2 boolean algebra (4 5-21)
Lect 2 boolean algebra (4 5-21)MeghaSharma513
 
booleanalgebra-140914001141-phpapp01 (1).ppt
booleanalgebra-140914001141-phpapp01 (1).pptbooleanalgebra-140914001141-phpapp01 (1).ppt
booleanalgebra-140914001141-phpapp01 (1).pptmichaelaaron25322
 
DigitalLogic_BooleanAlgebra_P.pdf
DigitalLogic_BooleanAlgebra_P.pdfDigitalLogic_BooleanAlgebra_P.pdf
DigitalLogic_BooleanAlgebra_P.pdfk vimal kumar
 

Similar to Boolean algebra (20)

PPT 1.pptx
PPT 1.pptxPPT 1.pptx
PPT 1.pptx
 
9402730.ppt
9402730.ppt9402730.ppt
9402730.ppt
 
digital logic circuits, digital component
 digital logic circuits, digital component digital logic circuits, digital component
digital logic circuits, digital component
 
Digital logic design lecture 06
Digital logic design   lecture 06 Digital logic design   lecture 06
Digital logic design lecture 06
 
B.sc cs-ii-u-1.5 digital logic circuits, digital component
B.sc cs-ii-u-1.5 digital logic circuits, digital componentB.sc cs-ii-u-1.5 digital logic circuits, digital component
B.sc cs-ii-u-1.5 digital logic circuits, digital component
 
Boolean Algebra SOP POS_Computer Architecture.pdf
Boolean Algebra SOP POS_Computer Architecture.pdfBoolean Algebra SOP POS_Computer Architecture.pdf
Boolean Algebra SOP POS_Computer Architecture.pdf
 
IS 151 Lecture 5
IS 151 Lecture 5IS 151 Lecture 5
IS 151 Lecture 5
 
Boolean Algebra.pptx
Boolean Algebra.pptxBoolean Algebra.pptx
Boolean Algebra.pptx
 
Introduction-to-Boolean-Algebra.ppt
Introduction-to-Boolean-Algebra.pptIntroduction-to-Boolean-Algebra.ppt
Introduction-to-Boolean-Algebra.ppt
 
Bca 2nd sem-u-1.5 digital logic circuits, digital component
Bca 2nd sem-u-1.5 digital logic circuits, digital componentBca 2nd sem-u-1.5 digital logic circuits, digital component
Bca 2nd sem-u-1.5 digital logic circuits, digital component
 
Digital electronics lesson 2
Digital electronics lesson 2Digital electronics lesson 2
Digital electronics lesson 2
 
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
 
Gerbang Logika Dasar
Gerbang Logika DasarGerbang Logika Dasar
Gerbang Logika Dasar
 
IS 151 lecture 4
IS 151   lecture 4IS 151   lecture 4
IS 151 lecture 4
 
Unit 2 Boolean Algebra and Logic Gates.pdf
Unit 2 Boolean Algebra and Logic Gates.pdfUnit 2 Boolean Algebra and Logic Gates.pdf
Unit 2 Boolean Algebra and Logic Gates.pdf
 
Boolean algebra
Boolean algebraBoolean algebra
Boolean algebra
 
Lect 2 boolean algebra (4 5-21)
Lect 2 boolean algebra (4 5-21)Lect 2 boolean algebra (4 5-21)
Lect 2 boolean algebra (4 5-21)
 
booleanalgebra-140914001141-phpapp01 (1).ppt
booleanalgebra-140914001141-phpapp01 (1).pptbooleanalgebra-140914001141-phpapp01 (1).ppt
booleanalgebra-140914001141-phpapp01 (1).ppt
 
Dld (1)
Dld (1)Dld (1)
Dld (1)
 
DigitalLogic_BooleanAlgebra_P.pdf
DigitalLogic_BooleanAlgebra_P.pdfDigitalLogic_BooleanAlgebra_P.pdf
DigitalLogic_BooleanAlgebra_P.pdf
 

Recently uploaded

Halogenation process of chemical process industries
Halogenation process of chemical process industriesHalogenation process of chemical process industries
Halogenation process of chemical process industriesMuhammadTufail242431
 
2024 DevOps Pro Europe - Growing at the edge
2024 DevOps Pro Europe - Growing at the edge2024 DevOps Pro Europe - Growing at the edge
2024 DevOps Pro Europe - Growing at the edgePaco Orozco
 
Furniture showroom management system project.pdf
Furniture showroom management system project.pdfFurniture showroom management system project.pdf
Furniture showroom management system project.pdfKamal Acharya
 
Pharmacy management system project report..pdf
Pharmacy management system project report..pdfPharmacy management system project report..pdf
Pharmacy management system project report..pdfKamal Acharya
 
ONLINE VEHICLE RENTAL SYSTEM PROJECT REPORT.pdf
ONLINE VEHICLE RENTAL SYSTEM PROJECT REPORT.pdfONLINE VEHICLE RENTAL SYSTEM PROJECT REPORT.pdf
ONLINE VEHICLE RENTAL SYSTEM PROJECT REPORT.pdfKamal Acharya
 
KIT-601 Lecture Notes-UNIT-3.pdf Mining Data Stream
KIT-601 Lecture Notes-UNIT-3.pdf Mining Data StreamKIT-601 Lecture Notes-UNIT-3.pdf Mining Data Stream
KIT-601 Lecture Notes-UNIT-3.pdf Mining Data StreamDr. Radhey Shyam
 
Digital Signal Processing Lecture notes n.pdf
Digital Signal Processing Lecture notes n.pdfDigital Signal Processing Lecture notes n.pdf
Digital Signal Processing Lecture notes n.pdfAbrahamGadissa
 
Construction method of steel structure space frame .pptx
Construction method of steel structure space frame .pptxConstruction method of steel structure space frame .pptx
Construction method of steel structure space frame .pptxwendy cai
 
Introduction to Machine Learning Unit-5 Notes for II-II Mechanical Engineering
Introduction to Machine Learning Unit-5 Notes for II-II Mechanical EngineeringIntroduction to Machine Learning Unit-5 Notes for II-II Mechanical Engineering
Introduction to Machine Learning Unit-5 Notes for II-II Mechanical EngineeringC Sai Kiran
 
KIT-601 Lecture Notes-UNIT-4.pdf Frequent Itemsets and Clustering
KIT-601 Lecture Notes-UNIT-4.pdf Frequent Itemsets and ClusteringKIT-601 Lecture Notes-UNIT-4.pdf Frequent Itemsets and Clustering
KIT-601 Lecture Notes-UNIT-4.pdf Frequent Itemsets and ClusteringDr. Radhey Shyam
 
Explosives Industry manufacturing process.pdf
Explosives Industry manufacturing process.pdfExplosives Industry manufacturing process.pdf
Explosives Industry manufacturing process.pdf884710SadaqatAli
 
ONLINE CAR SERVICING SYSTEM PROJECT REPORT.pdf
ONLINE CAR SERVICING SYSTEM PROJECT REPORT.pdfONLINE CAR SERVICING SYSTEM PROJECT REPORT.pdf
ONLINE CAR SERVICING SYSTEM PROJECT REPORT.pdfKamal Acharya
 
Arduino based vehicle speed tracker project
Arduino based vehicle speed tracker projectArduino based vehicle speed tracker project
Arduino based vehicle speed tracker projectRased Khan
 
RS Khurmi Machine Design Clutch and Brake Exercise Numerical Solutions
RS Khurmi Machine Design Clutch and Brake Exercise Numerical SolutionsRS Khurmi Machine Design Clutch and Brake Exercise Numerical Solutions
RS Khurmi Machine Design Clutch and Brake Exercise Numerical SolutionsAtif Razi
 
Natalia Rutkowska - BIM School Course in Kraków
Natalia Rutkowska - BIM School Course in KrakówNatalia Rutkowska - BIM School Course in Kraków
Natalia Rutkowska - BIM School Course in Krakówbim.edu.pl
 
Hall booking system project report .pdf
Hall booking system project report  .pdfHall booking system project report  .pdf
Hall booking system project report .pdfKamal Acharya
 
NO1 Pandit Black Magic Removal in Uk kala jadu Specialist kala jadu for Love ...
NO1 Pandit Black Magic Removal in Uk kala jadu Specialist kala jadu for Love ...NO1 Pandit Black Magic Removal in Uk kala jadu Specialist kala jadu for Love ...
NO1 Pandit Black Magic Removal in Uk kala jadu Specialist kala jadu for Love ...Amil baba
 
NO1 Pandit Amil Baba In Bahawalpur, Sargodha, Sialkot, Sheikhupura, Rahim Yar...
NO1 Pandit Amil Baba In Bahawalpur, Sargodha, Sialkot, Sheikhupura, Rahim Yar...NO1 Pandit Amil Baba In Bahawalpur, Sargodha, Sialkot, Sheikhupura, Rahim Yar...
NO1 Pandit Amil Baba In Bahawalpur, Sargodha, Sialkot, Sheikhupura, Rahim Yar...Amil baba
 
Online blood donation management system project.pdf
Online blood donation management system project.pdfOnline blood donation management system project.pdf
Online blood donation management system project.pdfKamal Acharya
 
Top 13 Famous Civil Engineering Scientist
Top 13 Famous Civil Engineering ScientistTop 13 Famous Civil Engineering Scientist
Top 13 Famous Civil Engineering Scientistgettygaming1
 

Recently uploaded (20)

Halogenation process of chemical process industries
Halogenation process of chemical process industriesHalogenation process of chemical process industries
Halogenation process of chemical process industries
 
2024 DevOps Pro Europe - Growing at the edge
2024 DevOps Pro Europe - Growing at the edge2024 DevOps Pro Europe - Growing at the edge
2024 DevOps Pro Europe - Growing at the edge
 
Furniture showroom management system project.pdf
Furniture showroom management system project.pdfFurniture showroom management system project.pdf
Furniture showroom management system project.pdf
 
Pharmacy management system project report..pdf
Pharmacy management system project report..pdfPharmacy management system project report..pdf
Pharmacy management system project report..pdf
 
ONLINE VEHICLE RENTAL SYSTEM PROJECT REPORT.pdf
ONLINE VEHICLE RENTAL SYSTEM PROJECT REPORT.pdfONLINE VEHICLE RENTAL SYSTEM PROJECT REPORT.pdf
ONLINE VEHICLE RENTAL SYSTEM PROJECT REPORT.pdf
 
KIT-601 Lecture Notes-UNIT-3.pdf Mining Data Stream
KIT-601 Lecture Notes-UNIT-3.pdf Mining Data StreamKIT-601 Lecture Notes-UNIT-3.pdf Mining Data Stream
KIT-601 Lecture Notes-UNIT-3.pdf Mining Data Stream
 
Digital Signal Processing Lecture notes n.pdf
Digital Signal Processing Lecture notes n.pdfDigital Signal Processing Lecture notes n.pdf
Digital Signal Processing Lecture notes n.pdf
 
Construction method of steel structure space frame .pptx
Construction method of steel structure space frame .pptxConstruction method of steel structure space frame .pptx
Construction method of steel structure space frame .pptx
 
Introduction to Machine Learning Unit-5 Notes for II-II Mechanical Engineering
Introduction to Machine Learning Unit-5 Notes for II-II Mechanical EngineeringIntroduction to Machine Learning Unit-5 Notes for II-II Mechanical Engineering
Introduction to Machine Learning Unit-5 Notes for II-II Mechanical Engineering
 
KIT-601 Lecture Notes-UNIT-4.pdf Frequent Itemsets and Clustering
KIT-601 Lecture Notes-UNIT-4.pdf Frequent Itemsets and ClusteringKIT-601 Lecture Notes-UNIT-4.pdf Frequent Itemsets and Clustering
KIT-601 Lecture Notes-UNIT-4.pdf Frequent Itemsets and Clustering
 
Explosives Industry manufacturing process.pdf
Explosives Industry manufacturing process.pdfExplosives Industry manufacturing process.pdf
Explosives Industry manufacturing process.pdf
 
ONLINE CAR SERVICING SYSTEM PROJECT REPORT.pdf
ONLINE CAR SERVICING SYSTEM PROJECT REPORT.pdfONLINE CAR SERVICING SYSTEM PROJECT REPORT.pdf
ONLINE CAR SERVICING SYSTEM PROJECT REPORT.pdf
 
Arduino based vehicle speed tracker project
Arduino based vehicle speed tracker projectArduino based vehicle speed tracker project
Arduino based vehicle speed tracker project
 
RS Khurmi Machine Design Clutch and Brake Exercise Numerical Solutions
RS Khurmi Machine Design Clutch and Brake Exercise Numerical SolutionsRS Khurmi Machine Design Clutch and Brake Exercise Numerical Solutions
RS Khurmi Machine Design Clutch and Brake Exercise Numerical Solutions
 
Natalia Rutkowska - BIM School Course in Kraków
Natalia Rutkowska - BIM School Course in KrakówNatalia Rutkowska - BIM School Course in Kraków
Natalia Rutkowska - BIM School Course in Kraków
 
Hall booking system project report .pdf
Hall booking system project report  .pdfHall booking system project report  .pdf
Hall booking system project report .pdf
 
NO1 Pandit Black Magic Removal in Uk kala jadu Specialist kala jadu for Love ...
NO1 Pandit Black Magic Removal in Uk kala jadu Specialist kala jadu for Love ...NO1 Pandit Black Magic Removal in Uk kala jadu Specialist kala jadu for Love ...
NO1 Pandit Black Magic Removal in Uk kala jadu Specialist kala jadu for Love ...
 
NO1 Pandit Amil Baba In Bahawalpur, Sargodha, Sialkot, Sheikhupura, Rahim Yar...
NO1 Pandit Amil Baba In Bahawalpur, Sargodha, Sialkot, Sheikhupura, Rahim Yar...NO1 Pandit Amil Baba In Bahawalpur, Sargodha, Sialkot, Sheikhupura, Rahim Yar...
NO1 Pandit Amil Baba In Bahawalpur, Sargodha, Sialkot, Sheikhupura, Rahim Yar...
 
Online blood donation management system project.pdf
Online blood donation management system project.pdfOnline blood donation management system project.pdf
Online blood donation management system project.pdf
 
Top 13 Famous Civil Engineering Scientist
Top 13 Famous Civil Engineering ScientistTop 13 Famous Civil Engineering Scientist
Top 13 Famous Civil Engineering Scientist
 

Boolean algebra

  • 1. 1 Boolean Algebra and Logic Simplification  Boolean Operations and Expressions  Laws and Rules of Boolean Algebra  Boolean Analysis of Logic Circuits  Simplification Using Boolean Algebra  Standard Forms of Boolean Expressions
  • 2. 2 Introduction Boolean Algebra • George Boole(English mathematician), 1854 “An Investigation of the Laws of Thought, on Which Are Founded the Mathematical Theories of Logic and Probabilities” Boolean Algebra {(1,0), Var, (NOT, AND, OR), Thms} • Mathematical tool to expression and analyze digital (logic) circuits
  • 3. 3 Boolean functions : NOT, AND, OR, exclusive OR(XOR) : odd function exclusive NOR(XNOR) : even function(equivalence) Basic Functions
  • 4. 4 • AND Z=X ⋅ Y or Z=XY Z=1 if and only if X=1 and Y=1, otherwise Z=0 • OR Z=X + Y Z=1 if X=1 or if Y=1, or both X=1and Y=1. Z=0 if and only if X=0 and Y=0 • NOT Z=X′ or Z=1 if X=0, Z=0 if X=1 Basic Functions
  • 6. 6 Boolean Operations and Expressions • Boolean Addition – Logical OR operation Ex ) Determine the values of A, B, C, and D that make the sum term A+B’+C+D’ Sol) 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 Sol) 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
  • 7. 7Basic Identities of Boolean Algebra The relationship between a single variable X, its complement X′, and the binary constants 0 and 1
  • 8. 8Laws of Boolean Algebra • Commutative Law the order of literals does not matter A + B = B + A A B = B A
  • 9. 9 • 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
  • 10. 10 • Distributive Law : A(B + C) = AB + AC Laws of Boolean Algebra
  • 11. 11  A+0=A In math if you add 0 you have changed nothing in Boolean Algebra ORing with 0 changes nothing  A+1=1 ORing with 1 must give a 1 since if any input is 1 an OR gate will give a 1 Rules of Boolean Algebra
  • 12. 12  A•0=0 In math if 0 is multiplied with anything you get 0. If you AND anything with 0 you get 0  A•1 =A ANDing anything with 1 will yield the anything Rules of Boolean Algebra
  • 13. 13  A+A = A ORing with itself will give the same result.  A+A’=1 Either A or A’ must be 1 so A + A’ =1 A•A = A ANDing with itself will give the same result.  A•A’ =0 In digital Logic 1’ =0 and 0’ =1, so AA’=0 since one of the inputs must be 0. Rules of Boolean Algebra
  • 14. 14 • DeMorgan’s Theorem – (A • B)’ = A’ + B’ and (A + B)’ = A’ • B’ – DeMorgan’s theorem will help to simplify digital circuits using NORs and NANDs his theorem states DeMorgan’s Theorems
  • 15. 15 • Example: Apply DeMorgan’s theorem to the given expressions: YXZXF )XY()ZX(F )XY()ZX(F )XY()ZX(F )XY()ZX(F )XY)(ZX(F += += += ++= ++= += 2 2 2 2 2 2
  • 16. 16 Ex 4-8) Using Boolean algebra, simplify this expression AB+A(B+C)+B(B+C) Sol) AB+AB+AC+BB+BC =B(1+A+A+C)+AC=B+AC Simplification Using Boolean Algebra
  • 17. 17 Standard Forms of Boolean Expressions • 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’) • Principle of Duality : SOP ⇔ POS • Domain of a Boolean Expression The set of variables contained in the expression Ex) A’B+AB’C : the domain is {A, B, C}
  • 18. 18 • Implementation of a SOP Expression AND-OR logic • Conversion of General Expression to SOP Form A(B+CD)=AB +ACD Ex 4-12) Convert the expressions to SOP form (A+B) (B+C+D) Sol) (A+B)(B+C+D)=AB+AC+AD+ BB+BC+BD =B(1+A+C+D)+ AC+AD =B+AC+AD
  • 19. 19Standard SOP Form (Canonical SOP Form) – For all the missing variables, apply (x+x’)=1 to the AND terms of the expression – List all the min-terms in forms of the complete set of variables in ascending order Ex 4-13) Convert the following expression into standard SOP form: AB’C+A’B’+ABC’D Sol) domain={A,B,C,D}, AB’C(D’+D)+A’B’(C’+C)(D’+D) +ABC’D =AB’CD’+AB’CD+A’B’C’D’+A’B’C’D+A’B’CD’+A’B’CD+ABC’D =1010+1011+0000+0001+0010+0011+1101 =0+1+2+3+10+11+13 = Σ(0,1,2,3,10,11,13)
  • 20. 20Product-of-Sums Form • Implementation of a POS Expression OR-AND logic
  • 21. 21 Standard POS Form (Canonical POS Form) – For all the missing variables, apply (x’x)=0 to the OR terms of the expression – List all the max-terms in forms of the complete set of variables in ascending order Ex) Convert the following expression into standard POS form: (A+B’+C)(B’+C+D’)(A+B’+C’+D) Sol) domain={A,B,C,D}, (A+B’+C)(B’+C+D’) (A+B’+C’+D) =(A+B’+C+D’D)(A’A+B’+C+D’) (A+B’+C’+D) =(A+B’+C+D’)(A+B’+C+D)(A’+B’+C+D’) (A+B’+C+D’)(A+B’+C’+D)=(0100) )(0101)(0110)(1101)= Π(4,5,6,13)
  • 22. 22 Converting Standard SOP to Standard POS Step 1. Evaluate each product term in the SOP expression. Determine the binary numbers that represent the product terms Step 2. Determine all of the binary numbers not included in the evaluation in Step 1 Step 3. Write in equivalent sum term for each binary number Step 2 and expression in POS form Ex 4-17) Convert the following SOP to POS Sol) SOP= A’B’C’+A’BC’+A’BC+AB’C+ABC=0+2+3+5+7 =Σ(0,2,3,5,7) POS=(1)(4)(6) = Π(1, 4, 6) (A+B+C’)(A’+B+C) (A’+B’+C))