EEL6507sp09L34
From BoykinWiki
Contents |
EEL6507 Spring 2009, Lecture 34, Friday 2009/04/10 (Notes created by Nathan Blythe)
- Moments of waiting time distribution
- Ex. M/M/1 system time
- Ex. M/M/1 waiting time
- Ex. M/D/1 waiting time
In the previous lecture we derived some results for the waiting time distribution of the M/G/1 queue. In this lecture we applied these results to various ends. Some of this lecture was spent discussing more philosophical aspects of mathematics and looking at some alternate derivations of the concepts presented in previous lectures. This was informally presented and not included in these notes.
Moments of waiting time distribution
In the previous lecture we found that
where
is the characteristic equation for residual life on the distribution b(x).
From the form of W * (s) we can see that
.
We define
. Then w(y) = (1 − ρ)ρkbk(y). This last expression is the PDF of the waiting time distribution.
The kth moment of the waiting time distribution can be found from the kth derivative of the generating function, as in
. We can then expand this to
.
We know that E[W0] = 1 (E[W0] = E[1] = 1). Using the above result we can write
.
We can continue on in this fashion to produce any of the moments. For example,
which yields
.
Ex. M/M/1 system time
For M/M/1 queues we have b(x) = μe − μx. Then
and
.
From our work in previous lectures,
. Substituting our definition of B * (s) and simplifying we have
. We identify this as an exponential and write S(y) = μ(1 − ρ)e − μ(1 − ρ)y.
The expected value of an exponential is just the inverse of its parameter:
.
Ex. M/M/1 waiting time
Referring to our expression for W * (s) we write (using the same definitions as for the previous example)
. With a lot of algebra we find that
. Here we see two components: a delta function and an exponential. We write W(y) = (1 − ρ)δ(y) + ρμ(1 − ρ)e − μ(1 − ρ)y.
The delta term corresponds to the case in which the system is not busy. The exponential corresponds to the case in which the system is busy (at which point the waiting time is independent of the number in the system).
Ex. M/D/1 waiting time
We started this problem, enough to see where the solution lies. For the queue with deterministic service,
and so
.
Then we can write (again using the result for W * (s))
. We conclude that taking derivatives of this function would be difficult and evaluating at s = 0 would yield continuing applications of L'Hopital's rule, and so we left the solution at this point. This agrees with our notion that mixing deterministic distributions with non-deterministic distributions yields difficult mathematics.
