Possible logic functions of two variables
There are 16 possible functions of 2 input variables:
- in general, there are 2**(2**n) functions of n inputs
X Y 16 possible functions (F0–F15)0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 10 1 0 0 0 0 1 1 1 1 0 0 0 0 1 1 1 1
1 0 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1
1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1
as you can see 0, 1, X, X', Y, Y', X • Y, X + Y are only half of the possible functions