Absorbing state Created 2026-10-03 Updated 2026-10-14
For a finite, time-homogeneous Discrete-time Markov chain with row-stochastic transition matrix , a state is absorbing exactly when . Nonnegativity and the row sum then force for : once entered, is never left. Equivalently, is a closed communicating class. A larger closed communicating class may keep moving internally; closure means confinement to a set, whereas absorption at a state means remaining at one point.
An absorbing state is useful for recording a terminal outcome: after a toy routine finishes, keep its outcome in the state space so that the same transition matrix still describes subsequent steps. Calling a finite Markov chain absorbing usually also requires that some absorbing state be accessible from every state. Merely containing an absorbing state is insufficient: another closed communicating class could prevent absorption. See Grinstead and Snell, Introduction to Probability, section 11.2 for this convention.
Consider a constructed routine with unfinished modes and terminal outcomes . All the following transition probabilities are chosen for illustration, not estimated from observations. In state order , takeThe communicating class is open, while and are closed communicating classes consisting of absorbing states. Both terminal outcomes are accessible from both unfinished modes, sometimes by an indirect path.
A constructed four-state routine: arrows give transition probabilities, and the two absorbing outcomes have different eventual probabilities and waiting times.
Details. Let be the terminal hitting time. Write for the absorption probability and for the expected hitting time, with the subscript denoting the starting state. First-step analysis givesHere , , and . Solving these two pairs of linear equations yieldsStarting at therefore ends at with probability and takes steps on average to reach either terminal state. The terminal hitting time counts the transition into the outcome, but no later self-transitions. Outcome and duration answer different questions: from , outcome is less likely, yet termination is faster on average.
The matrix power gives the probability distribution after two steps from asThus , and the probability of having already reached is , still below its eventual absorption probability . From either unfinished mode, each next step has terminal probability at least . Consequently , proving termination almost surely and finite expected hitting time directly. The Fundamental matrix of a finite absorbing Markov chain packages both calculations and counts visits to unfinished modes.
Expected duration of biased gambler's ruin 2026-10-06
For a nearest-neighbour fortune on , with win probability , loss probability and , put . First-step analysis gives , with zero endpoint values. Solving the recurrence gives the displayed mean duration. Its symmetric limit is .
For simple random walk on two disjoint complete graphs of size joined through one new vertex , let be the expected hitting time of from either vertex attached to , and the expected hitting time from any other clique vertex. First-step analysis gives and , so and . The expected hitting time from is zero. In discrete time the random walk is an aperiodic Markov chain only for .
Past exam of the mathematics course of the University of Cambridge 2011 ia Paper 2 11F b Solution Created 2026-09-24 Updated 2026-09-24
Past exam of the mathematics course of the University of Cambridge 2014 ia Paper 2 11F Solution Created 2026-09-24 Updated 2026-10-06
Assume , or use nonnegative with extended expectations. Let and . For , the discrete conditional expectation is . Therefore Fubini's theorem, or Tonelli theorem in the nonnegative case, gives the tower property of conditional expectation:Values of a conditional expectation on zero-probability conditioning events do not affect the sum. An unrestricted signed whose expectation is undefined is outside this assertion.
Write . The waiting time for two increments larger than dominates for and has mean , so is finite. Conditioning on the first increment, one step is always consumed; if that increment is below , the remaining independent sequence has the original law. Thus first-step analysis and the tower property of conditional expectation giveThis first makes continuous and then gives , with . Hence the uniform-sum crossing time below one hasAn independent explanation uses the tail-sum formula: for , since this region is an -dimensional simplex inside the unit cube. Summing from gives . In particular the strict-crossing convention gives almost surely and .
Past exam of the mathematics course of the University of Cambridge 2014 ia Paper 2 9F Solution Created 2026-09-24 Updated 2026-10-06
A probability space consists of a sample space , a sigma-algebra of events, and a probability measure satisfying:
- for every .
- .
- For pairwise disjoint events, .
For arbitrary events, Boole's inequality is . To prove it, replace each by . The are disjoint, have the same union, and satisfy . Countable additivity and monotonicity give . Finite unions are included by taking subsequent events empty.
Let be the th heads event. For every , the event of infinitely many heads lies inside . By the union bound, its probability is at most , which tends to zero. Thus the probability of infinitely many heads is . This is the First Borel-Cantelli lemma, and requires no independence of the coin tosses.
For the dice experiment there are ordered outcomes giving a sum of and giving , out of . Each trial therefore has , and irrelevant-outcome probability . By independence between trials, summing over the number of initial irrelevant outcomes givesThe geometric series also shows that one of the two relevant sums eventually appears almost surely. Equivalently, first-step analysis gives .
Past exam of the mathematics course of the University of Cambridge 2015 ia Paper 2 9F Solution Created 2026-09-24 Updated 2026-10-06
Let and measure Lionel's fortune in unit stakes. This is gambler's ruin: the fortune moves by with probability and with probability , stopping at or . Let be the expected value of the absorption time starting at . It is finite: from any interior state, a run of wins or losses has a fixed positive probability of absorption within steps, giving a geometric bound on survival over successive blocks. First-step analysis therefore givesFor , the homogeneous solution of the recurrence is , and a particular solution is . Put . Imposing the two endpoint boundary conditions gives the expected duration of biased gambler's ruinConsequently the expected number of games isThe denominator and numerator have matching signs, so this is positive. As a check its continuous limit at is , the expected duration of symmetric gambler's ruin.
Past exam of the mathematics course of the University of Cambridge 2016 ib Paper 2 20H b ii Solution Created 2026-09-24 Updated 2026-10-06
Let be the probability of ever hitting starting at . A first-step analysis gives a direct success with probability , a return to the same problem with probability , and entry into the closed class with probability , after which cannot be reached. ThereforeThe possibility of infinitely many self-loops has probability zero and introduces no extra solution of this equation.
Past exam of the mathematics course of the University of Cambridge 2017 ib Paper 1 20H Solution Created 2026-09-24 Updated 2026-10-05
Assume the intended initial fortune satisfies and put . Conditional on current fortune , the next gift is uniform on and independent of the previous choices. The remaining fortune is therefore uniform on that same set. At fortune the process stays there. Consequently the future conditional distribution depends only on the current fortune, proving the Markov property, and the transition matrix on isThe uniform decreasing Markov chain has state as an absorbing state, and until absorption the fortune strictly decreases, so the hitting time is at most .
Let be the expected number of additional transitions to hit , taking . First-step analysis givesIn particular . For , multiplying this recurrence by and the recurrence for by , then subtracting, gives . Hence for every , and telescoping yieldsThe PDF defines using times . If were included, that definition would give although the displayed empty sum is zero; the initial instruction to choose an integer between and also requires . The result above uses that intended assumption. A hitting time allowing time zero would have expectation zero from state , but that is a different definition.
Past exam of the mathematics course of the University of Cambridge 2017 iii Paper 215 1 c Solution Created 2026-10-03 Updated 2026-10-06
Let interchange the two complete graphs, sending to and fixing . This involution preserves the transition matrix of the simple random walk. A mirror coupling under an involution starts at , keeps until the hitting time of , and then makes the two walks move identically. Each coordinate has the correct transition probabilities, and they coalesce precisely at . The coupling inequality for total variation gives
There is a genuine error in the printed expected hitting time bound, as well as an unspecified initial law. For , write and for . From every clique vertex there is a positive chance of reaching within two steps, uniformly over the finite state space for each fixed , so has finite expected value. First-step analysis, using the degree of a vertex at and at the other clique vertices, givesSolving these linear equations yieldsIn particular even the attachment vertex exceeds the printed bound by one. The valid uniform replacement is , the hitting time of the bridge vertex between two cliques formula.
We must also handle arbitrary starting states, including , before applying the mirror argument. Identify related vertices and consider the lumped Markov chain on . Its transition matrix has for , , for and , and , with all other entries zero. Here the row for only ranges over .
For and , direct two-step calculation givesAll these entries are at least . Thus for every , where is the uniform distribution on a finite set and . This is a Doeblin condition. At each two-step block couple the two quotient endpoints to the same sample from with probability , using the residual probability distributions otherwise. The first successful block has expected value at most , so the alignment time has . Lift each endpoint coupling of probability distributions to the original walks by their conditional two-step path laws; this preserves every marginal path law. The success test uses fresh block randomness and so permits restarting the walks with their original transition matrix at the aligned endpoints.
At alignment the original walks are equal or related. Use identical transitions in the first case and the mirror coupling under an involution in the second. The resulting coalescing coupling has coalescence time satisfying for every pair of initial states. Therefore Markov inequality and the pairwise mixing diameter implyFor the hint's particular starting states, the quotient one-step laws from two different clique indices have a common component of mass at least : for two ordinary indices it is ; for one attachment index it is . A maximal coupling therefore aligns those indices with probability , as suggested. The two-step argument above additionally covers .
The nonlazy walk is an aperiodic Markov chain for , because the connected graph contains a triangle. For it is a periodic Markov chain on a bipartite graph; each bipartition class has stationary mass , and the walk stays on a single class at each time. Hence and the mixing time is infinite. The asymptotic conclusion is valid for .
Past exam of the mathematics course of the University of Cambridge 2018 ib Paper 2 20H iii Solution Created 2026-09-24 Updated 2026-10-03
Measure vertices by their Hamming distance from the target and let be the expected hitting time when that distance is . We already know . From distance one, one of the coordinate flips reaches the target and the other flips move to distance two. First-step analysis therefore givesFor ,
Past exam of the mathematics course of the University of Cambridge 2019 ia Paper 2 10F Solution Created 2026-09-24 Updated 2026-09-29
Let be the probability that the simple random walk started at hits before zero. The first-step analysis recurrence and boundary conditions areIf , the characteristic equation of a linear recurrence has roots and , so the boundary conditions giveIf , the repeated root gives the limiting formula . This is the gambler's ruin probability.
For a fixed integer stake , the fact that divides lets us measure Patricia's wealth in units of £. She starts at and succeeds upon reaching . The formula above factors asFor , , so this probability increases as decreases. She should therefore choose the largest stake, . For , , so the probability increases as increases; she should choose the smallest stake, .
Past exam of the mathematics course of the University of Cambridge 2020 ib Paper 1 20H a Solution Created 2026-09-24 Updated 2026-09-29
A random time is a stopping time for the natural filtration of a Markov chain when for every . The Strong Markov property says that, conditionally on and , the process after is a fresh copy of the chain started from , independent of the pre- history.
Before capture define the half-separationFor , independence of the two moves gives the transition probabilitiesIgnore the holding steps. The resulting embedded chain is a biased random walk that moves left with probability and right with probability . Its expected number of moves needed to descend one level is ; this follows either from first-step analysis or from its drift . A non-holding move occurs with probability at each time, so its mean waiting time is two. Hence, for every , the expected time to go from separation to is
Past exam of the mathematics course of the University of Cambridge 2020 ib Paper 1 20H b Solution Created 2026-09-24 Updated 2026-09-29
Let be the expected capture time starting from , so . The Strong Markov property at successive first passages to lower levels and part (a) giveAt , the next state is zero with probability , one with probability , and two with probability . First-step analysis therefore givesorSolving,Substituting now yieldswhich is the required expected capture time.
Past exam of the mathematics course of the University of Cambridge 2020 ii Paper 4 14B iv Solution Created 2026-09-24 Updated 2026-09-29
Past exam of the mathematics course of the University of Cambridge 2021 ib Paper 2 18H b iii Solution Created 2026-09-24 Updated 2026-09-25
Let be the expected hitting time of state . For , first-step analysis givesWith this becomesThe minimal nonnegative solution hasso
Equivalently, Kac's lemma gives . A first step from either returns immediately with probability or moves to with probability , soSubstituting gives the same result.
Past exam of the mathematics course of the University of Cambridge 2021 ib Paper 3 8H c Solution Created 2026-09-24 Updated 2026-09-25
Past exam of the mathematics course of the University of Cambridge 2022 ib Paper 1 19H a Solution Created 2026-09-24 Updated 2026-09-25
Let be the midpoints of . WriteFirst-step analysis for the simple random walk givesbecause has neighbours ;because has neighbours ; andbecause has neighbours . Solving,
