Probability distribution of the time interval between two cars

Click For Summary

Discussion Overview

The discussion revolves around the probability distribution of the time interval between two consecutive cars on a highway, as posed in a problem from Sethna's book on statistical mechanics. Participants explore the theoretical aspects of this distribution, including its derivation and implications, while addressing the mean of the distribution and the nature of probability density functions (pdf).

Discussion Character

  • Exploratory
  • Technical explanation
  • Mathematical reasoning
  • Debate/contested

Main Points Raised

  • One participant presents a probability distribution for the number of cars passing in a time interval, suggesting it follows a Poisson distribution.
  • Another participant questions the validity of the derived mean of 50 minutes², indicating it does not make sense in the context of a probability distribution.
  • Some participants discuss the implications of reversing time and its relevance to solving the problem, with one expressing confusion about this approach.
  • A participant attempts to derive the probability of a car passing after a certain time interval, using infinitesimal intervals and expressing concerns about the behavior of the probability as intervals shrink.
  • Another participant clarifies that the probability of a car passing at an exact time is zero, emphasizing the need for integration over intervals to obtain meaningful values.
  • One participant derives a new pdf for the waiting time of an observer arriving at a random time, questioning its appearance as a probability distribution despite obtaining the expected mean.

Areas of Agreement / Disagreement

Participants express differing views on the validity of certain approaches and calculations, particularly regarding the interpretation of probability distributions and the implications of infinitesimal intervals. The discussion remains unresolved, with multiple competing views on the correct method to derive the probability distribution.

Contextual Notes

Some participants note limitations in their calculations, such as the dependence on definitions of probability density functions and the treatment of infinitesimal intervals. There are unresolved questions about the nature of the derived distributions and their integration properties.

ENgez
Messages
69
Reaction score
0
Hello,
I am trying to solve the following problem from Sethna's book on statistical mechanics (not homework).

On a Highway, the probability of a car passing in some interval dt is [itex]\frac{dt}{\tau}[/itex]; [itex]\tau=5min[/itex].

what is the probability distribution of time intervals [itex]\Delta[/itex] between two consecutive cars. and what is the mean of this distribution?

My attempt:
In a previous question, I derived the probability distribution for n cars to pass in an interval T

[itex]\rho_{car}(n)=\frac{1}{n!}(\frac{T}{\tau})^ne^{-\frac{T}{\tau}}[/itex]

which I believe is correct, as the hint in the question said that I should get a Poisson distribution.

now if I input n=1 i get:

[itex]\rho_{car}(1)=\frac{T}{5}e^{-\frac{T}{5}}[/itex]

this is the probability distribution for a single car to pass in a time interval T (at some time t<T).

according to my calculations the mean of this distributions is 50 minutes^2 which really doesn't make sense.

How do you solve this problem?
 
Physics news on Phys.org
Could you show your calculation in detail?
 
ENgez said:
this is the probability distribution for a single car to pass in a time interval T (at some time t<T).

according to my calculations the mean of this distributions is 50 minutes^2 which really doesn't make sense.
That is indeed the probability of exactly one car passing in time T, but in what sense is it a pdf (or cdf)? Its integral 0 to infinity is not 1.
Also, it's not clear to me how this is heading towards a solution of the problem. (There is a very easy way to solve it. Hint: think of reversing time.)
 
I don't get how reversing time can help...

But i tried approaching the problem in the most basic form possible:

suppose car A passes at t=0, we then begin counting time until the next car arrives. in each sliver of time dt there is a probability [itex]\frac{dt}{\tau}[/itex] of a car passing and a probability [itex]1-\frac{dt}{\tau}≈e^{\frac{-dt}{\tau}}[/itex] of a car not passing.
n is the number of intervals of dt, for here we get (1) [itex]Δ=dt\cdot n[/itex].

thus, the chance of a car passing exactly after Δ minutes is (I hope...):

[itex]\frac{dt}{\tau}(e^{\frac{-dt}{\tau}})^{n-1}[/itex]

after plugging (1) in (and taking the limit as n→∞) we get:

[itex]\frac{Δ}{\tau\cdot n}e^{\frac{-dt}{\tau}}[/itex]

the problem is that when taking n→∞ the n in the denominator will cause the whole expression the go to 0 for all finite Δ, which kinda makes sense, because as dt gets smaller the probability of a car crossing at exactly that interval gets vanishingly small as well.

what am i doing wrong? and this is not a homework question, so feel free to share more than hints.

thank you
 
ENgez said:
I don't get how reversing time can help...
Yes, sorry, I was thinking of a slightly different question which usually gets asked. More on that later.
suppose car A passes at t=0, we then begin counting time until the next car arrives. in each sliver of time dt there is a probability [itex]\frac{dt}{\tau}[/itex] of a car passing and a probability [itex]1-\frac{dt}{\tau}≈e^{\frac{-dt}{\tau}}[/itex] of a car not passing.
n is the number of intervals of dt, for here we get (1) [itex]Δ=dt\cdot n[/itex].

thus, the chance of a car passing exactly after Δ minutes is (I hope...):

[itex]\frac{dt}{\tau}(e^{\frac{-dt}{\tau}})^{n-1}[/itex]
A slightly unconventional approach, but fine so far. We can treat n-1 as n, since n = Δ/δt will tend to infinity as δt shrinks to 0. And you may as well use t, not Δ, for the number of minutes elapsed. Your equation becomes:
[itex]\frac{dt}{\tau}(e^{\frac{-ndt}{\tau}}) = \frac{dt}{\tau}(e^{\frac{-t}{\tau}})[/itex]
So that's the pdf of time to next car. The average is obtained by multiplying by t and integrating 0 to ∞.

The more usual method is to put n = 0 in your first equation to get the probability of no cars in time t. Then multiply by the probability of a car in time δt to get the prob of the first car being in interval (t, t+δt).
The problem I was thinking of was: you arrive at the road at a random instant. What is the expected length of time between the last car and the next?
 
Thank you!
I actually got the answer you provided, but what stumped me is that dt is supposed to be an infinitesimal interval. now i see that the probability of a car passing at exactly time t is zero, and that the pdf only gives out "real" values if integrated over some subset of intervals [t1,t2].

Btw, the question about arriving at a random time is the next one in the book, so thanks for the tip about reversing time.
 
for an observer arriving at a random time [itex]t_1[/itex], where t=0 is the time when the last car passed, i got the following pdf for [itex]\Delta^{*}[/itex]- the time the observe waits until the next car:

[itex]\rho_{\Delta^*}=\frac{1}{\Delta^{*}}\cdot (e^{-\frac{-\Delta^{*}}{\tau}}-e^{-\frac{-2\Delta^{*}}{\tau}})[/itex].

the mean is [itex]\tau[/itex], like the book said and it goes to 0 for [itex]\Delta^{*}→0[/itex] and [itex]\Delta^{*}→∞[/itex], but it still looks kind of weird for a probability distribution... is this correct?
a short summary of the derivation:

[itex]\Delta^{*}=\Delta-t_1[/itex], where Δ is the time between two consecutive cars (as was found in the previous posts).

[itex]t_1[/itex] has a uniform probability distribution between 0 and Δ, therefore:

[itex]\rho_{\Delta^*}=\int{\rho_{\Delta}(\Delta^*+\zeta)\rho_{t_1}(\zeta) d\zeta}[/itex]

for [itex]0<\zeta<\Delta^*[/itex]
 

Similar threads

  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 10 ·
Replies
10
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 3 ·
Replies
3
Views
1K
Replies
8
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K