Problems
[21/100%]Consider with the constraint that arriving customers who see customers in the line ahead of them leave and never return. Find the stationary distribution of queue length for the cases and .
Consider with the constraint that if an arriving customer sees customers in the line ahead of him, he joins the queue with probability and otherwise leaves in disgust.
Find the stationary distribution of queue length if .
Find the stationary distribution of queue length if , and show that the probability that an arriving customer joins the queue (in equilibrium) is .
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 and all service times are independent and exponentially distributed, parameter at the first desk and 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.
Consider M/G/1, with the modification that the server may serve up to customers simultaneously. If the queue length is less than 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 and service times are exponentially distributed.
Consider where . Find the moment generating function of the length of a typical busy period, and show that and . Show that the density function of is
where is a modified Bessel function.
Consider 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 where is a typical service time and .
Amongst all possible service-time distributions with given mean, find the one for which the mean waiting time is a minimum.
Let be the time which a customer would have to wait in a queue if he were to arrive at time . Show that the distribution function satisfies
where is a typical service time, independent of . Suppose that for all as , where is a distribution function satisfying for , where is independent of with distribution function , and is the density function of on . Show that the moment generating function of satisfies
where is the traffic intensity. You may assume that .
Consider a queue in which the service times are constantly equal to , whilst the interarrival times take either of the values 1 and 4 with equal probability . Find the limiting waiting time distribution.
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 , and each requires one channel for a length of time having the exponential distribution with parameter , independently of the arrival process and of the duration of other calls. Let be the number of calls being handled at time , and suppose that .
Determine the probability generating function of , and deduce , and the limiting distribution of as .
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 .
Customers arrive in a shop in the manner of a Poisson process with intensity , where . They are served one by one in the order of their arrival, and each requires a service time of unit length. Let be the number in the queue at time . By comparing with , determine the limiting distribution of as (you may assume that the quantities in question converge). Hence show that the mean queue length in equilibrium is .
Let be the waiting time of a newly arrived customer when the queue is in equilibrium. Deduce from the results above that .
Consider , and suppose that the queue is empty at time 0. Let be the earliest time at which a customer departs leaving the queue empty. Show that the moment generating function of satisfies
and deduce the mean value of , distinguishing between the cases and .
Suppose , and consider a queue in equilibrium.
Show that is a reversible Markov chain.
Deduce the equilibrium distributions of queue length and waiting time.
Show that the times of departures of customers form a Poisson process, and that is independent of the times of departures prior to .
Consider a sequence of single-server queues such that customers arrive at the first in the manner of a Poisson process, and (for each ) on completing service in the th queue each customer moves to the th. Service times in the th queue are exponentially distributed with parameter , with as much independence as usual. Determine the (joint) equilibrium distribution of the queue lengths, when for all .
Consider the queue , where . Show that a stationary distribution exists if and only if , and calculate it in this case.
Suppose that the cost of operating this system in equilibrium is
the positive constants and representing respectively the costs of employing a server and of the dissatisfaction of delayed customers.
Show that, for fixed , there is a unique value in the interval such that it is cheaper to have than if and only if .
Customers arrive in a shop in the manner of a Poisson process with intensity . They form a single queue. There are two servers, labelled 1 and , server requiring an exponentially distributed time with parameter 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.
Show that the queue length settles into equilibrium if and only if .
Show that, when in equilibrium, the queue length is a time-reversible Markov chain.
Deduce the equilibrium distribution of queue length.
Generalize your conclusions to queues with many servers.
Consider the queue where , and let be the number of people in the queue just before the th arrival. Let be a random variable having as distribution the stationary distribution of the Markov chain . Show that converges in distribution as , the limit distribution being exponential with parameter 2.
Taxis arrive at a stand in the manner of a Poisson process with intensity , and passengers arrive in the manner of an (independent) Poisson process with intensity . 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 passengers are waiting at time is , where is the modified Bessel function, i.e. the coefficient of in the power series expansion of
Machines arrive for repair as a Poisson process with intensity . Each repair involves two stages, the th machine to arrive being under repair for a time , where the pairs , are independent with a common joint distribution. Let and be the numbers of machines in the -stage and -stage of repair at time . Show that and are independent Poisson random variables.
An insurance company pays independent and identically distributed claims at the instants of a Poisson process with intensity , where . Premiums are received at constant rate 1. Show that the maximum deficit the company will ever accumulate has moment generating function
Erlang's loss formula. Consider 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
Consider an queue with channels (servers) numbered 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 of time that channel is busy is for , and .
For an queue with , when in equilibrium, show that the expected time until the queue is first empty is .
Consider an queue. Use the renewal-reward theorem to show that the expected duration of a busy period is where .