Question

Let U={1,2,…,n}U = \{1, 2, \dots, n\}. Let A={(x,X)∣x∈X,X⊆U}A = \{(x, X) \mid x \in X, X \subseteq U\}. Consider the following two statements on ∣A∣|A|.

I. ∣A∣=n2n−1|A| = n 2^{n-1}
II. ∣A∣=∑k=1nk(nk)|A| = \sum_{k=1}^n k \binom{n}{k}

Which of the above statements is/are TRUE?

Choose one option
Official answer and solution
Official answer
C
From
Official GATE 2019 answer key

Solution

Count the elements of set A using double counting: first element-wise, then subset-size-wise.

Set AA consists of all ordered pairs (x,X)(x, X) such that X⊆UX \subseteq U and x∈Xx \in X, where U={1,2,…,n}U = \{1, 2, \dots, n\}.

Evaluating Statement I (counting element by element):
For a fixed element x∈Ux \in U, how many subsets X⊆UX \subseteq U contain xx? Since the remaining n−1n-1 elements of UU can independently be either included or excluded, there are 2n−12^{n-1} such subsets. Since there are nn distinct choices for x∈Ux \in U:

∣A∣=∑x∈U2n−1=n2n−1|A| = \sum_{x \in U} 2^{n-1} = n 2^{n-1}

Thus, Statement I is TRUE.

Evaluating Statement II (counting by subset size):
Let k=∣X∣k = |X| be the size of the subset XX, where 1≤k≤n1 \le k \le n. There are (nk)\binom{n}{k} subsets of size kk. For each such subset XX, there are kk choices of element x∈Xx \in X. Therefore, the total number of pairs is:

∣A∣=∑k=1nk(nk)|A| = \sum_{k=1}^n k \binom{n}{k}

By standard binomial identities, ∑k=1nk(nk)=n2n−1\sum_{k=1}^n k \binom{n}{k} = n 2^{n-1}. Thus, Statement II is also TRUE.

Both statements I and II are TRUE.

Final answer

C

The answer is the one in the official GATE answer key. The solution is this site's own explanation.

Source

Paper
GATE 2019 Computer Science and Information Technology (CS)
Question
15 of 65, printed as CS Q.5
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.