Minimizing Boolean expressions with K-maps

  • Thread starter STEMucator
  • Start date
10 replies · 3K views · last reply
Homework Helper
Messages
2,076
Reaction score
140

Homework Statement



1. Draw the K-Map for ##F = a \bar b + b \bar c d + cd + \bar a c d + a \bar b \bar c d## and minimize the expression.

2. Find a simplified expression for the K-map:

Four-by-four Karnaugh map with rows labelled a and b and columns labelled d and c, cells marked 1 or d, with some cells left blank.


Homework Equations

The Attempt at a Solution



My work for each question is shown in the image below. I hope that I have done everything properly:

Handwritten notes on lined paper: the Boolean expression ab-bar + b-bar cd + cd + a-bar cd + ab-bar c-bar d = F with five minterm bit strings below it, a 4-variable Karnaugh map with 1s circled, the simplified result F = d(a + bc), and a second annotated Karnaugh map followed by several lines of algebraic simplification.


If someone could verify my work it would be much appreciated.

Thank you.
 
Why do you have don't cares? either you are not using them correctly, or there is information you are not giving us.
Also I am fairly certain your kmap is not correct.
 
donpacino said:
Why do you have don't cares? either you are not using them correctly, or there is information you are not giving us.
Also I am fairly certain your kmap is not correct.

The don't cares are given as stated, and the questions are given exactly as I've mentioned in the first post.

What leads you to believe my K-Map for the first problem is incorrect?
 
Zondrina said:
The don't cares are given as stated, and the questions are given exactly as I've mentioned in the first post.

What leads you to believe my K-Map for the first problem is incorrect?
ohhh my god, I thought the Kmap show above was the Kmap from the first problem. disregard what I said before...For problem #1 I would check your work again
 
for number 2, you can get it simpler. Why are you doing so much algebra. The beauty of the K map allows you to create the logic functions simply.
I only did one algebra step.
 
donpacino said:
ohhh my god, I thought the Kmap show above was the Kmap from the first problem. disregard what I said before...For problem #1 I would check your work again

No problem, perhaps it was a little confusing.

I assume the K-Map for the first problem is wrong because it should look like this:

e e 1 e
e 1 1 e
e 1 1 e
1 1 1 e

Where I used e to denote an empty spot on the map.

For the second question, I can't see how to get it any simpler. I thought the loops I used were as large as possible.
 
Zondrina said:
No problem, perhaps it was a little confusing.

I assume the K-Map for the first problem is wrong because it should look like this:

e e 1 e
e 1 1 e
e 1 1 e
1 1 1 e

Where I used e to denote an empty spot on the map.

For the second question, I can't see how to get it any simpler. I thought the loops I used were as large as possible.
your correction to #1 is still not correct. look at your AB' term.

for the second question I have two comments. You don't need all that algebra. It defeats the purpose of using a kmap. it should be 1, maybe two steps.
That being said, you have a redundant term in your final answer
 
Oh whoops, I missed a one on the bottom right corner there, it should be:

e e 1 e
e 1 1 e
e 1 1 e
1 1 1 1

Then taking the biggest loops I get ##F = a \bar b + bd + \bar a c d## for the first problem.

Upon looking at the second problem with a different vision now, I believe It should be:

$$F = c \bar d + a \bar b + a + \bar a \bar b \bar c \bar d = a + c \bar d + \bar a \bar b \bar c \bar d$$.
 
#1.) Nice job!

#2.)that is not correct, i know that because the expression a does not work in this case.
look at your final answer for #2 in your original work. It is very close to being correct. You can get to that point simply by looking at the loops.
 
  • Like
Likes   Reactions: STEMucator
That's weird, thought I had it that time. I see the problem now though, I have an extra loop along the bottom row that's been confusing me.

So removing that extra loop, I have three loops. The one along the right column, the one along the bottom half of the left column, and the one surrounding the four corners. Reading the loops off I get:

$$F = c \bar d + a \bar c \bar d + \bar b \bar d = \bar d [ c + a \bar c + \bar b] = \bar d [ a + \bar b + c ]$$
 
Last edited: