M-M-s queue 2026-10-06
Poisson arrivals of rate and independent exponential servers of rate give a birth-death chain with departure rate . The process is positive recurrent for , null recurrent at equality, and transient above capacity.
Past exam of the mathematics course of the University of Cambridge 2005 ii Paper 4 26I a Solution Created 2026-09-24 Updated 2026-09-24
Past exam of the mathematics course of the University of Cambridge 2008 ib Paper 2 20H Solution Created 2026-09-24 Updated 2026-09-24
Past exam of the mathematics course of the University of Cambridge 2015 ii Paper 1 24K a Solution Created 2026-09-24 Updated 2026-10-06
A birth-death chain on has generator entries , for , , , and zero elsewhere. Assume the usual conservative nonexplosive chain. The detailed balance for a birth-death process are .
If they hold, each incoming term cancels an outgoing term, giving and thus invariance. Conversely the invariance equation at zero gives . At state , write the stationarity equation as equality of the neighbouring probability currentsInduction from the zero boundary current gives detailed balance for a birth-death process for every edge. Thus invariant measures are exactly the detailed-balance measures in this standard birth–death setting. The argument is the generator characterization; a stationary probability law additionally needs finite normalization. For potentially explosive processes, formal generator balance alone would require additional boundary qualifications.
Past exam of the mathematics course of the University of Cambridge 2017 ii Paper 1 27K c Solution Created 2026-09-24 Updated 2026-10-05
Write . The embedded birth-death chain moves upward with probability and downward with probability away from zero. The gambler's ruin formula, obtained by solving its two-point difference equation on and then letting , gives . Translation gives return probability from to . From the chain hits almost surely: before that hit it remains in a finite reflecting interval, from every state of which a uniformly positive finite-step chance of hitting is available. This also proves that starting at zero it hits each almost surely.
After departure from the return probability is thereforeThe holding rate is , so the exponential occupation-time parameter is . Applying the Strong Markov property at the almost-sure first hit givesAt zero the holding rate is and return probability after departure is , again giving parameter . From initial state , the expected occupation time at zero is , since the time is zero unless zero is reached. Averaging over the initial law with probability generating function yieldsFor , the interpretation is , for , and ; the same formulas hold.
Past exam of the mathematics course of the University of Cambridge 2017 ii Paper 4 26K a Solution Created 2026-09-24 Updated 2026-10-05
An M-M-1 queue has a Poisson arrival process of rate , independent exponential service times of rate , and one server, with an unlimited waiting room and the usual first-come-first-served discipline. Its number-in-system process is a continuous-time birth-death chain with and for . For , detailed balance givesThis sums to one and satisfies . The nonexplosive irreducible chain therefore has an invariant probability and is positive recurrent. Equivalently its negative drift above zero gives finite mean return cycles. Here queue length includes the customer in service.
In equilibrium, PASTA gives an arriving customer's number of predecessors the distribution . Conditional on predecessors, memoryless property makes its total waiting-plus-service time a sum of independent variables. Its Laplace transform isThereforeThis is the sojourn time including service, not just the time until service begins.
Past exam of the mathematics course of the University of Cambridge 2021 ib Paper 2 18H b i Solution Created 2026-09-24 Updated 2026-09-25
The chain is a birth-death chain. Detailed balance between and givesFor , detailed balance between and givesConsequentlyThe expected occupation time of the positive even states during a return cycle to state is therefore