Q.7.17

Question

A total ofm items are to be sequentially distributed among n cells, with each item independently being put in a cell j with probability pj, j = 1, ...,n . Find the expected number of collisions that occur, where a collision occurs whenever an item is put into a non-empty cell.

Step-by-Step Solution

Verified
Answer

The expected number of collisions that occur, where a collision occurs whenever an item is put into a non-empty cell,

E[X]=mn+j=1n1pjm

1Step 1:Concept Introduction

Given that 

Xi=1if a collision occurs when the item is placed

=0 otherwise

X=Total number of collisions

=i=1mXi

E[X]=i=1mEXi

2Step 2:Explanation


Molding on the cell in which it is set.

EXi=jEXi placed in cell jpj

=jE[i causes collision  Placed in cell j]pj

=j11pji1pj

=1j1pji1pj

3Step 3:Final Answer

The close to last uniformity utilized that, restrictive on the itemi being set in the cellj, itemi will cause a collision if any of the previous (i-1) items were placed in a cellj, Thus,

E[X]=mi=1mj=1n1pji1pj

Exchanging the request for the summation gives

E[X]=mn+j=1n1pjm