Here are my steps: $\bar{x}\bar{y}\bar{z} + \bar{x}\bar{y}z+x\bar{y}\bar{z}+x\bar{y}z$ $$\bar{x}\bar{y}\bar{z} + \bar{x}\bar{y}z+x\bar{y}\bar{z}+(x\bar{y}z+x\bar{y}z)$$ Used Idempotent law and rearranged the equation $$\bar{x}\bar{y}\bar{z} + (\bar{x}\bar{y}z+x\bar{y}z)+(x\bar{y}\bar{z}+x\bar{y}z)$$ factoring $$\bar{x}\bar{y}\bar{z} + \bar{y}z(\bar{x}+x)+x\bar{y}(\bar{z}+z)$$Complement law $$\bar{x}\bar{y}\bar{z} + \bar{y}z(1)+x\bar{y}(1) + \bar{x}\bar{y}\bar{z} $$ Used Idempotont law again $$\bar{x}\bar{y}\bar{z} + \bar{y}(x + \bar{x}+z+\bar{z}) $$factoring $$\bar{x}\bar{y}\bar{z} + \bar{y}(1+1) $$Complement Law and Tautology $$\bar{x}\bar{y}\bar{z} + \bar{y}1$$Used Identity law on y $$\bar{y}(1+\bar{x}\bar{z})$$Tautology $$\bar{y}$$ However I need x and z values. $$\bar{y}+\bar{x}x+z\bar{z}$$ The question states that I need to find the minimization of the original expression, as the sum of three terms. Is my steps valid?
Asked
Active
Viewed 1,086 times
2
1 Answers
2
- Your simplification process is correct, and so is your result $\bar y$.
- If your truth tables don't match then you probably made a mistake computing the truth tables. I can't check those because you haven't posted them.
- Your last statement "The question states that I need to find the minimization of the original expression, as the sum of three terms." is very strange since the expression simplifies to just 1 term. I realize you can awkwardly rewrite it as 3, but I would expect whoever assigned this question would not ask for 3 terms if the expression simplifies to just $\bar y$. It makes me think you should double-check for mistakes in copying down the initial expression to be simplified. (That could also explain why your truth tables aren't matching up.)
David Clyde
- 5,251
-
I just realized I might be inputting the truth tables incorrectly. For the initial expression, the truth table has 3 boolean variables ( 8 rows), and the final simplification $\bar{y}$ has just 1 variable (2 rows). Do I have to include x and z values to the $\bar{y}$ truth table too? – Dravid Dec 18 '22 at 05:09
-
@Dravid You've shown the original expression is equivalent to the three-variable truth table $\bar y$. We're viewing $\bar y$ as a function of 3 variables, so it will produce a 2x2x2 truth table that just doesn't depend on $x$ or $z$ at all. – David Clyde Dec 18 '22 at 05:18
-
I don't understand how $\bar{y}$ can have 2x2x2 truth table. Would the columns be like $y$, $\bar{y}$? Sorry if I misunderstood – Dravid Dec 18 '22 at 05:25
-
@Dravid $x$ could be true or false. $y$ could be true or false. $z$ could be true or false. Therefore $f(x,y,z) = \bar y$ has 8 different inputs which need to be shown in that table, even though the output doesn't depend on $x$ or $z$. – David Clyde Dec 18 '22 at 05:28
-
I also tried finding the simplification using a karnaugh map, and reached the same answer = y'
But the truth table for the original expression and y' dont match, so I cannot present that as the final answer https://math.stackexchange.com/questions/4600582/karnaugh-map-for-the-expression-barx-bary-barz-barx-baryzx-bary
– Dravid Dec 17 '22 at 12:57