In infinite-population slotted ALOHA, suppose new arrivals form an independent Poisson variable of mean per slot and attempt immediately. At backlog , let old packets attempt independently with probability . Their total attempted load tends to , so the total offered attempts tend to one and the success probability tends to . For the backlog has strictly negative drift outside a finite set, and Foster theorem proves a positive recurrent Markov chain. This mathematical benchmark requires exact backlog information; a practical feedback estimate needs its own analysis.
// Target: probability-and-statistics.bigb
Past exam of the mathematics course of the University of Cambridge 2008 iii Paper 35 3 Solution Created 2026-10-03 Updated 2026-10-14
A random access network shares one communication channel among an unbounded collection of possible transmitters. Each packet occupies one slot; exactly one attempt succeeds, an idle slot carries nothing, and a collision delivers none of its attempted packets. Assume perfect slot synchronization, immediate idle/success/collision feedback, no channel errors, and independent random choices by packets. The important quantities are throughput, the size of the retransmission backlog, and delay. A good one-slot success probability alone does not establish stability of the backlog.
For a precise infinite-population slotted ALOHA model, let be independent Poisson random variables of mean , representing new packets which attempt immediately in slot . Let be the backlog before those arrivals. Each old packet independently retries with a constant probability , so conditional on , its retry count is , independent of . If records a successful slot, thenThis includes a new packet in the backlog precisely when it has not succeeded; an old packet is removed precisely when it succeeds. The total backlog is a Markov chain in this constant-probability model. Its idle and success probabilities arewith the second term in interpreted as zero. A success may be either one new packet and no old attempt, or one old attempt and no new packet.
The fluid approximation of slotted ALOHA replaces the binomial retry count by a Poisson count when there are many packets with small retry probability. If is total attempt intensity, the approximate success probability is . Differentiation givesThis is the limiting ALOHA throughput bound, not an exact upper bound for every finite packet population: one isolated packet which certainly transmits succeeds with probability one. In a fluid model, when the equation has two roots. The root below one is locally stable for constant , while the root above one is unstable, because the drift derivative is . These approximations explain a low-backlog operating region and a congestion threshold; they do not imply a stationary law for the infinite-population chain.
Indeed, for fixed , the exact success probability tends to zero as , so the exact drift tends to . One can prove instability, rather than relying only on this positive drift. Fix and use . Since is zero or one,The first term is strictly less than one and the second tends to zero. Hence is a nonnegative supermartingale outside a sufficiently large finite set, where is the first entrance into that set, say . The optional sampling theorem for a supermartingale, first at bounded stopping times, givesThis is an exponential-supermartingale escape bound. The chain is irreducible: a no-arrival slot with exactly one old retry can reduce any positive state by one, and Poisson arrivals can reach arbitrarily high states. Therefore the escape probability proves transience and excludes a positive recurrent Markov chain, for every and fixed . A locally stable fluid operating point can consequently coexist with eventual stochastic congestion. At , once at least two packets are backlogged, they collide forever, so constant unit retry probability also fails.
A state-dependent retry rule removes this fixed- congestion mechanism. As an ideal benchmark with exact backlog information and known arrival intensity , useThis is backlog-aware ALOHA with arrival-adjusted attempt probabilities. Its total attempt intensity approaches one: the mean old-attempt count is and the new-attempt count has mean . Substitution in the exact success formula yieldsThus the drift tends to . For the Lyapunov function , the drift is bounded above by a negative constant outside a finite set, and the expected one-step backlog is finite at every state. Foster theorem therefore gives positive recurrence. This proves a genuine stochastic stability result for this specified, informed controller. Real transmitters generally observe feedback rather than the exact backlog; estimating the backlog and using a probability of order its reciprocal motivates adaptive ALOHA, but an estimate's dynamics must be included in the state and analyzed before claiming the same stability result.
A different nonconstant rule uses a packet's own collision history. In geometric-attempt exponential backoff, a packet at stage attempts with probability , where . A collision advances every attempted packet by one stage, a success removes its packet, and new arrivals enter stage zero. For definiteness, in this version arrivals join at the end of a slot and first become eligible in the next slot. The full Markov chain state is the sequence of stage populations; the total backlog alone is insufficient. Conditional on that state,These formulas follow from independent attempts and selecting which one packet succeeds. They reduce approximately to for many small probabilities with . The retry probabilities decrease after failure, preventing repeated aggressive attempts by the same packets. Binary exponential backoff instead chooses uniform random counters from expanding finite windows; that counter model requires residual counters as well as collision stages in its state and is not identical to geometric waiting.
Backoff also exposes a distinction between eventual delivery and acceptable delay. In the simplifying model where each attempt independently fails with a fixed probability , the probability of reaching stage is and its mean waiting time is . The mean delay under independent exponential-backoff failures is thereforeAlthough a packet succeeds almost surely whenever , its mean delay can be infinite. In an actual random access network, failures are correlated with the other stage populations, so this fixed- calculation is a diagnostic approximation, not a proof of network stability. These models show why random-access analysis must track the retry rule, feedback information and full state, and assess throughput, stability and delay separately.
Past exam of the mathematics course of the University of Cambridge 2013 iii Paper 37 3 Solution Created 2026-10-03 Updated 2026-10-07
In the slotted ALOHA model, a station retains one packet until it successfully transmits. Conditional on , take fresh independent trials with a Bernoulli distribution of parameter for the backlogged stations. Let arrivals be independent across slots and independent of these trials, with Poisson distribution of mean . New arrivals join the next slot's backlog. An idle slot serves nobody, exactly one attempt serves one packet, and a collision serves nobody. Consequently the backlog changes by arrivals minus the success indicator.
Under these independence assumptions, is a time-homogeneous Markov chain: the feedback probabilities and the independent arrival law depend only on its current state. Merely specifying Poisson arrival marginals would not suffice. For example, take , , , and arrivals , , for independent random variables with Poisson distributions. Histories with and both have current backlog two, but the next backlog is respectively two and four. The usual model therefore includes fresh arrivals as an assumption.
Write and . Set for , and use their exact binomial distribution probabilities at . Away from the clipping boundary, the conditional drifts areNear , the latter must use for each update , rather than itself.
When both coordinates are large with , the Poisson limit theorem approximates the attempt count, which has a binomial distribution, by a Poisson distribution of mean . Thus and . Rescaling state by and slot time by motivates the fluid approximation of slotted ALOHAThis is an interior fluid approximation of slotted ALOHA, not the exact conditional drift at a clipped boundary.
Here is one explicit set of sufficient conditions, independent of the arrival rate within the subcritical range:Put . ThenHence is negative below one and positive above one: the controller decreases the attempt denominator when offered contention is too small, and increases it when contention is too large.
Use the ratio time change for a homogeneous fluid model, . The equations becomeFor ,since and . Also . Therefore is negative on , and by continuity on for some . Its value at zero is , so nonnegative backlog is preserved.
The ratio remains bounded by and eventually enters : on the compact interval , its derivative is bounded above by a strictly negative number. Once inside it cannot cross upward. The bounded ratio and smooth coefficients make the transformed equations exist for all . In this region , so decreases at least exponentially in . The original time satisfies and has a finite limit ; boundedness of gives as well. Thus every nonnegative interior fluid trajectory drains to the origin in finite fluid time. At the origin the ratio equation is undefined; the usual stopped fluid trajectory is held there afterward. A state with enters the interior under the continuous limiting boundary drift ; the same argument then applies.
This proof supplies sufficient conditions, not a characterization of every stabilizing triplet. It also does not assert the positive recurrent Markov chain property of the original stochastic chain solely from the heuristic ODE.
If , the ALOHA throughput bound givesNo choice of the three feedback increments can make this fluid backlog drain, since . For the displayed controller, the supercritical fluid trajectory is global and grows instead of draining. At the ray consists of stationary fluid states, explaining why the strict load inequality matters.
Past exam of the mathematics course of the University of Cambridge 2013 iii Paper 37 5 Solution Created 2026-10-03 Updated 2026-10-07
Let be the rate of each individual flow on route , so its aggregate rate is . The feasible allocations satisfy . An allocation has proportional fairness if, for every feasible ,Equivalently it maximizes over positive active-route rates. This is the first-order optimality condition for a concave objective on a convex set. Rates for absent flows can be set to zero.
For the linear flow network, put and . If , unused capacity on link could increase , soWhen , write . For active local routes their aggregate rates are , and the objective, up to constants independent of , isFor , differentiation gives , hence ; when the maximizing endpoint is , giving the same answer. Thus the proportionally fair allocation on a linear flow network isIf and , this gives on every active local route, as expected. No departure occurs at the empty state.
Independent Poisson processes of flow arrivals and independent exponential distributions of document sizes make the count vector a continuous-time Markov chain. By the memoryless property, a surviving residual size with exponential distribution still has rate per unit of transferred data, so each route- flow completes at instantaneous rate . The transition intensities areHence the through-route departure rate is and each active local route's rate is .
To obtain the stationary law of a linear flow network, defineFor a through departure ; for an active local departure . These are exactly the aggregate service rates, so the detailed balance identities hold. This also shows why the binomial coefficient is essential; a factor would not have the required ratios.
For fixed local counts with total , the negative binomial series givesSum the remaining independent geometric series to findThe given load conditions make every series converge. Setting provesThe chain has bounded total departure rate, finite arrival rate and no explosion. With positive arrival rates it is irreducible, and this normalized invariant law gives the positive recurrent Markov chain property; zero arrival rates restrict the stationary support to the corresponding reachable class.
Summing out shows local-count independence in a linear flow network: the local counts have independent geometric distributions on with ratios . ThereforeThey are independent of one another under the stationary marginal, despite sharing the random through-flow population. The through count is generally dependent on them.
Past exam of the mathematics course of the University of Cambridge 2016 iii Paper 213 1 i Solution Created 2026-10-03 Updated 2026-10-14
An open migration process is a continuous-time Markov chain recording the populations of finitely many colonies. Independent external Poisson processes bring individuals to colony at rate . When that colony contains individuals, a departure opportunity occurs at total rate , with . The departing individual moves to colony with probability , or leaves the system with probability . Routing choices and the clocks are independent. A return to the same colony does not change the state.
The word open means that the routing matrix is transient: every individual eventually leaves, or equivalently the spectral radius of is less than one. The traffic equations of an open migration process, with row-vector convention, give the total arrival rates:These rates include migrations as well as external arrivals. On the active colonies assume and the usual irreducible Markov chain condition. PutThe product form and its normalization condition areTo establish the product-form stationary distribution of an open migration process, first use its unnormalized weight . Its ratios satisfy . The incoming external arrivals into , divided by , contribute . Incoming exits contribute . Incoming migrations from to contribute . Terms involving an empty destination are zero. Thus the full incoming rate divided by isHere the traffic equations of an open migration process give the second equality, including . The right side is precisely the total outgoing rate. This proves global balance for a continuous-time Markov chain; pairwise detailed balance is not required for general routing.
For finite rates at each finite population, the continuous-time Markov chain is nonexplosive Markov chain: its total population is bounded over a finite time interval by the initial population plus the finitely many external arrivals, so it visits a finite set on which all jump rates are bounded. Consequently finite normalize the invariant weight to a stationary distribution. Under the stated irreducible Markov chain assumptions, this is the unique stationary distribution, and it is a positive recurrent Markov chain. Conversely, the unique invariant measure of an irreducible recurrent chain is proportional to , so a positive recurrent Markov chain requires its normalization to be finite. A sufficient condition is ; the series criterion itself is the exact condition. Colonies with have zero stationary population and can be removed from the active class.
For the single-server M/M/1 queue specialization, for , each stationary colony has the geometric distribution of an M/M/1 queue:The traffic equations of an open migration process do not involve the service rates, so the remain fixed during this service-capacity allocation in an open migration process. Write , and . A stationary allocation requires , with and . The Cauchy-Schwarz inequality givesEquality holds exactly when is proportional to . Hence, for positive arrival rates, the unique optimal service allocation and the minimum expected value of the total population areIf and some arrival rate is positive, no stable service allocation exists. Zero-arrival colonies need no service in their stationary empty class: allowing zero service there gives the same formula restricted to active colonies. If strictly positive service is demanded even at inactive colonies, the displayed minimum is an infimum approached as that unused allocation tends to zero. If all arrivals vanish, the stationary mean population is zero for every allocation that drains the initial population.