Section 11.8

Problems

[21/100%]
Show
LaTeX
Problem 11.8.1

Consider M(λ)/M(μ)/k\mathrm{M}(\lambda ) / \mathrm{M}(\mu ) / k with the constraint that arriving customers who see NN customers in the line ahead of them leave and never return. Find the stationary distribution of queue length for the cases k=1k = 1 and k=2k = 2.

?
Problem 11.8.2

Consider M(λ)/M(μ)/1\mathrm{M}(\lambda ) / \mathrm{M}(\mu ) / 1 with the constraint that if an arriving customer sees nn customers in the line ahead of him, he joins the queue with probability p(n)p(n) and otherwise leaves in disgust.

?
(a)

Find the stationary distribution of queue length if p(n)=(n+1)−1p(n) = (n+1)^{-1}.

(b)

Find the stationary distribution π\pi of queue length if p(n)=2−np(n) = 2^{-n}, and show that the probability that an arriving customer joins the queue (in equilibrium) is μ(1−π0)/λ\mu \left(1-\pi_{0}\right) / \lambda.

Problem 11.8.3

In a Moscow supermarket customers queue at the cash desk to pay for the goods they want; then they proceed to a second line where they wait for the goods in question. If customers arrive in the shop like a Poisson process with parameter λ\lambda and all service times are independent and exponentially distributed, parameter μ1\mu_{1} at the first desk and μ2\mu_{2} at the second, find the stationary distributions of queue lengths, when they exist, and show that, at any given time, the two queue lengths are independent in equilibrium.

?
Problem 11.8.4

Consider M/G/1, with the modification that the server may serve up to mm customers simultaneously. If the queue length is less than mm at the beginning of a service period then she serves everybody waiting at that time. Find a formula which is satisfied by the probability generating function of the stationary distribution of queue length at the times of departures, and evaluate this generating function explicitly in the case when m=2m = 2 and service times are exponentially distributed.

?
Problem 11.8.5

Consider M(λ)/M(μ)/1\mathrm{M}(\lambda ) / \mathrm{M}(\mu ) / 1 where λ<μ\lambda < \mu. Find the moment generating function of the length BB of a typical busy period, and show that E[B]=(μ−λ)−1\mathbb {E}\left[B\right] = (\mu -\lambda )^{-1} and Var⁡[B]=(λ+μ)/(μ−λ)3\operatorname {Var}\left[B\right] = (\lambda +\mu ) /(\mu -\lambda )^{3}. Show that the density function of BB is

fB(x)=μ/λxe−(λ+μ)xI1(2xλμ) for x>0 f_{B}(x) = \frac{\sqrt{\mu / \lambda }}{x} e^{-(\lambda +\mu ) x} I_{1}(2 x \sqrt{\lambda \mu }) \quad \text{ for } x > 0

where I1I_{1} is a modified Bessel function.

?
Problem 11.8.6

Consider M(λ)/G/1\mathrm{M}(\lambda ) / \mathrm{G} / 1 in equilibrium. Obtain an expression for the mean queue length at departure times. Show that the mean waiting time in equilibrium of an arriving customer is 12λE[S2]/(1−ρ)\frac{1}{2} \lambda \mathbb {E}\left[S^{2}\right] /(1-\rho ) where SS is a typical service time and ρ=λE[S]\rho = \lambda \mathbb {E}\left[S\right].

Amongst all possible service-time distributions with given mean, find the one for which the mean waiting time is a minimum.

?
Problem 11.8.7

Let WtW_{t} be the time which a customer would have to wait in a M(λ)/G/1\mathrm{M}(\lambda ) / \mathrm{G} / 1 queue if he were to arrive at time tt. Show that the distribution function F(x;t)=P(Wt≤x)F(x ; t) = \mathbb {P}\left(W_{t} \leq x\right) satisfies

∂F∂t=∂F∂x−λF+λP(Wt+S≤x) \frac{\partial F}{\partial t} = \frac{\partial F}{\partial x}-\lambda F+\lambda \mathbb {P}\left(W_{t}+S \leq x\right)

where SS is a typical service time, independent of WtW_{t}. Suppose that F(x,t)→H(x)F(x, t) \rightarrow H(x) for all xx as t→∞t \rightarrow \infty, where HH is a distribution function satisfying 0=h−λH+λP(U+S≤x)0 = h-\lambda H+\lambda \mathbb {P}\left(U+S \leq x\right) for x>0x > 0, where UU is independent of SS with distribution function HH, and hh is the density function of HH on (0,∞)(0, \infty ). Show that the moment generating function MUM_{U} of UU satisfies

MU(θ)=(1−ρ)θλ+θ−λMS(θ) M_{U}(\theta ) = \frac{(1-\rho ) \theta }{\lambda +\theta -\lambda M_{S}(\theta )}

where ρ\rho is the traffic intensity. You may assume that P(S=0)=0\mathbb {P}\left(S = 0\right) = 0.

?
Problem 11.8.8

Consider a G/G/1\mathrm{G} / \mathrm{G} / 1 queue in which the service times are constantly equal to 22, whilst the interarrival times take either of the values 1 and 4 with equal probability 12\frac{1}{2}. Find the limiting waiting time distribution.

?
Problem 11.8.9

Consider an extremely idealized model of a telephone exchange having infinitely many channels available. Calls arrive in the manner of a Poisson process with intensity λ\lambda, and each requires one channel for a length of time having the exponential distribution with parameter μ\mu, independently of the arrival process and of the duration of other calls. Let Q(t)Q(t) be the number of calls being handled at time tt, and suppose that Q(0)=IQ(0) = I.

Determine the probability generating function of Q(t)Q(t), and deduce E[Q(t)],P(Q(t)=0)\mathbb {E}\left[Q(t)\right], \mathbb {P}\left(Q(t) = 0\right), and the limiting distribution of Q(t)Q(t) as t→∞t \rightarrow \infty.

Assuming the queue is in equilibrium, find the proportion of time that no channels are occupied, and the mean length of an idle period. Deduce that the mean length of a busy period is (eλ/μ−1)/λ\left(e^{\lambda / \mu }-1\right) / \lambda.

?
Problem 11.8.10

Customers arrive in a shop in the manner of a Poisson process with intensity λ\lambda, where 0<λ<10 < \lambda < 1. They are served one by one in the order of their arrival, and each requires a service time of unit length. Let Q(t)Q(t) be the number in the queue at time tt. By comparing Q(t)Q(t) with Q(t+1)Q(t+1), determine the limiting distribution of Q(t)Q(t) as t→∞t \rightarrow \infty (you may assume that the quantities in question converge). Hence show that the mean queue length in equilibrium is λ(1−12λ)/(1−λ)\lambda \left(1-\frac{1}{2} \lambda \right) /(1-\lambda ).

Let WW be the waiting time of a newly arrived customer when the queue is in equilibrium. Deduce from the results above that E[W]=12λ/(1−λ)\mathbb {E}\left[W\right] = \frac{1}{2} \lambda /(1-\lambda ).

?
Problem 11.8.11

Consider M(λ)/D(1)/1\mathrm{M}(\lambda ) / \mathrm{D}(1) / 1, and suppose that the queue is empty at time 0. Let TT be the earliest time at which a customer departs leaving the queue empty. Show that the moment generating function MTM_{T} of TT satisfies

log⁡(1−sλ)+log⁡MT(s)=(s−λ)(1−MT(s)) \log \left(1-\frac{s}{\lambda }\right)+\log M_{T}(s) = (s-\lambda )\left(1-M_{T}(s)\right)

and deduce the mean value of TT, distinguishing between the cases λ<1\lambda < 1 and λ≥1\lambda \geq 1.

?
Problem 11.8.12

Suppose λ<μ\lambda < \mu, and consider a M(λ)/M(μ)/1\mathrm{M}(\lambda ) / \mathrm{M}(\mu ) / 1 queue QQ in equilibrium.

?
(a)

Show that QQ is a reversible Markov chain.

(b)

Deduce the equilibrium distributions of queue length and waiting time.

(c)

Show that the times of departures of customers form a Poisson process, and that Q(t)Q(t) is independent of the times of departures prior to tt.

(d)

Consider a sequence of KK single-server queues such that customers arrive at the first in the manner of a Poisson process, and (for each jj) on completing service in the jj th queue each customer moves to the (j+1)(j+1) th. Service times in the jj th queue are exponentially distributed with parameter μj\mu_{j}, with as much independence as usual. Determine the (joint) equilibrium distribution of the queue lengths, when λ<μj\lambda < \mu_{j} for all jj.

Problem 11.8.13

Consider the queue M(λ)/M(μ)/k\mathrm{M}(\lambda ) / \mathrm{M}(\mu ) / k, where k≥1k \geq 1. Show that a stationary distribution π\mathbf{\pi } exists if and only if λ<kμ\lambda < k \mu, and calculate it in this case.

Suppose that the cost of operating this system in equilibrium is

Ak+B∑n=k∞(n−k+1)πn A k+B \sum _{n = k}^{\infty }(n-k+1) \pi _{n}

the positive constants AA and BB representing respectively the costs of employing a server and of the dissatisfaction of delayed customers.

Show that, for fixed μ\mu, there is a unique value λ∗\lambda^{*} in the interval (0,μ)(0, \mu ) such that it is cheaper to have k=1k = 1 than k=2k = 2 if and only if λ<λ∗\lambda < \lambda^{*}.

?
Problem 11.8.14

Customers arrive in a shop in the manner of a Poisson process with intensity λ\lambda. They form a single queue. There are two servers, labelled 1 and 22, server ii requiring an exponentially distributed time with parameter μi\mu_{i} to serve any given customer. The customer at the head of the queue is served by the first idle server; when both are idle, an arriving customer is equally likely to choose either.

?
(a)

Show that the queue length settles into equilibrium if and only if λ<μ1+μ2\lambda < \mu_{1}+\mu_{2}.

(b)

Show that, when in equilibrium, the queue length is a time-reversible Markov chain.

(c)

Deduce the equilibrium distribution of queue length.

(d)

Generalize your conclusions to queues with many servers.

Problem 11.8.15

Consider the D(1)/M(μ)/1\mathrm{D}(1) / \mathrm{M}(\mu ) / 1 queue where μ>1\mu > 1, and let QnQ_{n} be the number of people in the queue just before the nnth arrival. Let QμQ_{\mu } be a random variable having as distribution the stationary distribution of the Markov chain {Qn}\left\{ Q_{n}\right\}. Show that (1−μ−1)Qμ\left(1-\mu^{-1}\right) Q_{\mu } converges in distribution as μ↓1\mu \downarrow 1, the limit distribution being exponential with parameter 2.

?
Problem 11.8.16

Taxis arrive at a stand in the manner of a Poisson process with intensity τ\tau, and passengers arrive in the manner of an (independent) Poisson process with intensity π\pi. If there are no waiting passengers, the taxis wait until passengers arrive, and then move off with the passengers, one to each taxi. If there is no taxi, passengers wait until they arrive. Suppose that initially there are neither taxis nor passengers at the stand. Show that the probability that nn passengers are waiting at time tt is (π/τ)12ne−(π+τ)tIn(2tπτ)(\pi / \tau )^{\frac{1}{2} n} e^{-(\pi +\tau ) t} I_{n}(2 t \sqrt{\pi \tau }), where In(x)I_{n}(x) is the modified Bessel function, i.e. the coefficient of znz^{n} in the power series expansion of exp⁡{12x(z+z−1)}\exp \left\{ \frac{1}{2} x\left(z+z^{-1}\right)\right\}

?
Problem 11.8.17

Machines arrive for repair as a Poisson process with intensity λ\lambda. Each repair involves two stages, the ii th machine to arrive being under repair for a time Xi+YiX_{i}+Y_{i}, where the pairs (Xi,Yi),i=1,2,…\left(X_{i}, Y_{i}\right), i = 1,2, \ldots, are independent with a common joint distribution. Let U(t)U(t) and V(t)V(t) be the numbers of machines in the XX-stage and YY-stage of repair at time tt. Show that U(t)U(t) and V(t)V(t) are independent Poisson random variables.

?
Problem 11.8.18

An insurance company pays independent and identically distributed claims {Kn:n≥1}\left\{ K_{n}: n \geq 1\right\} at the instants of a Poisson process with intensity λ\lambda, where λE[K1]<1\lambda \mathbb {E}\left[K_{1}\right] < 1. Premiums are received at constant rate 1. Show that the maximum deficit MM the company will ever accumulate has moment generating function

E[eθM]=(1−ρ)θλ+θ−λE[eθK] \mathbb {E}\left[e^{\theta M}\right] = \frac{(1-\rho ) \theta }{\lambda +\theta -\lambda \mathbb {E}\left[e^{\theta K}\right]}
?
Problem 11.8.19
?
(a)

Erlang's loss formula. Consider M(λ)/M(μ)/s\mathrm{M}(\lambda ) / \mathrm{M}(\mu ) / s with baulking, in which a customer departs immediately if, on arrival, he sees all the servers occupied ahead of him. Show that, in equilibrium, the probability that all servers are occupied is

πs=ρs/s!∑j=0sρj/j!, where ρ=λ/μ \pi _{s} = \frac{\rho ^{s} / s!}{\sum _{j = 0}^{s} \rho ^{j} / j!}, \quad \text{ where } \rho = \lambda / \mu
(b)

Consider an M(λ)/M(μ)/∞\mathrm{M}(\lambda ) / \mathrm{M}(\mu ) / \infty queue with channels (servers) numbered 1,2,…1,2, \ldots On arrival, a customer will choose the lowest numbered channel that is free, and be served by that channel. Show in the notation of part (a) that the fraction pcp_{c} of time that channel cc is busy is pc=ρ(πc−1−πc)p_{c} = \rho \left(\pi_{c-1}-\pi_{c}\right) for c≥2c \geq 2, and p1=π1p_{1} = \pi_{1}.

Problem 11.8.20

For an M(λ)/M(μ)/1\mathrm{M}(\lambda ) / \mathrm{M}(\mu ) / 1 queue with λ<μ\lambda < \mu, when in equilibrium, show that the expected time until the queue is first empty is λ(μ−λ)−2\lambda (\mu -\lambda )^{-2}.

?
Problem 11.8.21

Consider an M(λ)/G/∞M(\lambda ) / G / \infty queue. Use the renewal-reward theorem to show that the expected duration of a busy period is (eρ−1)/λ\left(e^{\rho }-1\right) / \lambda where ρ=λE[S]\rho = \lambda \mathbb {E}\left[S\right].

?