GATE / CS ARCHIVE

GATE CSE 2001 / QUESTION 10(a)

Self-duality of a three-variable function

Digital Logic · Boolean Algebra & Logic Gates · Full GATE CSE 2001 paper

GATE 2001, Q10(a) Descriptive
Report issue

Boolean Algebra & Logic Gates

Question 10(a), GATE 2001: f(x,y,z)=Σm(0,1,2,4). Determine whether f is self-dual.

Task: Decide whether f is self-dual and justify the answer.
Question 10(a), GATE 2001: f(x,y,z)=Σm(0,1,2,4). Determine whether f is self-dual.

Task: Decide whether f is self-dual and justify the answer.
Tap to enlarge
Shared context

f(x,y,z)=Σm(0,1,2,4). Determine whether f is self-dual.

Answer & solution

Answer: Yes; f(x,y,z)=¬f(¬x,¬y,¬z). (no official key was published)

1. Self-duality requires complementary input vectors to produce complementary outputs. For three variables, complementing every input bit maps minterm index i to 7−i.

2. The complementary pairs are (0,7), (1,6), (2,5), and (3,4). The given on-set {0,1,2,4} contains exactly one member of each pair.

3. Thus whenever f is 1, its complementary input has value 0; and whenever f is 0, its complementary input has value 1. This proves the identity for all eight input vectors.

4. Having four ones alone would not prove self-duality: their distribution across complement pairs matters. Here all four pairs satisfy the required condition.

Original paper, page 8