SlideShare a Scribd company logo
1 of 35
Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com
Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com 2
Session 7: Focus
 Introduction to Boolean Algebra
 Ordinary Algebra Vs Boolean Algebra
 Boolean Expressions
◦ Variables, literals and terms
◦ Complement and Dual
 Laws of Boolean Algebra
 Rules of Boolean Algebra
◦ Rules 1 to 6
Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com
Introduction to Boolean Algebra
Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com 4
George Boole
 George Boole (2 November 1815 – 8 December 1864)
 He was an English mathematician, educator, philosopher and logician.
 He worked in the fields of differential equations and algebraic logic,
and is best known as the author of The Laws of Thought (1854)
which contains Boolean algebra.
 Boolean logic is credited with laying the foundations for the
information age.
4
Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com 5
Boolean Algebra
 Founded by George Boole, in 1854.
 Boolean algebra is mathematics of logic, a
systematic way of expressing and analyzing the
operations of logic circuits
 It is one of the most basic tools available to the logic
designer
◦ It can be effectively used for simplification of complex
logic expressions
 Now, let us have a closer look at the different
postulates and theorems of Boolean algebra
 Their applications in minimizing Boolean
expressions
Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com 6
Introduction to Boolean Algebra
 Boolean algebra, quite interestingly, is simpler than
ordinary algebra.
 It is also composed of a set of symbols and a set of
rules to manipulate these symbols
Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com
Ordinary Algebra
Vs
Boolean Algebra
Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com 8
Ordinary Algebra Vs Boolean Algebra
Ordinary Algebra Boolean Algebra
Letter symbols can take on any
number of values including infinity
Letter symbols can take on either of
two values, that is, 0 and 1
Values assigned to a variable have a
numerical significance
Values assigned to a variable have a
logical significance
‘.’ and ‘+’ are respectively the signs
of multiplication and addition
‘.’ means an AND operation and ‘+’
means an OR operation
A+B is read as A plus B A+B is read as A OR B
Basic logic operations are AND, OR and
NOT
Captures both logic operations and
set operations such as intersection,
union and complement
Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com 9
Ordinary Algebra Vs Boolean Algebra
Ordinary Algebra Boolean Algebra
Letter symbols can take on any
number of values including infinity
Letter symbols can take on either of
two values, that is, 0 and 1
Values assigned to a variable have a
numerical significance
Values assigned to a variable have a
logical significance
‘.’ and ‘+’ are respectively the signs
of multiplication and addition
‘.’ means an AND operation and ‘+’
means an OR operation
A+B is read as A plus B A+B is read as A OR B
Basic logic operations are AND, OR and
NOT
Captures both logic operations and
set operations such as intersection,
union and complement
Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com
Boolean Expressions
Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com 11
Variables, Literals and Terms
 Variables are different symbols in a Boolean
expression
 They may take on the values ‘0’ or ‘1’
 Complement of a variable is not considered as a
separate variable
 Each occurrence of a variable or its complement is
called a literal
Variables :
Literals :
Terms :
 A term is the expression formed by literals
and operations at one level.
 Each term requires a gate and each
variable within the term designates an
input to the gate
2
3
2
Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com 12
Quiz 1: Variables, Literals and Terms
 How many Variables, literals and Terms are there in these
two Boolean expressions?
 How many gates are needed to construct them?
Boolean Expressions Variables Literals Terms Gates
3 8
3 4 2
3 NOT : 2
AND : 3
OR : 1
NOT : 2
AND : 2
OR : 1
Note: Assume both 2-input and 3-input gates are available to construct these expressions,
without minimization.
Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com
Equivalent and Complement
of
Boolean Expressions
Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com 14
Equivalent and Complement of
Boolean Expressions
 Two given Boolean expressions are said to be
equivalent
◦ If one of them equals ‘1’ only when the other equals ‘1’
and also one equals ‘0’ only when the other equals ‘0’
 They are said to be the complement of each other
◦ If one expression equals ‘1’ only when the other equals
‘0’, and vice versa
 The complement of a given Boolean expression is
obtained by
◦ Complementing each literal,
◦ Changing all ‘.’ to ‘+’ and all ‘+’ to ‘.’, all 0s to 1s and all
1s to 0s.
Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com 15
Quiz 2: Find Complements
 Find the complement of below Boolean expressions:
Boolean Expression Complement
Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com
Dual
of
Boolean Expressions
Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com 17
Dual of Boolean Expressions
The dual of a Boolean expression is obtained by
replacing
 All ‘.’ operations with ‘+’ operations
 All ‘+’ operations with ‘.’ operations,
 All 0s with 1s and all 1s with 0s and
 Leaving all literals unchanged
Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com 18
Quiz 2: Find Dual
 Find the dual of below Boolean expressions:
Boolean Expression Dual
Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com 19
Quiz 3: Find Dual and Complement
 Find the dual and Complement of below Boolean expression:
Boolean Expression
Dual
Complement
[(A+ ). + D]. + FB C E
Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com 20
What is Dual of a Boolean Expression?
The principle of duality pronounces that given
an expression which is always valid
in boolean algebra,
the dual expression is also always valid
 For example:
◦ A (B + C) = A . B + A . C
◦ It’s dual is also valid
◦ A + (B . C) = (A + B) . (A + C)
Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com
Laws
of
Boolean Algebra
Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com 22
Laws of Boolean Algebra
 The basic laws of Boolean algebra are:
 Commutative laws for addition and multiplication
 Associative laws for addition and multiplication
 Distributive law
 Each law is illustrated with two or three variables,
but the number of variables is not limited to this
Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com 23
Commutative Laws
 Commutative law of addition (OR) for two
variables is written as:
 A + B = B + A
 Commutative law of multiplication (AND) for two
variables is written as:
 A . B = B . A : it can also be written as AB = BA
Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com 24
Associative Laws
 Associative law of addition (OR) for three
variables is written as:
 A + (B + C) = (A + B) + C
 Associative law of multiplication (AND) for three
variables is written as:
 A . (B . C) = (A . B) . C
Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com 25
Distributive Law
 Distributive law for three variables can be written
as:
 A . (B + C) = (A . B) + (A . C)
Note that only . over + is distributive.
Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com
Rules
of
Boolean Algebra
Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com 27
Rules of Boolean Algebra
 A, B or C can represent a single variable or a combination of
variables
 These 12 rules are useful in simplifying Boolean expressions
Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com 28
Rule 1
 A + 0 = A
Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com 29
Rule 2
 A + 1 = 1
Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com 30
Rule 3
 A . 0 = 0
Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com 31
Rule 4
 A . 1 = A
Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com 32
Rule 5
 A + A = A (Idempotent or Identity Law)
 Valid for any number of the same input:
 A + A + A + + + + A = A
Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com 33
Rule 6
 A + = 1A
Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com 34
Session 7: Summary
 Introduction to Boolean Algebra
 Ordinary Algebra Vs Boolean Algebra
 Boolean Expressions
◦ Variables, literals and terms
◦ Complement and Dual
 Laws of Boolean Algebra
 Rules of Boolean Algebra
◦ Rules 1 to 6
Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com 35
References
Ref 1 Ref 2

More Related Content

What's hot

idea selection 3
idea selection 3idea selection 3
idea selection 3salmanxox
 

What's hot (16)

Digital Design Course Summary
 Digital Design Course Summary Digital Design Course Summary
Digital Design Course Summary
 
Digital Design Session 3
Digital Design Session 3Digital Design Session 3
Digital Design Session 3
 
Digital Design Session 28
Digital Design Session 28Digital Design Session 28
Digital Design Session 28
 
Digital Design Session 14
Digital Design Session 14Digital Design Session 14
Digital Design Session 14
 
Digital Design Session 17
Digital Design Session 17Digital Design Session 17
Digital Design Session 17
 
Digital Design Session 25
Digital Design Session 25Digital Design Session 25
Digital Design Session 25
 
Digital Design Session 22
Digital Design Session 22Digital Design Session 22
Digital Design Session 22
 
Digital Design Session 27
Digital Design Session 27Digital Design Session 27
Digital Design Session 27
 
Digital Design Session 29
Digital Design Session 29Digital Design Session 29
Digital Design Session 29
 
Digital Design Session 21
Digital Design Session 21Digital Design Session 21
Digital Design Session 21
 
Digital Design Session 18
Digital Design Session 18Digital Design Session 18
Digital Design Session 18
 
Digital Design Session 20
Digital Design Session 20Digital Design Session 20
Digital Design Session 20
 
Digital Design Session 19
Digital Design Session 19Digital Design Session 19
Digital Design Session 19
 
Digital Design Session 15
Digital Design Session 15Digital Design Session 15
Digital Design Session 15
 
idea selection 3
idea selection 3idea selection 3
idea selection 3
 
Digital Design Session 24
Digital Design Session 24Digital Design Session 24
Digital Design Session 24
 

More from International Institute of Information Technology - Bangalore (7)

Digital Design Session 26
Digital Design Session 26Digital Design Session 26
Digital Design Session 26
 
Digital Design Session 23
Digital Design Session 23Digital Design Session 23
Digital Design Session 23
 
Digital Design Session 16
Digital Design Session 16Digital Design Session 16
Digital Design Session 16
 
Digital Design Session 13
Digital Design Session 13Digital Design Session 13
Digital Design Session 13
 
Digital Design Session 11
Digital Design Session 11Digital Design Session 11
Digital Design Session 11
 
Digital Design Session 6
Digital Design Session 6Digital Design Session 6
Digital Design Session 6
 
Basic Electric Circuits Tutorial 7
Basic Electric Circuits Tutorial 7Basic Electric Circuits Tutorial 7
Basic Electric Circuits Tutorial 7
 

Recently uploaded

Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxDecoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxJoão Esperancinha
 
Extrusion Processes and Their Limitations
Extrusion Processes and Their LimitationsExtrusion Processes and Their Limitations
Extrusion Processes and Their Limitations120cr0395
 
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...ranjana rawat
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxIntroduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxupamatechverse
 
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝soniya singh
 
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSHARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSRajkumarAkumalla
 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxAsutosh Ranjan
 
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...srsj9000
 
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
 
Introduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxIntroduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxupamatechverse
 
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
 
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINEMANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINESIVASHANKAR N
 
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSKurinjimalarL3
 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Dr.Costas Sachpazis
 

Recently uploaded (20)

Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxDecoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
 
Extrusion Processes and Their Limitations
Extrusion Processes and Their LimitationsExtrusion Processes and Their Limitations
Extrusion Processes and Their Limitations
 
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptxExploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
 
Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxIntroduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptx
 
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
 
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSHARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptx
 
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
 
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
 
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCRCall Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
 
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
 
Introduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxIntroduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptx
 
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
 
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINEDJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
 
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINEMANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
 
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
 

Digital Design Session 7

  • 1. Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com
  • 2. Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com 2 Session 7: Focus  Introduction to Boolean Algebra  Ordinary Algebra Vs Boolean Algebra  Boolean Expressions ◦ Variables, literals and terms ◦ Complement and Dual  Laws of Boolean Algebra  Rules of Boolean Algebra ◦ Rules 1 to 6
  • 3. Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com Introduction to Boolean Algebra
  • 4. Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com 4 George Boole  George Boole (2 November 1815 – 8 December 1864)  He was an English mathematician, educator, philosopher and logician.  He worked in the fields of differential equations and algebraic logic, and is best known as the author of The Laws of Thought (1854) which contains Boolean algebra.  Boolean logic is credited with laying the foundations for the information age. 4
  • 5. Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com 5 Boolean Algebra  Founded by George Boole, in 1854.  Boolean algebra is mathematics of logic, a systematic way of expressing and analyzing the operations of logic circuits  It is one of the most basic tools available to the logic designer ◦ It can be effectively used for simplification of complex logic expressions  Now, let us have a closer look at the different postulates and theorems of Boolean algebra  Their applications in minimizing Boolean expressions
  • 6. Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com 6 Introduction to Boolean Algebra  Boolean algebra, quite interestingly, is simpler than ordinary algebra.  It is also composed of a set of symbols and a set of rules to manipulate these symbols
  • 7. Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com Ordinary Algebra Vs Boolean Algebra
  • 8. Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com 8 Ordinary Algebra Vs Boolean Algebra Ordinary Algebra Boolean Algebra Letter symbols can take on any number of values including infinity Letter symbols can take on either of two values, that is, 0 and 1 Values assigned to a variable have a numerical significance Values assigned to a variable have a logical significance ‘.’ and ‘+’ are respectively the signs of multiplication and addition ‘.’ means an AND operation and ‘+’ means an OR operation A+B is read as A plus B A+B is read as A OR B Basic logic operations are AND, OR and NOT Captures both logic operations and set operations such as intersection, union and complement
  • 9. Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com 9 Ordinary Algebra Vs Boolean Algebra Ordinary Algebra Boolean Algebra Letter symbols can take on any number of values including infinity Letter symbols can take on either of two values, that is, 0 and 1 Values assigned to a variable have a numerical significance Values assigned to a variable have a logical significance ‘.’ and ‘+’ are respectively the signs of multiplication and addition ‘.’ means an AND operation and ‘+’ means an OR operation A+B is read as A plus B A+B is read as A OR B Basic logic operations are AND, OR and NOT Captures both logic operations and set operations such as intersection, union and complement
  • 10. Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com Boolean Expressions
  • 11. Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com 11 Variables, Literals and Terms  Variables are different symbols in a Boolean expression  They may take on the values ‘0’ or ‘1’  Complement of a variable is not considered as a separate variable  Each occurrence of a variable or its complement is called a literal Variables : Literals : Terms :  A term is the expression formed by literals and operations at one level.  Each term requires a gate and each variable within the term designates an input to the gate 2 3 2
  • 12. Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com 12 Quiz 1: Variables, Literals and Terms  How many Variables, literals and Terms are there in these two Boolean expressions?  How many gates are needed to construct them? Boolean Expressions Variables Literals Terms Gates 3 8 3 4 2 3 NOT : 2 AND : 3 OR : 1 NOT : 2 AND : 2 OR : 1 Note: Assume both 2-input and 3-input gates are available to construct these expressions, without minimization.
  • 13. Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com Equivalent and Complement of Boolean Expressions
  • 14. Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com 14 Equivalent and Complement of Boolean Expressions  Two given Boolean expressions are said to be equivalent ◦ If one of them equals ‘1’ only when the other equals ‘1’ and also one equals ‘0’ only when the other equals ‘0’  They are said to be the complement of each other ◦ If one expression equals ‘1’ only when the other equals ‘0’, and vice versa  The complement of a given Boolean expression is obtained by ◦ Complementing each literal, ◦ Changing all ‘.’ to ‘+’ and all ‘+’ to ‘.’, all 0s to 1s and all 1s to 0s.
  • 15. Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com 15 Quiz 2: Find Complements  Find the complement of below Boolean expressions: Boolean Expression Complement
  • 16. Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com Dual of Boolean Expressions
  • 17. Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com 17 Dual of Boolean Expressions The dual of a Boolean expression is obtained by replacing  All ‘.’ operations with ‘+’ operations  All ‘+’ operations with ‘.’ operations,  All 0s with 1s and all 1s with 0s and  Leaving all literals unchanged
  • 18. Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com 18 Quiz 2: Find Dual  Find the dual of below Boolean expressions: Boolean Expression Dual
  • 19. Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com 19 Quiz 3: Find Dual and Complement  Find the dual and Complement of below Boolean expression: Boolean Expression Dual Complement [(A+ ). + D]. + FB C E
  • 20. Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com 20 What is Dual of a Boolean Expression? The principle of duality pronounces that given an expression which is always valid in boolean algebra, the dual expression is also always valid  For example: ◦ A (B + C) = A . B + A . C ◦ It’s dual is also valid ◦ A + (B . C) = (A + B) . (A + C)
  • 21. Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com Laws of Boolean Algebra
  • 22. Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com 22 Laws of Boolean Algebra  The basic laws of Boolean algebra are:  Commutative laws for addition and multiplication  Associative laws for addition and multiplication  Distributive law  Each law is illustrated with two or three variables, but the number of variables is not limited to this
  • 23. Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com 23 Commutative Laws  Commutative law of addition (OR) for two variables is written as:  A + B = B + A  Commutative law of multiplication (AND) for two variables is written as:  A . B = B . A : it can also be written as AB = BA
  • 24. Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com 24 Associative Laws  Associative law of addition (OR) for three variables is written as:  A + (B + C) = (A + B) + C  Associative law of multiplication (AND) for three variables is written as:  A . (B . C) = (A . B) . C
  • 25. Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com 25 Distributive Law  Distributive law for three variables can be written as:  A . (B + C) = (A . B) + (A . C) Note that only . over + is distributive.
  • 26. Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com Rules of Boolean Algebra
  • 27. Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com 27 Rules of Boolean Algebra  A, B or C can represent a single variable or a combination of variables  These 12 rules are useful in simplifying Boolean expressions
  • 28. Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com 28 Rule 1  A + 0 = A
  • 29. Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com 29 Rule 2  A + 1 = 1
  • 30. Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com 30 Rule 3  A . 0 = 0
  • 31. Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com 31 Rule 4  A . 1 = A
  • 32. Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com 32 Rule 5  A + A = A (Idempotent or Identity Law)  Valid for any number of the same input:  A + A + A + + + + A = A
  • 33. Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com 33 Rule 6  A + = 1A
  • 34. Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com 34 Session 7: Summary  Introduction to Boolean Algebra  Ordinary Algebra Vs Boolean Algebra  Boolean Expressions ◦ Variables, literals and terms ◦ Complement and Dual  Laws of Boolean Algebra  Rules of Boolean Algebra ◦ Rules 1 to 6
  • 35. Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com 35 References Ref 1 Ref 2