GATE / CS ARCHIVE

GATE CSE 2021 SET 2 / QUESTION 50

GATE CSE 2021 Set 2 Q50

Discrete Mathematics · Combinatorics & Counting · Full GATE CSE 2021 Set 2 paper

GATE 2021 Set 2, Q50 2 marks · NAT
Report issue

Combinatorics & Counting

Question 50, GATE 2021: S has ten elements. Count ordered pairs (A,B) with A⊆B⊆S. Equality is permitted.
Tap to enlarge
Answer & solution

Official answer: 59049

For each of the 10 elements choose exactly one of three states: outside B, in B but not A, or in A (and therefore in B). Choices are independent, giving 310=59049 ordered pairs. The source symbol is subset-or-equal, so A=B is included.

A second derivation sums by |B|: for each k choose B in binomial(10,k) ways, then any of its 2k subsets A. Thus Σ binomial(10,k)2k=(1+2)10. Counting 410 would allow the forbidden state “in A but outside B”; subtracting equality would answer the strict-subset variant rather than this question.

Original paper, page 86 · Answer key