SlideShare uma empresa Scribd logo
1 de 20
Boolean Functions and their
Representation
Normal Form
• A Boolean variable in true form or in complemented form is called
a literal. Thus a,b,c, (a’,b’,c’) and so on are literals.
• The Boolean product of two or more literals is called a product
term.
• The Boolean sum of two or more literals is called a sum term.
• When a Boolean function appears as a sum of several product
terms, it is said to be expressed as a sum of products (SOP). The
SOP form is also called the disjunctive normal form (DNF).
• When a Boolean function appears as a product of several sum
terms, it is said to be expressed as a product of sums (POS). The
POS form is also called the conjunctive normal form (CNF).
Examples
Example 1
f(a,b,c,d)=a’+b.c’+c.d
is an expression in SOP form or DNF.
Example 2
f(a,b,c,d)=(a+b).(b+c+d)
is an expression in POS form or CNF.
Standard and Non-Standard Form
• The standard form of the Boolean function is when it is expressed
in sum of the products or product of the sums fashion.
For example: Y =AB + BC + AC or Y = (A + B + C)(A + B′ + C)(A + B +
C′) are the standard forms.
• However, Boolean functions are also sometimes expressed in
nonstandard forms like F = (AB + CD)(A′B′ + C′D′), which is neither
a sum of products form nor a product of sums form. However, the
same expression can be converted to a standard form with help of
various Boolean properties, as: F = (AB + CD)(A′B′ + C′D′) = A′B′CD
+ ABC′D′
Minterm and Maxterm
• Minterm: a product term in which all the variables
appear exactly once, either complemented or
uncomplemented.
• Maxterm: a sum term in which all the variables
appear exactly once, either complemented or
uncomplemented
Minterm
• Represents exactly one combination in the truth table.
• Denoted by mj, where j is the decimal equivalent of the
minterm’s corresponding binary combination (bj).
• A variable in mj is complemented if its value in bj is 0,
otherwise is uncomplemented.
• Example: Assume 3 variables (A,B,C), and j=3.
Then, bj = 011 and its corresponding minterm is
denoted by mj = A’BC
Maxterm
• Denoted Represents exactly one combination in the
truth table.
• by Mj, where j is the decimal equivalent of the
maxterm’s corresponding binary combination (bj).
• A variable in Mj is complemented if its value in bj is 1,
otherwise is uncomplemented.
• Example: Assume 3 variables (A,B,C), and j=3. Then, bj =
011 and its corresponding maxterm is denoted by Mj =
A+B’+C’
Truth Table Notation for Minterms and
Maxterms
x y z Minterm Maxterm
0 0 0 x’y’z’ = m0 x+y+z = M0
0 0 1 x’y’z = m1 x+y+z’ = M1
0 1 0 x’yz’ = m2 x+y’+z = M2
0 1 1 x’yz = m3 x+y’+z’= M3
1 0 0 xy’z’ = m4 x’+y+z = M4
1 0 1 xy’z = m5 x’+y+z’ = M5
1 1 0 xyz’ = m6 x’+y’+z = M6
1 1 1 xyz = m7 x’+y’+z’ = M7
Canonical Form
• When each of the terms of a Boolean functions is
expressed either in SOP or POS form has all the
variables in it it is said to be expressed in canonical
form.
• The canonical SOP form is called the disjunctive
canonical form (DCF) and the canonical POS form is
called the conjunctive canonical form (CCF).
Conversion of SOP from Standard to
Canonical Form
• Expand non-canonical terms by inserting
equivalent of 1 in each missing variable x:
(x + x’) = 1
• Remove duplicate minterms
• f1(a,b,c) = a’b’c + bc’ + ac’
= a’b’c + (a+a’)bc’ + a(b+b’)c’
= a’b’c + abc’ + a’bc’ + abc’ + ab’c’
= a’b’c + abc’ + a’bc + ab’c’
Conversion of POS from Standard to
Canonical Form
• Expand noncanonical terms by adding 0 in terms of
missing variables (e.g., xx’ = 0) and using the
distributive law.
• Remove duplicate maxterms
• f1(a,b,c) = (a+b+c)•(b’+c’)•(a’+c’)
= (a+b+c)•(aa’+b’+c’)•(a’+bb’+c’)
= (a+b+c)•(a+b’+c’)•(a’+b’+c’)•
(a’+b+c’)•(a’+b’+c’)
= (a+b+c)•(a+b’+c’)•(a’+b’+c’)•(a’+b+c’)
Examples
Express the following functions in canonical forms
a) f1=a.b’.c+b.c’+a.c
b) f2=(a+b).(b+c’)
Solutions:
a) f1 =a.b’.c+b.c’+a.c
=a.b’.c+(a+a’).b.c’+a.(b+b’).c
=a.b’.c+a. b.c’ +a’.b.c’+a.b.c+a.b’.c
b) f2 = (a+b)(b+c’)
= (a+b+c.c’)(a.a’+b+c’)
= (a+b+c).(a+b+c’).(a+b+c’).(a’+b+c’)
= (a+b+c).(a+b+c’).(a’+b+c’)
f1 is expressed in DCF,
f2 is expressed in CCF.
Shorthand: ∑ and ∏
• f1(a,b,c) = ∑ m(1,2,4,6), where ∑ indicates that this is
a sum-of-products form, and m(1,2,4,6) indicates
that the minterms to be included are m1, m2, m4, and
m6.
• f1(a,b,c) = ∏ M(0,3,5,7), where ∏ indicates that this
is a product-of-sums form, and M(0,3,5,7) indicates
that the maxterms to be included are M0, M3, M5,
and M7.
• Since mj = Mj’ for any j,
f1(a,b,c) = ∑ m(1,2,4,6) = ∏ M(0,3,5,7)
Expansion of Boolean Expression to SOP
Form
Expand A’ + B’ to minterms and maxterms:
A’+B’= A’(B+B’) + B’ (A+A’)
= A’B+A’B’ + AB’+A’B’
= A’B+A’B’+AB’
= 01 + 00 + 10
= ∑ m(0,1,2)
∏ M(3)
Contd.
Expand A+BC’+ABD’ to minterms and maxterms:
A+BC’+ABD’ = A(B+B’) (C+C’) (D+D’) + BC’(A+A’) (D+D’) +
ABD’ (C+C’)
=ABCD+ABCD’+ABC’D+ABC’D’+AB’CD+AB’CD’+AB’C’D+
AB’C’D’ + ABC’D+ABC’D’+A’BC’D+AB’CD’ + ABCD’+ABC’D’
= ∑ m(4,5,8,9,10,11,12,13,14,15)
∏ M(0,1,2,3,6,7)
Expansion of Boolean Expression to
POS Form
Expand A(B’+A)B to maxterms and minterms:
A(B’+A)B = (A+B)(A+B’) (A+B’) (A+B) (A’+B)
= (A+B) (A+B’) (A’+B)
= (00) (01) (10)
= ∏ M(0,1,2)
∑ m(3)
Activity 1
1. The terms in SOP are called ___________
a) max terms
b) min terms
c) mid terms
d) sum terms
1. Which of the following is an incorrect SOP expression?
a) x+x.y
b) (x+y)(x+z)
c) x
d) x+y
Contd.
3. The corresponding min term when x=0, y=0 and z=1.
a) x.y.z’
b) X’+Y’+Z
c) X+Y+Z’
d) x’.y’.z
4. Convert to canonical SOP function F = x y + x z + y z
5. Convert to canonical POS form
F = (A’ + B + C) * (B’ + C + D’) * (A + B’ + C’ + D)
Contd.
7. Expand A’+B+CA to minterms and maxterms
8. Expand A(A’+B) (A’+B+C’) to maxterms and minterms
Thank You!!

Mais conteúdo relacionado

Semelhante a 4. Boolean Function and Their Representation.pptx

Digital Electronics Standard boolean representation
Digital Electronics Standard boolean representation Digital Electronics Standard boolean representation
Digital Electronics Standard boolean representation Dhananjay Lakhe
 
Module 1 ppt class.pptx
Module 1 ppt class.pptxModule 1 ppt class.pptx
Module 1 ppt class.pptxVivekNaik55
 
Module ppt class.pptx
Module ppt class.pptxModule ppt class.pptx
Module ppt class.pptxVivekNaik71
 
2,Combinational Logic Circuits.pdf
2,Combinational Logic Circuits.pdf2,Combinational Logic Circuits.pdf
2,Combinational Logic Circuits.pdfDamotTesfaye
 
Switching theory and logic design.
Switching theory and logic design.Switching theory and logic design.
Switching theory and logic design.Anto Jose Moyalan
 
Lec6 Intro to Computer Engineering by Hsien-Hsin Sean Lee Georgia Tech -- Can...
Lec6 Intro to Computer Engineering by Hsien-Hsin Sean Lee Georgia Tech -- Can...Lec6 Intro to Computer Engineering by Hsien-Hsin Sean Lee Georgia Tech -- Can...
Lec6 Intro to Computer Engineering by Hsien-Hsin Sean Lee Georgia Tech -- Can...Hsien-Hsin Sean Lee, Ph.D.
 
ECE 2103_L6 Boolean Algebra Canonical Forms [Autosaved].pptx
ECE 2103_L6 Boolean Algebra Canonical Forms [Autosaved].pptxECE 2103_L6 Boolean Algebra Canonical Forms [Autosaved].pptx
ECE 2103_L6 Boolean Algebra Canonical Forms [Autosaved].pptxMdJubayerFaisalEmon
 
1Boolean Alegebra 3booleanalgebraold-160325120651.pdf
1Boolean Alegebra 3booleanalgebraold-160325120651.pdf1Boolean Alegebra 3booleanalgebraold-160325120651.pdf
1Boolean Alegebra 3booleanalgebraold-160325120651.pdfsiliconvalley6203
 
Boolean variables r010
Boolean variables   r010Boolean variables   r010
Boolean variables r010arunachalamr16
 
08 logic simplification
08 logic simplification08 logic simplification
08 logic simplificationarunachalamr16
 
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
 
Logic simplification sop and pos forms
Logic simplification sop and pos formsLogic simplification sop and pos forms
Logic simplification sop and pos formsManesh T
 
boolean algebra and logic simplification
boolean algebra and logic simplificationboolean algebra and logic simplification
boolean algebra and logic simplificationUnsa Shakir
 

Semelhante a 4. Boolean Function and Their Representation.pptx (20)

Digital Electronics Standard boolean representation
Digital Electronics Standard boolean representation Digital Electronics Standard boolean representation
Digital Electronics Standard boolean representation
 
Module 1 ppt class.pptx
Module 1 ppt class.pptxModule 1 ppt class.pptx
Module 1 ppt class.pptx
 
Module ppt class.pptx
Module ppt class.pptxModule ppt class.pptx
Module ppt class.pptx
 
Minimization Technique .ppt
 Minimization Technique .ppt Minimization Technique .ppt
Minimization Technique .ppt
 
13 Boolean Algebra
13 Boolean Algebra13 Boolean Algebra
13 Boolean Algebra
 
2,Combinational Logic Circuits.pdf
2,Combinational Logic Circuits.pdf2,Combinational Logic Circuits.pdf
2,Combinational Logic Circuits.pdf
 
Boolean algebra
Boolean algebraBoolean algebra
Boolean algebra
 
Minimizing boolean
Minimizing booleanMinimizing boolean
Minimizing boolean
 
Minimizing boolean
Minimizing booleanMinimizing boolean
Minimizing boolean
 
Switching theory and logic design.
Switching theory and logic design.Switching theory and logic design.
Switching theory and logic design.
 
Lec6 Intro to Computer Engineering by Hsien-Hsin Sean Lee Georgia Tech -- Can...
Lec6 Intro to Computer Engineering by Hsien-Hsin Sean Lee Georgia Tech -- Can...Lec6 Intro to Computer Engineering by Hsien-Hsin Sean Lee Georgia Tech -- Can...
Lec6 Intro to Computer Engineering by Hsien-Hsin Sean Lee Georgia Tech -- Can...
 
ECE 2103_L6 Boolean Algebra Canonical Forms [Autosaved].pptx
ECE 2103_L6 Boolean Algebra Canonical Forms [Autosaved].pptxECE 2103_L6 Boolean Algebra Canonical Forms [Autosaved].pptx
ECE 2103_L6 Boolean Algebra Canonical Forms [Autosaved].pptx
 
Boolean algebra
Boolean algebraBoolean algebra
Boolean algebra
 
BOOLEAN ALGEBRA & LOGIC GATE
BOOLEAN ALGEBRA & LOGIC GATEBOOLEAN ALGEBRA & LOGIC GATE
BOOLEAN ALGEBRA & LOGIC GATE
 
1Boolean Alegebra 3booleanalgebraold-160325120651.pdf
1Boolean Alegebra 3booleanalgebraold-160325120651.pdf1Boolean Alegebra 3booleanalgebraold-160325120651.pdf
1Boolean Alegebra 3booleanalgebraold-160325120651.pdf
 
Boolean variables r010
Boolean variables   r010Boolean variables   r010
Boolean variables r010
 
08 logic simplification
08 logic simplification08 logic simplification
08 logic simplification
 
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
 
Logic simplification sop and pos forms
Logic simplification sop and pos formsLogic simplification sop and pos forms
Logic simplification sop and pos forms
 
boolean algebra and logic simplification
boolean algebra and logic simplificationboolean algebra and logic simplification
boolean algebra and logic simplification
 

Mais de NaveenPunia5

Voice & Narration for the purpolns.se.pptx
Voice & Narration for the purpolns.se.pptxVoice & Narration for the purpolns.se.pptx
Voice & Narration for the purpolns.se.pptxNaveenPunia5
 
File Handling and Applications.pptx
File Handling and Applications.pptxFile Handling and Applications.pptx
File Handling and Applications.pptxNaveenPunia5
 
14. Flip Flop Conversions.pptx
14. Flip Flop Conversions.pptx14. Flip Flop Conversions.pptx
14. Flip Flop Conversions.pptxNaveenPunia5
 
11. Parity Generator_Checker.pptx
11. Parity Generator_Checker.pptx11. Parity Generator_Checker.pptx
11. Parity Generator_Checker.pptxNaveenPunia5
 
3. Boolean Algebra.pptx
3. Boolean Algebra.pptx3. Boolean Algebra.pptx
3. Boolean Algebra.pptxNaveenPunia5
 

Mais de NaveenPunia5 (6)

Voice & Narration for the purpolns.se.pptx
Voice & Narration for the purpolns.se.pptxVoice & Narration for the purpolns.se.pptx
Voice & Narration for the purpolns.se.pptx
 
File Handling and Applications.pptx
File Handling and Applications.pptxFile Handling and Applications.pptx
File Handling and Applications.pptx
 
21. ADC.pptx
21. ADC.pptx21. ADC.pptx
21. ADC.pptx
 
14. Flip Flop Conversions.pptx
14. Flip Flop Conversions.pptx14. Flip Flop Conversions.pptx
14. Flip Flop Conversions.pptx
 
11. Parity Generator_Checker.pptx
11. Parity Generator_Checker.pptx11. Parity Generator_Checker.pptx
11. Parity Generator_Checker.pptx
 
3. Boolean Algebra.pptx
3. Boolean Algebra.pptx3. Boolean Algebra.pptx
3. Boolean Algebra.pptx
 

Último

Call On 6297143586 Viman Nagar Call Girls In All Pune 24/7 Provide Call With...
Call On 6297143586  Viman Nagar Call Girls In All Pune 24/7 Provide Call With...Call On 6297143586  Viman Nagar Call Girls In All Pune 24/7 Provide Call With...
Call On 6297143586 Viman Nagar Call Girls In All Pune 24/7 Provide Call With...tanu pandey
 
Call Girls Chakan Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Chakan Call Me 7737669865 Budget Friendly No Advance BookingCall Girls Chakan Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Chakan Call Me 7737669865 Budget Friendly No Advance Bookingroncy bisnoi
 
VIP Call Girls Bhavnagar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Bhavnagar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Bhavnagar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Bhavnagar 7001035870 Whatsapp Number, 24/07 Bookingdharasingh5698
 
best call girls in Pune - 450+ Call Girl Cash Payment 8005736733 Neha Thakur
best call girls in Pune - 450+ Call Girl Cash Payment 8005736733 Neha Thakurbest call girls in Pune - 450+ Call Girl Cash Payment 8005736733 Neha Thakur
best call girls in Pune - 450+ Call Girl Cash Payment 8005736733 Neha ThakurSUHANI PANDEY
 
celebrity 💋 Agra Escorts Just Dail 8250092165 service available anytime 24 hour
celebrity 💋 Agra Escorts Just Dail 8250092165 service available anytime 24 hourcelebrity 💋 Agra Escorts Just Dail 8250092165 service available anytime 24 hour
celebrity 💋 Agra Escorts Just Dail 8250092165 service available anytime 24 hourCall Girls in Nagpur High Profile
 
2024: The FAR, Federal Acquisition Regulations, Part 31
2024: The FAR, Federal Acquisition Regulations, Part 312024: The FAR, Federal Acquisition Regulations, Part 31
2024: The FAR, Federal Acquisition Regulations, Part 31JSchaus & Associates
 
An Atoll Futures Research Institute? Presentation for CANCC
An Atoll Futures Research Institute? Presentation for CANCCAn Atoll Futures Research Institute? Presentation for CANCC
An Atoll Futures Research Institute? Presentation for CANCCNAP Global Network
 
celebrity 💋 Patna Escorts Just Dail 8250092165 service available anytime 24 hour
celebrity 💋 Patna Escorts Just Dail 8250092165 service available anytime 24 hourcelebrity 💋 Patna Escorts Just Dail 8250092165 service available anytime 24 hour
celebrity 💋 Patna Escorts Just Dail 8250092165 service available anytime 24 hourCall Girls in Nagpur High Profile
 
1935 CONSTITUTION REPORT IN RIPH FINALLS
1935 CONSTITUTION REPORT IN RIPH FINALLS1935 CONSTITUTION REPORT IN RIPH FINALLS
1935 CONSTITUTION REPORT IN RIPH FINALLSarandianics
 
Tuvalu Coastal Adaptation Project (TCAP)
Tuvalu Coastal Adaptation Project (TCAP)Tuvalu Coastal Adaptation Project (TCAP)
Tuvalu Coastal Adaptation Project (TCAP)NAP Global Network
 
VIP Model Call Girls Lohegaon ( Pune ) Call ON 8005736733 Starting From 5K to...
VIP Model Call Girls Lohegaon ( Pune ) Call ON 8005736733 Starting From 5K to...VIP Model Call Girls Lohegaon ( Pune ) Call ON 8005736733 Starting From 5K to...
VIP Model Call Girls Lohegaon ( Pune ) Call ON 8005736733 Starting From 5K to...SUHANI PANDEY
 
Pimple Gurav ) Call Girls Service Pune | 8005736733 Independent Escorts & Dat...
Pimple Gurav ) Call Girls Service Pune | 8005736733 Independent Escorts & Dat...Pimple Gurav ) Call Girls Service Pune | 8005736733 Independent Escorts & Dat...
Pimple Gurav ) Call Girls Service Pune | 8005736733 Independent Escorts & Dat...SUHANI PANDEY
 
VIP Call Girls Agra 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Agra 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Agra 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Agra 7001035870 Whatsapp Number, 24/07 Bookingdharasingh5698
 
Hinjewadi * VIP Call Girls Pune | Whatsapp No 8005736733 VIP Escorts Service ...
Hinjewadi * VIP Call Girls Pune | Whatsapp No 8005736733 VIP Escorts Service ...Hinjewadi * VIP Call Girls Pune | Whatsapp No 8005736733 VIP Escorts Service ...
Hinjewadi * VIP Call Girls Pune | Whatsapp No 8005736733 VIP Escorts Service ...SUHANI PANDEY
 
World Press Freedom Day 2024; May 3rd - Poster
World Press Freedom Day 2024; May 3rd - PosterWorld Press Freedom Day 2024; May 3rd - Poster
World Press Freedom Day 2024; May 3rd - PosterChristina Parmionova
 
A Press for the Planet: Journalism in the face of the Environmental Crisis
A Press for the Planet: Journalism in the face of the Environmental CrisisA Press for the Planet: Journalism in the face of the Environmental Crisis
A Press for the Planet: Journalism in the face of the Environmental CrisisChristina Parmionova
 

Último (20)

Call Girls in Chandni Chowk (delhi) call me [9953056974] escort service 24X7
Call Girls in Chandni Chowk (delhi) call me [9953056974] escort service 24X7Call Girls in Chandni Chowk (delhi) call me [9953056974] escort service 24X7
Call Girls in Chandni Chowk (delhi) call me [9953056974] escort service 24X7
 
Call On 6297143586 Viman Nagar Call Girls In All Pune 24/7 Provide Call With...
Call On 6297143586  Viman Nagar Call Girls In All Pune 24/7 Provide Call With...Call On 6297143586  Viman Nagar Call Girls In All Pune 24/7 Provide Call With...
Call On 6297143586 Viman Nagar Call Girls In All Pune 24/7 Provide Call With...
 
Sustainability by Design: Assessment Tool for Just Energy Transition Plans
Sustainability by Design: Assessment Tool for Just Energy Transition PlansSustainability by Design: Assessment Tool for Just Energy Transition Plans
Sustainability by Design: Assessment Tool for Just Energy Transition Plans
 
Call Girls Chakan Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Chakan Call Me 7737669865 Budget Friendly No Advance BookingCall Girls Chakan Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Chakan Call Me 7737669865 Budget Friendly No Advance Booking
 
VIP Call Girls Bhavnagar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Bhavnagar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Bhavnagar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Bhavnagar 7001035870 Whatsapp Number, 24/07 Booking
 
best call girls in Pune - 450+ Call Girl Cash Payment 8005736733 Neha Thakur
best call girls in Pune - 450+ Call Girl Cash Payment 8005736733 Neha Thakurbest call girls in Pune - 450+ Call Girl Cash Payment 8005736733 Neha Thakur
best call girls in Pune - 450+ Call Girl Cash Payment 8005736733 Neha Thakur
 
Russian🍌Dazzling Hottie Get☎️ 9053900678 ☎️call girl In Chandigarh By Chandig...
Russian🍌Dazzling Hottie Get☎️ 9053900678 ☎️call girl In Chandigarh By Chandig...Russian🍌Dazzling Hottie Get☎️ 9053900678 ☎️call girl In Chandigarh By Chandig...
Russian🍌Dazzling Hottie Get☎️ 9053900678 ☎️call girl In Chandigarh By Chandig...
 
celebrity 💋 Agra Escorts Just Dail 8250092165 service available anytime 24 hour
celebrity 💋 Agra Escorts Just Dail 8250092165 service available anytime 24 hourcelebrity 💋 Agra Escorts Just Dail 8250092165 service available anytime 24 hour
celebrity 💋 Agra Escorts Just Dail 8250092165 service available anytime 24 hour
 
2024: The FAR, Federal Acquisition Regulations, Part 31
2024: The FAR, Federal Acquisition Regulations, Part 312024: The FAR, Federal Acquisition Regulations, Part 31
2024: The FAR, Federal Acquisition Regulations, Part 31
 
An Atoll Futures Research Institute? Presentation for CANCC
An Atoll Futures Research Institute? Presentation for CANCCAn Atoll Futures Research Institute? Presentation for CANCC
An Atoll Futures Research Institute? Presentation for CANCC
 
celebrity 💋 Patna Escorts Just Dail 8250092165 service available anytime 24 hour
celebrity 💋 Patna Escorts Just Dail 8250092165 service available anytime 24 hourcelebrity 💋 Patna Escorts Just Dail 8250092165 service available anytime 24 hour
celebrity 💋 Patna Escorts Just Dail 8250092165 service available anytime 24 hour
 
1935 CONSTITUTION REPORT IN RIPH FINALLS
1935 CONSTITUTION REPORT IN RIPH FINALLS1935 CONSTITUTION REPORT IN RIPH FINALLS
1935 CONSTITUTION REPORT IN RIPH FINALLS
 
Tuvalu Coastal Adaptation Project (TCAP)
Tuvalu Coastal Adaptation Project (TCAP)Tuvalu Coastal Adaptation Project (TCAP)
Tuvalu Coastal Adaptation Project (TCAP)
 
VIP Model Call Girls Lohegaon ( Pune ) Call ON 8005736733 Starting From 5K to...
VIP Model Call Girls Lohegaon ( Pune ) Call ON 8005736733 Starting From 5K to...VIP Model Call Girls Lohegaon ( Pune ) Call ON 8005736733 Starting From 5K to...
VIP Model Call Girls Lohegaon ( Pune ) Call ON 8005736733 Starting From 5K to...
 
AHMR volume 10 number 1 January-April 2024
AHMR volume 10 number 1 January-April 2024AHMR volume 10 number 1 January-April 2024
AHMR volume 10 number 1 January-April 2024
 
Pimple Gurav ) Call Girls Service Pune | 8005736733 Independent Escorts & Dat...
Pimple Gurav ) Call Girls Service Pune | 8005736733 Independent Escorts & Dat...Pimple Gurav ) Call Girls Service Pune | 8005736733 Independent Escorts & Dat...
Pimple Gurav ) Call Girls Service Pune | 8005736733 Independent Escorts & Dat...
 
VIP Call Girls Agra 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Agra 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Agra 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Agra 7001035870 Whatsapp Number, 24/07 Booking
 
Hinjewadi * VIP Call Girls Pune | Whatsapp No 8005736733 VIP Escorts Service ...
Hinjewadi * VIP Call Girls Pune | Whatsapp No 8005736733 VIP Escorts Service ...Hinjewadi * VIP Call Girls Pune | Whatsapp No 8005736733 VIP Escorts Service ...
Hinjewadi * VIP Call Girls Pune | Whatsapp No 8005736733 VIP Escorts Service ...
 
World Press Freedom Day 2024; May 3rd - Poster
World Press Freedom Day 2024; May 3rd - PosterWorld Press Freedom Day 2024; May 3rd - Poster
World Press Freedom Day 2024; May 3rd - Poster
 
A Press for the Planet: Journalism in the face of the Environmental Crisis
A Press for the Planet: Journalism in the face of the Environmental CrisisA Press for the Planet: Journalism in the face of the Environmental Crisis
A Press for the Planet: Journalism in the face of the Environmental Crisis
 

4. Boolean Function and Their Representation.pptx

  • 1. Boolean Functions and their Representation
  • 2. Normal Form • A Boolean variable in true form or in complemented form is called a literal. Thus a,b,c, (a’,b’,c’) and so on are literals. • The Boolean product of two or more literals is called a product term. • The Boolean sum of two or more literals is called a sum term. • When a Boolean function appears as a sum of several product terms, it is said to be expressed as a sum of products (SOP). The SOP form is also called the disjunctive normal form (DNF). • When a Boolean function appears as a product of several sum terms, it is said to be expressed as a product of sums (POS). The POS form is also called the conjunctive normal form (CNF).
  • 3. Examples Example 1 f(a,b,c,d)=a’+b.c’+c.d is an expression in SOP form or DNF. Example 2 f(a,b,c,d)=(a+b).(b+c+d) is an expression in POS form or CNF.
  • 4. Standard and Non-Standard Form • The standard form of the Boolean function is when it is expressed in sum of the products or product of the sums fashion. For example: Y =AB + BC + AC or Y = (A + B + C)(A + B′ + C)(A + B + C′) are the standard forms. • However, Boolean functions are also sometimes expressed in nonstandard forms like F = (AB + CD)(A′B′ + C′D′), which is neither a sum of products form nor a product of sums form. However, the same expression can be converted to a standard form with help of various Boolean properties, as: F = (AB + CD)(A′B′ + C′D′) = A′B′CD + ABC′D′
  • 5. Minterm and Maxterm • Minterm: a product term in which all the variables appear exactly once, either complemented or uncomplemented. • Maxterm: a sum term in which all the variables appear exactly once, either complemented or uncomplemented
  • 6. Minterm • Represents exactly one combination in the truth table. • Denoted by mj, where j is the decimal equivalent of the minterm’s corresponding binary combination (bj). • A variable in mj is complemented if its value in bj is 0, otherwise is uncomplemented. • Example: Assume 3 variables (A,B,C), and j=3. Then, bj = 011 and its corresponding minterm is denoted by mj = A’BC
  • 7. Maxterm • Denoted Represents exactly one combination in the truth table. • by Mj, where j is the decimal equivalent of the maxterm’s corresponding binary combination (bj). • A variable in Mj is complemented if its value in bj is 1, otherwise is uncomplemented. • Example: Assume 3 variables (A,B,C), and j=3. Then, bj = 011 and its corresponding maxterm is denoted by Mj = A+B’+C’
  • 8. Truth Table Notation for Minterms and Maxterms x y z Minterm Maxterm 0 0 0 x’y’z’ = m0 x+y+z = M0 0 0 1 x’y’z = m1 x+y+z’ = M1 0 1 0 x’yz’ = m2 x+y’+z = M2 0 1 1 x’yz = m3 x+y’+z’= M3 1 0 0 xy’z’ = m4 x’+y+z = M4 1 0 1 xy’z = m5 x’+y+z’ = M5 1 1 0 xyz’ = m6 x’+y’+z = M6 1 1 1 xyz = m7 x’+y’+z’ = M7
  • 9. Canonical Form • When each of the terms of a Boolean functions is expressed either in SOP or POS form has all the variables in it it is said to be expressed in canonical form. • The canonical SOP form is called the disjunctive canonical form (DCF) and the canonical POS form is called the conjunctive canonical form (CCF).
  • 10. Conversion of SOP from Standard to Canonical Form • Expand non-canonical terms by inserting equivalent of 1 in each missing variable x: (x + x’) = 1 • Remove duplicate minterms • f1(a,b,c) = a’b’c + bc’ + ac’ = a’b’c + (a+a’)bc’ + a(b+b’)c’ = a’b’c + abc’ + a’bc’ + abc’ + ab’c’ = a’b’c + abc’ + a’bc + ab’c’
  • 11. Conversion of POS from Standard to Canonical Form • Expand noncanonical terms by adding 0 in terms of missing variables (e.g., xx’ = 0) and using the distributive law. • Remove duplicate maxterms • f1(a,b,c) = (a+b+c)•(b’+c’)•(a’+c’) = (a+b+c)•(aa’+b’+c’)•(a’+bb’+c’) = (a+b+c)•(a+b’+c’)•(a’+b’+c’)• (a’+b+c’)•(a’+b’+c’) = (a+b+c)•(a+b’+c’)•(a’+b’+c’)•(a’+b+c’)
  • 12. Examples Express the following functions in canonical forms a) f1=a.b’.c+b.c’+a.c b) f2=(a+b).(b+c’) Solutions: a) f1 =a.b’.c+b.c’+a.c =a.b’.c+(a+a’).b.c’+a.(b+b’).c =a.b’.c+a. b.c’ +a’.b.c’+a.b.c+a.b’.c b) f2 = (a+b)(b+c’) = (a+b+c.c’)(a.a’+b+c’) = (a+b+c).(a+b+c’).(a+b+c’).(a’+b+c’) = (a+b+c).(a+b+c’).(a’+b+c’) f1 is expressed in DCF, f2 is expressed in CCF.
  • 13. Shorthand: ∑ and ∏ • f1(a,b,c) = ∑ m(1,2,4,6), where ∑ indicates that this is a sum-of-products form, and m(1,2,4,6) indicates that the minterms to be included are m1, m2, m4, and m6. • f1(a,b,c) = ∏ M(0,3,5,7), where ∏ indicates that this is a product-of-sums form, and M(0,3,5,7) indicates that the maxterms to be included are M0, M3, M5, and M7. • Since mj = Mj’ for any j, f1(a,b,c) = ∑ m(1,2,4,6) = ∏ M(0,3,5,7)
  • 14. Expansion of Boolean Expression to SOP Form Expand A’ + B’ to minterms and maxterms: A’+B’= A’(B+B’) + B’ (A+A’) = A’B+A’B’ + AB’+A’B’ = A’B+A’B’+AB’ = 01 + 00 + 10 = ∑ m(0,1,2) ∏ M(3)
  • 15. Contd. Expand A+BC’+ABD’ to minterms and maxterms: A+BC’+ABD’ = A(B+B’) (C+C’) (D+D’) + BC’(A+A’) (D+D’) + ABD’ (C+C’) =ABCD+ABCD’+ABC’D+ABC’D’+AB’CD+AB’CD’+AB’C’D+ AB’C’D’ + ABC’D+ABC’D’+A’BC’D+AB’CD’ + ABCD’+ABC’D’ = ∑ m(4,5,8,9,10,11,12,13,14,15) ∏ M(0,1,2,3,6,7)
  • 16. Expansion of Boolean Expression to POS Form Expand A(B’+A)B to maxterms and minterms: A(B’+A)B = (A+B)(A+B’) (A+B’) (A+B) (A’+B) = (A+B) (A+B’) (A’+B) = (00) (01) (10) = ∏ M(0,1,2) ∑ m(3)
  • 17. Activity 1 1. The terms in SOP are called ___________ a) max terms b) min terms c) mid terms d) sum terms 1. Which of the following is an incorrect SOP expression? a) x+x.y b) (x+y)(x+z) c) x d) x+y
  • 18. Contd. 3. The corresponding min term when x=0, y=0 and z=1. a) x.y.z’ b) X’+Y’+Z c) X+Y+Z’ d) x’.y’.z 4. Convert to canonical SOP function F = x y + x z + y z 5. Convert to canonical POS form F = (A’ + B + C) * (B’ + C + D’) * (A + B’ + C’ + D)
  • 19. Contd. 7. Expand A’+B+CA to minterms and maxterms 8. Expand A(A’+B) (A’+B+C’) to maxterms and minterms