SlideShare a Scribd company logo
1 of 20
 A Karnaugh map (K-map) is a pictorial method used to
minimize Boolean expressions without having to use
Boolean algebra theorems and equation manipulations. A
K-map can be thought of as a special version of a truth
table.
 Using a K-map, expressions with two to four variables are
easily minimized. Expressions with five to six variables are
more difficult but achievable, and expressions with seven
or more variables are extremely difficult to minimize
using a K-map.
The Karnaugh map uses the following rules for the
simplification of expressions by grouping together
adjacent cells containing ones.
 Groups can not include any cell containing a zero .
 Groups may be horizontal or vertical, but not
diagonal.
 Groups must contain 1, 2, 4, 8, or in general 2n cells.
That is if n = 1, a group will contain two 1's since 21 =
2.
If n = 2, a group will contain four 1's since 22 = 4.
 Each group should be as large as possible.
 Each cell containing a one must be in at least one
group.
 Groups may overlap each other.
 Groups may wrap around the table. The leftmost cell
in a row may be grouped with the rightmost cell and
the top cell in a column may be grouped with the
bottom cell.
 There should be as few groups as possible, as long as
this does not contradict any of the previous rules.
 No zeros allowed.
 No diagonals.
 Only power of 2 number of cells in each group.
 Groups should be as large as possible.
 Every one must be in at least one group.
 Overlapping allowed.
 Wrap around allowed.
 Fewest number of groups possible.
0 1 0 0
1 1 0 1
00 01 11 10
0
1
ab
c
F=a’bc’+a’bc+a’b’c+ab’c
F=a’b+b’c
Gates : 10
Gates : 5
0 1 1 0
1 1 1 0
00 01 11 10
0
1
ab
c
F=a’bc’+a’bc+abc’+abc+a’b’c
F=b+a’c
Gates : 12
Gates : 3
1 1 1
1 1
1
00 01 11 10
00
01
ab
cd
11
10
F=a’bc’d+a’bcd+abc’d+abcd+a’b’c’d+abcd’
F=bd+a’c’d+abc
Gates : 15
Gates : 7

Y
8 9 1011
12 13 1415
0 1 3 2
5 64 7
1 1
1 11 1
1 1
1 1
XZ
W’X
00
X’Z’
F(W,X,Y,Z) =
XZ + X’Z’ + W’X
3,14,15 )(3,4,5,7,9,1Z)Y,X,F(W, mS=
11
11 1001
01
10
00
WX
YZ
 http://books.google.com
 http://en.wikipedia.org/wiki/Karnaugh_map
 http://www.ustudy.in
 http://www.ee.surrey.ac.uk
 http://www.ece.rice.edu
Rules of Karnaugh Map

More Related Content

What's hot

What's hot (20)

Kmap..(karnaugh map)
Kmap..(karnaugh map)Kmap..(karnaugh map)
Kmap..(karnaugh map)
 
boolean algebra and logic simplification
boolean algebra and logic simplificationboolean algebra and logic simplification
boolean algebra and logic simplification
 
K map
K mapK map
K map
 
BOOLEAN ALGEBRA & LOGIC GATE
BOOLEAN ALGEBRA & LOGIC GATEBOOLEAN ALGEBRA & LOGIC GATE
BOOLEAN ALGEBRA & LOGIC GATE
 
SOP POS, Minterm and Maxterm
SOP POS, Minterm and MaxtermSOP POS, Minterm and Maxterm
SOP POS, Minterm and Maxterm
 
Digital logic design part1
Digital logic design part1Digital logic design part1
Digital logic design part1
 
Digital Logic Circuits
Digital Logic CircuitsDigital Logic Circuits
Digital Logic Circuits
 
Parity Generator and Parity Checker
Parity Generator and Parity CheckerParity Generator and Parity Checker
Parity Generator and Parity Checker
 
Sr Latch or Flip Flop
Sr Latch or Flip FlopSr Latch or Flip Flop
Sr Latch or Flip Flop
 
Parallel Adder and Subtractor
Parallel Adder and SubtractorParallel Adder and Subtractor
Parallel Adder and Subtractor
 
Digital Logic Design
Digital Logic Design Digital Logic Design
Digital Logic Design
 
Quine Mc Clusky (Tabular) method
Quine Mc Clusky (Tabular) methodQuine Mc Clusky (Tabular) method
Quine Mc Clusky (Tabular) method
 
13 Boolean Algebra
13 Boolean Algebra13 Boolean Algebra
13 Boolean Algebra
 
Z transfrm ppt
Z transfrm pptZ transfrm ppt
Z transfrm ppt
 
Decoders-Digital Electronics
Decoders-Digital ElectronicsDecoders-Digital Electronics
Decoders-Digital Electronics
 
BCD ADDER
BCD ADDER BCD ADDER
BCD ADDER
 
K map.
K map.K map.
K map.
 
Chapter 4: Combinational Logic
Chapter 4: Combinational LogicChapter 4: Combinational Logic
Chapter 4: Combinational Logic
 
Fixed point and floating-point numbers
Fixed point and  floating-point numbersFixed point and  floating-point numbers
Fixed point and floating-point numbers
 
Logic gates
Logic gatesLogic gates
Logic gates
 

Similar to Rules of Karnaugh Map

All aboutcircuits karnaugh maps
All aboutcircuits karnaugh mapsAll aboutcircuits karnaugh maps
All aboutcircuits karnaugh maps
marangburu42
 
Chessboard Puzzles Part 2 - Independence
Chessboard Puzzles Part 2 - IndependenceChessboard Puzzles Part 2 - Independence
Chessboard Puzzles Part 2 - Independence
Dan Freeman
 

Similar to Rules of Karnaugh Map (20)

DLD Lecture #13.pptx
DLD Lecture #13.pptxDLD Lecture #13.pptx
DLD Lecture #13.pptx
 
Minimization Technique by Rishov Mal
Minimization Technique by Rishov MalMinimization Technique by Rishov Mal
Minimization Technique by Rishov Mal
 
Karnaughmaprev1 130728135103-phpapp01
Karnaughmaprev1 130728135103-phpapp01Karnaughmaprev1 130728135103-phpapp01
Karnaughmaprev1 130728135103-phpapp01
 
KARNAUGH MAP
KARNAUGH MAPKARNAUGH MAP
KARNAUGH MAP
 
karnaughmaprev1-130728135103-phpapp01.ppt
karnaughmaprev1-130728135103-phpapp01.pptkarnaughmaprev1-130728135103-phpapp01.ppt
karnaughmaprev1-130728135103-phpapp01.ppt
 
boolean algebra part 4 (3).pdf
boolean algebra part 4 (3).pdfboolean algebra part 4 (3).pdf
boolean algebra part 4 (3).pdf
 
All aboutcircuits karnaugh maps
All aboutcircuits karnaugh mapsAll aboutcircuits karnaugh maps
All aboutcircuits karnaugh maps
 
Karnaugh map (k map)
Karnaugh map (k map)Karnaugh map (k map)
Karnaugh map (k map)
 
2.karnaugh map
2.karnaugh map2.karnaugh map
2.karnaugh map
 
DCF - K map
DCF - K mapDCF - K map
DCF - K map
 
K map
K map K map
K map
 
Karnaugh mapping allaboutcircuits
Karnaugh mapping allaboutcircuitsKarnaugh mapping allaboutcircuits
Karnaugh mapping allaboutcircuits
 
Chapter-3.pdf
Chapter-3.pdfChapter-3.pdf
Chapter-3.pdf
 
Chapter-3.pdf
Chapter-3.pdfChapter-3.pdf
Chapter-3.pdf
 
Minimization of Boolean Functions
Minimization of Boolean FunctionsMinimization of Boolean Functions
Minimization of Boolean Functions
 
Backtracking-N Queens Problem-Graph Coloring-Hamiltonian cycle
Backtracking-N Queens Problem-Graph Coloring-Hamiltonian cycleBacktracking-N Queens Problem-Graph Coloring-Hamiltonian cycle
Backtracking-N Queens Problem-Graph Coloring-Hamiltonian cycle
 
Algorithm Performance For Chessboard Separation Problems
Algorithm Performance For Chessboard Separation ProblemsAlgorithm Performance For Chessboard Separation Problems
Algorithm Performance For Chessboard Separation Problems
 
Matrices 2_System of Equations.pdf
Matrices 2_System of Equations.pdfMatrices 2_System of Equations.pdf
Matrices 2_System of Equations.pdf
 
Chessboard Puzzles Part 2 - Independence
Chessboard Puzzles Part 2 - IndependenceChessboard Puzzles Part 2 - Independence
Chessboard Puzzles Part 2 - Independence
 
ECE 3rd_Unit No. 1_K-Map_DSD.ppt
ECE 3rd_Unit No. 1_K-Map_DSD.pptECE 3rd_Unit No. 1_K-Map_DSD.ppt
ECE 3rd_Unit No. 1_K-Map_DSD.ppt
 

More from Tanjarul Islam Mishu

More from Tanjarul Islam Mishu (11)

Vulnerabilities of Fingerprint Authentication Systems and Their Securities
Vulnerabilities of Fingerprint Authentication Systems and Their SecuritiesVulnerabilities of Fingerprint Authentication Systems and Their Securities
Vulnerabilities of Fingerprint Authentication Systems and Their Securities
 
Dynamic time wrapping
Dynamic time wrappingDynamic time wrapping
Dynamic time wrapping
 
Dynamic time wrapping (dtw), vector quantization(vq), linear predictive codin...
Dynamic time wrapping (dtw), vector quantization(vq), linear predictive codin...Dynamic time wrapping (dtw), vector quantization(vq), linear predictive codin...
Dynamic time wrapping (dtw), vector quantization(vq), linear predictive codin...
 
A presentation on windowing
A presentation on windowingA presentation on windowing
A presentation on windowing
 
Web mining
Web miningWeb mining
Web mining
 
Mobile satellite communication
Mobile satellite communicationMobile satellite communication
Mobile satellite communication
 
Shop management system
Shop management systemShop management system
Shop management system
 
E health system design
E health system designE health system design
E health system design
 
Multiplication algorithm, hardware and flowchart
Multiplication algorithm, hardware and flowchartMultiplication algorithm, hardware and flowchart
Multiplication algorithm, hardware and flowchart
 
Implement Fingerprint authentication for employee automation system
Implement Fingerprint authentication for employee automation systemImplement Fingerprint authentication for employee automation system
Implement Fingerprint authentication for employee automation system
 
Implement fingerprint authentication for employee automation system
Implement fingerprint authentication for employee automation systemImplement fingerprint authentication for employee automation system
Implement fingerprint authentication for employee automation system
 

Recently uploaded

Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptx
negromaestrong
 
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
QucHHunhnh
 
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
QucHHunhnh
 
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
heathfieldcps1
 

Recently uploaded (20)

Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptx
 
PROCESS RECORDING FORMAT.docx
PROCESS      RECORDING        FORMAT.docxPROCESS      RECORDING        FORMAT.docx
PROCESS RECORDING FORMAT.docx
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
psychiatric nursing HISTORY COLLECTION .docx
psychiatric  nursing HISTORY  COLLECTION  .docxpsychiatric  nursing HISTORY  COLLECTION  .docx
psychiatric nursing HISTORY COLLECTION .docx
 
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
 
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.
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptx
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
 
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
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
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
 
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
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...
 
Third Battle of Panipat detailed notes.pptx
Third Battle of Panipat detailed notes.pptxThird Battle of Panipat detailed notes.pptx
Third Battle of Panipat detailed notes.pptx
 
Dyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptxDyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptx
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and Modifications
 
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
 

Rules of Karnaugh Map

  • 1.
  • 2.
  • 3.  A Karnaugh map (K-map) is a pictorial method used to minimize Boolean expressions without having to use Boolean algebra theorems and equation manipulations. A K-map can be thought of as a special version of a truth table.  Using a K-map, expressions with two to four variables are easily minimized. Expressions with five to six variables are more difficult but achievable, and expressions with seven or more variables are extremely difficult to minimize using a K-map.
  • 4. The Karnaugh map uses the following rules for the simplification of expressions by grouping together adjacent cells containing ones.  Groups can not include any cell containing a zero .
  • 5.  Groups may be horizontal or vertical, but not diagonal.
  • 6.  Groups must contain 1, 2, 4, 8, or in general 2n cells. That is if n = 1, a group will contain two 1's since 21 = 2. If n = 2, a group will contain four 1's since 22 = 4.
  • 7.  Each group should be as large as possible.
  • 8.  Each cell containing a one must be in at least one group.
  • 9.  Groups may overlap each other.
  • 10.  Groups may wrap around the table. The leftmost cell in a row may be grouped with the rightmost cell and the top cell in a column may be grouped with the bottom cell.
  • 11.  There should be as few groups as possible, as long as this does not contradict any of the previous rules.
  • 12.
  • 13.  No zeros allowed.  No diagonals.  Only power of 2 number of cells in each group.  Groups should be as large as possible.  Every one must be in at least one group.  Overlapping allowed.  Wrap around allowed.  Fewest number of groups possible.
  • 14.
  • 15. 0 1 0 0 1 1 0 1 00 01 11 10 0 1 ab c F=a’bc’+a’bc+a’b’c+ab’c F=a’b+b’c Gates : 10 Gates : 5
  • 16. 0 1 1 0 1 1 1 0 00 01 11 10 0 1 ab c F=a’bc’+a’bc+abc’+abc+a’b’c F=b+a’c Gates : 12 Gates : 3
  • 17. 1 1 1 1 1 1 00 01 11 10 00 01 ab cd 11 10 F=a’bc’d+a’bcd+abc’d+abcd+a’b’c’d+abcd’ F=bd+a’c’d+abc Gates : 15 Gates : 7
  • 18.  Y 8 9 1011 12 13 1415 0 1 3 2 5 64 7 1 1 1 11 1 1 1 1 1 XZ W’X 00 X’Z’ F(W,X,Y,Z) = XZ + X’Z’ + W’X 3,14,15 )(3,4,5,7,9,1Z)Y,X,F(W, mS= 11 11 1001 01 10 00 WX YZ
  • 19.  http://books.google.com  http://en.wikipedia.org/wiki/Karnaugh_map  http://www.ustudy.in  http://www.ee.surrey.ac.uk  http://www.ece.rice.edu