For a reversible Markov chain with invariant law , its Markov kernel acts as a self-adjoint operator on . An absolute spectral gap means that on the mean-zero functions is at most . Geometric ergodicity implies this gap for a reversible chain. Indeed, for bounded mean-zero supported where the geometric prefactor is bounded, the total-variation estimate gives . The spectral theorem for normal operators puts its spectral measure in . Such test functions are dense in the mean-zero subspace.
Absolute relaxation time 2026-10-06
For a finite irreducible Markov chain with at least two states that is an aperiodic Markov chain and a reversible Markov chain, put and . This is the reciprocal of the absolute L2 spectral gap of a reversible Markov chain. It agrees with the reciprocal of the ordinary spectral gap for a lazy Markov chain, but need not agree when there are negative eigenvalues.
Canonical paths Poincare bound 2026-10-06
Choose a directed path of positive-probability transitions for each ordered pair of states in a finite reversible Markov chain. Write for a directed edge , and let count its occurrences. DefineThe Cauchy-Schwarz inequality bounds by times the sum of squared differences along the path. Multiply by , sum and interchange finite sums. The identity proves the bound. This convention counts directed edges and retains the factor in the Dirichlet form of a Markov chain.
Conductance of a Markov chain Created 2026-09-24 Updated 2026-10-03
For a reversible Markov chain with stationary flow , the conductance of a set isIts Cheeger constant minimizes the boundary flow divided by the smaller stationary mass of the two sides of the cut.
Ehrenfest urn model Created 2026-10-06 Updated 2026-10-31
The Ehrenfest urn model moves one uniformly chosen ball between two boxes at each step. For balls, the count in one box is a Markov chain on . Its stationary distribution is , and detailed balance makes it a reversible Markov chain. The chain has period two, but its mean recurrence time to the all-in-one-box state is still .
Gaussian autoregressive proposal reversible with respect to a standard normal distribution Created 2026-09-29 Updated 2026-10-05
Let , let , and proposeThe proposal distribution is . If independently of , then is a jointly multivariate normal distribution invariant under exchanging and , because both random vectors have covariance matrix and their cross-covariance matrices are both . Consequently its density satisfieswhere is the standard-normal density. Thus the proposal is reversible with respect to the standard normal distribution.
Past exam of the mathematics course of the University of Cambridge 2003 iii Paper 30 1 b Solution Created 2026-10-03 Updated 2026-10-14
Use and the positive return time . The walk has transitions , ; its transition matrix defines a reversible Markov chain, although the transition probabilities need not be symmetric.
The voltage equals one at , zero at , and is a harmonic function on a graph away from the terminals: . For this unit electric potential difference the electric current isThe first-step analysis therefore proves the return probability from effective resistance identity:Finite irreducibility ensures eventual hitting of one of the terminals, so no missing escape event appears in this finite-network calculation.
For an infinite locally finite connected graph, exhaust it by finite sets and wire their exteriors to one sink. The event of exiting before the first return decreases to the event of never returning. Thuswith . In particular recurrence is equivalent to infinite effective resistance to infinity.
After deleting an edge, consider any infinite component and choose a root away from that edge's endpoints. Its vertex degree is unchanged. On every finite wired exhaustion the Rayleigh monotonicity principle makes the resistance no smaller; the limit of a sequence does too. A recurrent original network consequently leaves a recurrent component. Finite components give recurrent walks as well, with an isolated graph vertex viewed as an absorbing state. This proves that edge deletion preserves recurrence. The phrase “no less recurrent” refers to this recurrence comparison: at a deleted-edge endpoint the vertex degree factor also changes, so monotonicity of its first-return probability alone should not be inferred.
Past exam of the mathematics course of the University of Cambridge 2004 ib Paper 2 11H Solution Created 2026-09-24 Updated 2026-10-14
For a Markov chain started in its stationary distribution, reversibility means that for every , the joint distribution of equals that of . More generally, stationarity then makes every finite segment invariant under reversal of its time order.
If the Markov chain is reversible, take . Comparing the events and gives the detailed balance equationsConversely, an irreducible Markov chain with an invariant probability distribution has for every state. Under detailed balance, a transition is positive exactly when its reverse is positive. For a path with positive probability, substitute in each factor to obtainThe factors of telescope. If a path has a zero transition, its reverse does too, so the equality still holds. These are the respective forward and reversed path probabilities. Summing over any collection of paths proves equality of the joint distributions, hence a reversible Markov chain. The first factor in the PDF's balance equation is ; the converted TeX incorrectly changes it to .
Past exam of the mathematics course of the University of Cambridge 2009 ib Paper 4 9H Solution Created 2026-09-24 Updated 2026-10-14
Use coordinates , with the starting corner . The bishop stays on the 32 squares where is an even number. Its moves form a random walk on a graph, with an edge between distinct squares whenever . If is the number of reachable squares, the transition probability to each neighbor is .
The graph is connected: from move along its antidiagonal to , then along the main diagonal to the corner. The midpoint coordinates are integers because is an even number, and this square always lies on the board. Thus this is the full communicating state space of the bishop random walk.
The invariant distribution is proportional to degree. Its normalizing constant can be counted by summing the ordered pairs along each diagonal. The diagonals of one orientation have lengths , contributing ; the other have lengths , contributing . ThereforeFor any neighboring states , , proving the detailed balance equations and hence that the chain is a reversible Markov chain.
Past exam of the mathematics course of the University of Cambridge 2009 iii Paper 30 1 i Solution Created 2026-10-03 Updated 2026-10-14
Put . In this heterogeneous two-server queue, the total population alone is not a Markov process: when only one customer is present, its departure rate depends on which server is occupied. Use states , where and distinguish the two single-customer possibilities, and records the total population. The memoryless property of the exponential distributions gives these nonzero transition rates:and for , for . In particular, a departure from state leaves the other server occupied.
The detailed balance equations suggestFor example, both and hold; these are the two transitions that would be lost by using only population as the state. All other adjacent-state detailed balance equations hold as well. Since , the geometric series converges, and normalization givesThus the stationary distribution exists, and the requested probability isWith equal server rates , this reduces to , as for an M-M-s queue with two servers.
To prove the output claim, put the continuous-time Markov chain in its stationary distribution. The preceding detailed balance equations make it a reversible Markov chain: time reversal of a continuous-time Markov chain has the same transition rates. A forward departure becomes a reversed arrival. In every reversed state, the total rate of such arrivals is : from the rates add, from or the upward rate is , and from every it is also . The reversed process can therefore be constructed with an independent rate- Poisson process of arrival epochs, choosing the idle server by a fair coin when appropriate. Consequently reversed arrival counts on disjoint time intervals are independent Poisson random variables with the corresponding means. Reversing those intervals proves that the stationary departure stream is a rate- Poisson process, rather than merely a stream with mean rate .
Stationarity matters here. If the queue starts empty, a departure by time requires both an arrival and a completed service time, so its probability is ; a rate- Poisson process would have probability . Thus the output assertion is the equilibrium assertion in the context of the preceding stationary calculation.
Past exam of the mathematics course of the University of Cambridge 2010 iii Paper 30 1 a Solution Created 2026-10-03 Updated 2026-10-14
Write the clock states modulo . The detailed balance equations are . The product condition makes these equations consistent around the circle, so the stationary distribution isIndeed, the rate of the time reversal of a continuous-time Markov chain along a clockwise edge is , while its anticlockwise rate is . Thus the clock is a reversible Markov chain.
The reversed clockwise transitions can be driven by a single independent rate- Poisson process, since their rate does not depend on the clock state. They correspond to the original anticlockwise transitions. Consequently the anticlockwise event times form a stationary Poisson process of rate . Its events before a given time are independent of the clock state at that time, which is the relevant quasireversibility property. If clockwise and anticlockwise transitions have the same destination, their direction is retained as an event mark when reversing the process.
Past exam of the mathematics course of the University of Cambridge 2013 ib Paper 1 20H iii Solution Created 2026-09-24 Updated 2026-10-07
The chain is a reversible Markov chain, so detailed balance makes the stationary path probabilityA path contains an ordered occurrence of followed later by exactly when its reversal contains followed later by . These occurrences need not be adjacent. Therefore for every , and in particular the two finite expectations are equal. This is ordered-state visit times in a reversible chain.
To decompose the expectations, distinguish the entrance time , which allows time zero and has , from the positive return convention in part (i). The Strong Markov property at the first visit to or givesEquating them yields the difference formula with . Replacing by in the sum adds , again by Kac's lemma. HenceFor a numerical consistency check, the other entrance times are and , while . Both sides of the displayed identity equal .
Past exam of the mathematics course of the University of Cambridge 2013 iii Paper 37 1 i Solution Created 2026-10-03 Updated 2026-10-07
A loss network models calls that need several resources simultaneously and are rejected, rather than queued, when insufficient capacity remains. Take finite resource and route sets. Let be the integer amount of resource required by a route- call, its capacity, andUnder fixed routing, each arriving call has a predetermined resource requirement. Take independent Poisson processes of rates and independent holding times with exponential distribution of rates . A feasible arrival changes to at rate ; a departure changes it to at rate . Put and assume each route uses a finite positive-capacity resource, so the state space is finite.
The product-form stationary distribution of a loss network isFor any feasible adjacent pair,These detailed balance equations prove stationarity and make the process a reversible Markov chain. Equivalently, Independent random variables with Poisson distributions of means are conditioned on satisfying the joint capacity constraints. The conditioning makes resource occupancies dependent even though the unconstrained counts are independent.
By Poisson arrivals see time averages, a route- arrival sees acceptance probability , interpreting the numerator as zero for a negative capacity. Hence its blocking probability is and the expected value of its number in service is . This connects a stationary occupancy law to observable rejection and carried traffic.
The insensitivity of loss networks extends this occupancy formula to independent general holding-time distributions with the same expected values, under the usual fixed resource requirements and admission rule. Counts alone then need not be a Markov chain; residual holding times belong in a Markov description. The invariant occupancy formula survives. This is useful because detailed call-duration distributions can be difficult to estimate, while their means are much easier to measure.
Past exam of the mathematics course of the University of Cambridge 2015 iii Paper 37 5 d 3 ii Solution Created 2026-10-03 Updated 2026-10-06
Let be the normalized target and its marginal distribution. A coordinate- kernel leaves and has the joint old-new measureThis is symmetric in the old and new state: the common remaining coordinates are fixed and the two conditional factors exchange places. Thus each coordinate kernel satisfies detailed balance. Averaging them with the fixed weights provesIntegrating out the old state proves invariance of . The common normalization cancels, so detailed balance can also be written with the unnormalized target. This establishes detailed balance of a random-scan Gibbs sampler and a reversible Markov chain. Fresh independent random choices make the update a Markov chain, as explained above; invariance is not an assertion that an arbitrarily initialized chain starts in stationarity.
Past exam of the mathematics course of the University of Cambridge 2015 iii Paper 39 1 Solution Created 2026-10-03 Updated 2026-10-14
First consider an M-M-K queue with servers, arrival rate , and service rate at each server. Assume so that a stationary distribution exists. Its population is a birth-death process with rates and . The equilibrium probabilities satisfy detailed balanceThus the population process is a reversible Markov chain. In its time reversal of a continuous-time Markov chain, forward departures become upward jumps whose rate is the constant , independent of the state. They can be generated by a rate- Poisson process independent of the initial reversed state. Reversing time preserves the Poisson process law, proving the equilibrium departure process is Poisson with rate , the Burke theorem for a multi-server queue.
The same argument gives the departure component of quasireversibility needed for the tandem calculation: the present upstream population is independent of its entire past departure process. Indeed, these departures become future arrivals in the reversed chain, independent of its initial population. First check this on finite time windows, then extend to the full past. A Poisson output alone, without this independence, would not justify multiplying queue-empty probabilities.
Now let , where denotes the mean service time at passport control, so the service rate at each of its two servers is . The stationary distribution of the M-M-s queue with has normalizing sumHence its empty probability is . Its output feeds a stable M/D/1 queue with rate and deterministic service time . In a stationary work-conserving single-server queue, the busy fraction is the rate of completed work, , so the empty probability is .
The downstream stationary workload is a causal function of past upstream departures. For example, it is the limit of workloads constructed from arrivals in increasingly long finite past intervals; stability makes this stationary construction well defined. The backward independence just proved therefore makes the two present queue populations independent. Consequently
With walking time , the downstream arrival stream is the upstream departure stream shifted by . Its present workload depends only on departures up to time . The number walking at time zero is the number of departures in , which has Poisson distribution of mean and is independent of the earlier departures. The upstream present population is independent of both parts of its past departure stream. Thus the three empty events factor, givingThe factor is the empty probability of the deterministic-travel infinite-server stage. Both printed stability inequalities ensure the stationary calculations apply.
Past exam of the mathematics course of the University of Cambridge 2016 ib Paper 4 9H a Solution Created 2026-09-24 Updated 2026-10-06
If there are balls in box A, a ball currently in B is selected with probability , increasing the count, and a ball in A is selected with probability , decreasing it. For ,with every other transition zero. This is the Ehrenfest urn model.
The stationary distribution isIt is normalized by the binomial theorem, and it obeys the detailed balance:All other pairs have zero flux in both directions. These identities prove stationarity and show that this is a reversible Markov chain in equilibrium. The finite chain is irreducible and has period two; reversibility does not require aperiodicity.
Past exam of the mathematics course of the University of Cambridge 2016 iii Paper 213 5 Solution Created 2026-10-03 Updated 2026-10-06
Only routes with contribute to proportional fairness or to the weighted logarithmic utility; omit inactive routes from expressions with a rate in the denominator. Active routes have positive rates whenever a positive feasible allocation exists. For a feasible competitor , the elementary logarithm inequality givesA zero competitor rate on an active route has utility and also cannot improve the objective. Therefore a proportionally fair allocation maximizes the logarithmic objective. Conversely, the feasible set is a convex set, and differentiating the objective along at shows that an optimizer satisfies the proportional fairness inequality. Strict concavity gives uniqueness on active coordinates; rates assigned to nonexistent flows are immaterial.
In the linear flow network, put and for active routes. A local route uses only resource . If and , increasing increases the objective without violating any other constraint. Thus each active local route saturates its resource:Write and . For and , substitute into the objective. Apart from constants its dependence on isIts derivative vanishes when , and its second derivative is negative. Hence the per-flow through-route rate isIf , the optimal through-route aggregate rate is one, so still holds. If , each active local route has , also given by the displayed local formula. When there are no flows and no departures. Inactive coordinates need not be assigned these undefined per-flow formulas.
Independent arrivals and exponential document sizes make this a flow-level network model. A document of type has residual-size hazard per unit of data transmitted; when its transmission speed is , its completion hazard per unit time is . Thus the continuous-time Markov chain of flow counts has transition intensitiesFor these departure intensities are for the through route and for an active local route. Total arrival intensity is constant and total departure intensity is bounded by , ensuring a nonexplosive Markov chain.
Set , the offered traffic, and define the balance function of a flow-level networkThe binomial coefficients satisfyThese identities also cover states with only one kind of active route. They show that the weight satisfiesThus detailed balance for a continuous-time Markov chain proves that this is a reversible Markov chain and reduces the stationary distribution calculation to normalization.
Sum over first. The negative binomial series gives, for fixed local counts and ,All summands are nonnegative, so the Tonelli theorem permits exchanging the sums. The partition sum is thereforeIt is finite exactly when for every , for . These are the resource-load conditions: resource receives the through-route offered traffic plus its local offered traffic. The normalized stationary distribution isWith positive arrival rates this is the unique stationary distribution of the irreducible feasible flow-count chain. Zero arrival rates restrict its closed class to the corresponding zero coordinates.
Summing out also shows that the local counts are independent, with geometric distributions on :Hence their mean flow counts areThe binomial balance factor is essential: independent geometric counts for all routes would not give these departure rates or the correct resource-load normalization.
Past exam of the mathematics course of the University of Cambridge 2017 ib Paper 3 9H a Solution Created 2026-09-24 Updated 2026-10-05
A reversible Markov chain has a stationary law for which every finite path has the same distribution as its time-reversed path:For a transition matrix , the equivalent detailed balance condition is for all . It implies by summing over . Multiplying the balance identities along a path shows equality of its forward and reverse probabilities when ; conversely, taking paths of length one gives those identities.
Past exam of the mathematics course of the University of Cambridge 2017 ib Paper 3 9H b Solution Created 2026-09-24 Updated 2026-10-05
For the usual undirected graph with at least two vertices, a simple random walk chooses a neighbor uniformly at each step, so when and are adjacent and zero otherwise, where is the degree of a vertex. The handshaking lemma gives . Thus the stationary distribution of a graph random walk isFor adjacent , , and for nonadjacent pairs both sides vanish. By detailed balance, this is an invariant distribution and the walk started from it is a reversible Markov chain. Connectedness makes the finite walk an irreducible Markov chain, giving uniqueness of its invariant distribution. No aperiodicity assumption is needed for uniqueness, so a bipartite graph is allowed.
If the connected graph has a single isolated vertex, the usual neighbor-choice formula is undefined. With the natural absorbing convention , its unique invariant distribution is and it is reversible. The degree-normalization formula presupposes at least one edge.
Past exam of the mathematics course of the University of Cambridge 2017 iii Paper 215 2 c Solution Created 2026-10-03 Updated 2026-10-06
Let be the number of states and putThe absolute L2 spectral gap of a reversible Markov chain is ; in this question the relaxation time means the absolute relaxation time. For a nonlazy reversible Markov chain, it may differ from the reciprocal of the ordinary spectral gap . For a finite irreducible Markov chain that is an aperiodic Markov chain, .
For , choose a real eigenfunction whose eigenvalue has modulus , and an initial state maximizing . It has , and the definition of total variation distance impliesThis is the eigenvalue lower bound for total variation mixing, . At , for ,The second inequality follows from , the supplied inequality with . Since ,When the left side is zero, so no logarithm of zero is needed. For the left side is nonpositive and the conclusion is automatic. A one-state chain has mixing time zero; with the convention the bound is again trivial.