Calculate Probability of Y or More People in N Train Cars

  • MHB
  • Thread starter Toonzaka1
  • Start date
  • Tags
    Counting
In summary, the probability of having Y or more people in a car when you have N total of them is found by multiplying together the binomial distribution and the complementary event.
  • #1
Toonzaka1
2
0
Quick question for you all...

If I had X number of train cars and I wanted to know the probability of having Y or more people in a car when I have N total of people. How would I go about solving this?

Thanks!
 
Mathematics news on Phys.org
  • #2
Toonzaka said:
Quick question for you all...

If I had X number of train cars and I wanted to know the probability of having Y or more people in a car when I have N total of people. How would I go about solving this?

Thanks!

Wellcome in MHB Toonzaka!... if we suppose that each fellow has equal probability $\displaystyle p=\frac{1}{x}$ to be in a car and any car contain all N people, the the probability to have n peple in a car is... $\displaystyle p_{n} = \binom {N}{n} p^{n}\ (1-p)^{N-n}\ (1)$ ... so that the requested probability is...$\displaystyle P= \sum_{n=y}^{N} p_{n}\ (2)$ Kind regards $\chi$ $\sigma$
 
  • #3
I believe I understand why we chose that equation to solve this. Could I say that if each person choosing a car is random and equal that the probability of person n1 selecting car c1 is the same as them selecting c2, c3,...,cx? Meaning in the binomial formula we can say that p = 1/cx where cx is the number of cars?

I just really want to learn how to solve this type of problem and why we would solve it that way.

Also, thanks for the reply and welcome :D .
 
  • #4
Toonzaka said:
Quick question for you all...

If I had X number of train cars and I wanted to know the probability of having Y or more people in a car when I have N total of people. How would I go about solving this?

Thanks!
There is some ambiguity in this question. Do you mean having Y or more people in one particular car (for example, the first car), or do you mean having Y or more people in the most crowded car?

If you mean having Y or more people in one particular car, ChiSigma has given the answer-- it's a binomial distribution.

But if you are interested in the probability of having Y or more people in the most crowded car, that's more complicated. In that case, it's more convenient to look at the complementary event-- having at most Y-1 people in the most crowded car. If you know that probability, you can just subtract it from 1 to get the probability of having Y or more people in the most crowded car. The only way I know to solve the problem involves generating functions, so I will just quote the result. Let $k = Y-1$. The first step is to expand the polynomial
$$\left(1 + \frac{z}{1!} + \frac{z^2}{2!} + \dots + \frac{z^k}{k!} \right) ^X$$
Just multiply it out or use the multinomial theorem. (If you have access to a computer algebra system or know how to use Wolfram Alpha, this would be a good place to use it.) Let $a_N$ be the coefficient of $z^N$ after the expansion. Then the probability that the most crowded car will have at most Y-1 people in it is $\frac{N! \; a_N}{X^N}$, and the probability that the most crowded car will have Y or more people in it is $1 - \frac{N! \; a_N}{X^N}$.
 
Last edited:
  • #5


To calculate the probability of having Y or more people in N train cars, you would first need to determine the total number of possible combinations of people in the train cars. This can be calculated using the combination formula, nCr = n!/(r!(n-r)!), where n is the total number of people and r is the number of people in one train car.

Once you have the total number of combinations, you can then calculate the probability of having Y or more people in a car by dividing the number of combinations with Y or more people by the total number of combinations. This will give you the probability of having Y or more people in one train car.

To calculate the probability of having Y or more people in N train cars, you would then need to raise this probability to the power of N, as each train car is independent and the probabilities would need to be multiplied together. This will give you the overall probability of having Y or more people in N train cars.

It is important to note that this calculation assumes that each train car can hold an unlimited number of people and that people are randomly distributed among the cars. If these assumptions do not hold, the calculation may not accurately reflect the actual probability.
 

FAQ: Calculate Probability of Y or More People in N Train Cars

How do you calculate the probability of Y or more people in N train cars?

To calculate the probability of Y or more people in N train cars, you need to first determine the total number of possible combinations of Y or more people in N train cars. Then, divide this number by the total number of possible combinations of Y or fewer people in N train cars. This will give you the probability of Y or more people in N train cars.

What factors affect the probability of Y or more people in N train cars?

The probability of Y or more people in N train cars can be affected by several factors, such as the total number of train cars, the maximum capacity of each train car, and the total number of people boarding the train. Additionally, the distribution of people among the train cars can also impact the probability.

Can the probability of Y or more people in N train cars be greater than 1?

No, the probability of Y or more people in N train cars cannot be greater than 1. This is because the maximum probability value is 1, which represents certainty or a 100% chance of an event occurring. The probability of Y or more people in N train cars can range from 0 (impossible) to 1 (certain).

How can this calculation be used in real-life situations?

The calculation of the probability of Y or more people in N train cars can be used in real-life situations to predict the likelihood of overcrowding on a train. This information can be useful for train operators to adjust their schedules or add additional train cars to accommodate the expected number of passengers.

Are there any limitations to this calculation?

One limitation of this calculation is that it assumes an equal probability of people boarding each train car. In reality, people may choose to board certain train cars based on factors such as proximity to exits or available seating. This can affect the accuracy of the calculated probability. Additionally, the calculation does not take into account external factors such as delays or unexpected events that may impact the number of people boarding the train.

Similar threads

Back
Top