Question
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
Official answer and solution
- Official answer
- D
- From
- Official GATE 2014 answer key
Solution
Use the property that self-dual Boolean functions are constrained by complementary pairs of truth table entries.
-
Definition of Self-Dual Function:
A function is self-dual if , which is algebraically equivalent to: -
Truth Table Combinations:
- A Boolean function with variables has distinct input combinations (minterms).
- Each minterm has a unique complementary minterm where every bit is inverted.
- These form exactly mutually exclusive pairs of complementary minterms.
-
Degrees of Freedom:
- For any pair of complementary minterms , if we assign , the self-dual condition strictly fixes .
- Therefore, we have an independent binary choice (0 or 1) for only input pairs.
-
Total Number of Self-Dual Functions:
This matches option D.
D
Confusing 2^(2^(n-1)) with 2^(2^n - 1) or 2^(n-1).
The answer is the one in the official GATE answer key. The solution is this site's own explanation.
Source
- Paper
- GATE 2014 Computer Science and Information Technology (CS) Session 2
- Question
- 16 of 65, printed as CS Q.6
- Section
- Computer Science and Information Technology
Report an error in this question
GATE questions are the work of the organising institutes. This site is independent and is not affiliated with them.