GATE / CS ARCHIVE

GATE CSE 1994 / QUESTION 2.4

Odd-cardinality subsets

Discrete Mathematics · Sets, Relations & Functions · Full GATE CSE 1994 paper

GATE 1994, Q2.4 Other
Report issue

Sets, Relations & Functions

Question 2.4, GATE 1994: How many subsets of {1,…,n} have odd cardinality?
Tap to enlarge
Answer & solution

Answer: 2^(n−1), for n≥1 (no official key was published)

Toggle whether element 1 belongs to a subset. This maps every even-cardinality subset to a unique odd-cardinality subset and reverses itself, so the two classes are equally large. Since there are 2n total subsets, each class has 2n−1. The argument does not require summing individual binomial coefficients. If n=0 is allowed, the only subset is empty and the odd count is zero; the usual displayed formula assumes the nonempty base set n≥1.

Original paper, page 3