ELEN500 Homework 5 Solution

1. Do problem 2 on page 207 at the end of Chapter 5.
Find a sequence of moves that transforms:
| xyz | f1 f2 | | xyz | f1 f2 |
| ----- | ----- | | ----- | ----- |
| 00- | 10 | | -01 | 11 |
| -10 | 11 | into: | -10 | 01 |
| 1-1 | 10 | | 0-0 | 10 |
| -01 | 01 | | 11- | 11 |
| 11- | 01 | |
11- | 01 expand the output cube to get 11- | 11.
| xyz | f1 f2 | |
| ----- | ----- | |
| 00- | 10 | |
| -10 | 11 | |
| 1-1 | 10 | |
| -01 | 01 | |
| 11- | 11 | * |
1-1 | 10 reduce the cube in y to get 101 | 10.
| xyz | f1 f2 | |
| ----- | ----- | |
| 00- | 10 | |
| -10 | 11 | |
| 101 | 10 | * |
| -01 | 01 | |
| 11- | 11 | |
101 | 10 expand the cube in x to get -01 | 10.
| xyz | f1 f2 | |
| ----- | ----- | |
| 00- | 10 | |
| -10 | 11 | |
| -01 | 10 | * |
| -01 | 01 | |
| 11- | 11 | |
-01 | 10 expand the cube in outputs to get -01 | 11.
(contains -01 | 01).
| xyz | f1 f2 | |
| ----- | ----- | |
| 00- | 10 | |
| -10 | 11 | |
| -01 | 11 | * |
| 11- | 11 | |
00- | 10 reduce the cube in z to get 000 | 10.
| xyz | f1 f2 | |
| ----- | ----- | |
| 000 | 10 | * |
| -10 | 11 | |
| -01 | 11 | |
| 11- | 11 | |
000 | 10 expand the cube in y to get 0-0 | 10.
| xyz | f1 f2 | |
| ----- | ----- | |
| 0-0 | 10 | * |
| -10 | 11 | |
| -01 | 11 | |
| 11- | 11 | |
-10 | 11 reduce the cube in the output to get -10 | 01.
| xyz | f1 f2 | |
| ----- | ----- | |
| 0-0 | 10 | |
| -10 | 01 | * |
| -01 | 11 | |
| 11- | 11 | |
2. Do problem 5 on page 208 at the end of Chapter 5.
Find the cofactor of :
| vwxyz | fgh |
| --------- | ----- |
| 1-0-1 | 101 |
| 001-- | 001 |
| -111- | 110 |
| 01--0 | 111 |
| 110-0 | 010 |
| 1010- | 101 |
with respect to the cube --110 | 110
| vw | fg |
| --------- | ----- |
| -1 | 11 |
| 01 | 11 |
Note: this cofactor is not a tautology, so the cube --110 | 110 is not a part of any valid move.
3. For f(w,x,y,z) = x'yz + w'y + wx'z
a) is the function UNATE? No
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? x
d) For which variables, if any, is the function non-monotonic? w