ELEN500 Homework 4

Winter 1999
Chapter 5

98765


1. Do problem 3 on page 207 at the end of Chapter 5.
Find the sequence of moves that transforms

xyzf1 f2 wxyz f1 f2
----- ----- ----- -----
0-0-10 000-11
-10-10 into: -10-10
1-1111 1-1111
00--01 0-1-01
0-1-01

Solution:
Move 1
0-0- | 10 reduced in input x to 000- | 10
Move 2
00-- | 01 reduced in input y to 000- | 01
Move 3 (could pick either of the above rows)
000- | 01 expanded in the output to 000- | 11
then the redundant row 000- | 10 can be eliminated.


2a. Find the cofactor of :
vwxyzfgh
--------------
1-0-1101
001--001
-111-110
01--0111
110-0010
1010- 101


with respect to the cube 0-10- | 001

First select only the rows with output h equal to 1.
vwxyzh
--------------
1-0-11
001--1
01--01
1010-1

Next select only the rows with containg the cell 0-10- in the input.
vwxyzh
------------
001--1
01--01

remove the input columns other than w and z(the dashes in 0-10-) to get the cofactor:
wzh
-------
0-1
101
2b) Is this cofactor a tautology? No, because the input combination 11 is not covered.
Or the shortcut shows the sum of the coverred cells is 3 minuterms and we need at least 4 minterms coverred for a two input cofactor to be a tautology.



3. For f(w,x,y,z) = x'yz + w'y + w'x'z
a) is the function UNATE?

Yes, because it is monotonic in all variables.

b) For which variables, if any, is the function monotonically increasing? y and z

c) For which variables, if any, is the function monotonically decreasing? w and x

d) For which variables, if any, is the function non-monotonic? None