The dual of a Boolean function , written as is the same expression as that of with and swapped. is said to be self-dual if . The number of self-dual functions with Boolean variables is
View worked solution
Answer: D
A Boolean function of variables has possible input combinations (rows in its truth table).
By definition, a function is self-dual if and only if:
This condition imposes a constraint on the outputs of complementary input combinations:
- We can group the input combinations into complementary pairs of the form .
- For any such pair, if we assign a value to , the value of is uniquely determined as its complement. Specifically:
- If , then must be .
- If , then must be .
- Thus, for each of the pairs, we have exactly choices for the output assignment.
Since the choice for each pair is independent of the others, the total number of self-dual functions is:
Therefore, the correct option is D.
Free practice · Your answers on this page are not saved.
