Docsity

Lecture Notes on Queuing Theory: Poisson and Exponential Distributions, Study notes of Introduction to Business Management

Toggle sidebar
bg1
Handout Queue.1 Lecture Notes I on Queuing Theory Dr. Stafford MSC 385 Revised 12/09/04 Page 1 of 2 pages
QUEUING THEORY
HANDOUT Queue.1 LECTURE NOTES I
Poisson Distribution
The probability function for the Poisson distribution is given as:
, X = 0, 1, 2, ... (1)
fX e
X
X
() !
=
−
λ
λ
where: X = number of occurrences (arrivals) in the specified length of time, t
8 = mean number of occurrences (arrivals) in one unit time period, t. This is also called the
arrival rate.
e = the natural number 2.71828.......
The Poisson distribution is normally used as the arrival process distribution in waiting line (queuing) systems models.
The mean of the Poisson Distribution, E(X), may be shown to be: E(X) = 8, and the variance of the Poisson
Distribution, VAR(X), may also be shown to be F2 = 8.
Example Problem
Telephone calls arrive at a switchboard at the rate of 12 per hour, and they may be appropriately modeled
by the Poisson probability distribution. Answer the following questions:
(1) What is the probability of 10 calls arriving in the next hour?
(2) What is the probability of no calls arriving in the next 5 minutes?
(3) What is the probability of more than 2 calls in the next 10 minutes?
(4) What is the probability of getting exactly the mean number of calls (12) in one hour?
Solution:
(1) 8 = 12 calls/hour and X = 10 calls.
Then:
Pe
X
exx
[!!
(. )(. )
,,
10 10
61917 10 6144 10
3628800
12 10 6
in 1 hr.] = 12 = = 0.1048
X10
λ
λ
−− −
=
(2) The time frame has been changed from 1 hour to 5 minutes. So we have to adjust the arrival rate to fit
the new time frame.
For the same process, arrival rates are proportional to the length of the time frame in question.
For example, if arrivals come at a rate of 2 per hour, on average, they also come at a rate of 4 per
two hours, on average.
Then:
[]
λλ
{{51
5
60 12 min.} = 5
60 hr.} 1 arvl per 5 min.
=⎛
⎝
⎜⎞
⎠
⎟=
And:
PX time e
X
ee
X
[| ()
!.
== == =
−−−
01
103678794
5
01 1
5 min.] = = 0.3679
5
λ
λ
(3) P[more than 2 calls] = P[X > 2] = 1 - P[X # 2] = 1 - {f(0) + f(1) + f(2)}
[]
λλ
{{10 1 10
60 12 min.} = 10
60 hr.} 2 arvl per 10 min.
=⎛
⎝
⎜⎞
⎠
⎟=
fee
()02
0!
02 2
===
−−
0.135335..
fee
() !
12
12
12 2
===
−−
0.27067..
fee
() !
22
22
22 2
===
−−
0.27067..
P[more than 2 calls] = 1 - {0.1353.. + 0.27067.. + 0.27067..} = 0.3233
pf2

Partial preview of the text

Download Lecture Notes on Queuing Theory: Poisson and Exponential Distributions and more Study notes Introduction to Business Management in PDF only on Docsity!

Handout Queue.1 Lecture Notes I on Queuing Theory Dr. Stafford MSC 385 Revised 12/09/04 Page 1 of 2 pages

QUEUING THEORY

HANDOUT Queue.1 LECTURE NOTES I

Poisson Distribution

The probability function for the Poisson distribution is given as:

f X , X = 0, 1, 2, ...^ (1)

e

X

X

−

λ

where: X = number of occurrences (arrivals) in the specified length of time, t 8 = mean number of occurrences (arrivals) in one unit time period, t. This is also called the arrival rate. e = the natural number 2.71828.......

The Poisson distribution is normally used as the arrival process distribution in waiting line (queuing) systems models. The mean of the Poisson Distribution, E(X), may be shown to be: E(X) = 8 , and the variance of the Poisson Distribution, VAR(X), may also be shown to be F^2 = 8.

Example Problem

Telephone calls arrive at a switchboard at the rate of 12 per hour, and they may be appropriately modeled by the Poisson probability distribution. Answer the following questions: (1) What is the probability of 10 calls arriving in the next hour? (2) What is the probability of no calls arriving in the next 5 minutes? (3) What is the probability of more than 2 calls in the next 10 minutes? (4) What is the probability of getting exactly the mean number of calls (12) in one hour?

Solution:

(1) 8 = 12 calls/hour and X = 10 calls.

Then: P

e

X

e x x

[

12 10 6

in 1 hr.] =

X 10

− λ − −

(2) The time frame has been changed from 1 hour to 5 minutes. So we have to adjust the arrival rate to fit the new time frame.

For the same process, arrival rates are proportional to the length of the time frame in question. For example, if arrivals come at a rate of 2 per hour, on average, they also come at a rate of 4 per two hours, on average.

Then: λ{ 5 [ λ{ 1 ]

min.} = 12

hr.} = 1 arvl per 5 min.

And: P X time e

X

e

e

X

[ |

− − −

5 0 1 1

5 min.] = = 0.

λ 5 λ

(3) P[more than 2 calls] = P[X > 2] = 1 - P[X # 2] = 1 - {f(0) + f(1) + f(2)}

λ{ 10 [ λ{ 1 ]

min.} = 12

hr.} = 2 arvl per 10 min.

f

e

( ) 0 e

0.135335.. f

e

( ) e

f

e

( ) e

P[more than 2 calls] = 1 - {0.1353.. + 0.27067.. + 0.27067..} = 0.

Handout Queue.1 Lecture Notes I on Queuing Theory Dr. Stafford MSC 385 Revised 12/09/04 Page 2 of 2 pages

(4) P[12 in 1 hour] = Note that P[1 in 5 min.] =

12 e − 12

[ ]^1

e

Exponential Distribution

The probability function for the Exponential distribution is given as:

f X e , {0 # X # 4 } (2) x ( ) / =

(^1) −

μ

μ

The Exponential distribution is normally used as the service time process distribution is waiting line (queuing systems) models. The mean of the Exponential distribution, E(X), may be shown to be E(X) = 1/:, and the variance of the Exponential distribution, VAR(X), may be shown to be F^2 = (1/:) 2.

There are three possibilities for computing probabilities with the exponential distribution. Replace X with T since we are usually dealing with time with the exponential distribution. Also, let u and v be some values of time of interest to us. These three conditions then are:

P[T # u]; P[T $ u]; and P[u # T # v]

It may be shown that, using Equation 2 above and calculus, the closed form solutions to these conditions are:

P T u e (3)

u

[ ]

/

−

μ

P T u e (4) u [ ]

≥ = − μ

P u T v e e (5)

u v

[ ]

/ /

− μ − μ

Example Problem

Related to (2) in the Poisson example, P[no calls in next 5 minutes] is the same as P[T $ 5 minutes] where : = mean time between calls = 5 minutes. So:

P T e e e u [ ]. / / ≥ = = = = = − − − 5 0 3678794 μ 5 5 1

This problem is but one demonstration of the following phenomenon:

If arrivals to a system come to the system in Poisson fashion at a mean rate 8 , then the time

between arrivals is a random variable which follows the exponential distribution with a mean

interarrival time of 1/ 8. The converse is true for service times that are distributed exponentially.

Example Problem

If service times are exponentially distributed with a mean service time of 20 minutes, find the following: (1) P[ a service is completed in less than 15 minutes]; (2) P[ a service takes more than 30 minutes]; (3) P[ a service takes between 10 and 20 minutes].

Solution :

(1) P[T < 15] = 1 - e-u/:^ = 1 - e-15/20^ = 1 - e-0.75^ = 1 - .4723665 = 0. (2) P[T > 30] = e-u/:^ = e-30/20^ = e-1.5^ = 0.2231301 = 0. (3) P[ 10 < T < 20] = e-u/:^ - e-v/: = e-10/20^ - e-20/20^ = e-0.5^ - e-1^ = 0.6065306 - 0.3678794 = 0.