Suppose that f: B3 →B is defined by f (x, y, z) = (x + y) + (xz). a) Determine the d.n.f. and c.n.f. for f. b) Write f as a sum of min-terms and as a product of max-terms (utilizing binary labels).
in Algebra 2 Answers by Level 1 User (120 points)

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please log in or register.

1 Answer

First we need to set up the relevant truth table:

REF x y z x+y xz f=(x+y)+(xz)
a 0 0 0 0 0 0
b 0 0 1 0 0 0
c 0 1 0 1 0 1
d 0 1 1 1 0 1
e 1 0 0 1 0 1
f 1 0 1 1 1 1
g 1 1 0 1 0 1
h 1 1 1 1 1 1

Using REF, we can combine those that result in function f=1: c+d+e+f+g+h.

These correspond to DNF (disjunctive normal form):  x̄yz̄+x̄yz+xȳz̄+xȳz+xyz̄+xyz, which can also be expressed (+ is replaced by OR (∨) and literal multiplication by AND (∧)):

(¬x∧y∧¬z)∨(¬x∧y∧z)∨(x∧¬y∧¬z)∨(x∧¬y∧z)∨(x∧y∧¬z)∨(x∧y∧z). This DNF is also called sums of products (SOP), where the products are within parentheses and the sums join the parenthesised products.

Again, using REF, we combine those that result in f=0 (or ¬f=1): a+b, corresponding to DNF:

x̄ȳz̄+x̄ȳz, or (¬x∧¬y∧¬z)∨(¬x∧¬y∧z).

¬(¬f)=f=1, so we negate the literals and reverse the logic symbols: (x∨y∨z)∧(x∨y∨¬z)=(x+y+z)(x+y+z̄) to get the CNF (conjunctive normal form) or product of sums (POS). Here the sums are parenthesised and the the CNF is the product of these sums.

by Top Rated User (1.2m points)

Related questions

1 answer
1 answer
Welcome to MathHomeworkAnswers.org, where students, teachers and math enthusiasts can ask and answer any math question. Get help and answers to any math problem including algebra, trigonometry, geometry, calculus, trigonometry, fractions, solving expression, simplifying expressions and more. Get answers to math questions. Help is always 100% free!
87,516 questions
100,279 answers
2,420 comments
732,215 users