GATE / CS ARCHIVE

GATE CSE 2006 / QUESTION 18

Expected smallest sampled power of two

Discrete Mathematics · Probability & Random Variables · Full GATE CSE 2006 paper

GATE 2006, Q18 1 mark · MCQ
Report issue

Probability & Random Variables

Question 18, GATE 2006: Let X={2¹,2²,…,2ⁿ}. Form S⊆X by independently selecting each element with probability 1/2. What is the expected smallest element of S? The reproduced question does not specify what to do when S is empty.
Options:
(A) 1/n
(B) 2
(C) √n
(D) n
Tap to enlarge
Your answer
Answer & solution

Answer: D only if the empty sample is assigned value 0 (no official key was published)

1. The event that 2i is the minimum requires excluding the i−1 smaller values and including 2i, with probability 2-i. Summing2i×2-i over i=1,...,n gives n.

2. But the empty sample occurs with probability 2-n and has no smallest element. Thus the expectation as literally stated is undefined.

3. Setting the empty-sample value to 0 gives n, D; conditioning on a nonempty sample instead gives n/(1−2-n). No official answer is inferred.

4. Teaching check: There are n disjoint events “2i is the minimum,” each contributing exactly one to the unconditioned sum when the empty case is assigned zero. Their probabilities sum to 1−2−n, not one. Dividing by that nonempty probability produces the conditional expectation.

Original paper, page 3