SlideShare a Scribd company logo
1 of 26
Download to read offline
Department of Communication Engineering, NCTU 1
Unit 2 Boolean Algebra
1. Developed by George Boole in 1847
2. Applied to the Design of Switching
Circuit by Claude Shannon in 1939
Department of Communication Engineering, NCTU 2
2.1 Basic Operations
Department of Communication Engineering, NCTU 3
Logic Design Unit 2 Boolean Algebra Sau-Hsuan Wu
 Boolean algebra: f : {0, 1}  {0, 1}
 Basic operations
 Inverse (complement)
 AND
 OR
 Inverse is denoted by (’)
 0' = 1
 1' = 0
 Inverter
Department of Communication Engineering, NCTU 4
Logic Design Unit 2 Boolean Algebra Sau-Hsuan Wu
11 1
01 0
00 1
00 0
C=A·BA B
Input Output
All possible
combinations
of inputs
Department of Communication Engineering, NCTU 5
Logic Design Unit 2 Boolean Algebra Sau-Hsuan Wu
11 1
11 0
10 1
00 0
C=A+BA B
Department of Communication Engineering, NCTU 6
Logic Design Unit 2 Boolean Algebra Sau-Hsuan Wu
 Basic operations of switching circuits
 A switch
 A · B  Two switches in a series
 A + B  Two switches in parallel
Department of Communication Engineering, NCTU 7
2.2 Boolean Expressions and Truth
Tables
Department of Communication Engineering, NCTU 8
Logic Design Unit 2 Boolean Algebra Sau-Hsuan Wu
 Boolean Expressions are formed by applications of basic
operations to one or more variables or constants, e.g.
 AB '+C
 [A(C+D)] '+BE
 Priority of operators: NOT > AND > OR
 Each expression corresponds directly to a circuit of logic gates
Department of Communication Engineering, NCTU 9
Logic Design Unit 2 Boolean Algebra Sau-Hsuan Wu
 A truth table specifies the values of a Boolean expression
for every possible combinations of variables in the
expression
 E.g. AB '+C
 If an expression has n-variables, the number of different
combinations of variables is 22…=2n
Department of Communication Engineering, NCTU 10
2.3 Basic Theorems and Laws
Department of Communication Engineering, NCTU 11
Logic Design Unit 2 Boolean Algebra Sau-Hsuan Wu
 Basic Theorems
Department of Communication Engineering, NCTU 12
Logic Design Unit 2 Boolean Algebra Sau-Hsuan Wu
 Commutative, associative and distributed laws
 Commutative laws :
XY = YX X+Y = Y+X
 Associative laws :
(XY)Z = X(YZ) = XYZ
(X+Y)+Z = X+(Y+Z) = X+Y+Z
Department of Communication Engineering, NCTU 13
Logic Design Unit 2 Boolean Algebra Sau-Hsuan Wu
 Distributed law
 AND operation distributes over OR:
X(Y+Z) = XY+XZ
 OR operation also distributes over AND
X+YZ = (X+Y)(X+Z)
= XX + XY + XZ + YZ
= X ( 1+ Y + Z) + YZ
= X + YZ
This distributive law does not hold for ordinary algebra
Department of Communication Engineering, NCTU 14
2.4 Simplification Theorems
Department of Communication Engineering, NCTU 15
Logic Design Unit 2 Boolean Algebra Sau-Hsuan Wu
 Simplifications of Boolean expressions
 Each expression corresponds to a circuit of logic gates.
Simplifying an expression leads to a simpler circuit
 Some useful theorems
 E.g. F = A(A’+B) By the second distributive law
Department of Communication Engineering, NCTU 16
Logic Design Unit 2 Boolean Algebra Sau-Hsuan Wu
 Example 1
 Example 2
Department of Communication Engineering, NCTU 17
2.4 Multiplying Out and Factoring
Department of Communication Engineering, NCTU 18
Logic Design Unit 2 Boolean Algebra Sau-Hsuan Wu
 An expression is said to be in sum-of-products form when
all products are the products of only single variables
 E.g. : AB’+ CD’E + AC’E
 ABC’+ DEFG + H
 When multiplying out an expression, the second
distributive law should be applied first when possible
 E.g. : (A + BC)(A + D + E) = A + BC(D + E) = A + BCD + BCE
Department of Communication Engineering, NCTU 19
Logic Design Unit 2 Boolean Algebra Sau-Hsuan Wu
 An expression is in product-of-sums when all sums are
the sums of single variables
 E.g. : (A+B’)(C+D’+E)(A+C’+E’)
 The second distributive law can be applied for
factorization
 E.g. :
Department of Communication Engineering, NCTU 20
Logic Design Unit 2 Boolean Algebra Sau-Hsuan Wu
 Example 1
Department of Communication Engineering, NCTU 21
Logic Design Unit 2 Boolean Algebra Sau-Hsuan Wu
 Two-level circuits
 Sum-of-products
 Product-of-sums
Department of Communication Engineering, NCTU 22
2.5 DeMorgan’s Laws
Department of Communication Engineering, NCTU 23
Logic Design Unit 2 Boolean Algebra Sau-Hsuan Wu
 DeMorgan’s Laws
 The complement of the sum is the product of the complements
(X+Y)’= X’Y’
 The complement of the product is the sum of the complements
(XY)’= X’+ Y’
 Can be verified by using a truth table
 DeMorgan’s Laws are easily generated to n variables
Department of Communication Engineering, NCTU 24
Logic Design Unit 2 Boolean Algebra Sau-Hsuan Wu
 Example 1
 Example 2
Department of Communication Engineering, NCTU 25
Logic Design Unit 2 Boolean Algebra Sau-Hsuan Wu
Department of Communication Engineering, NCTU 26
Logic Design Unit 2 Boolean Algebra Sau-Hsuan Wu


More Related Content

What's hot

Digital Differential Analyzer Line Drawing Algorithm
Digital Differential Analyzer Line Drawing AlgorithmDigital Differential Analyzer Line Drawing Algorithm
Digital Differential Analyzer Line Drawing AlgorithmKasun Ranga Wijeweera
 
Chapter 3 Output Primitives
Chapter 3 Output PrimitivesChapter 3 Output Primitives
Chapter 3 Output PrimitivesPrathimaBaliga
 
Computer graphics presentation
Computer graphics presentationComputer graphics presentation
Computer graphics presentationLOKENDRA PRAJAPATI
 
Digital Logic Design-Lecture 5
Digital Logic Design-Lecture 5Digital Logic Design-Lecture 5
Digital Logic Design-Lecture 5Samia Sultana
 
Computational geometry
Computational geometryComputational geometry
Computational geometrymurali9120
 
Lesson 28: The Fundamental Theorem of Calculus
Lesson 28: The Fundamental Theorem of CalculusLesson 28: The Fundamental Theorem of Calculus
Lesson 28: The Fundamental Theorem of CalculusMatthew Leingang
 
A Tutorial on Computational Geometry
A Tutorial on Computational GeometryA Tutorial on Computational Geometry
A Tutorial on Computational GeometryMinh-Tri Pham
 
Line drawing algorithm and antialiasing techniques
Line drawing algorithm and antialiasing techniquesLine drawing algorithm and antialiasing techniques
Line drawing algorithm and antialiasing techniquesAnkit Garg
 
Bca3010 computer oreineted numerical methods
Bca3010   computer oreineted numerical methodsBca3010   computer oreineted numerical methods
Bca3010 computer oreineted numerical methodssmumbahelp
 
ACM ICPC 2014 NEERC (Northeastern European Regional Contest) Problems Review
ACM ICPC 2014 NEERC (Northeastern European Regional Contest) Problems ReviewACM ICPC 2014 NEERC (Northeastern European Regional Contest) Problems Review
ACM ICPC 2014 NEERC (Northeastern European Regional Contest) Problems ReviewRoman Elizarov
 
Eight Formalisms for Defining Graph Models
Eight Formalisms for Defining Graph ModelsEight Formalisms for Defining Graph Models
Eight Formalisms for Defining Graph ModelsJérôme KUNEGIS
 
A mid point ellipse drawing algorithm on a hexagonal grid
A mid  point ellipse drawing algorithm on a hexagonal gridA mid  point ellipse drawing algorithm on a hexagonal grid
A mid point ellipse drawing algorithm on a hexagonal gridS M K
 
Introduction to homography
Introduction to homographyIntroduction to homography
Introduction to homographyShih-Hsiang Lin
 

What's hot (20)

Digital Differential Analyzer Line Drawing Algorithm
Digital Differential Analyzer Line Drawing AlgorithmDigital Differential Analyzer Line Drawing Algorithm
Digital Differential Analyzer Line Drawing Algorithm
 
Chapter 3 Output Primitives
Chapter 3 Output PrimitivesChapter 3 Output Primitives
Chapter 3 Output Primitives
 
bresenham circles and polygons in computer graphics(Computer graphics tutorials)
bresenham circles and polygons in computer graphics(Computer graphics tutorials)bresenham circles and polygons in computer graphics(Computer graphics tutorials)
bresenham circles and polygons in computer graphics(Computer graphics tutorials)
 
Computer graphics presentation
Computer graphics presentationComputer graphics presentation
Computer graphics presentation
 
Digital Logic Design-Lecture 5
Digital Logic Design-Lecture 5Digital Logic Design-Lecture 5
Digital Logic Design-Lecture 5
 
Computational geometry
Computational geometryComputational geometry
Computational geometry
 
DDA algorithm
DDA algorithmDDA algorithm
DDA algorithm
 
Lesson 28: The Fundamental Theorem of Calculus
Lesson 28: The Fundamental Theorem of CalculusLesson 28: The Fundamental Theorem of Calculus
Lesson 28: The Fundamental Theorem of Calculus
 
A Tutorial on Computational Geometry
A Tutorial on Computational GeometryA Tutorial on Computational Geometry
A Tutorial on Computational Geometry
 
Line drawing algorithm and antialiasing techniques
Line drawing algorithm and antialiasing techniquesLine drawing algorithm and antialiasing techniques
Line drawing algorithm and antialiasing techniques
 
Clipping 22
Clipping 22Clipping 22
Clipping 22
 
Bca3010 computer oreineted numerical methods
Bca3010   computer oreineted numerical methodsBca3010   computer oreineted numerical methods
Bca3010 computer oreineted numerical methods
 
ACM ICPC 2014 NEERC (Northeastern European Regional Contest) Problems Review
ACM ICPC 2014 NEERC (Northeastern European Regional Contest) Problems ReviewACM ICPC 2014 NEERC (Northeastern European Regional Contest) Problems Review
ACM ICPC 2014 NEERC (Northeastern European Regional Contest) Problems Review
 
Computer graphics 2
Computer graphics 2Computer graphics 2
Computer graphics 2
 
Eight Formalisms for Defining Graph Models
Eight Formalisms for Defining Graph ModelsEight Formalisms for Defining Graph Models
Eight Formalisms for Defining Graph Models
 
A mid point ellipse drawing algorithm on a hexagonal grid
A mid  point ellipse drawing algorithm on a hexagonal gridA mid  point ellipse drawing algorithm on a hexagonal grid
A mid point ellipse drawing algorithm on a hexagonal grid
 
Dda algorithm
Dda algorithmDda algorithm
Dda algorithm
 
Introduction to homography
Introduction to homographyIntroduction to homography
Introduction to homography
 
Lect3cg2011
Lect3cg2011Lect3cg2011
Lect3cg2011
 
Computer graphics notes watermark
Computer graphics notes watermarkComputer graphics notes watermark
Computer graphics notes watermark
 

Similar to Unit 02

Basic gates and boolean algebra
Basic gates and boolean algebraBasic gates and boolean algebra
Basic gates and boolean algebraSudheesh S Madhav
 
[01] Exit Exam Preparation 2023 DLD.pptx
[01] Exit Exam Preparation 2023 DLD.pptx[01] Exit Exam Preparation 2023 DLD.pptx
[01] Exit Exam Preparation 2023 DLD.pptxsolomonlemma14
 
ECE 2103_L6 Boolean Algebra Canonical Forms.pptx
ECE 2103_L6 Boolean Algebra Canonical Forms.pptxECE 2103_L6 Boolean Algebra Canonical Forms.pptx
ECE 2103_L6 Boolean Algebra Canonical Forms.pptxMdJubayerFaisalEmon
 
Ee2 chapter8 applicationsof_booleanalgebra
Ee2 chapter8 applicationsof_booleanalgebraEe2 chapter8 applicationsof_booleanalgebra
Ee2 chapter8 applicationsof_booleanalgebraCK Yang
 
102_2_digitalSystem_Chap_2_part_1.ppt
102_2_digitalSystem_Chap_2_part_1.ppt102_2_digitalSystem_Chap_2_part_1.ppt
102_2_digitalSystem_Chap_2_part_1.pptSATHYARAJECE
 
Unit 4 Switching Theory and Logic Gates
Unit 4 Switching Theory and Logic GatesUnit 4 Switching Theory and Logic Gates
Unit 4 Switching Theory and Logic GatesDr Piyush Charan
 
Unit-1 Part-2-v1.ppt
Unit-1 Part-2-v1.pptUnit-1 Part-2-v1.ppt
Unit-1 Part-2-v1.pptnaresh414857
 
chapter 3 Boolean algebra (2).pptx
chapter 3 Boolean algebra (2).pptxchapter 3 Boolean algebra (2).pptx
chapter 3 Boolean algebra (2).pptxRithinA1
 
Combinational and sequential logic
Combinational and sequential logicCombinational and sequential logic
Combinational and sequential logicDeepak John
 
Applied mathematics for complex engineering
Applied mathematics for complex engineeringApplied mathematics for complex engineering
Applied mathematics for complex engineeringSahl Buhary
 
NOTA TOPIK 2_SSK20152 (3).pptx
NOTA TOPIK 2_SSK20152 (3).pptxNOTA TOPIK 2_SSK20152 (3).pptx
NOTA TOPIK 2_SSK20152 (3).pptxeedayaya1
 

Similar to Unit 02 (20)

Basic gates and boolean algebra
Basic gates and boolean algebraBasic gates and boolean algebra
Basic gates and boolean algebra
 
[01] Exit Exam Preparation 2023 DLD.pptx
[01] Exit Exam Preparation 2023 DLD.pptx[01] Exit Exam Preparation 2023 DLD.pptx
[01] Exit Exam Preparation 2023 DLD.pptx
 
ECE 2103_L6 Boolean Algebra Canonical Forms.pptx
ECE 2103_L6 Boolean Algebra Canonical Forms.pptxECE 2103_L6 Boolean Algebra Canonical Forms.pptx
ECE 2103_L6 Boolean Algebra Canonical Forms.pptx
 
sop_pos(DE).pptx
sop_pos(DE).pptxsop_pos(DE).pptx
sop_pos(DE).pptx
 
Ee2 chapter8 applicationsof_booleanalgebra
Ee2 chapter8 applicationsof_booleanalgebraEe2 chapter8 applicationsof_booleanalgebra
Ee2 chapter8 applicationsof_booleanalgebra
 
Logic Design
Logic DesignLogic Design
Logic Design
 
DLD Chapter-2.pdf
DLD Chapter-2.pdfDLD Chapter-2.pdf
DLD Chapter-2.pdf
 
Digital Logic
Digital LogicDigital Logic
Digital Logic
 
102_2_digitalSystem_Chap_2_part_1.ppt
102_2_digitalSystem_Chap_2_part_1.ppt102_2_digitalSystem_Chap_2_part_1.ppt
102_2_digitalSystem_Chap_2_part_1.ppt
 
Unit 4 Switching Theory and Logic Gates
Unit 4 Switching Theory and Logic GatesUnit 4 Switching Theory and Logic Gates
Unit 4 Switching Theory and Logic Gates
 
Unit-1 Part-2-v1.ppt
Unit-1 Part-2-v1.pptUnit-1 Part-2-v1.ppt
Unit-1 Part-2-v1.ppt
 
lecture 1.pptx
lecture 1.pptxlecture 1.pptx
lecture 1.pptx
 
EE8351 DLC
EE8351 DLCEE8351 DLC
EE8351 DLC
 
2dig circ
2dig circ2dig circ
2dig circ
 
chapter 3 Boolean algebra (2).pptx
chapter 3 Boolean algebra (2).pptxchapter 3 Boolean algebra (2).pptx
chapter 3 Boolean algebra (2).pptx
 
Chapter 2 boolean part c
Chapter 2 boolean part cChapter 2 boolean part c
Chapter 2 boolean part c
 
Chapter 2
Chapter 2Chapter 2
Chapter 2
 
Combinational and sequential logic
Combinational and sequential logicCombinational and sequential logic
Combinational and sequential logic
 
Applied mathematics for complex engineering
Applied mathematics for complex engineeringApplied mathematics for complex engineering
Applied mathematics for complex engineering
 
NOTA TOPIK 2_SSK20152 (3).pptx
NOTA TOPIK 2_SSK20152 (3).pptxNOTA TOPIK 2_SSK20152 (3).pptx
NOTA TOPIK 2_SSK20152 (3).pptx
 

More from Partha_bappa

Alternative Vs Complementary Medicine
Alternative Vs Complementary MedicineAlternative Vs Complementary Medicine
Alternative Vs Complementary MedicinePartha_bappa
 
Digital Communication
Digital CommunicationDigital Communication
Digital CommunicationPartha_bappa
 
Fourier supplementals
Fourier supplementalsFourier supplementals
Fourier supplementalsPartha_bappa
 
Biology questions answer
Biology questions answerBiology questions answer
Biology questions answerPartha_bappa
 
INTERNAL Assign no 207( JAIPUR NATIONAL UNI)
INTERNAL Assign no   207( JAIPUR NATIONAL UNI)INTERNAL Assign no   207( JAIPUR NATIONAL UNI)
INTERNAL Assign no 207( JAIPUR NATIONAL UNI)Partha_bappa
 
internal Assign no 206 ( JAIPUR NATIONAL UNI)
internal Assign no   206 ( JAIPUR NATIONAL UNI)internal Assign no   206 ( JAIPUR NATIONAL UNI)
internal Assign no 206 ( JAIPUR NATIONAL UNI)Partha_bappa
 
INTERNATIONAL Assign no 205 (JAIPUR NATIONAL UNI)
INTERNATIONAL Assign no 205 (JAIPUR NATIONAL UNI)INTERNATIONAL Assign no 205 (JAIPUR NATIONAL UNI)
INTERNATIONAL Assign no 205 (JAIPUR NATIONAL UNI)Partha_bappa
 
INTERNAL Assign no 4 ( JAIPUR INTERNAL UNI)
INTERNAL Assign no   4 ( JAIPUR INTERNAL UNI)INTERNAL Assign no   4 ( JAIPUR INTERNAL UNI)
INTERNAL Assign no 4 ( JAIPUR INTERNAL UNI)Partha_bappa
 

More from Partha_bappa (10)

Alternative Vs Complementary Medicine
Alternative Vs Complementary MedicineAlternative Vs Complementary Medicine
Alternative Vs Complementary Medicine
 
Unit 07
Unit 07Unit 07
Unit 07
 
Digital Communication
Digital CommunicationDigital Communication
Digital Communication
 
Media Literacy
Media LiteracyMedia Literacy
Media Literacy
 
Fourier supplementals
Fourier supplementalsFourier supplementals
Fourier supplementals
 
Biology questions answer
Biology questions answerBiology questions answer
Biology questions answer
 
INTERNAL Assign no 207( JAIPUR NATIONAL UNI)
INTERNAL Assign no   207( JAIPUR NATIONAL UNI)INTERNAL Assign no   207( JAIPUR NATIONAL UNI)
INTERNAL Assign no 207( JAIPUR NATIONAL UNI)
 
internal Assign no 206 ( JAIPUR NATIONAL UNI)
internal Assign no   206 ( JAIPUR NATIONAL UNI)internal Assign no   206 ( JAIPUR NATIONAL UNI)
internal Assign no 206 ( JAIPUR NATIONAL UNI)
 
INTERNATIONAL Assign no 205 (JAIPUR NATIONAL UNI)
INTERNATIONAL Assign no 205 (JAIPUR NATIONAL UNI)INTERNATIONAL Assign no 205 (JAIPUR NATIONAL UNI)
INTERNATIONAL Assign no 205 (JAIPUR NATIONAL UNI)
 
INTERNAL Assign no 4 ( JAIPUR INTERNAL UNI)
INTERNAL Assign no   4 ( JAIPUR INTERNAL UNI)INTERNAL Assign no   4 ( JAIPUR INTERNAL UNI)
INTERNAL Assign no 4 ( JAIPUR INTERNAL UNI)
 

Recently uploaded

IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024Mark Billinghurst
 
An experimental study in using natural admixture as an alternative for chemic...
An experimental study in using natural admixture as an alternative for chemic...An experimental study in using natural admixture as an alternative for chemic...
An experimental study in using natural admixture as an alternative for chemic...Chandu841456
 
Internship report on mechanical engineering
Internship report on mechanical engineeringInternship report on mechanical engineering
Internship report on mechanical engineeringmalavadedarshan25
 
main PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidmain PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidNikhilNagaraju
 
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...VICTOR MAESTRE RAMIREZ
 
DATA ANALYTICS PPT definition usage example
DATA ANALYTICS PPT definition usage exampleDATA ANALYTICS PPT definition usage example
DATA ANALYTICS PPT definition usage examplePragyanshuParadkar1
 
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETE
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETEINFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETE
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETEroselinkalist12
 
Biology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptxBiology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptxDeepakSakkari2
 
Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...VICTOR MAESTRE RAMIREZ
 
Arduino_CSE ece ppt for working and principal of arduino.ppt
Arduino_CSE ece ppt for working and principal of arduino.pptArduino_CSE ece ppt for working and principal of arduino.ppt
Arduino_CSE ece ppt for working and principal of arduino.pptSAURABHKUMAR892774
 
Concrete Mix Design - IS 10262-2019 - .pptx
Concrete Mix Design - IS 10262-2019 - .pptxConcrete Mix Design - IS 10262-2019 - .pptx
Concrete Mix Design - IS 10262-2019 - .pptxKartikeyaDwivedi3
 
Call Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile serviceCall Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile servicerehmti665
 
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdfCCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdfAsst.prof M.Gokilavani
 
complete construction, environmental and economics information of biomass com...
complete construction, environmental and economics information of biomass com...complete construction, environmental and economics information of biomass com...
complete construction, environmental and economics information of biomass com...asadnawaz62
 
Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)
Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)
Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)dollysharma2066
 
Application of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptxApplication of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptx959SahilShah
 
Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionSachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionDr.Costas Sachpazis
 
Electronically Controlled suspensions system .pdf
Electronically Controlled suspensions system .pdfElectronically Controlled suspensions system .pdf
Electronically Controlled suspensions system .pdfme23b1001
 

Recently uploaded (20)

IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024
 
An experimental study in using natural admixture as an alternative for chemic...
An experimental study in using natural admixture as an alternative for chemic...An experimental study in using natural admixture as an alternative for chemic...
An experimental study in using natural admixture as an alternative for chemic...
 
Internship report on mechanical engineering
Internship report on mechanical engineeringInternship report on mechanical engineering
Internship report on mechanical engineering
 
main PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidmain PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfid
 
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...
 
DATA ANALYTICS PPT definition usage example
DATA ANALYTICS PPT definition usage exampleDATA ANALYTICS PPT definition usage example
DATA ANALYTICS PPT definition usage example
 
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETE
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETEINFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETE
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETE
 
Biology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptxBiology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptx
 
Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...
 
young call girls in Green Park🔝 9953056974 🔝 escort Service
young call girls in Green Park🔝 9953056974 🔝 escort Serviceyoung call girls in Green Park🔝 9953056974 🔝 escort Service
young call girls in Green Park🔝 9953056974 🔝 escort Service
 
Arduino_CSE ece ppt for working and principal of arduino.ppt
Arduino_CSE ece ppt for working and principal of arduino.pptArduino_CSE ece ppt for working and principal of arduino.ppt
Arduino_CSE ece ppt for working and principal of arduino.ppt
 
Concrete Mix Design - IS 10262-2019 - .pptx
Concrete Mix Design - IS 10262-2019 - .pptxConcrete Mix Design - IS 10262-2019 - .pptx
Concrete Mix Design - IS 10262-2019 - .pptx
 
Call Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile serviceCall Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile service
 
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdfCCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
 
complete construction, environmental and economics information of biomass com...
complete construction, environmental and economics information of biomass com...complete construction, environmental and economics information of biomass com...
complete construction, environmental and economics information of biomass com...
 
Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)
Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)
Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)
 
Application of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptxApplication of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptx
 
Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionSachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
 
Electronically Controlled suspensions system .pdf
Electronically Controlled suspensions system .pdfElectronically Controlled suspensions system .pdf
Electronically Controlled suspensions system .pdf
 
Design and analysis of solar grass cutter.pdf
Design and analysis of solar grass cutter.pdfDesign and analysis of solar grass cutter.pdf
Design and analysis of solar grass cutter.pdf
 

Unit 02

  • 1. Department of Communication Engineering, NCTU 1 Unit 2 Boolean Algebra 1. Developed by George Boole in 1847 2. Applied to the Design of Switching Circuit by Claude Shannon in 1939
  • 2. Department of Communication Engineering, NCTU 2 2.1 Basic Operations
  • 3. Department of Communication Engineering, NCTU 3 Logic Design Unit 2 Boolean Algebra Sau-Hsuan Wu  Boolean algebra: f : {0, 1}  {0, 1}  Basic operations  Inverse (complement)  AND  OR  Inverse is denoted by (’)  0' = 1  1' = 0  Inverter
  • 4. Department of Communication Engineering, NCTU 4 Logic Design Unit 2 Boolean Algebra Sau-Hsuan Wu 11 1 01 0 00 1 00 0 C=A·BA B Input Output All possible combinations of inputs
  • 5. Department of Communication Engineering, NCTU 5 Logic Design Unit 2 Boolean Algebra Sau-Hsuan Wu 11 1 11 0 10 1 00 0 C=A+BA B
  • 6. Department of Communication Engineering, NCTU 6 Logic Design Unit 2 Boolean Algebra Sau-Hsuan Wu  Basic operations of switching circuits  A switch  A · B  Two switches in a series  A + B  Two switches in parallel
  • 7. Department of Communication Engineering, NCTU 7 2.2 Boolean Expressions and Truth Tables
  • 8. Department of Communication Engineering, NCTU 8 Logic Design Unit 2 Boolean Algebra Sau-Hsuan Wu  Boolean Expressions are formed by applications of basic operations to one or more variables or constants, e.g.  AB '+C  [A(C+D)] '+BE  Priority of operators: NOT > AND > OR  Each expression corresponds directly to a circuit of logic gates
  • 9. Department of Communication Engineering, NCTU 9 Logic Design Unit 2 Boolean Algebra Sau-Hsuan Wu  A truth table specifies the values of a Boolean expression for every possible combinations of variables in the expression  E.g. AB '+C  If an expression has n-variables, the number of different combinations of variables is 22…=2n
  • 10. Department of Communication Engineering, NCTU 10 2.3 Basic Theorems and Laws
  • 11. Department of Communication Engineering, NCTU 11 Logic Design Unit 2 Boolean Algebra Sau-Hsuan Wu  Basic Theorems
  • 12. Department of Communication Engineering, NCTU 12 Logic Design Unit 2 Boolean Algebra Sau-Hsuan Wu  Commutative, associative and distributed laws  Commutative laws : XY = YX X+Y = Y+X  Associative laws : (XY)Z = X(YZ) = XYZ (X+Y)+Z = X+(Y+Z) = X+Y+Z
  • 13. Department of Communication Engineering, NCTU 13 Logic Design Unit 2 Boolean Algebra Sau-Hsuan Wu  Distributed law  AND operation distributes over OR: X(Y+Z) = XY+XZ  OR operation also distributes over AND X+YZ = (X+Y)(X+Z) = XX + XY + XZ + YZ = X ( 1+ Y + Z) + YZ = X + YZ This distributive law does not hold for ordinary algebra
  • 14. Department of Communication Engineering, NCTU 14 2.4 Simplification Theorems
  • 15. Department of Communication Engineering, NCTU 15 Logic Design Unit 2 Boolean Algebra Sau-Hsuan Wu  Simplifications of Boolean expressions  Each expression corresponds to a circuit of logic gates. Simplifying an expression leads to a simpler circuit  Some useful theorems  E.g. F = A(A’+B) By the second distributive law
  • 16. Department of Communication Engineering, NCTU 16 Logic Design Unit 2 Boolean Algebra Sau-Hsuan Wu  Example 1  Example 2
  • 17. Department of Communication Engineering, NCTU 17 2.4 Multiplying Out and Factoring
  • 18. Department of Communication Engineering, NCTU 18 Logic Design Unit 2 Boolean Algebra Sau-Hsuan Wu  An expression is said to be in sum-of-products form when all products are the products of only single variables  E.g. : AB’+ CD’E + AC’E  ABC’+ DEFG + H  When multiplying out an expression, the second distributive law should be applied first when possible  E.g. : (A + BC)(A + D + E) = A + BC(D + E) = A + BCD + BCE
  • 19. Department of Communication Engineering, NCTU 19 Logic Design Unit 2 Boolean Algebra Sau-Hsuan Wu  An expression is in product-of-sums when all sums are the sums of single variables  E.g. : (A+B’)(C+D’+E)(A+C’+E’)  The second distributive law can be applied for factorization  E.g. :
  • 20. Department of Communication Engineering, NCTU 20 Logic Design Unit 2 Boolean Algebra Sau-Hsuan Wu  Example 1
  • 21. Department of Communication Engineering, NCTU 21 Logic Design Unit 2 Boolean Algebra Sau-Hsuan Wu  Two-level circuits  Sum-of-products  Product-of-sums
  • 22. Department of Communication Engineering, NCTU 22 2.5 DeMorgan’s Laws
  • 23. Department of Communication Engineering, NCTU 23 Logic Design Unit 2 Boolean Algebra Sau-Hsuan Wu  DeMorgan’s Laws  The complement of the sum is the product of the complements (X+Y)’= X’Y’  The complement of the product is the sum of the complements (XY)’= X’+ Y’  Can be verified by using a truth table  DeMorgan’s Laws are easily generated to n variables
  • 24. Department of Communication Engineering, NCTU 24 Logic Design Unit 2 Boolean Algebra Sau-Hsuan Wu  Example 1  Example 2
  • 25. Department of Communication Engineering, NCTU 25 Logic Design Unit 2 Boolean Algebra Sau-Hsuan Wu
  • 26. Department of Communication Engineering, NCTU 26 Logic Design Unit 2 Boolean Algebra Sau-Hsuan Wu 