Past exam of the mathematics course of the University of Cambridge 2017 iii Paper 215 4 b Solution Created 2026-10-03 Updated 2026-10-06
The symmetric group has elements, not the printed order . For the identity and the adjacent transpositions have probabilities , so the specified transition matrix is normalized. Its stationary distribution is uniform and it satisfies detailed balance, since each transposition is its own inverse. Adjacent transpositions generate the symmetric group, making this an irreducible Markov chain; the positive holding probability makes it an aperiodic Markov chain.
For a fixed label , right multiplication swaps positions, so is the label's position. Under the uniform distribution on a finite set it is uniform on . ThereforeFor each generator , the squared change is one if the label occupies either of the two positions, and zero otherwise. Its stationary expected value is , givingThus the tagged-label Rayleigh quotient for adjacent transpositions gives the corrected bound
The printed factor six cannot be obtained: the hint's variance of a uniform distribution is wrong. Directly, . Bounded convergence in distribution of does imply convergence of its first two moments, hence convergence of its variance, but the limit is .
More strongly, the claimed asymptotic bound itself is false for this kernel. The Aldous spectral gap theorem states that the interchange process on a finite connected weighted graph has the same spectral gap as the single-label random walk with identical edge rates; see Theorem 1.1 and its proof. Here is that interchange process generator on a path graph with edge rates . For the tagged-label generator, direct substitution of gives eigenvalues , , including the reflecting endpoint equations. These distinct eigenvalues exhaust the tagged-label function space. Consequently the theorem yieldswhich exceeds asymptotically. This use of a substantial external theorem is only to certify the printed claim's failure; the corrected factor-twelve upper bound above follows directly from the requested test function and the variational formula.
Past exam of the mathematics course of the University of Cambridge 2017 iii Paper 215 4 c Solution Created 2026-10-03 Updated 2026-10-06
The reference kernel printed in the hint has total mass , so it is not a Markov kernel. We explicitly replace it by the normalized random transposition shuffle: choose two positions independently and uniformly and swap them. Its probabilities areThese sum to one, and its ordinary spectral gap is , the value intended in the hint. This value can also be certified by the Aldous spectral gap theorem: the single-label generator has rate between distinct positions, so on centered functions it acts as multiplication by . Both shuffles have the same uniform distribution on a finite set as stationary distribution.
We use the Canonical paths comparison theorem in the following precise form. For two finite reversible Markov chains with the same positive stationary distribution , route each directed transition of along a positive-capacity path of . Ifthen and . Indeed, telescope each difference along its path, apply the Cauchy-Schwarz inequality, and sum with weights . The load definition gives the Dirichlet form of a Markov chain inequality; the common variance denominator then gives the spectral gap inequality. Identity transitions use empty paths.
Put . A transposition is routed using the wordof length . Each generator occurs at most twice; write its occurrence count as . For a fixed directed adjacent edge and each occurrence of in a word, there is exactly one starting permutation whose translated word crosses this edge at that occurrence. This follows because right multiplication by the prefix is a bijection of the symmetric group. Hence the uniform stationary factors cancel in the comparison load, leavingThe crude bounds , , and imply . ThereforeOnly pairs with contribute, and there are of these. Keeping this restriction gives the stronger and . Neither comparison bound needs the exact adjacent-shuffle spectral gap; the normalization repair of the reference kernel is essential.
Past exam of the mathematics course of the University of Cambridge 2017 iii Paper 216 6 Solution Created 2026-10-03 Updated 2026-10-06
Use the extended target probability density functionThe desired stationary distribution for positions is ; the full position-momentum joint probability distribution is , not alone. Gaussian momentum refreshment preserves , since it redraws its momentum marginal distribution independently while keeping the position fixed.
Let and be the surrogate leapfrog integration map. The proposal in the paper is : its notation includes the final momentum flip. Reversibility gives , so . Both and preserve volume. Thus is an involutive Metropolis proposal, and the required acceptance probability isEquivalently, in terms of the surrogate Hamiltonian ,Only evaluations of the true target probability density function are needed at endpoints; the trajectory uses the surrogate gradient. Target and surrogate normalizing constants cancel.
For , the accepted flux satisfiesChanging variables has unit absolute Jacobian determinant, so this identity proves detailed balance for accepted moves. The rejection mass stays at the same point and is also reversible. The accept/reject step therefore preserves . Since momentum refreshment also preserves , their composition and either phase of the alternating process preserve . Projecting onto positions proves the position stationary distribution is exactly the original target. Stationarity alone does not establish uniqueness or convergence from every start; those require additional irreducible Markov chain and aperiodic Markov chain hypotheses.
There is a genuine defect in the printed smoothing claim. For the positive, nondifferentiable Laplace distribution on the real line, direct minimization gives, for every ,For the minimizer is ; for it is ; at zero both signs minimize. Hence normalization leaves , still nondifferentiable at zero. The displayed construction does not in general produce the asserted smooth surrogate. For example, the also nondifferentiable target makes that infimum for every , since the negative quartic term dominates the quadratic penalty. The invariance proof above is valid conditional on actually having a usable smooth surrogate, as the subsequent algorithm assumes.
A corrected sufficient construction is Moreau smoothing of a negative log-density. For a proper convex function with sequential lower semicontinuity , setThe Moreau envelope is differentiable, with ; require to be integrable to normalize it. The signs differ from the printed formula. For the Laplace distribution, this givesa genuinely differentiable potential with integrable exponential tails. Using that surrogate with the boxed acceptance probability still targets the original Laplace distribution.
Past exam of the mathematics course of the University of Cambridge 2018 iii Paper 213 1 iii Solution Created 2026-10-03 Updated 2026-10-05
Consider a triangle of three links, each with capacity . Calls for each pair of its three nodes arrive as independent Poisson processes at rate and have independent holding times with an exponential distribution of mean one. Try the direct link first; if it is full, try the two-link path through the third node; if either alternative link is full, reject the call. This is alternative routing in a loss network.
In the symmetric Erlang fixed point approximation, let be each link's blocking probability. A given link receives direct offered traffic . Each of the other two call types contributes overflow traffic , screened by the availability of the other link on its alternative path. ThusThe extra term expresses a feedback: blocking sends calls onto longer paths, which consume more total capacity and can create still more blocking.
Here is an explicit finite-capacity example, not just a limiting argument. Take and , and let . Evaluating the Erlang loss formula givesThe displayed decimals are rounded, but the four signs can be checked exactly using the rational recursion , . By the intermediate value theorem, there is a fixed point in each of , , and . Numerically these three areThus alternative routing can produce multiple Erlang fixed points. This does not imply multiple stationary distributions for the exact finite continuous-time Markov chain, which is irreducible and has a unique stationary distribution; the multiplicity belongs to the approximation. The symmetric alternative-routing model is also discussed in Kelly's review of fixed point models of loss networks.
Past exam of the mathematics course of the University of Cambridge 2018 iii Paper 213 1 i Solution Created 2026-10-03 Updated 2026-10-05
A loss network models calls that require several resources simultaneously and are rejected if any required capacity is unavailable; rejected calls do not queue. For fixed routing, let be the number of units of resource used by a call of type , and let be its capacity. Independent Poisson processes supply type- calls at rate , with independent holding times having an exponential distribution of mean . Write for the offered traffic, andAssume finitely many resources and call types, with every call using a resource, so this set is finite. The occupancy continuous-time Markov chain has ratesIts stationary distribution isIndeed, for each feasible upward transition,which is detailed balance for a continuous-time Markov chain. Thus this is a reversible Markov chain. With positive arrival rates it is irreducible on : departures reach the empty state, and any feasible state can be assembled by arrivals. Its stationary distribution is consequently unique.
The formula is a product-form stationary distribution of a loss network: equivalently, independent Poisson random variables of means conditioned on . The conditioning couples the occupancies, so the resources are generally not independent. By Poisson arrivals see time averages, the acceptance probability for a type- arrival isbecause the prearrival state must leave free units at each resource. Set the numerator to zero if its capacity vector has a negative entry. This exact formula is often expensive to evaluate, which motivates the Erlang fixed point approximation.
The same occupancy stationary distribution extends to independent general holding-time distributions with these means by insensitivity of loss networks; the exponential assumption above makes the occupancy process itself a continuous-time Markov chain and permits the direct detailed balance proof.
Past exam of the mathematics course of the University of Cambridge 2018 iii Paper 213 4 Solution Created 2026-10-03 Updated 2026-10-05
For a fixed occupancy , let be the per-flow rate on every active route, so feasibility means . A proportionally fair allocation is a feasible allocation satisfying, for every other feasible ,The sum counts the proportional changes over individual flows. By the first-order condition for a concave function, it is exactly the allocation solvingThis is weighted logarithmic utility optimization, and its negative objective is a strictly convex function, which gives unique rates on active routes. Routes with have no per-flow rate to determine.
Index the four routes by , , , , and let be each route's total service. WriteThe four capacity constraints say , , , and . Equivalently,For fixed maxima , every active route in the first group optimally takes total service , and every active route in the second takes , because its logarithmic objective is increasing. Up to the constant , the objective therefore becomes with . Its maximizer is , when , with the evident endpoint choices when one group is empty. Hence the proportionally fair allocation on a four-cycle isSet on inactive routes. If , all service totals are zero. In particular, for , , as required. Two disjoint active routes in the same group can each receive the same total service; service totals need not sum to one over the entire network.
With independent document arrivals given by Poisson processes of rates and independent unit-mean exponential distributions for document sizes, each of the active documents has completion rate . The flow-level network model is consequently a continuous-time Markov chain withAt all downward rates are zero. The total departure rate is at most four, so the bounded total jump rate ensures no explosion.
The original PDF's displayed factor is a binomial coefficient, not the plain quotient produced by the TeX extraction. The candidate stationary distribution for this reversible four-cycle flow model isUse . For and ,so . For the corresponding ratio is . Thus detailed balance for a continuous-time Markov chain holds for every adjacent pair, proving the displayed stationary distribution whenever .
For completeness, its existence condition can be made explicit. Put and . At fixed ,Therefore the sum over states with is at most , using the binomial theorem. This is summable if . Conversely, restricting to the single maximizing route in each group leaves the series , which diverges if . HenceThese are exactly the four strict resource-load inequalities. With positive arrival rates the Markov chain is irreducible, so the normalized stationary distribution is unique.
Past exam of the mathematics course of the University of Cambridge 2018 iii Paper 344 1 d Solution Created 2026-10-03 Updated 2026-10-05
The Neumann boundary conditions give Fourier modes , including the spatially uniform mode . In the frame translating with the mean deposition height, that mode has no restoring force and obeysHere is Brownian motion, independent of the initial height. More generally when these second moments exist. Removing the mean deposition drift does not remove the Gaussian white noise.
The Brownian zero mode of a fluctuating interface has no stationary distribution on the real height axis for . This conclusion does not depend on assuming finite variance: a stationary characteristic function would satisfy , hence vanish for every , contradicting its continuity at zero and . Any stationary joint distribution of the whole height would have a stationary zero-mode marginal, which is impossible. Thus the full unpinned height has no Boltzmann equilibrium. Pinning the mean height, or retaining only the nonzero Fourier modes, removes this obstruction. The PDF has ; the TeX's is a transcription error.
Past exam of the mathematics course of the University of Cambridge 2019 ib Paper 1 20H a Solution Created 2026-09-24 Updated 2026-09-29
By the definition of conditional probability and stationarity,This is the transition matrix of the time-reversed Markov chain.
Past exam of the mathematics course of the University of Cambridge 2019 ib Paper 2 20H b Solution Created 2026-09-24 Updated 2026-09-29
A complete excursion from along any one arm and back to has mean length . This follows from the same path recurrence, or from Kac's lemma: the graph has edges, the stationary distribution of simple random walk assigns mass to , so its mean return time is .
Past exam of the mathematics course of the University of Cambridge 2019 iii Paper 219 3 d Solution 2026-10-03
Write the target posterior density as and the proposal distribution density as . The Metropolis–Hastings algorithm accepts a proposed move withFor distinct states,which is symmetric in and . The rejection probability supplies the diagonal part, so the entire transition kernel satisfies detailed balance. Integrating the detailed-balance identity over the starting state proves . Hence the posterior is a stationary distribution; an irreducible Markov chain that is also an aperiodic Markov chain converges uniquely to it.
Past exam of the mathematics course of the University of Cambridge 2019 ii Paper 3 27K a Solution Created 2026-09-24 Updated 2026-10-03
A continuous-time Markov chain is a reversible Markov chain in equilibrium if, when started in a stationary distribution , the process has the same finite-dimensional distributions as for every .
For transition rates , the detailed balance for a continuous-time Markov chain equations areThey imply invariance directly. For each state ,because . Thus , so is an invariant distribution of a continuous-time Markov chain.
Past exam of the mathematics course of the University of Cambridge 2020 ib Paper 2 7H Solution Created 2026-09-24 Updated 2026-09-29
SetConditioning on gives the affine recurrenceIts fixed point is the first component of the stationary distribution,Thus , and gives
Starting instead from state two gives the same recurrence with initial value zero. Therefore
Past exam of the mathematics course of the University of Cambridge 2020 ii Paper 4 27K i Solution Created 2026-09-24 Updated 2026-09-29
An M-M-1 queue has Poisson process arrivals of rate , independent exponential service times of rate , and one server. The two letters indicate the memoryless property of the interarrival and service-time distributions. Its queue length is a birth-death process with birth rate and death rate away from zero. When , its normalized stationary distribution isthe powers quoted in the question form the corresponding unnormalized invariant measure.