Trouble with K-Map Minimizing Function: Who is Correct?

  • Thread starter momentum
  • Start date
11 replies · 3K views · last reply
momentum
Messages
111
Reaction score
0
Here is the minimize the function using K-Map given in my book
Photo of a printed five-variable Karnaugh map with A=0 and A=1 halves, rows BC and columns DE, with 1s marked in cells and loops drawn; a red oval highlights a loop and a red arrow points to the term BCE in the minimized expression below: f = DE + BCD + BCE + BCD + ACDE.
I have marked in red . Is that correct in book ? It seems wrong to me.Here is my solution.

Handwritten five-variable Karnaugh map for f = Σm(0, 1, 2, 4, 7, 8, 12, 14, 15, 16, 17, 18, 20, 24, 28, 30, 31), with the A=0 and A=1 halves side by side, groupings circled, and the resulting sum-of-products expression written below.


Who is correct ?

thanks
 
Your result is equivalent to the solution in the book since ##\bar B \bar C D\bar E + \bar B \bar C \bar D\bar E = \bar B \bar C \bar E##. I would choose the book's solution over yours since it has one less AND operation.
 
  • Like
Likes   Reactions: berkeman
tnich said:
Your result is equivalent to the solution in the book since ##\bar B \bar C D\bar E + \bar B \bar C \bar D\bar E = \bar B \bar C \bar E##. I would choose the book's solution over yours since it has one less AND operation.
You can not add ## \bar B \bar C \bar D\bar E## because you don't have it . Check again.
 
momentum said:
You can not add ## \bar B \bar C \bar D\bar E## because you don't have it . Check again.
You must be looking at a different diagram than the one you posted. The one I see has ##1##s in the squares for ##B=C=D=E=0##. You don't seem to have any argument with the ## \bar B \bar C \bar D## term since you have it in your solution. But ## \bar B \bar C \bar D + \bar B \bar C \bar D\bar E = \bar B \bar C \bar D##, so you can add ##\bar B \bar C \bar D\bar E## to your solution to get an equivalent form.
 
Last edited:
  • Like
Likes   Reactions: Jody
I see it. It's circled even though it's enclosed in one of the groups of four probably to emphasize it.
 
tnich said:
The one I see has ##1##s in the squares for ##B=C=D=E=0##.

I don't see it. Can you please circle it in different color in my diagram ?

tnich said:
But ## \bar B \bar C \bar D + \bar B \bar C \bar D\bar E = \bar B \bar C \bar D##

How ?
 
Joshy said:
I see it. It's circled even though it's enclosed in one of the groups of four probably to emphasize it.
could you please mark in a different color in diagram . I don't see it.
 
momentum said:
I don't see it. Can you please circle it in different color in my diagram ?
Circled in blue
Handwritten 5-variable Karnaugh map with A=0 and A=1 halves, rows BC and columns DE, with 1s marked and loops drawn; the final sum is f = D'E' + B'C'D' + A'CDE + BCD + B'C'DE'.
 
Last edited:
momentum said:
How ?
##\bar B \bar C \bar D+\bar B \bar C \bar D\bar E=\bar B \bar C \bar D(1+\bar E)=\bar B \bar C \bar D(1)=\bar B \bar C \bar D##
 
tnich said:
##\bar B \bar C \bar D+\bar B \bar C \bar D\bar E=\bar B \bar C \bar D(1+\bar E)=\bar B \bar C \bar D(1)=\bar B \bar C \bar D##

Okay. got it ... that works.

But in diagram in general , we should highlight max 1's in K-Map. ...right ? we should not be using Single 1s ( blue circle which you marked) if the max 1s is available ...am I right ?

my Solution is also correct ...right ?
 
Last edited:
momentum said:
my Solution is also correct ...right ?
Functionally, yes. Maximally efficient, no. Leans a little bit in the direction of using a shotgun to kill a fly. :wink:
 
  • Like
Likes   Reactions: Jody
momentum said:
But in diagram in general , we should highlight max 1's in K-Map. ...right ? we should not be using Single 1s ( blue circle which you marked) if the max 1s is available ...am I right ?
Yes, you are right, and that has been the point all along.
$$\begin{align}&\bar D \bar E+ \bar B \bar C \bar D + && \bar ACDE + BCD+\bar B\bar CD\bar E\nonumber\\
=&\bar D \bar E+ \bar B \bar C \bar D+\bar B \bar C \bar D \bar E + && \bar ACDE + BCD+\bar B\bar CD\bar E\nonumber\\
=&\bar D \bar E+ \bar B \bar C \bar D + && \bar ACDE + BCD+\bar B\bar CD\bar E+\bar B \bar C \bar D \bar E\nonumber\\
=&\bar D \bar E+ \bar B \bar C \bar D + && \bar ACDE + BCD+\bar B\bar C\bar E\nonumber\end{align}$$
replaces ##\bar B\bar CD\bar E## with ##\bar B\bar C\bar E## giving a more efficient form.