Question #42787

How many Boolean functions on two independent Boolean variables a and b are dependent on either a or b or both?

Expert's answer

Answer on Question #42787, Math, Abstract Algebra

Problem.

How many Boolean functions on two independent Boolean variables aa and bb are dependent on either aa or bb or both?

Solution.

There are 24=162^4 = 16 different Boolean functions on two Boolean variables aa and bb (see table).



Two of these functions are independent of both aa and bb , as they are constants:

f0(a,b)=0f_{0}(a,b) = 0

f15(a,b)=1f_{15}(a,b) = 1

Four of these are functions of a single variable:

f3(a,b)=af_{3}(a,b) = a

f5(a,b)=bf_{5}(a,b) = b

f10(a,b)=b;f_{10}(a,b) = \overline{b};

f12(a,b)=af_{12}(a,b) = \overline{a}

Ten other functions depend of both variables.

Answer: independent of both variables – 2 functions, dependent on either aa or b4b - 4 functions, dependent of both variables – 10 functions.

www.AssignmentExpert.com


Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

LATEST TUTORIALS
APPROVED BY CLIENTS