T9 Solution
T9 Solution
(λt)n−1
fSn (t) = λe−λt , t ≥ 0.
(n − 1)!
n!
f (s1 , s2 , . . . , sn |N (t) = n) = 1{0 < s1 < · · · < sn < t}.
tn
ii) Given that Sn = t, the n − 1 arrival times S1 , S2 , · · · , Sn−1
have the same distribution as the order statistics of n − 1
i.i.d. sample of U (0, t).
(a) Argue that Vt = SNt +1 − t, your waiting time for your bus,
follows an exponential distribution with rate parameter λ.
(b) (i) By conditioning on Nt , find the cumulative distribution
function of SNt , the departure time of your neighbour.
(ii) Show that E(SNt ) = t − 1
λ + λ1 e−λt .
(c) Calculate E(SNt +1 − SNt ), the average time your neighbour
departs ahead of you.
where T̃1 is the first arrival time for a new Poisson process
{Nt+u − Nt , u ≥ 0} with rate λ. Hence, T̃1 = SNt +1 − t
follows exponential distribution with rate parameter λ.
d
Note that S1 , . . . , Sn |Nt = n ∼ U(1) , . . . , U(n) from U(0, t).
It then follows that
s n
P(SNt ≤ s|Nt = n) = P(U(n) ≤ s) = .
t
It then follows that
∞ n ∞
X s (λt)n −λt X (λs)n
P(SNt ≤ s) = · e = e−λt · = e−λ(t−s) .
n=0
t n! n=0
n!
Hence,
Z ∞
E[SNt ] = P(SNt > s)ds
0
Z t
= 1 − e−λ(t−s) ds
0
1 1
=t− + e−λt .
λ λ