Skip to content

GATE CS 2019 Q5 — Combinatorics: Counting, Recurrence Relations, Generating Functions

Explain with AI

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∣\mid A \mid.

  1. ∣A∣=n2n−1\mid A \mid = n2^{n-1}
  2. ∣A∣=Σk=1nk(nk)\mid A \mid = \Sigma_{k=1}^{n} k \begin{pmatrix} n \\ k \end{pmatrix}

Which of the above statements is/are TRUE?

Choose one option
View worked solution

Answer: C

We are given the set U={1,2,…,n}U = \{1, 2, \dots , n\} and the set of pairs:

A={(x,X)∣x∈X,X⊆U}A = \{(x, X) \mid x \in X, X \subseteq U\}

We can find the cardinality ∣A∣|A| using two different combinatorial counting methods.

Method 1: Counting by choosing the element xx first (Proof of Statement I)

  1. There are nn choices for the element x∈Ux \in U.
  2. For any fixed element xx, the subset XX must contain xx. The remaining n−1n-1 elements of UU can either be included in XX or excluded. Thus, there are 2n−12^{n-1} possible choices for the subset XX.
  3. By the product rule, the total number of valid pairs (x,X)(x, X) is:∣A∣=n⋅2n−1|A| = n \cdot 2^{n-1}

Therefore, Statement I is TRUE.

Method 2: Counting by choosing the subset XX first (Proof of Statement II)

  1. Let kk be the size of the subset XX, where 1≤k≤n1 \le k \le n (since XX contains at least xx, XX cannot be empty).
  2. The number of ways to choose a subset X⊆UX \subseteq U of size kk is (nk)\binom{n}{k}.
  3. Once XX of size kk is chosen, there are exactly kk choices for the element x∈Xx \in X.
  4. Summing over all possible subset sizes kk from 11 to nn, we get:∣A∣=∑k=1nk(nk)|A| = \sum_{k=1}^{n} k \binom{n}{k}

Therefore, Statement II is TRUE.

Since both Statement I and Statement II correctly express the cardinality ∣A∣|A|, both statements are true.

Free practice · Your answers on this page are not saved.

Published
Report a correction
Keep exploringMore Combinatorics: Counting, Recurrence Relations, Generating Functions questions