From truth table to DNF
• If a function, e.g. F, is given by a truth
table, we know exactly for which
assignments it is true.
• Consequently, we can select the
minterms that make the function true
and form the disjunction of these
minterms.
• F is true for three assignments:
o p, q, r are all true, ( ∧ $ ∧ )
o p, ¬q, r are all true, ( ∧ ¬$ ∧ )
o ¬p, ¬q, r are all true, (¬ ∧ ¬$ ∧ )
• DNF of F: ( ∧ $ ∧ ) ∨ ( ∧ ¬$ ∧ ) ∨
(¬ ∧ ¬$ ∧ )
p q r F
1 1 1 1
1 1 0 0
1 0 1 1
1 0 0 0
0 1 1 0
0 1 0 0
0 0 1 1
0 0 0 0 9,
11