Q.4.25

Question

For the match problem (Example 5m in Chapter 2), find 

(a) the expected number of matches. 

(b) the variance of the number of matches 

Step-by-Step Solution

Verified
Answer

In the given information the answers of part (a) is E(X)=1

part(b) isVarX=1

1Step 1: Given Information (Part-a)

Define Xi as the indicator random variable that i th man has picked his hat,i=1....,N Because all hats are equally likely to be picked by i th man, we have that

            PXi=1=1n

The number of matches (call it X) can be written as X=i=1NXi

2Step2 : Calculation (Part-a)

E(X)=iEXi

         =iPXi=1

          =n·PX1=1

           =1

3Step 3 : Final Answer(Part-a)

The answer isEX=1

4Step 4 : Given Information (Part-b)

Define Xi as the indicator random variable that i th man has picked his hat,i=1....,N Because all hats are equally likely to be picked by i th man, we have that

            PXi=1=1n

The number of matches (call it X) can be written as X=i=1NXi

5Step 5 : Calculation (Part-b)

Var(X)=VariXi=iVarXi+2i<jCovXi,Xj

            =nVarX1+2n2CovX1,X2

  VarX1=1n1-1n=n-1n2

CovX1,X2=EX1X2-EX1EX2

PX1=1,X2=1=(n-2)!n!=1n(n-1)

CovX1,X2=1n(n-1)-1n2=1n2(n-1)

VarX=n·n-1n2+2·n(n-1)2·1n2(n-1)

             =n-1n+1n=1

6Step 6 :Final Answer (Part-b)

The answer isVarX=1