Worked Examples for Chapter 17
Example for Section 17.4
A queueing system has two servers whose service times are independent random
variables with an exponential distribution with a mean of 15 minutes. Customer X
arrives when both servers are idle. Five minutes later, customer Y arrives and customer
X still is being served. Another 10 minutes later, customer Z arrives and both customer
X and Y are still being served. No other customer arrived during this 15-minute
interval.
(a) What is the probability that customer X will complete service before customer
Y?
By Property 2 of the exponential distribution (the lack-of-memory property) given in
Sec. 17.4, when customer Y arrives, the remaining time until customer X completes
service has the same distribution as the service time for customer Y, so they are equally
likely to finish first. Thus, the probability that customer X will complete service before
customer Y is 0.5.
(b) What is the probability that customer Z will complete service before customer
X?
Customer Z cannot begin service until either customer X or customer Y completes
service. Given that customer Y completes service first (which has probability 0.5 from
part (a)), then the reasoning of part (a) implies that the probability that customer Z
completes service before customer X is 0.5. Therefore, the unconditional probability
that customer Z will complete service before customer X is 0.5(0.5) = 0.25.
(c) What is the probability that customer Z will complete service before customer
Y?
By the same reasoning as in part (b), the probability that customer Z will complete
service before customer Y is 0.5(0.5) = 0.25.
(d) Determine the cumulative distribution function of the waiting time in the
system for customer X. Also determine the mean and standard deviation.
We are given that customer X has not completed service after 15 minutes. By Property
2, the remaining time until service is completed still has an exponential distribution
with a mean (and standard deviation) of 15 minutes. Therefore, in units of minutes, the
CDF of the waiting time in the system for customer X is
P{T ≤ t} = .