How to use K-map to prove a boolean equation?

  • Context: MHB 
  • Thread starter Thread starter FallArk
  • Start date Start date
Click For Summary

Discussion Overview

The discussion revolves around the use of Karnaugh maps (K-maps) to demonstrate the equivalence of two boolean expressions: B + AB’C’D + AB’CD and B + AD. Participants explore the structure of K-maps, how to fill them out, and the implications of the boolean variables involved.

Discussion Character

  • Technical explanation
  • Conceptual clarification
  • Homework-related

Main Points Raised

  • Some participants clarify that a K-map is a table used for simplifying boolean expressions, not a graph.
  • There is a discussion about the meaning of the variable B within the context of the K-map.
  • Participants express uncertainty about how to determine where to place 1s and 0s in the K-map based on the given boolean expressions.
  • One participant explains that since the expression starts with B, all fields corresponding to B=1 can be filled in with 1s.
  • Another participant provides examples of how to represent the expressions in the K-map format, including filling in values for the expression AD.
  • There is a confirmation from a participant that they understand the process of filling in the K-map after receiving clarification.

Areas of Agreement / Disagreement

Participants generally agree on the structure and purpose of K-maps, but there is some uncertainty regarding the specific steps for filling them out based on the boolean expressions provided. The discussion does not reach a consensus on the best approach to demonstrate the equivalence of the two expressions using K-maps.

Contextual Notes

Some participants express confusion about the initial steps in using K-maps, particularly in relation to the placement of values based on the boolean expressions. There are also references to specific boolean variables and their combinations that may require further clarification.

FallArk
Messages
127
Reaction score
0
This is actually a computer engineering problem:
How to use k-map to show that B + AB’C’D + AB’CD = B + AD?
Isn't K-map a graph that shows combinations of input A, B, C and D?
What is B then?
 
Technology news on Phys.org
FallArk said:
This is actually a computer engineering problem:
How to use k-map to show that B + AB’C’D + AB’CD = B + AD?
Isn't K-map a graph that shows combinations of input A, B, C and D?
What is B then?

Hey FallArk! ;)

A k-map or Karnaugh map is not a graph - it's a table that looks like:
K-map_6%2C8%2C9%2C10%2C11%2C12%2C13%2C14_anti-race.svg


It's a method to simplify boolean expressions of a number of boolean variables (4 variables in the example).

B is just one of the 4 boolean variables.
The AB at the top represents all possible combinations of the 2 boolean variables A and B.
And the CD at the left represents all possible combinations of C and D.
If we make such tables for both the left hand side and the right hand side, we should find that the tables are identical.
 
I like Serena said:
Hey FallArk! ;)

A k-map or Karnaugh map is not a graph - it's a table that looks like:It's a method to simplify boolean expressions of a number of boolean variables (4 variables in the example).

B is just one of the 4 boolean variables.
The AB at the top represents all possible combinations of the 2 boolean variables A and B.
And the CD at the left represents all possible combinations of C and D.
If we make such tables for both the left hand side and the right hand side, we should find that the tables are identical.
Sorry for not wording it correctly, what I was trying to say is that how can I tell where to fill in the 1s and 0s in the map according to what is given to me?
 
FallArk said:
Sorry for not wording it correctly, what I was trying to say is that how can I tell where to fill in the 1s and 0s in the map according to what is given to me?

The rightmost 2 columns correspond to $A=1$, or just $A$.
The center columns correspond to $B$.

We have an expression that begins with $B + ...$.
That means that it's true if $B$ is.
So we can fill in all fields corresponding to $B=1$.

\begin{array}{c|c|c|c|}
{}_{\small{CD}}\backslash{}^{\small{AB}}&\tiny{00}&\tiny{01}&\tiny{11}&\tiny{10} \\
\hline
\tiny{00}&\ & 1&1&\ \\
\hline
\tiny{01}&\ & 1&1&\ \\
\hline
\tiny{11}&\ & 1&1&\ \\
\hline
\tiny{10}&\ & 1&1&\ \\
\hline
\end{array}

Now we need to add 1's for the other parts of the expression.

For instance $AD$ is represented by:
\begin{array}{c|c|c|c|}
{}_{\small{CD}}\backslash{}^{\small{AB}}&\tiny{00}&\tiny{01}&\tiny{11}&\tiny{10} \\
\hline
\tiny{00}& & & & \\
\hline
\tiny{01}& & & 1& 1\\
\hline
\tiny{11}& & & 1&1 \\
\hline
\tiny{10}& & & & \\
\hline
\end{array}

So $B+AD$ is:
\begin{array}{c|c|c|c|}
{}_{\small{CD}}\backslash{}^{\small{AB}}&\tiny{00}&\tiny{01}&\tiny{11}&\tiny{10} \\
\hline
\tiny{00}&0 &1 &1 &0 \\
\hline
\tiny{01}&0 &1 &1 &1\\
\hline
\tiny{11}&0 &1 &1 &1 \\
\hline
\tiny{10}&0 &1 &1 &0 \\
\hline
\end{array}
 
I like Serena said:
The rightmost 2 columns correspond to $A=1$, or just $A$.
The center columns correspond to $B$.

We have an expression that begins with $B + ...$.
That means that it's true if $B$ is.
So we can fill in all fields corresponding to $B=1$.

\begin{array}{c|c|c|c|}
{}_{\small{CD}}\backslash{}^{\small{AB}}&\tiny{00}&\tiny{01}&\tiny{11}&\tiny{10} \\
\hline
\tiny{00}&\ & 1&1&\ \\
\hline
\tiny{01}&\ & 1&1&\ \\
\hline
\tiny{11}&\ & 1&1&\ \\
\hline
\tiny{10}&\ & 1&1&\ \\
\hline
\end{array}

Now we need to add 1's for the other parts of the expression.

For instance $AD$ is represented by:
\begin{array}{c|c|c|c|}
{}_{\small{CD}}\backslash{}^{\small{AB}}&\tiny{00}&\tiny{01}&\tiny{11}&\tiny{10} \\
\hline
\tiny{00}& & & & \\
\hline
\tiny{01}& & & 1& 1\\
\hline
\tiny{11}& & & 1&1 \\
\hline
\tiny{10}& & & & \\
\hline
\end{array}

So $B+AD$ is:
\begin{array}{c|c|c|c|}
{}_{\small{CD}}\backslash{}^{\small{AB}}&\tiny{00}&\tiny{01}&\tiny{11}&\tiny{10} \\
\hline
\tiny{00}&0 &1 &1 &0 \\
\hline
\tiny{01}&0 &1 &1 &1\\
\hline
\tiny{11}&0 &1 &1 &1 \\
\hline
\tiny{10}&0 &1 &1 &0 \\
\hline
\end{array}

I get it now! So I just have to make sure all the 1's I fill in corresponds to what it given. Thanks!
 

Similar threads

  • · Replies 14 ·
Replies
14
Views
5K
Replies
4
Views
3K
  • · Replies 14 ·
Replies
14
Views
6K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 21 ·
Replies
21
Views
2K
  • · Replies 0 ·
Replies
0
Views
2K
  • · Replies 0 ·
Replies
0
Views
1K
  • · Replies 10 ·
Replies
10
Views
2K
Replies
9
Views
3K
Replies
9
Views
2K