Drawing Truth Tables etc. Some clarification please?

  • Context: MHB 
  • Thread starter Thread starter shamieh
  • Start date Start date
  • Tags Tags
    Drawing
Click For Summary
SUMMARY

The discussion focuses on constructing and minimizing truth tables for the function f(X,Y,Z) defined as f(X,Y,Z) = Σm(0,2,5,7). Participants clarify that the truth table rows corresponding to the minterms yield a value of 1, while others yield 0. The canonical sum of products (SOP) expression derived is f(X,Y,Z) = x'y'z' + x'yz' + xy'z + xyz. The minimization process is discussed, with the Karnaugh Map method suggested, although some participants are unfamiliar with it. The final minimized expression is x'z' + xz.

PREREQUISITES
  • Understanding of truth tables and minterms
  • Familiarity with canonical sum of products (SOP) expressions
  • Basic knowledge of Boolean algebra
  • Introduction to Karnaugh Maps for minimization
NEXT STEPS
  • Learn how to construct and interpret truth tables for Boolean functions
  • Study the process of deriving canonical SOP expressions from truth tables
  • Explore Boolean algebra techniques for simplifying expressions
  • Familiarize yourself with Karnaugh Maps for efficient minimization of Boolean functions
USEFUL FOR

Students and educators in digital logic design, computer science, and electrical engineering, particularly those learning about Boolean functions and their simplification methods.

shamieh
Messages
538
Reaction score
0
1a)Draw a truth table corresponding to f(X,Y,Z) = $$\sum$$m(0,2,5,7)

Apparently since I know that $$\sum$$m(0,2,5,7), I also intuitively know that$$\pi$$m(1,3,4,6) NOTE: I HAVE NO IDEA WHAT THIS MEANSso I know that I have 3 inputs. So I know I have 2^3 rows, starting at 0. So this part is easy, I know I have

  1. x y z| f
  2. 0 0 0|1 <--- How do they get a 1 here? Isn't 0 AND 0 AND 0 = 0??
  3. 0 0 1|0 <- How do they get a 0 here?Isn't 0 and 0 = 1. Then 1 AND 0 =0 ??]
  4. 0 1 0|
  5. 0 1 1|
  6. 1 0 0|
  7. 1 0 1|
  8. 1 1 0|
  9. 1 1 1|

BUT, I'm not sure how they are getting the F column!
 
Last edited:
Technology news on Phys.org
$f(x,y,z)=\sum m(0,2,5,7)$ is the definition of the function $f$. It means that those rows of the truth table get 1's, and the other rows get 0's. You could also write the function $f$ as follows:
$$f(x,y,z)= \bar{x} \bar{y} \bar{z}+ \bar{x}y \bar{z}+x \bar{y}z+xyz.$$
 
Ackbach said:
$f(x,y,z)=\sum m(0,2,5,7)$ is the definition of the function $f$. It means that those rows of the truth table get 1's, and the other rows get 0's. You could also write the function $f$ as follows:
$$f(x,y,z)= \bar{x} \bar{y} \bar{z}+ \bar{x}y \bar{z}+x \bar{y}z+xyz.$$

That makes complete sense! so $f$ would be 1 0 1 0 0 1 0 1.

So now when it asks me - for the next question to -- Write out the canonical sum of products (SOP) expression for $$f(X,Y,Z,)$$" I would write:

$$ \bar{x} \bar{y} \bar{z} + \bar{x}y \bar{z} + x \bar{y}z + xyz$$

correct? So, my next question Ach.. Is when it says Minimize the expression of what I just got above, how do I go about minimizing that expression? What is the simplest way?
 
shamieh said:
That makes complete sense! so $f$ would be 1 0 1 0 0 1 0 1.

So now when it asks me - for the next question to -- Write out the canonical sum of products (SOP) expression for $$f(X,Y,Z,)$$" I would write:

$$ \bar{x} \bar{y} \bar{z} + \bar{x}y \bar{z} + x \bar{y}z + xyz$$

correct? So, my next question Ach.. Is when it says Minimize the expression of what I just got above, how do I go about minimizing that expression? What is the simplest way?

Well, my favorite way is Karnaugh Maps, but I don't know if you've learned that, yet. I'd probably go this route:
\begin{align*}
f&=\bar{x} \bar{y} \bar{z} + \bar{x}y \bar{z} + x \bar{y}z + xyz \\
&= \bar{x} \bar{z}(y+ \bar{y})+xz(y+ \bar{y}).
\end{align*}
Can you continue?
 
Ackbach said:
Well, my favorite way is Karnaugh Maps, but I don't know if you've learned that, yet. I'd probably go this route:
\begin{align*}
f&=\bar{x} \bar{y} \bar{z} + \bar{x}y \bar{z} + x \bar{y}z + xyz \\
&= \bar{x} \bar{z}(y+ \bar{y})+xz(y+ \bar{y}).
\end{align*}
Can you continue?

We haven't learned Karnaugh Maps yet. Ahh I see! Factor by grouping and then y + y! = 1 right? so you're just left with $$\bar{x} \bar{z} + xz$$ correct?
 
shamieh said:
We haven't learned Karnaugh Maps yet. Ahh I see! Factor by grouping and then y + y! = 1 right? so you're just left with $$\bar{x} \bar{z} + xz$$ correct?

Right. I don't think there's anything else you can do with that.
 
Okay awesome, but now it says: 1b)Write out the canonical sum of products (SOP) expression for $f$(X,Y,Z) of 1a. (This was the truth table we just drew and solved above). So for this one my teacher had something like this in the $f$ column...so what would be going on here?

  1. x y z | f
  2. 0 0 0| 1 <--- how are these numbers being implemented? this must be different from
  3. 0 0 1| 1 what we just did right?
  4. 0 1 0| 0
  5. 0 1 1| 1
  6. 1 0 0| 0
  7. 1 0 1| 1
  8. 1 1 0| 0
  9. 1 1 1| 1
 
Last edited:
shamieh said:
Okay awesome, but now it says: Write out the canonical sum of products (SOP) expression for $f$(X,Y,Z) of 1a. (This was the truth table we just drew and solved above). So for this one my teacher had something like this in the $f$ column...so what would be going on here?

  1. x y z | f
  2. 0 0 0| 1 <--- how are these numbers being implemented? this must be different from
  3. 0 0 1| 1 what we just did right?
  4. 0 1 0| 0
  5. 0 1 1| 1
  6. 1 0 0| 0
  7. 1 0 1| 1
  8. 1 1 0| 0
  9. 1 1 1| 1

If you're being asked to write an SOP for a given function, all you have to do is read out the row numbers. For each row with a $1$ in the $f$ column, add a term that represents the values of $x$, $y$, and $z$ for that row. If the $x$-value is a $0$, then put in $\bar{x}$. If it is a $1$, then put in an $x$. So, your next problem here will have to have
$$f=\underbrace{\bar{x} \bar{y} \bar{z}}_{\text{Row 2}}+ \underbrace{\bar{x} \bar{y} z}_{\text{Row 3}}+\dots.$$
Can you finish?
 
So is this correct? Can someone check my work? That's essentially what I am asking.

1a) Draw the truth table corresponding to $f$((X,Y,Z,) = $$\sum$$m(0,2,5,7)
ANSWER:
x y z| f
0 0 0|1
0 0 1|0
0 1 0|1
0 1 1|0
1 0 0|0
1 0 1|1
1 1 0|0
1 1 1|1


1b)Write the canonical sum of products (SOP) expression for $f$(X,Y,Z,) of 1a.
ANSWER:
x!y!z! + x!yz! + xy!z + xyz

1c) Minimize the expression of 1b.
ANSWER:
x!z!(y! +y) + xz(y! + y) = x!z! + xz.
 
Last edited:
  • #10
Yes, this is correct.
 
  • #11
Can you check out my other Thread? I'm having a problem minimizing on one problem. http://mathhelpboards.com/discrete-mathematics-set-theory-logic-15/truth-table-canonical-sum-minimizing-canonical-sum-6492.html
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
2K
Replies
1
Views
3K
Replies
9
Views
3K
  • · Replies 15 ·
Replies
15
Views
2K
  • · Replies 1 ·
Replies
1
Views
4K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 3 ·
Replies
3
Views
3K
Replies
2
Views
2K
  • · Replies 6 ·
Replies
6
Views
4K
  • · Replies 1 ·
Replies
1
Views
2K