The Gateway to Computer Science Excellence
First time here? Checkout the FAQ!
+14 votes

We are given a set $X = \{X_1,\ldots,X_n\}$ where $X_i=2^i$.  A sample  $S\subseteq X$ is drawn by  selecting each $X_i$  independently with probability $P_i = \frac{1}{2}$ . The expected value of the smallest number in sample $S$ is:

  1. $\left(\frac{1}{n}\right)$
  2. $2$
  3. $\sqrt n$
  4. $n$
asked in Probability by Active (3.7k points)
edited by | 1.2k views

4 Answers

+32 votes
Best answer
The smallest element in sample $S$ would be $X_i$  for which $i$ is smallest.

The given probability is for selection of each item of $X$. Independent selection means each item is selected with probability $\frac{1}{2}$.

Probability for $X_1$ to be smallest in $S = \frac{1}{2} $.
Value of $X_1=2$.
Probability for $X_2$ to be smallest in $S$ = Probability of $X_1$ not being in $S$ $\times$ Probability of $X_2$ being in $S$ $= \frac{1}{2} . \frac{1}{2} $.
Value of $X_2=2^2=4$.
Similarly, Probability for $X_i$ to be smallest in $S = (1/2)^i$.

Value of $X_i=2^i$ .

Now Required Expectation=  $\sum_{i=1}^{n}2^{^{i}} \times \left ( \frac{1}{2} \right )^{i} = \sum_{i=1}^n 1 = n $.

The answer is option $D.$
answered by Active (2.1k points)
edited by

What if S is ∅ ?

Well explained !
nice explanation thump up (y)

Superb .Thanks:)

@Mari Ganesh-

Why the probability for $X_1$ to be smallest is $\frac{1}{2}$ and why not it is like

$X_1$ is smallest if we surely have $X_1$ in our set S, and remaining elements from the set X from $X_2$ to $X_n$ may or may not be present each with probability 1/2


So it should be like proability of $X_1$ to be smallest in S=Probability of $X_1$ in S * 2(Probability of Each of $X_i$ in S or not in S for i=$2\,to\,n$

= Probability of $X_1$ in S*2*($\frac{1}{2}$)=Probability of $X_1$ in S
+2 votes

Ans : D] n

Here, = {2,4,8,...,2n} and S is subset of X.

E[Z] = $\sum$ Z*P[Z] Here, random variable Z is value of smallest number in S, so Z can take value from {2,4,⋯,2n}.

E[smallest number] = $\sum_{i=1}^{n}$ xi * P[xi is smallest]

Now, P[xi is smallest] = $\frac{1}{2^{i}}$ as for xi to be smallest x1, x2,..., xi-1 should not be selected (this has probability of $\frac{1}{2^{i-1}}$ ) and xi should be selected (probability $\frac{1}{2}$ ).

$\therefore$ E[smallest number] = $\sum_{i=1}^{n}$ 2i * $\frac{1}{2^{i}}$ =  $\sum_{i=1}^{n}$ 1 = n

answered by Active (4.6k points)
0 votes

Events are:

2 is smallest or 4 is smallest or ... or 'n' is smallest number.

Lets consider the probablity that 1 is smallest no. in set S

I choose 2 with probablity 1/2.

Now, I can choose 0 more elements in (n-1)C* $(\frac{1}{2})^{n-1}$

$(\frac{1}{2})^{n-1}$ because all elements were deselected each with probablity 1/2.


I can choose 1 more elements in (n-1)C1 * $(\frac{1}{2})^{n-1}$

(n-1)C1 * $(\frac{1}{2})^{n-1}$ because I selected 1 element with prob. 1/2 and deselected others each with prob. 1/2





I can choose n-1 more elements in (n-1)C1 * $(\frac{1}{2})^{n-1}$

(n-1)C(n-1) * $(\frac{1}{2})^{n-1}$ because I selected (n-1) elements each with prob. 1/2 

Thus, total probablity that 2 is least number

= $\frac{1}{2} * (\frac{1}{2})^{n-1} * (\binom{n-1}{0} + \binom{n-1}{1}+...+\binom{n-1}{n-1})$


Similarly, probablity of 4 being least number = 1/4




Similarly, probablity of 2n being least number = $\frac{1}{2^{n}}$

Now, mean

= $\sum x.P(x)$

= 2 * (1/2)  + 4 * (1/4)  + ... + 2n * $\frac{1}{2^{n}}$

= 1 + 1 + 1 + ... + (n times)

= n

answered by Boss (18.2k points)
–2 votes
Most probably 2 option b not sure.
answered by Active (3.3k points)
D is correct !

Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true

38,058 questions
45,554 answers
48,916 users