Skip to content
GATEiit

GATE CSE 2019 Q15: Size of A = {(x, X) | x ∈ X, X ⊆ U}: n·2^(n−1) vs sum k·C(n,k)

Syllabus topics: Combinatorics: counting, recurrence relations and generating functions; Sets, relations, functions, partial orders and lattices

Question

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

I. ∣A∣=n2n−1

II. ∣A∣=∑k=1nk(nk)

Which of the above statements is/are TRUE?

Try it: multiple choice: exactly one correct option

Select one option
Wrong answer costs 1/3 mark in GATE.
Show answer and explanation

Answer: C (official GATE 2019 final answer key)

Concept used: Double counting: count pairs (element, subset containing it) once by subset size and once by element.

Concept notes

Loading notes…

First step: Count the pairs by first choosing a subset of size k (it gives k pairs), and separately by first choosing x and then any subset of the other n−1 elements.

Full step-by-step solution

Loading…

Answer from the official final answer key. Found a mistake? Use Report issue and we will fix it.

More questions on Combinatorics: counting, recurrence relations and generating functions

Every PYQ on this topic →

Share this question

WhatsAppDownload image

Source: official GATE 2019 CS question paper and final answer key, organised by IIT Madras. Question paper · Answer key