Q. 7.8

Question

N people arrive separately to a professional dinner. Upon arrival, each person looks to see if he or she has any friends among those present. That person then sits either at the table of a friend or at an unoccupied table if none of those present is a friend. Assuming that each of the N2 pairs of people is, independently, a pair of friends with probability p, find the expected number of occupied tables.

Hint: Let Xi equal 1 or 0, depending on whether the ith arrival sits at a previously unoccupied table. 

Step-by-Step Solution

Verified
Answer

The expected number of occupied tables value found to be E=i=1N(1-p)i-1.

1Step 1: Given Information

N - people arrive separately. That person then sits either at the table of a friend or at an unoccupied table if none of those present is a friend.

Find the expected number of occupied tables. 

2Step 2: Explanation

Each person looks to see if he or she has any friends among those present, and sits either at the table of a friend or at an unoccupied table if none of those present is a friend.

Each of theN2.

Pairs of people is, independently, a pair of friends with probability p.

Let Xi=1 if the itharrival sits at a previously unoccupied table and,

Xi=0 otherwise.

3Step 3: Explanation

Let us find the expected number of occupied tables.

The total number of occupied tables after allN people have arrived isi=1NXi

Ei=1NXi=i=1NEXi

EXi=Pitharrival has no friends amongst previously arrived i-1 people)

=(1-p)i-1.

Hence, the expected number of occupied tables is E=i=1N(1-p)i-1.

4Step 4: Final answer

The expected number of occupied tables value found to be E=i=1N(1-p)i-1.