Every bounded harmonic function on a graph is constant if the connected locally finite graph is recurrent. Along its random walk on a graph, the harmonic values form a bounded martingale and converge almost surely. Recurrence visits each vertex infinitely often, making every vertex value a subsequential limit of the same convergent sequence. Thus every value agrees.
Harmonic function for a Markov chain Created 2026-10-14 Updated 2026-10-20
A harmonic function assigns a value to each state of a Markov chain such that one transition leaves its expected value unchanged. This turns a question about many possible future sample paths, such as which endpoint is reached first, into a local averaging rule. For a transition matrix , a real-valued function is harmonic at state whenHere means expected value conditional on starting at ; on a countable state space the sum must be absolutely convergent. If this holds at every state, write . At an absorbing state the equation is automatic, so prescribed boundary conditions supply information that the averaging rule cannot.
For a finite Markov chain, choose a boundary set that can be reached from every state, and assign boundary values . If is its first hitting time, the harmonic extension isChoosing to be the indicator function of one target within gives a hitting probability. This is a discrete Dirichlet problem: enforce the averaging rule outside and fix the values on . See Hao Wu's MIT lecture 8, harmonic extension, slide 5. The construction extends the mean-value idea of a harmonic function; for a random walk on a graph it is a discrete harmonic function.
Hitting a hub from two four-cycles 2026-10-14
Take two four-cycles, connect corresponding vertices, and connect each inner vertex to an absorbing hub. For the ordinary random walk on a graph, symmetry reduces mean remaining times to outer and inner types, satisfying and . Thus , . For the non-backtracking random walk, directed-edge types outer-outer, outer-inner, inner-outer and inner-inner give remaining means . Starting at an outer vertex, the first-step distribution yields total mean .
Past exam of the mathematics course of the University of Cambridge 2009 ib Paper 1 19H Solution Created 2026-09-24 Updated 2026-10-14
Read the maze as two four-cycles: outer vertices , inner vertices for modulo four, edges , , and , together with edges from every to the target . The starting vertex is an outer vertex. Outer degrees are three and inner degrees are four.
For the ordinary random walk on a graph, symmetry gives a common expected hitting time from an outer vertex and from an inner one. First-step conditioning givesThus and , yielding and the requested starting mean moves.
For the non-backtracking random walk, the current vertex alone does not form a Markov chain. Use states recording previous and current vertices. Before hitting , its transitions are with probability for each neighbor . Add a starting state with no preceding vertex, choosing its first neighbor with probability , and an absorbing hit state. This specifies the full Markov chain.
Its directed edges aggregate into types , determined by the two vertex layers. From the next type is or with probability each. From it is with probability and the absorbing state with probability . From it is always . From it is , or the absorbing state with probability each. Every nonabsorbing type has a positive uniformly bounded chance of hitting within at most three more moves, so its mean time is finite.
Transition probabilities between the four directed-edge types of the non-backtracking maze walk and its absorbing target
. Details. Let their remaining mean times be in that order. The first-step equations areSolving gives , , , . The first move from the initial outer vertex reaches type with probability and type with probability , so the intelligent starting mean isThis hitting a hub from two four-cycles calculation reduces the mean from to , saving moves. Excluding immediate reversal removes wasteful two-step returns, although it does not guarantee that the next move is toward the target.
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 2016 iii Paper 201 1 d Solution Created 2026-10-03 Updated 2026-10-14
Let be the natural filtration of the random walk on a graph. For a bounded harmonic function on a graph, the transition rule and the Markov property giveThus is a bounded martingale. The martingale convergence theorem gives a finite almost sure limit .
On the probability-one recurrence event, every vertex is visited along a sequence . Along that sequence , while convergence of the whole sequence forces . Therefore every pair of vertices has the same value. This is the bounded harmonic function theorem on a recurrent graph:Recurrence makes each vertex value a subsequential limit of the same convergent martingale. A connected locally finite graph is countable, since it is the union of its finite distance balls, so these almost sure assertions can also be combined by a countable intersection. The one-vertex case is immediate.
Past exam of the mathematics course of the University of Cambridge 2026 iii Paper 226 1 b i Solution Created 2026-09-24 Updated 2026-10-03
The displayed identity is false with the printed non-strict inequality. For example, take and let . The event says that the walk returns to at most once, so its left side is , whereas its right side is .
The standard and evidently intended last-exit decomposition for a transient random walk has . Decompose that corrected event according to and . The Strong Markov property at time givesReversibility of the random walk on a graph gives the path-reversal identitySince is the equilibrium measure of a finite set, summing first over and then over yields
Random walk Created 2026-09-24 Updated 2026-10-14
A random walk is a stochastic process formed by accumulating random steps. In its additive form, the increments are independent and identically distributed random variables and the position after steps isThe steps can have more choices than and : they may be integers, real numbers, or vectors. A random walk on a graph instead describes steps between vertices along edges; its available moves can depend on the current vertex.
For example, starting at zero, the steps produce the positions . This is one sample path; other step sequences can have the same endpoint. A simple random walk on the integer line makes this distinction particularly tangible: repeated Bernoulli trials determine both a whole sample path and an endpoint with a binomial distribution. All positions below are dimensionless quantities measured in steps of length one, and counts discrete updates.
The model is useful because it separates an average tendency from accumulated fluctuations. A fair simple symmetric random walk has zero expected value at every time, yet its standard deviation grows: cancellation across many possible sample paths does not keep each walker near zero. The two figures below compare sample paths with exact endpoint probabilities. For the basic additive construction and its independent increments, see MIT, Stochastic Processes I, section 2.
Return probability from effective resistance Created 2026-10-14 Updated 2026-10-25
For the conductance-weighted random walk on a graph, set . The voltage has boundary values one and zero. The total electric current is . The first-step analysis therefore gives the displayed positive-return-time formula. Wiring the exterior of finite sets and taking limits gives .
