Karnaugh Maps
A visual method to simplify Boolean expressions with up to 4–6 variables.
Easy
A K-map arranges the truth table in Gray-code order, so neighbouring cells differ by one variable. Group adjacent 1s in rectangles of 1, 2, 4, 8… cells (groups can wrap around edges); each group becomes one product term with the changing variables removed.
Example: — the two cells are adjacent, so .
"Don't care" cells (X) can be included in a group if that makes it bigger. For more variables, use the Quine–McCluskey algorithm or software.
Spotted a mistake or want to add detail? Suggest an improvement — Content Contributors' edits are reviewed by editors before they go live.
Discussion (0)
Sign in or join free to ask questions and discuss this topic.