You are Here: Home >< Maths

# Continuous Probabiltiy - Bus Arriving watch

1. I am trying to do the following question:

Number 24 and number 42 buses arrive independently at the corner of Mayeld Road at a random rate of 3 and 4 per hour respectively. You arrive at the bus stop at 10 a.m. What is the probability that it takes at least 20 minutes for a bus (either the 24 and 42 bus) to arrive?I am kinda of stuck on how to start it.

So I've learned about Uniform distribution, normal distribution and exponential distribution. I actually not really sure which one to use here. Could you also explain what sort of problems to apply each distribution to?

If I set up a random variable, what should it denote? The number of minutes pass 10 for a bus to arrive? Or that the 42 and 24 bus arrive?
2. (Original post by aspiring_doge)
I am trying to do the following question:

Number 24 and number 42 buses arrive independently at the corner of Mayeld Road at a random rate of 3 and 4 per hour respectively. You arrive at the bus stop at 10 a.m. What is the probability that it takes at least 20 minutes for a bus (either the 24 and 42 bus) to arrive?I am kinda of stuck on how to start it.

So I've learned about Uniform distribution, normal distribution and exponential distribution. I actually not really sure which one to use here. Could you also explain what sort of problems to apply each distribution to?

If I set up a random variable, what should it denote? The number of minutes pass 10 for a bus to arrive? Or that the 42 and 24 bus arrive?
I'm not much of a probabilist, and it's too late to think about this in detail, but
you have two Poisson processes, namely the arrival of no 24 buses, mean and no 42 buses, mean , occurring in the same location. It can be shown that this gives you a new Poisson process with mean . This process describes the probability of arrival of either type of bus.

The inter-arrival times of your Poisson process are random, with mean . The distribution of these times follow an exponential distribution, random variable , with parameter . You can look up the formulae for and so on.

Does that help? May be best to wait for confirmation from someone like Gregorius that I haven't led you astray though.
3. (Original post by atsruser)
I'm not much of a probabilist, and it's too late to think about this in detail, but
you have two Poisson processes, namely the arrival of no 24 buses, mean and no 42 buses, mean , occurring in the same location. It can be shown that this gives you a new Poisson process with mean . This process describes the probability of arrival of either type of bus.

The inter-arrival times of your Poisson process are random, with mean . The distribution of these times follow an exponential distribution, random variable , with parameter . You can look up the formulae for and so on.

Does that help? May be best to wait for confirmation from someone like Gregorius that I haven't led you astray though.
Well I kind of understand about what you said in the first paragraph, but not in your second paragraph.Why is the mean ? I thought you said that it was .
I still cant figure how to express the probability of what I'm trying to find.
4. (Original post by atsruser)
Does that help? May be best to wait for confirmation from someone like Gregorius that I haven't led you astray though.
I couldn't have answered better myself.
5. (Original post by aspiring_doge)
Well I kind of understand about what you said in the first paragraph, but not in your second paragraph.Why is the mean ? I thought you said that it was .
I still cant figure how to express the probability of what I'm trying to find.
The interarrival time for the Poisson process is exponential with parameter . The mean of an exponential distribution is the reciprocal of its parameter.
6. (Original post by Gregorius)
I couldn't have answered better myself.
Then this is a red letter day. I've answered a question on probability without someone having to point out that I've misinterpreted the meaning of the word "either", or something.
7. (Original post by atsruser)
Then this is a red letter day. I've answered a question on probability without someone having to point out that I've misinterpreted the meaning of the word "either", or something.

Lol.
8. (Original post by aspiring_doge)
Well I kind of understand about what you said in the first paragraph, but not in your second paragraph.Why is the mean ? I thought you said that it was .
I still cant figure how to express the probability of what I'm trying to find.
OK, I'll try to fill out a few details.

1. Suppose you have a random process, such as the arrival of a bus, where you always get the same mean number of events per unit time. Call this mean . So we might have i.e. we have 3 events per second, on average, and this is true for every second. Note that usually we don't get *exactly* 3 events per second though - we can get any number, due to the randomness.

Since we have 3 events per second, on average, we have between events on average.

2. Suppose further that the causes of the events are unrelated to each other - for example, if we are measuring radioactive decays, one atom doesn't "know about" or "influence" any other atom's decay. Then, together with fact 1 above, we are dealing with a random process called a Poisson process, random variable with Poisson distribution, and you can analyse it to show that the probability of n events occuring per unit time is

Here is the mean number as described above, but when we write down this formula, we often refer to it as the "parameter" of the distribution. (It's quite easy to do the analysis if you're dead, French, and called Poisson, but otherwise you can think of a Poisson process as the limit of a set of binomial choices; imagine your unit time period chopped up into tiny pieces, and compute the probability of an event occurring or not occuring in each tiny piece)

3. We can measure two interesting things about a Poisson process, namely the number of events per unit time, or the lengths of the gaps between events. We saw above that on average this is the inverse of the mean of the Poisson distribution, but of course, the gaps vary in length due to the randomness. We call the gaps the "inter-arrival times", and it can be shown that, for a Poisson process, these have an exponential distribution, random variable , where

where is the same value as we use above in the Poisson distribution - bear in mind that we are merely measuring two different aspects of the same underlying random process, so we would expect only to have to deal with one characteristic number for that process.

4. In your problem, you have two separate Poisson processes occuring simultaneously, so we need to know how that changes the results above. Well, the answer is "not much". That's because if we have, say, bus A giving us 4 mean arrivals per hour, and bus B with 3 mean arrivals per hour, then clearly we get 7 mean bus arrivals per hour, where we ignore the type of bus which is arriving. So we have a mean number of events for the combined distribution of 3 / hour + 4 / hour=7 / hour.

In addition, the A buses don't influence the B buses (we assume, for this problem). A buses don't know anything about the arrival of B buses, or vice versa. So we have the conditions for a Poisson process, as I described them in points 1 and 2 above. That's cool, since we already figured out that the mean for this process is 3+4 =7; in general, of course, the combination of two Poisson processes, means and , gives us a new Poisson process mean .

That's nice, since we already have the formulae for the probability of number of events and inter-arrival times for this process, and we can therefore merely replace the parameter with to calculate the required probabilities.
9. (Original post by atsruser)
...
This is great! Many thanks. :-)
10. (Original post by Gregorius)
Lol.
Probability theory: not enough mathematics, too much close textual analysis.

(Unless it's in a course called "Probability and Measure", then it's the other way round).
11. (Original post by atsruser)
Probability theory: not enough mathematics, too much close textual analysis.

(Unless it's in a course called "Probability and Measure", then it's the other way round).
Funnily enough, I hated probability and stats when I was at university. Now I earn my living from it!
12. (Original post by atsruser)
OK, I'll try to fill out a few details.

....
Thanks for that explanation! It was really helpful
13. Quick question,

so I need to compute

where

right?

Is it also possible to do it this way:

where
14. (Original post by aspiring_doge)
Quick question,

so I need to compute

where

right?
Well, your value for lambda looks fine, and you're trying to work with the pdf, which is OK, but note that

which is the result that I quoted above. And the answer to your second question is then "yes", of course.

TSR Support Team

We have a brilliant team of more than 60 Support Team members looking after discussions on The Student Room, helping to make it a fun, safe and useful place to hang out.

This forum is supported by:
Updated: February 7, 2016
Today on TSR

### Are you living on a tight budget at uni?

From budgets to cutbacks...

### University open days

1. Loughborough University
Fri, 21 Sep '18
2. University of Cambridge
Fri, 21 Sep '18
3. Richmond, The American International University in London
Fri, 21 Sep '18
Poll
Useful resources

### Maths Forum posting guidelines

Not sure where to post? Read the updated guidelines here

### How to use LaTex

Writing equations the easy way

### Study habits of A* students

Top tips from students who have already aced their exams