Q.7.30

Question

In the generalized match problem, there are n individuals of whom ni wear hat size i,i=1rni=n. There are also n hats, of which hi are of size i,i=1rhi=n. If each individual randomly chooses a hat (without replacement), find the expected number who choose a hat that is their size 

Step-by-Step Solution

Verified
Answer

The expected number that chooses a hat that is their size is will be E[X]=1ni=1rhini.

1Step 1: Given information

The available information is. There are n individuals, ni of them wear a hat of size i. Also, there are n hats, of which hi are of size i.

2Step 2: Solution

We need to find the new variable,

Xi,j=1     if the j th individual choose hat size of i0     if not 

The number of individuals that choose a hat of there is given by,

X=i=1rj=1niXi,j

The probability of choosing a hat of size hi is hin

Thus the expected value of X will be,

E[X]=Ei=1rj=1njXi,j

=i=1rj=1njEXi,j

=i=1rj=1nihin

=1ni=1rhi×ni

=1ni=1rhini

3Step 3: Final answer

The expected number that chooses a hat that is their size is will be E[X]=1ni=1rhini