SlideShare a Scribd company logo
1 of 8
Download to read offline
Boolean Algebra
Part 4
Minimization of Boolean Functions using K-Maps
Follow these rules for simplifying K-maps
1. Firstly, we define the given expression in its canonical form.
2. Select the respective K-map based on the number of variables present in the Boolean function.
3. Next, fill the K-map cells with one for each minterm, zero for each maxterm.
4. Check for the possibilities of grouping maximum number of adjacent ones. It should be powers
of two. Start from highest power of two and up to least power of two.
5. For each of the resulting groups, we have to obtain the corresponding logical expression in
terms of the input-variables.
6. Find all the single entries which can not be covered by any grouping.
7. Finally, all these group-wise logical expressions need to be combined appropriately to form the
required simplified Boolean equation
Advantages and Disadvantages of Karnaugh Map
▪ Advantages
1. K-map simplification does not demand for the knowledge of Boolean algebraic
theorems.
2. Usually it requires less number of steps when compared to algebraic minimization
technique.
▪ Disadvantages
1. Complexity of K-map simplification process increases with the increase in the
number of variables.
2. The minimum expression obtained might not be unique.
Grouping guidelines in K map
1. Always combine as many cells in a group as possible. This will result in the
fewest number of literals in the term that represents the group.
2. Make as few groupings as possible to cover all minterms or maxterms.
This will result in the fewest product terms or sum terms.
3. Always begin with the largest group, which means if you can find eight
members group is better than two four groups and one four group is
better than pair of two-group.
Adjacency Rules
▪ The cells in a Karnaugh map are arranged so that there is only a single-variable change
between adjacent cells.
▪ Adjacency is defined by a single-variable change. Cells that differ by only one variable
are adjacent.
▪ Cells those are side by side in the horizontal and vertical directions (but not diagonal)
are adjacent cells.
▪ For a map row: the leftmost cell and the rightmost cell are adjacent cells.
▪ For a map column: the topmost cell and the bottom most cell are adjacent cells.
▪ For a four-variable map: cells occupying the four corners of the map are adjacent cells.
Grouping two adjacent cells (Pair)
▪ Looping a pair of adjacent 1s in a K map eliminates the variable that
appears in complemented and uncomplemented form.
Grouping Four adjacent cells (Quad)
▪ Looping a quad of adjacent 1s eliminates the two variables that appear in
both complemented and uncomplemented form.
Grouping Eight adjacent cells (Octet)
▪ Looping an octet of adjacent 1s eliminates the three variables that
appear in both complemented and uncomplemented form.

More Related Content

Similar to boolean algebra part 4 (3).pdf

Minimization of Boolean Functions
Minimization of Boolean FunctionsMinimization of Boolean Functions
Minimization of Boolean Functionsblaircomp2003
 
Karnaughmaprev1 130728135103-phpapp01
Karnaughmaprev1 130728135103-phpapp01Karnaughmaprev1 130728135103-phpapp01
Karnaughmaprev1 130728135103-phpapp01Neha Agarwal
 
Karnaugh map (k map)
Karnaugh map (k map)Karnaugh map (k map)
Karnaugh map (k map)Adeen Ali
 
03_Karnaugh_Maps.ppt
03_Karnaugh_Maps.ppt03_Karnaugh_Maps.ppt
03_Karnaugh_Maps.pptYumnaShahzaad
 
Kmap..(karnaugh map)
Kmap..(karnaugh map)Kmap..(karnaugh map)
Kmap..(karnaugh map)Zain Jafri
 
Sorting-algorithmbhddcbjkmbgjkuygbjkkius.pdf
Sorting-algorithmbhddcbjkmbgjkuygbjkkius.pdfSorting-algorithmbhddcbjkmbgjkuygbjkkius.pdf
Sorting-algorithmbhddcbjkmbgjkuygbjkkius.pdfArjunSingh81957
 
NS-CUK Joint Journal Club: S.T.Nguyen, Review on "Neural Sheaf Diffusion: A ...
 NS-CUK Joint Journal Club: S.T.Nguyen, Review on "Neural Sheaf Diffusion: A ... NS-CUK Joint Journal Club: S.T.Nguyen, Review on "Neural Sheaf Diffusion: A ...
NS-CUK Joint Journal Club: S.T.Nguyen, Review on "Neural Sheaf Diffusion: A ...ssuser4b1f48
 
NS-CUK Joint Journal Club: S.T.Nguyen, Review on "Neural Sheaf Diffusion: A T...
NS-CUK Joint Journal Club: S.T.Nguyen, Review on "Neural Sheaf Diffusion: A T...NS-CUK Joint Journal Club: S.T.Nguyen, Review on "Neural Sheaf Diffusion: A T...
NS-CUK Joint Journal Club: S.T.Nguyen, Review on "Neural Sheaf Diffusion: A T...ssuser4b1f48
 
cume106 Electrical n Electronic principles Kmaps.pptx
cume106 Electrical n Electronic principles Kmaps.pptxcume106 Electrical n Electronic principles Kmaps.pptx
cume106 Electrical n Electronic principles Kmaps.pptxKelvinSerimwe
 
Karnaugh mapping allaboutcircuits
Karnaugh mapping allaboutcircuitsKarnaugh mapping allaboutcircuits
Karnaugh mapping allaboutcircuitsmarangburu42
 
All aboutcircuits karnaugh maps
All aboutcircuits karnaugh mapsAll aboutcircuits karnaugh maps
All aboutcircuits karnaugh mapsmarangburu42
 

Similar to boolean algebra part 4 (3).pdf (20)

Karnaugh Map
Karnaugh MapKarnaugh Map
Karnaugh Map
 
Minimization of Boolean Functions
Minimization of Boolean FunctionsMinimization of Boolean Functions
Minimization of Boolean Functions
 
Karnaughmaprev1 130728135103-phpapp01
Karnaughmaprev1 130728135103-phpapp01Karnaughmaprev1 130728135103-phpapp01
Karnaughmaprev1 130728135103-phpapp01
 
DCF - K map
DCF - K mapDCF - K map
DCF - K map
 
Karnaugh map (k map)
Karnaugh map (k map)Karnaugh map (k map)
Karnaugh map (k map)
 
03_Karnaugh_Maps.ppt
03_Karnaugh_Maps.ppt03_Karnaugh_Maps.ppt
03_Karnaugh_Maps.ppt
 
03_Karnaugh_Maps.ppt
03_Karnaugh_Maps.ppt03_Karnaugh_Maps.ppt
03_Karnaugh_Maps.ppt
 
Kmap..(karnaugh map)
Kmap..(karnaugh map)Kmap..(karnaugh map)
Kmap..(karnaugh map)
 
Sorting-algorithmbhddcbjkmbgjkuygbjkkius.pdf
Sorting-algorithmbhddcbjkmbgjkuygbjkkius.pdfSorting-algorithmbhddcbjkmbgjkuygbjkkius.pdf
Sorting-algorithmbhddcbjkmbgjkuygbjkkius.pdf
 
Chapter-3.pdf
Chapter-3.pdfChapter-3.pdf
Chapter-3.pdf
 
Chapter-3.pdf
Chapter-3.pdfChapter-3.pdf
Chapter-3.pdf
 
Karnaugh maps
Karnaugh mapsKarnaugh maps
Karnaugh maps
 
NS-CUK Joint Journal Club: S.T.Nguyen, Review on "Neural Sheaf Diffusion: A ...
 NS-CUK Joint Journal Club: S.T.Nguyen, Review on "Neural Sheaf Diffusion: A ... NS-CUK Joint Journal Club: S.T.Nguyen, Review on "Neural Sheaf Diffusion: A ...
NS-CUK Joint Journal Club: S.T.Nguyen, Review on "Neural Sheaf Diffusion: A ...
 
NS-CUK Joint Journal Club: S.T.Nguyen, Review on "Neural Sheaf Diffusion: A T...
NS-CUK Joint Journal Club: S.T.Nguyen, Review on "Neural Sheaf Diffusion: A T...NS-CUK Joint Journal Club: S.T.Nguyen, Review on "Neural Sheaf Diffusion: A T...
NS-CUK Joint Journal Club: S.T.Nguyen, Review on "Neural Sheaf Diffusion: A T...
 
cume106 Electrical n Electronic principles Kmaps.pptx
cume106 Electrical n Electronic principles Kmaps.pptxcume106 Electrical n Electronic principles Kmaps.pptx
cume106 Electrical n Electronic principles Kmaps.pptx
 
Clustering
ClusteringClustering
Clustering
 
Karnaugh map peresentation
Karnaugh map  peresentationKarnaugh map  peresentation
Karnaugh map peresentation
 
Clustering.pptx
Clustering.pptxClustering.pptx
Clustering.pptx
 
Karnaugh mapping allaboutcircuits
Karnaugh mapping allaboutcircuitsKarnaugh mapping allaboutcircuits
Karnaugh mapping allaboutcircuits
 
All aboutcircuits karnaugh maps
All aboutcircuits karnaugh mapsAll aboutcircuits karnaugh maps
All aboutcircuits karnaugh maps
 

More from Retheesh Raj

Boolean Algebra part 2 (1).pdf
Boolean Algebra part 2 (1).pdfBoolean Algebra part 2 (1).pdf
Boolean Algebra part 2 (1).pdfRetheesh Raj
 
Boolean algebra part 3 [Autosaved] (1).pdf
Boolean algebra part 3 [Autosaved] (1).pdfBoolean algebra part 3 [Autosaved] (1).pdf
Boolean algebra part 3 [Autosaved] (1).pdfRetheesh Raj
 
Boolean Algebra part 5.pdf
Boolean Algebra part 5.pdfBoolean Algebra part 5.pdf
Boolean Algebra part 5.pdfRetheesh Raj
 
Ravi-KG College Pampady 28-2-23.ppt
Ravi-KG College Pampady 28-2-23.pptRavi-KG College Pampady 28-2-23.ppt
Ravi-KG College Pampady 28-2-23.pptRetheesh Raj
 
Jaya-National Science Day talk.pptx
Jaya-National Science Day talk.pptxJaya-National Science Day talk.pptx
Jaya-National Science Day talk.pptxRetheesh Raj
 
Matlab for diploma students(1)
Matlab for diploma students(1)Matlab for diploma students(1)
Matlab for diploma students(1)Retheesh Raj
 

More from Retheesh Raj (6)

Boolean Algebra part 2 (1).pdf
Boolean Algebra part 2 (1).pdfBoolean Algebra part 2 (1).pdf
Boolean Algebra part 2 (1).pdf
 
Boolean algebra part 3 [Autosaved] (1).pdf
Boolean algebra part 3 [Autosaved] (1).pdfBoolean algebra part 3 [Autosaved] (1).pdf
Boolean algebra part 3 [Autosaved] (1).pdf
 
Boolean Algebra part 5.pdf
Boolean Algebra part 5.pdfBoolean Algebra part 5.pdf
Boolean Algebra part 5.pdf
 
Ravi-KG College Pampady 28-2-23.ppt
Ravi-KG College Pampady 28-2-23.pptRavi-KG College Pampady 28-2-23.ppt
Ravi-KG College Pampady 28-2-23.ppt
 
Jaya-National Science Day talk.pptx
Jaya-National Science Day talk.pptxJaya-National Science Day talk.pptx
Jaya-National Science Day talk.pptx
 
Matlab for diploma students(1)
Matlab for diploma students(1)Matlab for diploma students(1)
Matlab for diploma students(1)
 

Recently uploaded

On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsMebane Rash
 
Role Of Transgenic Animal In Target Validation-1.pptx
Role Of Transgenic Animal In Target Validation-1.pptxRole Of Transgenic Animal In Target Validation-1.pptx
Role Of Transgenic Animal In Target Validation-1.pptxNikitaBankoti2
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactPECB
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.pptRamjanShidvankar
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsTechSoup
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptxMaritesTamaniVerdade
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxheathfieldcps1
 
ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701bronxfugly43
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdfQucHHunhnh
 
Making and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdfMaking and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdfChris Hunter
 
PROCESS RECORDING FORMAT.docx
PROCESS      RECORDING        FORMAT.docxPROCESS      RECORDING        FORMAT.docx
PROCESS RECORDING FORMAT.docxPoojaSen20
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibitjbellavia9
 
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfAyushMahapatra5
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.MaryamAhmad92
 
Food Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-II
Food Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-IIFood Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-II
Food Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-IIShubhangi Sonawane
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdfQucHHunhnh
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxVishalSingh1417
 

Recently uploaded (20)

On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
Role Of Transgenic Animal In Target Validation-1.pptx
Role Of Transgenic Animal In Target Validation-1.pptxRole Of Transgenic Animal In Target Validation-1.pptx
Role Of Transgenic Animal In Target Validation-1.pptx
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
Making and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdfMaking and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdf
 
PROCESS RECORDING FORMAT.docx
PROCESS      RECORDING        FORMAT.docxPROCESS      RECORDING        FORMAT.docx
PROCESS RECORDING FORMAT.docx
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdf
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 
Asian American Pacific Islander Month DDSD 2024.pptx
Asian American Pacific Islander Month DDSD 2024.pptxAsian American Pacific Islander Month DDSD 2024.pptx
Asian American Pacific Islander Month DDSD 2024.pptx
 
Food Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-II
Food Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-IIFood Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-II
Food Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-II
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptx
 

boolean algebra part 4 (3).pdf

  • 2. Minimization of Boolean Functions using K-Maps Follow these rules for simplifying K-maps 1. Firstly, we define the given expression in its canonical form. 2. Select the respective K-map based on the number of variables present in the Boolean function. 3. Next, fill the K-map cells with one for each minterm, zero for each maxterm. 4. Check for the possibilities of grouping maximum number of adjacent ones. It should be powers of two. Start from highest power of two and up to least power of two. 5. For each of the resulting groups, we have to obtain the corresponding logical expression in terms of the input-variables. 6. Find all the single entries which can not be covered by any grouping. 7. Finally, all these group-wise logical expressions need to be combined appropriately to form the required simplified Boolean equation
  • 3. Advantages and Disadvantages of Karnaugh Map ▪ Advantages 1. K-map simplification does not demand for the knowledge of Boolean algebraic theorems. 2. Usually it requires less number of steps when compared to algebraic minimization technique. ▪ Disadvantages 1. Complexity of K-map simplification process increases with the increase in the number of variables. 2. The minimum expression obtained might not be unique.
  • 4. Grouping guidelines in K map 1. Always combine as many cells in a group as possible. This will result in the fewest number of literals in the term that represents the group. 2. Make as few groupings as possible to cover all minterms or maxterms. This will result in the fewest product terms or sum terms. 3. Always begin with the largest group, which means if you can find eight members group is better than two four groups and one four group is better than pair of two-group.
  • 5. Adjacency Rules ▪ The cells in a Karnaugh map are arranged so that there is only a single-variable change between adjacent cells. ▪ Adjacency is defined by a single-variable change. Cells that differ by only one variable are adjacent. ▪ Cells those are side by side in the horizontal and vertical directions (but not diagonal) are adjacent cells. ▪ For a map row: the leftmost cell and the rightmost cell are adjacent cells. ▪ For a map column: the topmost cell and the bottom most cell are adjacent cells. ▪ For a four-variable map: cells occupying the four corners of the map are adjacent cells.
  • 6. Grouping two adjacent cells (Pair) ▪ Looping a pair of adjacent 1s in a K map eliminates the variable that appears in complemented and uncomplemented form.
  • 7. Grouping Four adjacent cells (Quad) ▪ Looping a quad of adjacent 1s eliminates the two variables that appear in both complemented and uncomplemented form.
  • 8. Grouping Eight adjacent cells (Octet) ▪ Looping an octet of adjacent 1s eliminates the three variables that appear in both complemented and uncomplemented form.