Chapter 11

Queues

[46/100%]
Show
LaTeX
Problem 11.2.1

Consider a random walk on the non-negative integers with a reflecting barrier at 00, and which moves rightwards or leftwards with respective probabilities ρ/(1+ρ)\rho /(1+\rho ) and 1/(1+ρ)1 /(1+\rho ); when at 00, the particle moves to 1 at the next step. Show that the walk has a stationary distribution if and only if ρ<1\rho < 1, and in this case the unique such distribution π\pi is given by π0=12(1−ρ),πn=12(1−ρ2)ρn−1\pi_{0} = \frac{1}{2}(1-\rho ), \pi_{n} = \frac{1}{2}\left(1-\rho^{2}\right) \rho^{n-1} for n≥1n \geq 1.

?
Problem 11.2.2

Suppose now that the random walker of Exercise (11.2.1) delays its steps in the following way. When at the point nn, it waits a random length of time having the exponential distribution with parameter θn\theta_{n} before moving to its next position; different 'holding times' are independent of each other and of further information concerning the steps of the walk. Show that, subject to reasonable assumptions on the θn\theta_{n}, the ensuing continuous-time process settles into an equilibrium distribution v\mathbf{v} given by vn=Cπn/θnv_{n} = C \pi_{n} / \theta_{n} for some appropriate constant CC.

By applying this result to the case when θ0=λ,θn=λ+μ\theta_{0} = \lambda , \theta_{n} = \lambda +\mu for n≥1n \geq 1, deduce that the equilibrium distribution of the M(λ)/M(μ)/1\mathrm{M}(\lambda ) / \mathrm{M}(\mu ) / 1 queue is vn=(1−ρ)ρn,n≥0v_{n} = (1-\rho ) \rho^{n}, n \geq 0, where ρ=λ/μ<1\rho = \lambda / \mu < 1.

?
Problem 11.2.3

Consider a M(λ)/M(μ)/1\mathrm{M}(\lambda ) / \mathrm{M}(\mu ) / 1 queue with ρ=λ/μ\rho = \lambda / \mu satisfying ρ<1\rho < 1, and suppose that the number Q(0)Q(0) of people in the queue at time 0 has the stationary distribution πn=(1−ρ)ρn\pi_{n} = (1-\rho ) \rho^{n}, n≥0n \geq 0. Let WW be the time spent by a typical new arrival before he begins his service. Show that the distribution of WW is given by P(W≤x)=1−ρe−x(μ−λ)\mathbb {P}\left(W \leq x\right) = 1-\rho e^{-x(\mu -\lambda )} for x≥0x \geq 0, and note that P(W=0)=1−ρ\mathbb {P}\left(W = 0\right) = 1-\rho.

?
Problem 11.2.4

A box contains ii red balls and jj lemon balls, and they are drawn at random without replacement. Each time a red (respectively lemon) ball is drawn, a particle doing a walk on {0,1,2,…}\left\{ 0,1,2, \ldots \right\} moves one step to the right (respectively left); the origin is a retaining barrier, so that leftwards steps from the origin are suppressed. Let π(n;i,j)\pi (n ; i, j) be the probability that the particle ends at position nn, having started at the origin. Write down a set of difference equations for the π(n;i,j)\pi (n ; i, j), and deduce that

π(n;i,j)=A(n;i,j)−A(n+1;i,j) for i≤j+n \pi (n ; i, j) = A(n ; i, j)-A(n+1 ; i, j) \quad \text{ for } i \leq j+n

where A(n;i,j)=(in)/(j+nn)A(n ; i, j) = \binom {i}{n} /\binom {j+n}{n}.

?
Problem 11.2.5

Let QQ be a M(λ)/M(μ)/1\mathrm{M}(\lambda ) / \mathrm{M}(\mu ) / 1 queue with Q(0)=0Q(0) = 0. Show that pn(t)=P(Q(t)=n)p_{n}(t) = \mathbb {P}\left(Q(t) = n\right) satisfies

pn(t)=∑i,j≥0π(n;i,j)((λt)ie−λti!)((μt)je−μtj!) p_{n}(t) = \sum _{i, j \geq 0} \pi (n ; i, j)\left(\frac{(\lambda t)^{i} e^{-\lambda t}}{i!}\right)\left(\frac{(\mu t)^{j} e^{-\mu t}}{j!}\right)

where the π(n;i,j)\pi (n ; i, j) are given in Exercise (11.2.4).

?
Problem 11.2.6

Let Q(t)Q(t) be the length of an M(λ)/M(μ)/1\mathrm{M}(\lambda ) / \mathrm{M}(\mu ) / 1 queue at time tt, and let Z={Zn}Z = \left\{ Z_{n}\right\} be the jump chain of QQ. Explain how the stationary distribution of QQ may be derived from that of ZZ, and vice versa.

?
Problem 11.2.7

Two queues have one server each, and all service times are independent and exponentially distributed, with parameter μi\mu_{i} for queue ii. Customers arrive at the first queue at the instants of a Poisson process of rate λ(<min⁡{μ1,μ2})\lambda \left( < \min \left\{ \mu_{1}, \mu_{2}\right\} \right), and on completing service immediately enter the second queue. The queues are in equilibrium. Show that:

?
(a)

the output of the first queue is a Poisson process with intensity λ\lambda, and that its departures before time tt are independent of the length of this queue at time tt (this is known as Burke's theorem),

(b)

the waiting times of a given customer in the two queues are not independent.

Problem 11.3.1

Consider M(λ)/D(d)/1\mathrm{M}(\lambda ) / \mathrm{D}(d) / 1 where ρ=λd<1\rho = \lambda d < 1. Show that the mean queue length at moments of departure in equilibrium is 12ρ(2−ρ)/(1−ρ)\frac{1}{2} \rho (2-\rho ) /(1-\rho ).

?
Problem 11.3.2

Consider M(λ)/M(μ)/1\mathrm{M}(\lambda ) / \mathrm{M}(\mu ) / 1, and show that the moment generating function of a typical busy period is given by

MB(s)=(λ+μ−s)−(λ+μ−s)2−4λμ2λ M_{B}(s) = \frac{(\lambda +\mu -s)-\sqrt{(\lambda +\mu -s)^{2}-4 \lambda \mu }}{2 \lambda }

for all sufficiently small but positive values of ss.

?
Problem 11.3.3
?
(a)

Show that, for a M/G/1M / G / 1 queue, the sequence of times at which the server passes from being busy to being free constitutes a renewal process.

(b)

When the above queue is in equilibrium, what is the moment generating function of the total time that an arriving customer spends in the queue including service?

Problem 11.3.4

Consider the M(λ)/G/1M(\lambda ) / G / 1 queue with no waiting room. Customers who arrive while the server is busy are lost. Show that the long run proportion of arrivals lost is 1/(1+ρ−1)1 /\left(1+\rho^{-1}\right) where ρ=λE[S]\rho = \lambda \mathbb {E}\left[S\right] is the traffic intensity.

?
Problem 11.4.1

Consider G/M(μ)/1\mathrm{G} / \mathrm{M}(\mu ) / 1, and let αj=E[(μX)je−μX/j!]\alpha_{j} = \mathbb {E}\left[(\mu X)^{j} e^{-\mu X} / j!\right] where XX is a typical interarrival time. Suppose the traffic intensity ρ\rho is less than 1. Show that the equilibrium distribution π\pi of the imbedded chain at moments of arrivals satisfies

πn=∑i=0∞αiπn+i−1 for n≥1 \pi _{n} = \sum _{i = 0}^{\infty } \alpha _{i} \pi _{n+i-1} \quad \text{ for } n \geq 1

Look for a solution of the form πn=θn\pi_{n} = \theta^{n} for some θ\theta, and deduce that the unique stationary distribution is given by πj=(1−η)ηj\pi_{j} = (1-\eta ) \eta^{j} for j≥0j \geq 0, where η\eta is the smallest positive root of the equation s=MX(μ(s−1))s = M_{X}(\mu (s-1)).

?
Problem 11.4.2

Consider a G/M(μ)/1\mathrm{G} / \mathrm{M}(\mu ) / 1 queue in equilibrium. Let η\eta be the smallest positive root of the equation x=MX(μ(x−1))x = M_{X}(\mu (x-1)) where MXM_{X} is the moment generating function of an interarrival time. Show that the mean number of customers ahead of a new arrival is η(1−η)−1\eta (1-\eta )^{-1}, and the mean waiting time is η{μ(1−η)}−1\eta \left\{ \mu (1-\eta )\right\}^{-1}.

?
Problem 11.4.3

Consider D(1)/M(μ)/1\mathrm{D}(1) / \mathrm{M}(\mu ) / 1 where μ>1\mu > 1. Show that the continuous-time queue length Q(t)Q(t) does not converge in distribution as t→∞t \rightarrow \infty, even though the imbedded chain at the times of arrivals is ergodic.

?
Problem 11.5.1

Show that, for a G/G/1G / G / 1 queue, the starting times of the busy periods of the server constitute a renewal process.

?
Problem 11.5.2

Consider a G/M(μ)/1\mathrm{G} / \mathrm{M}(\mu ) / 1 queue in equilibrium, together with the dual (unstable) M(μ)/G/1\mathrm{M}(\mu ) / \mathrm{G} / 1 queue. Show that the idle periods of the latter queue are exponentially distributed. Use the theory of duality of queues to deduce for the former queue that: (a) the waiting-time distribution is a mixture of an exponential distribution and an atom at zero, and (b) the equilibrium queue length is geometric.

?
Problem 11.5.3

Consider G/M(μ)/1\mathrm{G} / \mathrm{M}(\mu ) / 1, and let GG be the distribution function of S−XS-X where SS and XX are typical (independent) service and interarrival times. Show that the Wiener-Hopf equation

F(x)=∫−∞xF(x−y)dG(y),x≥0 F(x) = \int _{-\infty }^{x} F(x-y) d G(y), \quad x \geq 0

for the limiting waiting-time distribution FF is satisfied by F(x)=1−ηe−μ(1−η)x,x≥0F(x) = 1-\eta e^{-\mu (1-\eta ) x}, x \geq 0. Here, η\eta is the smallest positive root of the equation x=MX(μ(x−1))x = M_{X}(\mu (x-1)), where MXM_{X} is the moment generating function of XX.

?
Problem 11.6.1

Consider the M(λ)/M(μ)/1\mathrm{M}(\lambda ) / \mathrm{M}(\mu ) / 1 queue with ρ=λ/μ<1\rho = \lambda / \mu < 1. Let QρQ_{\rho } be a random variable with the equilibrium queue distribution, and show that (1−ρ)Qρ(1-\rho ) Q_{\rho } converges in distribution as ρ↑1\rho \uparrow 1, the limit distribution being exponential with parameter 1.

?
Problem 11.7.1

Consider an open migration process with cc stations, in which individuals arrive at station jj at rate vjv_{j}, individuals move from ii to jj at rate λijϕi(ni)\lambda_{i j} \phi_{i}\left(n_{i}\right), and individuals depart from ii at rate μiϕi(ni)\mu_{i} \phi_{i}\left(n_{i}\right), where nin_{i} denotes the number of individuals currently at station ii. Show when ϕi(ni)=ni\phi_{i}\left(n_{i}\right) = n_{i} for all ii that the system behaves as though the customers move independently through the network. Identify the explicit form of the stationary distribution, subject to an assumption of irreducibility, and explain a connection with the Bartlett theorem of Problem (8.10.6).

?
Problem 11.7.2

Let QQ be an M(λ)/M(μ)/s\mathrm{M}(\lambda ) / \mathrm{M}(\mu ) / s queue where λ<sμ\lambda < s \mu, and assume QQ is in equilibrium. Show that the process of departures is a Poisson process with intensity λ\lambda, and that departures up to time tt are independent of the value of Q(t)Q(t).

?
Problem 11.7.3

Customers arrive in the manner of a Poisson process with intensity λ\lambda in a shop having two servers. The service times of these servers are independent and exponentially distributed with respective parameters μ1\mu_{1} and μ2\mu_{2}. Arriving customers form a single queue, and the person at the head of the queue moves to the first free server. When both servers are free, the next arrival is allocated a server chosen according to one of the following rules:

?
(a)

each server is equally likely to be chosen,

(b)

the server who has been free longer is chosen.

Assume that λ<μ1+μ2\lambda < \mu_{1}+\mu_{2}, and the process is in equilibrium. Show in each case that the process of departures from the shop is a Poisson process, and that departures prior to time tt are independent of the number of people in the shop at time tt.

Problem 11.7.4

Consider an M(λ)/M(μ)/1\mathrm{M}(\lambda ) / \mathrm{M}(\mu ) / 1 queue modified so that on completion of service the customer leaves with probability δ\delta, or rejoins the queue with probability 1−δ1-\delta. Find the distribution of the total time a customer spends being served. Hence show that equilibrium is possible if λ<δμ\lambda < \delta \mu, and find the stationary distribution. Show that, in equilibrium, the departure process is Poisson, but if the rejoining customer goes to the end of the queue, the composite arrival process is not Poisson.

?
Problem 11.7.5

Consider an open migration process in equilibrium. If there is no path by which an individual at station kk can reach station jj, show that the stream of individuals moving directly from station jj to station kk forms a Poisson process.

?
Problem 11.7.6

Show that an open migration process is non-explosive.

?
Problem 11.7.7

Let XX be an irreducible, continuous-time Markov chain with generator G\mathbf{G} on the state space T=S∪{∞}T = S \cup \left\{ \infty \right\}, where SS is countable and non-empty. Show that a distribution π\mathbf{\pi } on TT satisfies πG=0\mathbf{\pi } \mathbf{G} = \mathbf{0} if and only if, for j∈S,∑i∈Tπigij=0j \in S, \sum_{i \in T} \pi_{i} g_{i j} = 0.

?
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].

?