Q. 7.9

Question

A total of n balls, numbered 1 through n, are put into n urns, also numbered 1 through n in such a way that ball i is equally likely to go into any of the urns 1,2,..i .

Find (a) the expected number of urns that are empty.

(b) the probability that none of the urns is empty. 

Step-by-Step Solution

Verified
Answer

a. The expected number of urns that are empty value are E(X)=n-12.

b.  The probability that none of the urns is empty value are1n!.

1Step 1: Given Information (Part a)

A total of n balls, numbered 1 through n, are put into n urns, also numbered 1 through n in such a way that ball i is equally likely to go into any of the urns 1,2,...i . 

a. The expected number of urns that are empty.

2Step 2: Explanation (Part a)

Let random variableX represent empty urns.

Xi=1 if urn i is empty Xi=0 otherwise 

Let us find the expected number of urns that are empty.

For ithurn to remain empty, it has to remain empty onith turn.

In first i-1 turn, it will be empty.

Probability that ith ball does not go to ith urn is 1-1i.

3Step 3: Explanation (Part a)

The probability that the i+1st ball will not land in the urn i is 1-1i+1

EXi=1-1i×1-1i+1×1-1i+2× 1-1n

Simplify the value,

=i-1i×i+1-1i+1··n-1n

=i-1i×ii+1×i+1i+2×... n-1n

Substitute,

=i-1n.

4Step 4: Explanation (Part a)

Therefore, the expected number of urns that are empty is,

E(X)=i=1nEXi=i=1ni-1n

=1ni=1ni-1

=1nj=0n-1j

Substitute the value,

1nn(n-1)2=n(n-1)2n

=n-12.

5Step 5: Final answer (Part a)

The expected number of urns that are empty value are E(X)=n-12.

6Step 6: Given Information (Part b)

The probability that none of the urns is empty.  

7Step 7: Explanation (Part b)

Let us calculate the probability that none of the urns is empty.

For urns not to be empty, thenth ball must be dropped into nth urn.

The probability is 1n,

Similarly, 

n-1st ball should go to n-1st urn, the probability is1n.

8Step 8: Explanation (Part b)

Therefore, the probability that none of the urns is empty is,

P=1n×1n-1×1n-2×11

Simplify,

=1n!.

9Step 9: Final answer (Part b)

The probability that none of the urns is empty value are 1n!.