Calculating Overbooking Probability for a Plane with Independent Passengers

Click For Summary

Homework Help Overview

The problem involves calculating the probability that all passengers arriving for a flight get a seat, given that a travel agency sells 260 tickets for a plane with a capacity of 255 passengers. It is known that 5% of ticketed passengers do not show up, and the passengers are assumed to arrive independently.

Discussion Character

  • Exploratory, Assumption checking, Mathematical reasoning

Approaches and Questions Raised

  • Participants discuss the use of the binomial distribution to model the number of passengers showing up. There are questions about whether to consider the total number of ticketed passengers and the implications of overbooking. Some participants explore the calculations needed to determine the probability of having enough seats available.

Discussion Status

There is ongoing exploration of the correct approach to calculating the probability, with some participants suggesting the need to compute probabilities for a range of outcomes. Others have noted the importance of using the correct parameters for the binomial distribution and have begun to clarify their understanding of the problem setup.

Contextual Notes

Participants are working under the constraints of a homework assignment, which may impose specific methods or expectations for the solution. There is a recognition of the complexity involved in calculating probabilities for multiple scenarios, and some participants express uncertainty about their initial approaches.

TheSodesa
Messages
224
Reaction score
7

Homework Statement


A travel agency knows from experience, that 5% of passengers who have booked a ticket will not show up for the flight. Therefore the company sells 260 tickets for a plane that can only take 255 passengers.

What is the probability that all of the passengers arriving for the flight get a seat, assuming they arrive independently of each other?

Correct answer: ##0.997##

Homework Equations


The binomial distribution mass function:

\begin{equation}
f(x) = {n \choose k}p^{k}(1-p)^{n-k}
\end{equation}

The Attempt at a Solution


The passengers arrive independently of each other, and if ##x## passengers show up, ##n-x## passengers don't. Therefore we can use the binomial distribution to model the situation.

Now the company overbooks by 5, therefore there are 5 seats that may have two people, leaving the other without a seat. Therefore ##n=10##. Every person will have a seat if out of these 10 at most 5 show up.

Let ##X = \text{ the number of people that show up out of the 10}## and ##A = \text{ a person will show up}##. Then ##p = P(A) = 0.95 \Rightarrow (1-p) = P(\overline{A}) = 0.05##
, and
\begin{align*}
P(X \leq 5)
&= f(0) + f(1) + f(2) + f(3) + f(4) + f(5)\\
&= {10 \choose 0}(0.95)^{0}(0.05)^{10} + {10 \choose 1}(0.95)^{1}(0.05)^{9}\\
&+ {10 \choose 2}(0.95)^{2}(0.05)^{8} + {10 \choose 3}(0.95)^{3}(0.05)^{7}\\
&+ {10 \choose 4}(0.95)^{4}(0.05)^{6} + {10 \choose 5}(0.95)^{5}(0.05)^{5}\\
&= 0.0000636898314453125
\end{align*}

Not quite what I was expecting. What am I missing? Do I need to take into account the other passengers on the plane somehow?
 
Last edited:
Physics news on Phys.org
I solved it.

I did have to take all of the other passengers into account. If ##X = \text{ the number of passengers on the plane}## and ##0 \leq X \leq 255##, all passengers will get a seat. You could brute force the calculation by writing a script with a for-loop that sums ##f(0), f(1), ... , f(255)## togethter. The easier way, if you need to do this by hand, is to calculate the probability for ##256 \leq X \leq 260## and take its complement.

I'd already written the Matlab script, so I chose that route.
 
Last edited:
TheSodesa said:

Homework Statement


A travel agency knows from experience, that 5% of passengers who have booked a ticket will not show up for the flight. Therefore the company sells 260 tickets for a plane that can only take 255 passengers.

What is the probability that all of the passengers arriving for the flight get a seat, assuming they arrive independently of each other?

Correct answer: ##0.997##

Homework Equations


The binomial distribution mass function:

\begin{equation}
f(x) = {n \choose k}p^{k}(1-p)^{n-k}
\end{equation}

The Attempt at a Solution


The passengers arrive independently of each other, and if ##x## passengers show up, ##n-x## passengers don't. Therefore we can use the binomial distribution to model the situation.

Now the company overbooks by 5, therefore there are 5 seats that may have two people, leaving the other without a seat. Therefore ##n=10##. Every person will have a seat if out of these 10 at most 5 show up.

Let ##X = \text{ the number of people that show up out of the 10}## and ##A = \text{ a person will show up}##. Then ##p = P(A) = 0.95 \Rightarrow (1-p) = P(\overline{A}) = 0.05##
, and
\begin{align*}
P(X \leq 5)
&= f(0) + f(1) + f(2) + f(3) + f(4) + f(5)\\
&= {10 \choose 0}(0.95)^{0}(0.05)^{10} + {10 \choose 1}(0.95)^{1}(0.05)^{9}\\
&+ {10 \choose 2}(0.95)^{2}(0.05)^{8} + {10 \choose 3}(0.95)^{3}(0.05)^{7}\\
&+ {10 \choose 4}(0.95)^{4}(0.05)^{6} + {10 \choose 5}(0.95)^{5}(0.05)^{5}\\
&= 0.0000636898314453125
\end{align*}

Not quite what I was expecting. What am I missing? Do I need to take into account the other passengers on the plane somehow?

Your answer is way too big! If the number who do not show up is ##X##, then ##X \sim \text{Bin}(260,0.05)##, because any of the 260 ticketed passengers could be one of those who do not show.
 
Ray Vickson said:
Your answer is way too big! If the number who do not show up is ##X##, then ##X \sim \text{Bin}(260,0.05)##, because any of the 260 ticketed passengers could be one of those who do not show.

Yeah, I kind of realized that just now. I would have had to calculate 256 probabilities by hand...

I replied to my own post above with the solution.
 
TheSodesa said:
Yeah, I kind of realized that just now. I would have had to calculate 256 probabilities by hand...

I replied to my own post above with the solution.

You would not need to compute 256 probabilities by hand or any other way. The probability of not having enough seats is ##P(X \leq 4) ##, where ##X \sim \text{Bin}(260,0.05)##.
 
Ray Vickson said:
You would not need to compute 256 probabilities by hand or any other way. The probability of not having enough seats is ##P(X \leq 4) ##, where ##X \sim \text{Bin}(260,0.05)##.

I do see what you mean.

Let ##X \sim \text{Bin}(260,0.05)##. Then

\begin{align*}
P(X \leq 4)
&= f(0)+f(1)+f(2)+f(3)+f(4)\\
&= {260 \choose 0}(0.05)^{0} (0.095)^{260} + {260 \choose 1}(0.05)^{1} (0.095)^{259}\\
&+ {260 \choose 2}(0.05)^{2} (0.095)^{258} + {260 \choose 3}(0.05)^{3} (0.095)^{257}\\
&+ {260 \choose 4}(0.05)^{4} (0.095)^{256}\\
&= 0.00316142309\\
&\approx 0.003
\end{align*}

Now the correct answer listed in the assignment paper is the complement of this: ##0.997##.
Thanks for the little correction. I see my mistake now.
 

Similar threads

  • · Replies 13 ·
Replies
13
Views
2K
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 3 ·
Replies
3
Views
6K
Replies
1
Views
8K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 10 ·
Replies
10
Views
17K
  • · Replies 6 ·
Replies
6
Views
2K