[Math] Disjunctive normal form expansion

boolean-algebradiscrete mathematicslogic

I do not understand this at all.

Find the sum-of-products expansions of these Boolean functions.

  • $F(x, y, z) = x + y + z$

  • $F(x, y, z) = (x + z)y$

  • $F(x, y, z) = x$

  • $F(x, y, z) = x y$

How is $x$ not just $x$? This makes no sense to me at all and my book wants me to memorize about 20 laws and stuff to transform these to some form that I don't understand. I don't understand the point of this, I don't understand the goal of this and I don't understand the procedure. I can't even find an explanation online that makes sense to me.

What am I supposed to do?

$x+y+z$ looks like a sum of products to me already. What is wrong with it?

Why isn't $(x+y)z$ just $xz + zy$? My book says that is wrong.

Books answers:

  • $xyz + xy\bar z + x \bar yz + x\bar y \bar z + \bar x yz + \bar x y \bar z + \bar x\bar y z$

*$ xyz + xy \bar z + \bar xyz$

  • $xyz + xy \bar z + x \bar y z + x \bar y\bar z $

  • $ x\bar yz + x\bar y \bar z$

Best Answer

Each of the above except for $(x + y) z$ is already expressed as the sum-of-products (SOP). $$(x + y)z = xz + yz = xz + zy$$

You are correct that $F(x, y, z) = x$ is already in disjunctive normal form (SOP form). Perhaps your book wants you to write $F(x, y, z) = x = 1x + 0y + 0z$, but I find that a bit pedantic!

In that spirit, $F(x, y, z) = x + y + z = 1x + 1y + 1z$, and $F(x, y, z) = xy = xy + 0z$. But by most authoritative sources on the matter, these alternatives are unnecessary, and all but $F(x, y, z) = (x + y)z$ are perfectly respectable ways to express the functions as a sum-of-pr0ducts.