• Rana Basheer

Interesting probability problem – Crazy airplane guy

This problem I found on the following website. I am just restating it below

A line of 100 airline passengers is waiting to board a plane. They each hold a ticket to one of the 100 seats on that flight. (For convenience, let’s say that the nth passenger in line has a ticket for the seat number n.)  Unfortunately, the first person in line is crazy, and will ignore the seat number on their ticket, picking a random seat to occupy. All of the other passengers are quite normal, and will go to their proper seat unless it is already occupied. If it is occupied, they will then find a free seat to sit in, at random.  What is the probability that the last (100th) person to board the plane will sit in their proper seat (#100)?

Their Answer

Now according to the solution provided by the website the answer is 0.5. Their reasoning is that the crazy situation in which people picking random chairs to sit ends when one of the non-crazy passenger who lost his seat picks the crazy first person’s seat. Hence the probability of the 100th person sitting on the right chair is the sum of probability of passenger 2 to 98 picking the first person’s chair

So that comes out according to them as

I feel the above reasoning is flawed. A passenger who lost his seat could pick the crazy first person’s seat but someone before him would have already picked the 100th person’s seat. I don’t think that scenario is taken into account in their reasoning.

My Answer

So in my view the probability can be solved in reverse way as

In the above equation the notation

The probability that the

where

Using the reltationship

For the

Similarly

Therefore,

or

Expanding the problem to N seats

Now lets expand this problem to a scenario with N seats and the first person as previously is crazy and won’t sit in his chair and will select randomly a chair from 2 to N to sit. What is the probability that the last person gets to sit in his chair.

Using our previous reasoning the probability that

Since the first guy is not going to sit in his chair P(S_1\ne 1)=1$ and then he is going to choose any of the N-1 seats in random with probability given by

Therefore,

Similarly for the

That means

For the last guy the chance of him not sitting in his chair is when

In the limiting case

Verification

I always like to verify my answer with a montecarlo simulation. The result for


Monte carlo simulation of crazy guy problem

#probability #Puzzle

54 views

Recent Posts

See All