SlideShare a Scribd company logo
1 of 27
SSK 20152 : DISCRETE
MATHEMATICS 2
TOPIC 2: BOOLEAN ALGEBRA
DEFINITION
• Boolean Algebra is used to analyze and simplify the digital (logic)
circuits. It uses only the binary numbers i.e. 0 and 1.
• It is also called as Binary Algebra or logical Algebra.
• Boolean algebra was invented by George Boole in 1854.
RULE IN BOOLEAN ALGEBRA
Following are the important rules used in Boolean algebra.
• Variable used can have only two values. Binary 1 for HIGH and Binary 0 for
LOW.
• Complement of a variable is represented by an overbar (-). Thus, complement
of variable B is represented as B Bar. Thus if B = 0 then B Bar = 1 and B = 1
then B Bar = 0.
• ORing of the variables is represented by a plus (+) sign between them. For
example ORing of A, B, C is represented as A + B + C.
• Logical ANDing of the two or more variable is represented by writing a dot
between them such as A.B.C. Sometime the dot may be omitted like ABC.
BOOLEAN LAWS / THEOREMS
• There are six types of Boolean Laws.
i. Commutative law
• Any binary operation which satisfies the following expression is referred to as
commutative operation.
• Commutative law states that changing the sequence of the variables does not
have any effect on the output of a logic circuit.
A.B = B.A A + B = B + A
CONT…
ii. Associative law
• This law states that the order in which the logic operations are performed is
irrelevant as their effect is the same.
ii. Distributive law
• Distributive law states the following condition.
(A.B).C = A.(B.C) (A + B) + C = A + (B + C)
A.(B + C) = A.B +A.C
CONT…
iv. AND law
• These laws use the AND operation. Therefore they are called as AND laws.
iv. OR law
• These laws use the OR operation. Therefore they are called as OR laws.
A.1 = 1
A.A’ = 0
A.0 = 0
A.A = A
A + 1 = 1
A + A’ = 0
A + 0 = A
A + A = A
CONT…
vi. INVERSION law
• This law uses the NOT operation. The inversion law states that double
inversion of a variable results in the original variable itself.
A = A
DE’ MORGAN THEOREMS
• De Morgan has suggested two theorems which are extremely useful
in Boolean Algebra. The two theorems are discussed below.
Theorem 1
The complement of a product of variables is equal to the sum of the complements
of the variables,
Stated another way,
The complement of two or more ANDed variables is equivalent to the OR of the
complements of the individual variables.
A + B = A . B …….. (1)
CONT…
Theorem 2
The complement of a sum of variables is equal to the product of the complements
of the variables.
Stated another way,
The complement of two or more ORed variables is equivalent to the AND of the
complements of the individual variables,
A.B = A + B …….. (2)
BASIC RULES
SUM OF PRODUCTS
(SOP)
PRODUCTS OF SUM
(POS)
EXERCISE 1:
• Given an expression Y = (A + B)(A + C).
a) Draw a combinational logic gate
b) Build a truth table
c) Simplify the expression using Boolean Theorem
d) Draw a combinational logic gate based on the answer on (c)
e) Build a truth table based on simplify expression.
EXERCISE 2:
• Given an expression Y = AB’ + AB + BC
a) Draw a combinational logic gate
b) Build a truth table
c) Simplify the expression using Boolean Theorem
d) Draw a combinational logic gate based on the answer on (c)
e) Build a truth table based on simplify expression.
EXERCISE 3:
• Given an expression Y = A’B + BC’ + BC + AB’C’
a) Draw a combinational logic gate
b) Build a truth table
c) Simplify the expression using Boolean Theorem
d) Draw a combinational logic gate based on the answer on (c)
e) Build a truth table based on simplify expression.
EXERCISE 4:
• Given an expression Y = A’BC + AB’C + ABC’ + ABC
a) Draw a combinational logic gate
b) Build a truth table
c) Simplify the expression using Boolean Theorem
d) Draw a combinational logic gate based on the answer on (c)
e) Build a truth table based on simplify expression.
EXERCISE 5:
• Prove that an expression Y = (AB’ + AB) + AB’ is Y= A
KARNAUGH MAP (K-MAP)
• Karnaugh Maps offer a graphical method of reducing a digital circuit
to its minimum number of gates.
• The map is a simple table containing 1s and 0s that can express a
truth table or complex Boolean expression describing the operation
of a digital circuit.
• The map is then used to work out the minimum number of gates
needed, by graphical means rather than by algebra.
• Karnaugh maps can be used on small circuits having two or three
inputs as an alternative to Boolean algebra, and on more complex
circuits having up to 6 inputs, it can provide quicker and simpler
minimisation than Boolean algebra.
CONT…
Constructing Karnaugh Maps
• The shape and size of the map is dependent on the number of binary
inputs in the circuit to be analysed. The map needs one cell for each
possible binary word applied to the inputs.
CONT…
Steps to solve expression using K-map:
i. Select K-map according to the number of variables.
ii. Identify minterms or maxterms as given in problem.
iii. For SOP put 1’s in blocks of K-map respective to the minterms (0’s
elsewhere).
iv. For POS put 0’s in blocks of K-map respective to the maxterms(1’s
elsewhere).
v. Make rectangular groups containing total terms in power of two like
2,4,8 ..(except 1) and try to cover as many elements as you can in one
group.
vi. From the groups made in step 5 find the product terms and sum them
up for SOP form.
EXAMPLE 1:
EXAMPLE 2:
EXERCISE 6:
EXERCISE 7:
EXERCISE 8:
Consider the expression Z = f(A,B) = A’B’ + AB’ + A’B plotted on the Karnaugh map.
EXERCISE 9:
INPUT OUTPUT
X Y Z P
0 0 0 0
0 0 1 1
0 1 0 1
0 1 1 0
1 0 0 0
1 0 1 1
1 1 0 1
1 1 1 0
Transfer the truth table below to the Karnaugh Map and write an expression.
25
EXERCISE 10:
Using Karnaugh map, proof that an expression:
Y = AB’C’ + A’BC’ + ABC’ + AB’C + A’BC + ABC is Y = A + A’B
26
SIMULATOR:
• Boolean Algebra Simplifier (bool-simplifier.com)
• Online Karnaugh map solver with circuit for up to 6 variables
(32x8.com)
• K-Map Generator SOP POS Implicants (aashpointo.github.io)
• Karnaugh Map Solver (charlie-coleman.com)
• 2 Variables (Karnaugh's) K-Map Solver with Steps (getcalc.com)
• karnaugh map karnak truth table Veitch diagram, is a method to
simplify Boolean algebra expressions. The Karnaugh map reduces the
need for extensive calculations example problems (leventozturk.com)

More Related Content

Similar to NOTA TOPIK 2_SSK20152 (3).pptx

Lecture 05-Logic expression and Boolean Algebra.pptx
Lecture 05-Logic expression and Boolean Algebra.pptxLecture 05-Logic expression and Boolean Algebra.pptx
Lecture 05-Logic expression and Boolean Algebra.pptxWilliamJosephat1
 
DigitalLogic_BooleanAlgebra_P.pdf
DigitalLogic_BooleanAlgebra_P.pdfDigitalLogic_BooleanAlgebra_P.pdf
DigitalLogic_BooleanAlgebra_P.pdfk vimal kumar
 
B sc3 unit 3 boolean algebra
B sc3 unit 3 boolean algebraB sc3 unit 3 boolean algebra
B sc3 unit 3 boolean algebraMahiboobAliMulla
 
Digital systems logicgates-booleanalgebra
Digital systems logicgates-booleanalgebraDigital systems logicgates-booleanalgebra
Digital systems logicgates-booleanalgebraelfeds916
 
4 logic circuit optimisation
4 logic circuit optimisation4 logic circuit optimisation
4 logic circuit optimisationchandkec
 
Chapter 2 Boolean Algebra (part 2)
Chapter 2 Boolean Algebra (part 2)Chapter 2 Boolean Algebra (part 2)
Chapter 2 Boolean Algebra (part 2)Frankie Jones
 
IS 151 lecture 4
IS 151   lecture 4IS 151   lecture 4
IS 151 lecture 4wajanga
 
discrete_BOOLEAN ALGEBRA
discrete_BOOLEAN ALGEBRAdiscrete_BOOLEAN ALGEBRA
discrete_BOOLEAN ALGEBRAZULFIQ RASHID
 
Lec4-Algghhhhgghgjhf5dvbgyuygit87678.pdf
Lec4-Algghhhhgghgjhf5dvbgyuygit87678.pdfLec4-Algghhhhgghgjhf5dvbgyuygit87678.pdf
Lec4-Algghhhhgghgjhf5dvbgyuygit87678.pdfabdnazar2003
 
boolean algebra and logic simplification
boolean algebra and logic simplificationboolean algebra and logic simplification
boolean algebra and logic simplificationUnsa Shakir
 
Basic gates and boolean algebra
Basic gates and boolean algebraBasic gates and boolean algebra
Basic gates and boolean algebraSudheesh S Madhav
 

Similar to NOTA TOPIK 2_SSK20152 (3).pptx (20)

EE8351 DLC
EE8351 DLCEE8351 DLC
EE8351 DLC
 
Lecture 05-Logic expression and Boolean Algebra.pptx
Lecture 05-Logic expression and Boolean Algebra.pptxLecture 05-Logic expression and Boolean Algebra.pptx
Lecture 05-Logic expression and Boolean Algebra.pptx
 
Minimizing boolean
Minimizing booleanMinimizing boolean
Minimizing boolean
 
Minimizing boolean
Minimizing booleanMinimizing boolean
Minimizing boolean
 
Combinational circuit
Combinational circuitCombinational circuit
Combinational circuit
 
DigitalLogic_BooleanAlgebra_P.pdf
DigitalLogic_BooleanAlgebra_P.pdfDigitalLogic_BooleanAlgebra_P.pdf
DigitalLogic_BooleanAlgebra_P.pdf
 
PPT 1.pptx
PPT 1.pptxPPT 1.pptx
PPT 1.pptx
 
3,EEng k-map.pdf
3,EEng k-map.pdf3,EEng k-map.pdf
3,EEng k-map.pdf
 
B sc3 unit 3 boolean algebra
B sc3 unit 3 boolean algebraB sc3 unit 3 boolean algebra
B sc3 unit 3 boolean algebra
 
Digital systems logicgates-booleanalgebra
Digital systems logicgates-booleanalgebraDigital systems logicgates-booleanalgebra
Digital systems logicgates-booleanalgebra
 
07 boolean algebra
07 boolean algebra07 boolean algebra
07 boolean algebra
 
UNIT V.pptx
UNIT V.pptxUNIT V.pptx
UNIT V.pptx
 
4 logic circuit optimisation
4 logic circuit optimisation4 logic circuit optimisation
4 logic circuit optimisation
 
Chapter 2 Boolean Algebra (part 2)
Chapter 2 Boolean Algebra (part 2)Chapter 2 Boolean Algebra (part 2)
Chapter 2 Boolean Algebra (part 2)
 
Boolean Algebra DLD
Boolean Algebra DLDBoolean Algebra DLD
Boolean Algebra DLD
 
IS 151 lecture 4
IS 151   lecture 4IS 151   lecture 4
IS 151 lecture 4
 
discrete_BOOLEAN ALGEBRA
discrete_BOOLEAN ALGEBRAdiscrete_BOOLEAN ALGEBRA
discrete_BOOLEAN ALGEBRA
 
Lec4-Algghhhhgghgjhf5dvbgyuygit87678.pdf
Lec4-Algghhhhgghgjhf5dvbgyuygit87678.pdfLec4-Algghhhhgghgjhf5dvbgyuygit87678.pdf
Lec4-Algghhhhgghgjhf5dvbgyuygit87678.pdf
 
boolean algebra and logic simplification
boolean algebra and logic simplificationboolean algebra and logic simplification
boolean algebra and logic simplification
 
Basic gates and boolean algebra
Basic gates and boolean algebraBasic gates and boolean algebra
Basic gates and boolean algebra
 

Recently uploaded

EMERCE - 2024 - AMSTERDAM - CROSS-PLATFORM TRACKING WITH GOOGLE ANALYTICS.pptx
EMERCE - 2024 - AMSTERDAM - CROSS-PLATFORM  TRACKING WITH GOOGLE ANALYTICS.pptxEMERCE - 2024 - AMSTERDAM - CROSS-PLATFORM  TRACKING WITH GOOGLE ANALYTICS.pptx
EMERCE - 2024 - AMSTERDAM - CROSS-PLATFORM TRACKING WITH GOOGLE ANALYTICS.pptxthyngster
 
dokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.ppt
dokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.pptdokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.ppt
dokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.pptSonatrach
 
办理(Vancouver毕业证书)加拿大温哥华岛大学毕业证成绩单原版一比一
办理(Vancouver毕业证书)加拿大温哥华岛大学毕业证成绩单原版一比一办理(Vancouver毕业证书)加拿大温哥华岛大学毕业证成绩单原版一比一
办理(Vancouver毕业证书)加拿大温哥华岛大学毕业证成绩单原版一比一F La
 
Customer Service Analytics - Make Sense of All Your Data.pptx
Customer Service Analytics - Make Sense of All Your Data.pptxCustomer Service Analytics - Make Sense of All Your Data.pptx
Customer Service Analytics - Make Sense of All Your Data.pptxEmmanuel Dauda
 
Brighton SEO | April 2024 | Data Storytelling
Brighton SEO | April 2024 | Data StorytellingBrighton SEO | April 2024 | Data Storytelling
Brighton SEO | April 2024 | Data StorytellingNeil Barnes
 
ASML's Taxonomy Adventure by Daniel Canter
ASML's Taxonomy Adventure by Daniel CanterASML's Taxonomy Adventure by Daniel Canter
ASML's Taxonomy Adventure by Daniel Cantervoginip
 
High Class Call Girls Noida Sector 39 Aarushi 🔝8264348440🔝 Independent Escort...
High Class Call Girls Noida Sector 39 Aarushi 🔝8264348440🔝 Independent Escort...High Class Call Girls Noida Sector 39 Aarushi 🔝8264348440🔝 Independent Escort...
High Class Call Girls Noida Sector 39 Aarushi 🔝8264348440🔝 Independent Escort...soniya singh
 
科罗拉多大学波尔得分校毕业证学位证成绩单-可办理
科罗拉多大学波尔得分校毕业证学位证成绩单-可办理科罗拉多大学波尔得分校毕业证学位证成绩单-可办理
科罗拉多大学波尔得分校毕业证学位证成绩单-可办理e4aez8ss
 
Call Girls In Mahipalpur O9654467111 Escorts Service
Call Girls In Mahipalpur O9654467111  Escorts ServiceCall Girls In Mahipalpur O9654467111  Escorts Service
Call Girls In Mahipalpur O9654467111 Escorts ServiceSapana Sha
 
Industrialised data - the key to AI success.pdf
Industrialised data - the key to AI success.pdfIndustrialised data - the key to AI success.pdf
Industrialised data - the key to AI success.pdfLars Albertsson
 
vip Sarai Rohilla Call Girls 9999965857 Call or WhatsApp Now Book
vip Sarai Rohilla Call Girls 9999965857 Call or WhatsApp Now Bookvip Sarai Rohilla Call Girls 9999965857 Call or WhatsApp Now Book
vip Sarai Rohilla Call Girls 9999965857 Call or WhatsApp Now Bookmanojkuma9823
 
PKS-TGC-1084-630 - Stage 1 Proposal.pptx
PKS-TGC-1084-630 - Stage 1 Proposal.pptxPKS-TGC-1084-630 - Stage 1 Proposal.pptx
PKS-TGC-1084-630 - Stage 1 Proposal.pptxPramod Kumar Srivastava
 
RadioAdProWritingCinderellabyButleri.pdf
RadioAdProWritingCinderellabyButleri.pdfRadioAdProWritingCinderellabyButleri.pdf
RadioAdProWritingCinderellabyButleri.pdfgstagge
 
9654467111 Call Girls In Munirka Hotel And Home Service
9654467111 Call Girls In Munirka Hotel And Home Service9654467111 Call Girls In Munirka Hotel And Home Service
9654467111 Call Girls In Munirka Hotel And Home ServiceSapana Sha
 
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Callshivangimorya083
 
Dubai Call Girls Wifey O52&786472 Call Girls Dubai
Dubai Call Girls Wifey O52&786472 Call Girls DubaiDubai Call Girls Wifey O52&786472 Call Girls Dubai
Dubai Call Girls Wifey O52&786472 Call Girls Dubaihf8803863
 
Data Science Jobs and Salaries Analysis.pptx
Data Science Jobs and Salaries Analysis.pptxData Science Jobs and Salaries Analysis.pptx
Data Science Jobs and Salaries Analysis.pptxFurkanTasci3
 

Recently uploaded (20)

EMERCE - 2024 - AMSTERDAM - CROSS-PLATFORM TRACKING WITH GOOGLE ANALYTICS.pptx
EMERCE - 2024 - AMSTERDAM - CROSS-PLATFORM  TRACKING WITH GOOGLE ANALYTICS.pptxEMERCE - 2024 - AMSTERDAM - CROSS-PLATFORM  TRACKING WITH GOOGLE ANALYTICS.pptx
EMERCE - 2024 - AMSTERDAM - CROSS-PLATFORM TRACKING WITH GOOGLE ANALYTICS.pptx
 
dokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.ppt
dokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.pptdokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.ppt
dokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.ppt
 
办理(Vancouver毕业证书)加拿大温哥华岛大学毕业证成绩单原版一比一
办理(Vancouver毕业证书)加拿大温哥华岛大学毕业证成绩单原版一比一办理(Vancouver毕业证书)加拿大温哥华岛大学毕业证成绩单原版一比一
办理(Vancouver毕业证书)加拿大温哥华岛大学毕业证成绩单原版一比一
 
Customer Service Analytics - Make Sense of All Your Data.pptx
Customer Service Analytics - Make Sense of All Your Data.pptxCustomer Service Analytics - Make Sense of All Your Data.pptx
Customer Service Analytics - Make Sense of All Your Data.pptx
 
Deep Generative Learning for All - The Gen AI Hype (Spring 2024)
Deep Generative Learning for All - The Gen AI Hype (Spring 2024)Deep Generative Learning for All - The Gen AI Hype (Spring 2024)
Deep Generative Learning for All - The Gen AI Hype (Spring 2024)
 
Brighton SEO | April 2024 | Data Storytelling
Brighton SEO | April 2024 | Data StorytellingBrighton SEO | April 2024 | Data Storytelling
Brighton SEO | April 2024 | Data Storytelling
 
ASML's Taxonomy Adventure by Daniel Canter
ASML's Taxonomy Adventure by Daniel CanterASML's Taxonomy Adventure by Daniel Canter
ASML's Taxonomy Adventure by Daniel Canter
 
E-Commerce Order PredictionShraddha Kamble.pptx
E-Commerce Order PredictionShraddha Kamble.pptxE-Commerce Order PredictionShraddha Kamble.pptx
E-Commerce Order PredictionShraddha Kamble.pptx
 
High Class Call Girls Noida Sector 39 Aarushi 🔝8264348440🔝 Independent Escort...
High Class Call Girls Noida Sector 39 Aarushi 🔝8264348440🔝 Independent Escort...High Class Call Girls Noida Sector 39 Aarushi 🔝8264348440🔝 Independent Escort...
High Class Call Girls Noida Sector 39 Aarushi 🔝8264348440🔝 Independent Escort...
 
科罗拉多大学波尔得分校毕业证学位证成绩单-可办理
科罗拉多大学波尔得分校毕业证学位证成绩单-可办理科罗拉多大学波尔得分校毕业证学位证成绩单-可办理
科罗拉多大学波尔得分校毕业证学位证成绩单-可办理
 
Call Girls In Mahipalpur O9654467111 Escorts Service
Call Girls In Mahipalpur O9654467111  Escorts ServiceCall Girls In Mahipalpur O9654467111  Escorts Service
Call Girls In Mahipalpur O9654467111 Escorts Service
 
Industrialised data - the key to AI success.pdf
Industrialised data - the key to AI success.pdfIndustrialised data - the key to AI success.pdf
Industrialised data - the key to AI success.pdf
 
vip Sarai Rohilla Call Girls 9999965857 Call or WhatsApp Now Book
vip Sarai Rohilla Call Girls 9999965857 Call or WhatsApp Now Bookvip Sarai Rohilla Call Girls 9999965857 Call or WhatsApp Now Book
vip Sarai Rohilla Call Girls 9999965857 Call or WhatsApp Now Book
 
PKS-TGC-1084-630 - Stage 1 Proposal.pptx
PKS-TGC-1084-630 - Stage 1 Proposal.pptxPKS-TGC-1084-630 - Stage 1 Proposal.pptx
PKS-TGC-1084-630 - Stage 1 Proposal.pptx
 
RadioAdProWritingCinderellabyButleri.pdf
RadioAdProWritingCinderellabyButleri.pdfRadioAdProWritingCinderellabyButleri.pdf
RadioAdProWritingCinderellabyButleri.pdf
 
9654467111 Call Girls In Munirka Hotel And Home Service
9654467111 Call Girls In Munirka Hotel And Home Service9654467111 Call Girls In Munirka Hotel And Home Service
9654467111 Call Girls In Munirka Hotel And Home Service
 
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call
 
Dubai Call Girls Wifey O52&786472 Call Girls Dubai
Dubai Call Girls Wifey O52&786472 Call Girls DubaiDubai Call Girls Wifey O52&786472 Call Girls Dubai
Dubai Call Girls Wifey O52&786472 Call Girls Dubai
 
Data Science Jobs and Salaries Analysis.pptx
Data Science Jobs and Salaries Analysis.pptxData Science Jobs and Salaries Analysis.pptx
Data Science Jobs and Salaries Analysis.pptx
 
Call Girls in Saket 99530🔝 56974 Escort Service
Call Girls in Saket 99530🔝 56974 Escort ServiceCall Girls in Saket 99530🔝 56974 Escort Service
Call Girls in Saket 99530🔝 56974 Escort Service
 

NOTA TOPIK 2_SSK20152 (3).pptx

  • 1. SSK 20152 : DISCRETE MATHEMATICS 2 TOPIC 2: BOOLEAN ALGEBRA
  • 2. DEFINITION • Boolean Algebra is used to analyze and simplify the digital (logic) circuits. It uses only the binary numbers i.e. 0 and 1. • It is also called as Binary Algebra or logical Algebra. • Boolean algebra was invented by George Boole in 1854.
  • 3. RULE IN BOOLEAN ALGEBRA Following are the important rules used in Boolean algebra. • Variable used can have only two values. Binary 1 for HIGH and Binary 0 for LOW. • Complement of a variable is represented by an overbar (-). Thus, complement of variable B is represented as B Bar. Thus if B = 0 then B Bar = 1 and B = 1 then B Bar = 0. • ORing of the variables is represented by a plus (+) sign between them. For example ORing of A, B, C is represented as A + B + C. • Logical ANDing of the two or more variable is represented by writing a dot between them such as A.B.C. Sometime the dot may be omitted like ABC.
  • 4. BOOLEAN LAWS / THEOREMS • There are six types of Boolean Laws. i. Commutative law • Any binary operation which satisfies the following expression is referred to as commutative operation. • Commutative law states that changing the sequence of the variables does not have any effect on the output of a logic circuit. A.B = B.A A + B = B + A
  • 5. CONT… ii. Associative law • This law states that the order in which the logic operations are performed is irrelevant as their effect is the same. ii. Distributive law • Distributive law states the following condition. (A.B).C = A.(B.C) (A + B) + C = A + (B + C) A.(B + C) = A.B +A.C
  • 6. CONT… iv. AND law • These laws use the AND operation. Therefore they are called as AND laws. iv. OR law • These laws use the OR operation. Therefore they are called as OR laws. A.1 = 1 A.A’ = 0 A.0 = 0 A.A = A A + 1 = 1 A + A’ = 0 A + 0 = A A + A = A
  • 7. CONT… vi. INVERSION law • This law uses the NOT operation. The inversion law states that double inversion of a variable results in the original variable itself. A = A
  • 8. DE’ MORGAN THEOREMS • De Morgan has suggested two theorems which are extremely useful in Boolean Algebra. The two theorems are discussed below. Theorem 1 The complement of a product of variables is equal to the sum of the complements of the variables, Stated another way, The complement of two or more ANDed variables is equivalent to the OR of the complements of the individual variables. A + B = A . B …….. (1)
  • 9. CONT… Theorem 2 The complement of a sum of variables is equal to the product of the complements of the variables. Stated another way, The complement of two or more ORed variables is equivalent to the AND of the complements of the individual variables, A.B = A + B …….. (2)
  • 12. EXERCISE 1: • Given an expression Y = (A + B)(A + C). a) Draw a combinational logic gate b) Build a truth table c) Simplify the expression using Boolean Theorem d) Draw a combinational logic gate based on the answer on (c) e) Build a truth table based on simplify expression.
  • 13. EXERCISE 2: • Given an expression Y = AB’ + AB + BC a) Draw a combinational logic gate b) Build a truth table c) Simplify the expression using Boolean Theorem d) Draw a combinational logic gate based on the answer on (c) e) Build a truth table based on simplify expression.
  • 14. EXERCISE 3: • Given an expression Y = A’B + BC’ + BC + AB’C’ a) Draw a combinational logic gate b) Build a truth table c) Simplify the expression using Boolean Theorem d) Draw a combinational logic gate based on the answer on (c) e) Build a truth table based on simplify expression.
  • 15. EXERCISE 4: • Given an expression Y = A’BC + AB’C + ABC’ + ABC a) Draw a combinational logic gate b) Build a truth table c) Simplify the expression using Boolean Theorem d) Draw a combinational logic gate based on the answer on (c) e) Build a truth table based on simplify expression.
  • 16. EXERCISE 5: • Prove that an expression Y = (AB’ + AB) + AB’ is Y= A
  • 17. KARNAUGH MAP (K-MAP) • Karnaugh Maps offer a graphical method of reducing a digital circuit to its minimum number of gates. • The map is a simple table containing 1s and 0s that can express a truth table or complex Boolean expression describing the operation of a digital circuit. • The map is then used to work out the minimum number of gates needed, by graphical means rather than by algebra. • Karnaugh maps can be used on small circuits having two or three inputs as an alternative to Boolean algebra, and on more complex circuits having up to 6 inputs, it can provide quicker and simpler minimisation than Boolean algebra.
  • 18. CONT… Constructing Karnaugh Maps • The shape and size of the map is dependent on the number of binary inputs in the circuit to be analysed. The map needs one cell for each possible binary word applied to the inputs.
  • 19. CONT… Steps to solve expression using K-map: i. Select K-map according to the number of variables. ii. Identify minterms or maxterms as given in problem. iii. For SOP put 1’s in blocks of K-map respective to the minterms (0’s elsewhere). iv. For POS put 0’s in blocks of K-map respective to the maxterms(1’s elsewhere). v. Make rectangular groups containing total terms in power of two like 2,4,8 ..(except 1) and try to cover as many elements as you can in one group. vi. From the groups made in step 5 find the product terms and sum them up for SOP form.
  • 24. EXERCISE 8: Consider the expression Z = f(A,B) = A’B’ + AB’ + A’B plotted on the Karnaugh map.
  • 25. EXERCISE 9: INPUT OUTPUT X Y Z P 0 0 0 0 0 0 1 1 0 1 0 1 0 1 1 0 1 0 0 0 1 0 1 1 1 1 0 1 1 1 1 0 Transfer the truth table below to the Karnaugh Map and write an expression. 25
  • 26. EXERCISE 10: Using Karnaugh map, proof that an expression: Y = AB’C’ + A’BC’ + ABC’ + AB’C + A’BC + ABC is Y = A + A’B 26
  • 27. SIMULATOR: • Boolean Algebra Simplifier (bool-simplifier.com) • Online Karnaugh map solver with circuit for up to 6 variables (32x8.com) • K-Map Generator SOP POS Implicants (aashpointo.github.io) • Karnaugh Map Solver (charlie-coleman.com) • 2 Variables (Karnaugh's) K-Map Solver with Steps (getcalc.com) • karnaugh map karnak truth table Veitch diagram, is a method to simplify Boolean algebra expressions. The Karnaugh map reduces the need for extensive calculations example problems (leventozturk.com)