Gavran
- 376
- 257
[P. Winkler] One hundred people line up to board an airplane. Each has a boarding pass with an assigned seat. However, the first person to board has lost his boarding pass and takes a random seat. After that, each person takes the assigned seat if it is unoccupied, and one of the unoccupied seats at random otherwise. What is the probability that the last person to board gets to sit in his assigned seat?
For the simplest case when there are only two passengers, the solution is P2=1/2.
This is the case when the first passenger between two seats chooses their own seat.
For the case when there are three passengers, the solution is P3=1/3+1/3P2=1/3(1+1/2)=1/2.
This is the case when the first passenger between three seats chooses their own seat or when the first passenger between three seats chooses the second passenger seat.
For the case when there are four passengers, the solution is P4=1/4+1/4P3+1/4P2=1/4(1+2/2)=1/2.
This is the case when the first passenger between four seats chooses their own seat or when the first passenger between four seats chooses the second passenger seat or when the first passenger between four seats chooses the third passenger seat.
For the case when there are five passengers, the solution is P5=1/5+1/5P4+1/5P3+1/5P2=1/5(1+3/2)=1/2.
This is the case when the first passenger between five seats chooses their own seat or when the first passenger between five seats chooses the second passenger seat or when the first passenger between five seats chooses the third passenger seat or when the first passenger between five seats chooses the fourth passenger seat.
Clearly, for the case when there are n passengers, the solution is Pn=1/n+1/nPn-1+...+1/nP3+1/nP2=1/n(1+(n-2)/2)=1/2.
For one hundred passengers, the answer is 1/2.
For the simplest case when there are only two passengers, the solution is P2=1/2.
This is the case when the first passenger between two seats chooses their own seat.
For the case when there are three passengers, the solution is P3=1/3+1/3P2=1/3(1+1/2)=1/2.
This is the case when the first passenger between three seats chooses their own seat or when the first passenger between three seats chooses the second passenger seat.
For the case when there are four passengers, the solution is P4=1/4+1/4P3+1/4P2=1/4(1+2/2)=1/2.
This is the case when the first passenger between four seats chooses their own seat or when the first passenger between four seats chooses the second passenger seat or when the first passenger between four seats chooses the third passenger seat.
For the case when there are five passengers, the solution is P5=1/5+1/5P4+1/5P3+1/5P2=1/5(1+3/2)=1/2.
This is the case when the first passenger between five seats chooses their own seat or when the first passenger between five seats chooses the second passenger seat or when the first passenger between five seats chooses the third passenger seat or when the first passenger between five seats chooses the fourth passenger seat.
Clearly, for the case when there are n passengers, the solution is Pn=1/n+1/nPn-1+...+1/nP3+1/nP2=1/n(1+(n-2)/2)=1/2.
For one hundred passengers, the answer is 1/2.