Nepedia
Back to Discover
Independent Reader
🔢

Karnaugh map

math Maturity 11-13 Next article →

Sometimes, math is about finding patterns.

Karnaugh
Karnaugh

A Karnaugh map helps us do this. It is a special grid used in digital engineering. It helps people simplify logic. Logic is a set of rules for how things work.

karnaugh map torus
karnaugh map torus

This map uses a special way to order its cells. We call this Gray code. In Gray code, only one thing changes between cells that are next to each other. This makes it easy to see patterns.

You can find these patterns by drawing boxes around groups of 1s or 0s. These boxes must be rectangles. They must also have a size that is a power of two. This means the groups can have 1, 2, 4, or 8 cells. The map can even wrap around the edges. It works like a torus, which is a shape like a donut.

Torus from rectangle
Torus from rectangle

This means the top edge touches the bottom edge. The left edge also touches the right edge. Using these maps helps engineers find race hazards. A race hazard is a tiny glitch in a circuit. Finding these glitches makes digital machines work better.

180 words

Where will your curiosity go next?

Keep exploring at your chosen reading level.

🖼️ Images & Media (7)
File:Karnaugh.svg
Karnaugh.svg
File:karnaugh_map_torus.svg
karnaugh_map_torus.svg
File:K-map minterms A.svg
K-map minterms A.svg
File:Torus from rectangle.gif
Torus from rectangle.gif
File:K-map 6,8,9,10,11,12,13,14.svg
K-map 6,8,9,10,11,12,13,14.svg
File:K-map 6,8,9,10,11,12,13,14 don't care.svg
K-map 6,8,9,10,11,12,13,14 don't care.svg
File:K-map 6,8,9,10,11,12,13,14 anti-race.svg
K-map 6,8,9,10,11,12,13,14 anti-race.svg
More to explore

What is Nepedia?

A free, ad-free encyclopedia for children. Every article is written at five reading levels, so the same page works for a five-year-old and a fifteen-year-old — use the level switcher above to see this one change. No account needed to read.