4

I'm learning to use a Karnaugh map, but I'm not sure if I obtained the simplest expression possible. Have a look at this example:

Truth table (inputs are A B C; output is F):

A   B   C   |   F
0   0   0   |   1
0   0   1   |   0
0   1   0   |   1
1   0   0   |   0
0   1   1   |   1
1   0   1   |   1
1   1   0   |   0
1   1   1   |   1

The Karnaugh map looks like this:

AB
--
C|

    00  01  11  10
    --------------
0|  (1  1)  0   (1)
1|  0   (1  1)  (1)

And this yields $\bar{C}\bar{A}+CB+A\bar{B}$. Is there any simpler way of choosing the 1s from the map and getting a simpler result? Are Karnaugh maps guaranteed to always yield the simplest result possible?

D.W.
  • 167,959
  • 22
  • 232
  • 500
user23169
  • 43
  • 4

2 Answers2

5

Karnaugh maps do not always give the simplest expression possible, but they do always give the simplest "Sum of Products" expression possible (https://web.archive.org/web/20190920201621/https://www.facstaff.bucknell.edu/mastascu/eLessonsHTML/Logic/Logic3.html).

An5Drama
  • 233
  • 1
  • 8
Alan Wolfe
  • 1,358
  • 11
  • 22
1

The only other way to group the 1's into pairs would be to group the ones in indices 0,2/1,5/and 6,7. All of these are groups of two, like your original solution, and no 1 is left on it's own. This solution would give you a result of equal simplicity. No, this is the minimum representation.

If it were not the minimum representation, you would see terms that differ by only one term in the disjunctive normal form.