Drawing Truth Tables etc. Some clarification please?

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

Discussion Overview

The discussion revolves around constructing and analyzing truth tables for the function f(X,Y,Z) defined by the sum of minterms, specifically $$\sum m(0,2,5,7)$$. Participants explore the implications of this definition, how to derive the function's canonical sum of products (SOP) expression, and methods for minimizing the expression. The conversation includes both conceptual clarifications and technical reasoning related to Boolean algebra.

Discussion Character

  • Exploratory
  • Technical explanation
  • Mathematical reasoning
  • Homework-related

Main Points Raised

  • Some participants express confusion about how to derive the truth table from the given minterms and question the values in the f column.
  • Others clarify that the minterm notation indicates which rows of the truth table should have a value of 1, while the remaining rows should be 0.
  • One participant proposes a canonical SOP expression for f based on the truth table, suggesting it can be expressed as $$\bar{x} \bar{y} \bar{z} + \bar{x}y \bar{z} + x \bar{y}z + xyz$$.
  • There is a discussion about minimizing the expression, with one participant suggesting the use of Karnaugh Maps, while another mentions they have not learned this method yet.
  • Participants discuss the process of factoring and grouping to simplify the expression, arriving at $$\bar{x} \bar{z} + xz$$.
  • Some participants inquire about discrepancies in the truth table values and seek clarification on how to construct the SOP expression based on the truth table.

Areas of Agreement / Disagreement

Participants generally agree on the process of constructing the truth table and deriving the SOP expression. However, there are points of confusion regarding specific values in the truth table and the methods for minimizing the expression, indicating that the discussion remains unresolved in these areas.

Contextual Notes

There are limitations in understanding the implications of the minterm notation and the specific methods for minimizing Boolean expressions, as some participants have not yet learned certain techniques like Karnaugh Maps.

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 1 ·
Replies
1
Views
2K
  • · Replies 6 ·
Replies
6
Views
4K