Assigned Seating

100 people are boarding an airplane (one at a time) that has 100 seats. Each person has an assigned seat.

The first person is confused, and randomly chooses a seat and sits down.

Each subsequent person will:

  • Sit in their assigned seat if it is available.
  • Randomly select and sit in an open seat if their assigned seat is taken.

What is the probability that the last person to board will sit in their assigned seat? When your answer is of the form p q \frac{p}{q} , where p p and q q are positive, coprime integers, input p + q p+q .

This problem is not original.


The answer is 3.

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

2 solutions

Any time a random seat must be chosen, either the seat of the first person or the seat of the last person can be chosen with equal probability. Eventually, one of these seats must be chosen. Whichever one of these two seats is chosen first will leave the other seat open for the last person. Cumulatively, each one of the two seats has an equal probability of being chosen. Therefore the probability that the seat of the first person is taken and the seat of the last person is left for the last person is 1/2.

Good thinking!

Maggie Miller - 5 years, 11 months ago
Maggie Miller
Jul 17, 2015

Claim. The probability is 1 2 \frac{1}{2} (and hence the answer is 3 \boxed{3} ). We proceed by strong induction on the number of people and seats.

Proof. When there are 2 2 people and 2 2 seats, the second person will sit in their assigned seat if and only if the first person sits in their assigned seat. Thus, the probability is 1 2 \frac{1}{2} .

Assume the claim holds when there are n n people and n n seats for all 2 n < k 2\le n<k .

Suppose there are k k people and k k seats. If the first person sits in their assigned seat, then everyone else (including the last person) will sit in the correct seat. If the first person sits in the last person's seat, then the last person certainly won't sit in the correct seat.

If the first person sits in the m m -th person's seat for 1 < m < k 1<m<k , then everyone else before the m m -th person will sit in the correct seat. Thus when it is the m m -th person's turn to board, we have reduced to the case where there are k m + 1 k-m+1 people and seats. By inductive hypothesis, the last person will sit in their assigned seat with probability 1 2 \frac{1}{2} .

Therefore, when there are k k people and seats, the probability that the last person will sit in their assigned seat is 1 k 1 + 1 k 0 + k 2 k 1 2 = 1 2 . \frac{1}{k}\cdot 1 + \frac{1}{k}\cdot 0 + \frac{k-2}{k}\cdot\frac{1}{2}=\frac{1}{2}. QED

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...