Docsity

Analysis of Bus Arrival Times and Average Waiting Time, Study notes of Discrete Mathematics

Toggle sidebar
bg1
Math. 55
Waiting for a Bus
April 12, 1999 11:44 am
Prof. W. Kahan Page 1
How long can one expect to have to wait for a bus at a bus stop? Common experience suggests
that transit authorities’ reassurances about schedules and frequencies of service are optimistic.
Actually, the public shares some of the responsibility for misinterpreting those reassurances in an
overly optimistic way whenever traffic congestion and other contingencies introduce unavoidable
variations in schedules.
Let w minutes be the intended waiting period between consecutive busses’ arrivals at a bus stop.
If busses adhered strictly to that intention, a would-be passenger ignorant of their schedule who
came to the bus stop at a randomly chosen moment would expect to wait for w/2 minutes until
the next bus arrived. This figure w/2 is the average waiting time, computed by observing that
coming at a time ƒ·w after the departure of the previous bus is as likely as coming at a time ƒ·w
before the arrival of the next, for 0 < ƒ < 1 , and the average of their two waiting times w–ƒ·w
and ƒ·w is w/2 for all ƒ . But something else happens if busses arrive at the stop somewhat
irregularly. Even if w is the average interval between bus arrivals, the average waiting time for
a bus will then exceed w/2 . This is obvious if busses get bunched up in convoys because then
the average waiting time will be at least half the average time between arrivals of convoys instead
of busses. What follows explains what happens when arrival times vary less drastically.
Let w
1
, w
2
, w
3
, …, w
j
, … be possible intervals between arrivals of consecutive busses, and let
p
j
be the probability ( or relative frequency ) of the occurence of w
j
. Of course p
j
≥
0 and
∑
j
p
j
= 1 . The “expected” (average) interval between consecutive busses is w :=
∑
j
p
j
·w
j
. A
would-be passenger who comes to the bus stop at random in an interval of width w
j
must expect
to wait w
j
/2 minutes on average. The probability of coming to the bus stop in an interval of
width w
j
is proportional to w
j
and also to the probability p
j
with which w
j
occurs, so the
average waiting time for a random would-be passenger is W/2 :=
(
∑
j
p
j
·w
j
·w
j
/2
)/(
∑
j
p
j
·w
j
)
.
What comes next will prove that W/2 > w/2 unless w
j
= w
k
whenever p
j
·p
k
> 0 . This proof is
traceable to Lagrange:
0
≤
∑
j
∑
k
p
j
·p
k
·(w
j
– w
k
)
2
= … = 2w·(W – w) ( Fill in the … yourself.)
= … = 2V
2
,
where V
2
:=
∑
j
p
j
·(w
j
– w)
2
is the
Variance
in the arrival times w
j
; their
Standard Deviation
is V . Therefore W = w + V
2
/w > w .
Therefore the average waiting time W/2 exceeds half the average time w between arrivals by
relatively little unless some of the likelier intervals w
j
are relatively rather different from the
average w of all the w
j
’s .
This document was created with FrameMaker404

Partial preview of the text

Download Analysis of Bus Arrival Times and Average Waiting Time and more Study notes Discrete Mathematics in PDF only on Docsity!

Math. 55 Waiting for a Bus April 12, 1999 11:44 am

Prof. W. Kahan Page 1

How long can one expect to have to wait for a bus at a bus stop? Common experience suggests that transit authorities’ reassurances about schedules and frequencies of service are optimistic. Actually, the public shares some of the responsibility for misinterpreting those reassurances in an overly optimistic way whenever traffic congestion and other contingencies introduce unavoidable variations in schedules.

Let w minutes be the intended waiting period between consecutive busses’ arrivals at a bus stop. If busses adhered strictly to that intention, a would-be passenger ignorant of their schedule who came to the bus stop at a randomly chosen moment would expect to wait for w/2 minutes until the next bus arrived. This figure w/2 is the average waiting time, computed by observing that coming at a time ƒ·w after the departure of the previous bus is as likely as coming at a time ƒ·w before the arrival of the next, for 0 < ƒ < 1 , and the average of their two waiting times w–ƒ·w and ƒ·w is w/2 for all ƒ. But something else happens if busses arrive at the stop somewhat irregularly. Even if w is the average interval between bus arrivals, the average waiting time for a bus will then exceed w/2. This is obvious if busses get bunched up in convoys because then the average waiting time will be at least half the average time between arrivals of convoys instead of busses. What follows explains what happens when arrival times vary less drastically.

Let w 1 , w 2 , w 3 , …, wj , … be possible intervals between arrivals of consecutive busses, and let

pj be the probability ( or relative frequency ) of the occurence of wj. Of course pj ≥ 0 and

∑j p (^) j = 1. The “expected” (average) interval between consecutive busses is w := ∑j p (^) j ·wj. A

would-be passenger who comes to the bus stop at random in an interval of width wj must expect

to wait wj /2 minutes on average. The probability of coming to the bus stop in an interval of

width wj is proportional to wj and also to the probability pj with which wj occurs, so the

average waiting time for a random would-be passenger is W/2 := (∑j pj ·wj ·wj /2)/(∑j p j ·wj ).

What comes next will prove that W/2 > w/2 unless wj = wk whenever pj ·pk > 0. This proof is

traceable to Lagrange:

0 ≤ ∑j ∑k p (^) j ·p (^) k ·(wj – wk )^2 = … = 2w·(W – w) ( Fill in the … yourself.) = … = 2V^2 ,

where V^2 := ∑j pj ·(wj – w)^2 is the Variance in the arrival times wj ; their Standard Deviation

is V. Therefore W = w + V^2 /w > w.

Therefore the average waiting time W/2 exceeds half the average time w between arrivals by relatively little unless some of the likelier intervals wj are relatively rather different from the

average w of all the wj ’s.

This document was created with FrameMaker 4 0 4