Five-state harmonic absorption example 2026-10-14
Take a birth-death chain on . At each interior state, move up one state with probability and down one state with probability . The endpoints are absorbing states: . This is a small gambler's ruin model in which the state can represent capital, and reaching is success.
Five states with fair interior transitions and absorbing endpoints; each displayed value is the probability of reaching 4 before 0.
Details. Let be the hitting time of endpoint , and let be the first endpoint hitting time. The desired hitting probability is . First-step analysis and the Markov property giveThe interior equation says adjacent differences are equal. Four equal increments must bridge the boundary values and , soFor example, from state the hitting probability is , and its one-step average is . Individual sample paths can wander back and forth, but the same averaging rule already accounts for all of them.
Now ask how long it takes to reach either endpoint. The expected hitting time counts steps, including the transition that first reaches an endpoint. First-step analysis givesThis is a discrete Poisson equation, in the interior. The extra counts the step just taken. The quadratic valuessatisfy the equations; from state , steps. The hitting probability is harmonic, whereas the expected hitting time has a nonzero source term. These are special cases of expected duration of symmetric gambler's ruin; see Hao Wu's MIT lecture 16, gambler's ruin, slide 9.
For a biased random walk with upward and downward, keep the same absorbing states. The interior harmonic equation becomes . Using biased gambler's ruin probability with these boundary values givesThe three interior hitting probabilities are approximately , , and . Thus starting at now succeeds about of the time. A direct check is . The curved profile reflects the unequal transition weights: its successive increments shrink by the factor . The formula, with the endpoint denoted there, is verified in Karger and Lynch's MIT lecture 26, sections 2.3-2.4; the five-state numbers here are direct substitutions.
Hitting 4 before 0 for fair and upward-biased walks, compared with the fair walk's expected number of steps to either endpoint; lines join discrete state values.
Details. Why does harmonic averaging produce the correct hitting probability? With the natural filtration , the Markov property gives the conditional expectation identityFor a function harmonic everywhere, this makes a martingale whenever it is integrable. For a function harmonic only in the interior, is a stopped martingale. In either five-state example, . Also, from any interior state at most three consecutive upward steps reach , with probability at least . Repeated three-step blocks give , so is almost surely finite and has finite expected value; compare finite-interval exit times have geometric tails. Applying optional stopping at and then the bounded convergence theorem givesThe boundedness and finite hitting time justify this passage to the limit. See Steven Lalley's notes, harmonic functions and stopped expectations, theorem 1, and stopped martingale in discrete time for this bounded version of optional stopping.
Uniqueness has a short maximum principle explanation. On a finite state space, the difference of two harmonic extensions with the same boundary conditions is zero on the boundary. If its positive maximum occurs inside, the weighted average forces every successor with positive transition probability to have the same maximum. A path to the boundary propagates that maximum to zero, a contradiction. Applying the argument to the negative of the difference proves uniqueness. Reachability of the boundary is essential: an interior closed communicating class can retain an arbitrary constant.
// Target: markov-process.bigb
Holding probability of a Markov chain Created 2026-10-14 Updated 2026-10-25
At state , the holding probability of a discrete-time Markov chain is the self-transition probability . It is the conditional probability that the next state remains . In a nearest-neighbour birth-death chain, it is , where and are the probabilities of stepping right and left. Holding changes the elapsed time but not the embedded chain of actual moves or its boundary exit probabilities.
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-10-14
The embedded birth-death chain has upward probability and downward probability . To calculate a return probability, solve the harmonic difference equation on with boundary values one at zero and zero at . Successive differences have ratio , so their weights areTheir total infinite sum is . Letting gives the probability of ever hitting zero from :In particular the chain leaves zero to one and returns with probability , so it is transient. This finite-interval calculation selects the minimal nonnegative hitting-probability solution, rather than merely observing that is harmonic.
The continuous-time chain has the same embedded transitions and constant total exit rate , so it is nonexplosive and has exactly the same return events. It too is transient, neither positive recurrent nor null recurrent.
Past exam of the mathematics course of the University of Cambridge 2007 iii Paper 45 4 Solution Created 2026-10-03 Updated 2026-10-14
Let be the discount level during policy year , with . Under the usual assumption of independent successive annual accidents and repair costs with the same laws each year, the submitted-claim decision depends only on and that year's cost. Consequently the conditional distribution of depends on the past only through : this is the Markov property. The no claims discount system is therefore a time-homogeneous Discrete-time Markov chain. Stationarity of accident probabilities alone, without this independence assumption, would not by itself establish the Markov property.
At level one a claim keeps the policyholder at one, while no submitted claim moves them to two. At level two, a submitted claim moves them to one and no claim to three. At level three, a claim moves them to two and no claim keeps them at three. Thus in the specified transition matrix is the annual probability of a submitted claim at current level , not merely of an accident. A small accident paid privately counts as no claim for these transitions.
Let denote the undiscounted annual premium. It is not specified numerically in the source; costs can instead be measured in units of that premium, giving . The actual premium payments at the three levels are , , and . Compare the two future paths, assuming no further accidents, to obtain the two-year premium-loss claim threshold. From level one, a current claim leads to future levels , whereas no claim leads to , giving extra premiumFrom level two the two paths are and , and from level three they are and . HenceThese are all strictly positive. The PDF's discount fractions are and ; the converted TeX has lost these factors in the percentages.
For a repair cost with the specified lognormal distribution, . Putwhere is the standard normal distribution function. Conditional on an accident, the submitted-claim probability is . Multiplying by the accident probability givesSet for the premium-unit convention. Without a monetary premium scale, discount percentages alone cannot determine a numerical threshold for a monetary repair cost.
This nearest-neighbour Markov chain is a finite birth-death chain. Its stationary distribution satisfies the endpoint balance equationsThese detailed balance equations also imply the middle-state balance equation. The three-level no claims discount equilibrium is thereforewhereSince each lies strictly between zero and one, this is an irreducible Markov chain. Positive holding probabilities at the endpoints also make it an aperiodic Markov chain. Its unique stationary distribution is the limiting distribution even from the initial level one, and gives the steady-state proportions for a homogeneous population of such policyholders.
A submitted claim at level one conditions the repair cost on . The accident probability cancels in this conditional expectation. For , the truncated lognormal moment follows by completing the square:Dividing by yields the expected size of an actual submitted claim:The unconditional expected amount paid per year from level one would instead multiply its tail first moment by ; it is not the conditional claim size requested here.
Past exam of the mathematics course of the University of Cambridge 2008 ib Paper 2 20H Solution Created 2026-09-24 Updated 2026-10-14
All specified nearest-neighbour probabilities are positive, making the birth-death chain irreducible. The row sums give and for . Write for the hitting time of , and on let . The first-step equations giveDefine and . The successive increments are proportional to , and normalization at yieldsThe chain cannot remain forever in a fixed finite set avoiding zero: from every state in that set there is a uniformly positive chance to leave or hit zero within finitely many steps, so iterating the Markov property makes indefinite confinement have probability zero. Thus avoiding zero is the limit event of hitting every upper boundary before zero. Sending shows that the probability of never hitting zero from one vanishes exactly when . At zero, return is immediate with probability and otherwise begins an excursion from one; irreducibility then givesFor positive recurrence define and . First assume recurrence and let be the first return from zero. For each fixed , the expected number of visits to before is finite: each visit to has a positive chance of following the successive downward steps to zero before another visit, so its visit count has a geometric tail. Also .
Each finite excursion starts and ends below every edge , so its upward and downward crossing counts of that edge are equal. Their expectations, by the Markov property, are and . Hence and . Tonelli's theorem applied to the nonnegative occupation counts gives the excursion weights of a reflected birth-death chain formulaConsequently positive recurrence implies the requested finite sum. Conversely, if , then . But , so and the already proved recurrence criterion holds. The occupation calculation is therefore valid and gives a finite mean return time. ThusAdding the finite term does not change convergence.
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-14
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
For , the stationarity equation iswhich rearranges to the stated recurrence. At zero,Define the adjacent probability current . The recurrence says , and the boundary equation says . Hence for all . Since , normalization givesThe adjacent balance equations also verify stationarity directly. If , this formula means the point mass at zero; otherwise the birth-death chain is irreducible and this is its unique stationary probability distribution.
Let count red balls and let be the probability of eventual absorption at starting from . The birth-death chain moves to with probability and to with probability . Its absorbing states have , . First-step analysis givesSubstitution yields , and . The initial state has one red ball, so the probability that all balls end white is .
Absorption occurs almost surely: from each interior state there is probability at least of absorption within the next two draws. The chance of surviving draws is therefore at most . This also justifies the finite expected times used in part (ii). The process is the absorbing four-ball Ehrenfest chain.
For a birth-death chain on the integers with right/left probabilities depending on parity , define . It is a harmonic function for a Markov chain exactly whenequivalently . The correction is bounded. Stopping this martingale at boundaries gives a lower exit probability tending to as , even though the original position need not be a martingale.
// Target: markov-process.bigb
Scale function of a birth-death chain Created 2026-10-20 Updated 2026-10-25
A strictly increasing sequence for which is a martingale along the birth-death chain before hitting its boundary. With upward and downward probabilities , harmonicity means . This coordinate is useful for hitting probabilities and optimal stopping.
If a distinguished book is selected with probability and each other book with probability , swapping the selected book with its left neighbor makes the distinguished position a birth-death chain with left rate and right rate . Stationary flow balance gives successive probabilities in ratio , yielding a truncated geometric distribution; the uniform case occurs when all books are equally likely.
Three-level no claims discount equilibrium 2026-10-14
For a three-level birth-death chain whose down-or-stay claim probabilities are , with each in , detailed balance is and . Normalizing gives the displayed stationary distribution. The finite chain is irreducible and has endpoint holding probabilities, so it is aperiodic and its level proportions converge to this distribution from any initial level.

