Biased random walk Created 2026-09-24 Updated 2026-10-14
A biased random walk on the integer line takes unit steps right and left with unequal probabilities and , using independent and identically distributed random variables as increments. For , the expected value is : positive for and negative for . Changing to reverses the preferred direction. The exact endpoint probability mass function is given under simple random walk on the integer line.
For example, with each step has expected value and variance . After steps,
The displacement of the expected value from zero is about standard deviations, yet individual sample paths still move left as well as right, as the figure under simple random walk illustrates. Bias lets this elementary stochastic process model an average directional tendency while retaining fluctuations. Boundary and return questions have their own treatments under gambler's ruin and the specialized children below.
Brownian scaling Created 2026-09-24 Updated 2026-10-14
For every , the stochastic process is standard Brownian motion. Its Brownian increments remain independent and have variance ; continuity and the zero starting value are preserved. Equivalently,
Equality here is of whole-process distributions, including every finite-dimensional distribution. It is not an equality of the two expressions along a particular realization. With , speeding time up fourfold requires dividing displacement by two to recover the standard law. The figure applies exactly these coordinate changes to four finite samples; the shared colors indicate reused samples, while the dashed lines show pointwise standard deviations, not bounds on entire sample paths.
Figure 1.
Seeded Gaussian samples before and after Brownian scaling with c equal to four
. Details.
The same square-root normalization explains how a simple random walk approaches Brownian motion. Let , where the independent steps take values and with equal probability. Then has variance . Its linear interpolation is
and . Donsker's theorem says in with the uniform norm: this is convergence in distribution of random paths. The interpolation bound vanishes, but the theorem does not assert pointwise convergence of an arbitrarily fixed walk to an independently chosen Brownian motion. The usefulness is that many-step discrete motion has a universal continuous limit.[ref]
Let simple random walk travel from to its first visit to , then stop on its subsequent first hit of in a finite connected unweighted loopless graph. Every directed edge has expected traversal count
The Strong Markov property splits the count into the two killed legs. By killed-walk occupation voltage, their contributions are and . Their Laplacians cancel, so the harmonic maximum principle on a finite graph makes the sum constant, with value . Summing over all directed edges recovers the commute time identity.
Expected cover time of a cycle Created 2026-10-05 Updated 2026-10-14
A simple random walk on a cycle graph of vertices has expected value of its cover time equal to , from any starting vertex. Lift the walk to the integers using the same increments. Its contiguous visited interval covers all residues precisely when it reaches length . Sum the expected time to expand a random-walk range, , using linearity of expectation; no independence of expansion times is needed.
Graph exhaustion Created 2026-10-06 Updated 2026-10-25
An exhaustion of a countable graph is an increasing sequence of finite connected graph vertex sets whose union is the whole graph vertex set. In a locally finite graph, every prescribed finite graph path together with all graph neighbours of its visited graph vertices lies in a sufficiently large exhaustion set. This permits coupling finite-volume and infinite-volume simple random walks up to a finite stopping time.
Green-function decay for simple random walk on the integer lattice Created 2026-09-24 Updated 2026-09-24
For simple random walk on with ,
Consequently the probability of ever hitting from the origin has the same order.
Hitting time of the bridge vertex between two cliques Created 2026-10-06 Updated 2026-10-14
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 .
Killed-walk occupation voltage Created 2026-10-06 Updated 2026-10-20
For simple random walk on a finite connected loopless unweighted graph, start at and stop on first hitting . If
then and for the graph Laplacian . The incoming-visit balance equation is for ; at the Laplacian value is because all its coordinates sum to zero. Thus is the voltage for unit current from to , and . In particular, the expected number of directed transitions before is .
A time-homogeneous Markov decision process specifies a state space, admissible actions at each state, an action-dependent transition kernel and one-step reward, with neither kernel nor reward depending on time. A policy chooses actions using the observed history. The positive programming case has nonnegative rewards and maximizes expected undiscounted total reward, allowing infinite values; its finite-horizon values increase to the infinite-horizon supremum under the appropriate approximation argument.
Here let be the absorption time of the underlying simple random walk at . Every admissible stopping time is at most . The reward is bounded by , and , as follows by solving with zero endpoint values. In particular absorption is almost surely finite. Truncating any policy at changes its reward expectation by at most . Since the truncated policy is allowed in the -step problem,
This proves , even uniformly on the finite state space.
The finite-horizon recursion starts with , fixes the endpoint rewards and has
Taking limits shows and , so is discretely concave. If is any concave function majorizing , induction in this same recursion gives , and hence . Therefore is the smallest concave majorant of the rewards. At a point where the recursion forces equality with the neighboring average; the value graph is linear through each consecutive continuation region.
An optimal policy stops upon first entering the contact set and continues elsewhere. Before stopping the neighboring-average equality makes of the walk a bounded martingale; the stopping time is bounded by . Applying the bounded stopping identity by first truncating the time and then passing to the limit proves the expected terminal reward equals .
Distinct rewards do not guarantee uniqueness. With and , the reward function is already linear and . From state one, stopping gives one, while continuing to the next step also gives expected reward . Both policies are optimal. Thus the claimed uniqueness is false even when all rewards are distinct.
A state of a Markov chain is a recurrent state if, starting there, the first strictly positive return time is finite with probability one. A recurrent Markov chain has every state recurrent; in an irreducible Markov chain recurrence is a class property. Use the recurrence criterion by return probabilities: a state is recurrent if and only if . To see the criterion, this sum is the expected number of visits including the initial one. If the return probability is , the Strong Markov property makes the number of successive returns geometric and its expected total is . If , every fixed number of returns occurs with probability one, so the expectation is infinite.
For the symmetric simple random walk on the integers, odd-time return probabilities vanish, while
By Stirling's formula, . Hence , whose sum diverges. The return-probability criterion proves recurrence of zero. Translation invariance gives the same result at every integer, or one can use irreducibility. Thus
This proof establishes almost-sure return, not a finite expected return time; every state of the walk is in fact a null recurrent state.
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 is
For 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.
Use simple random walk on the loopless undirected unweighted graph, with transition probability to each graph neighbour, and take . Set . Returns to before visiting do not end the commute. After its first visit to , stop at the subsequent first visit to , so . Count transitions with departure times , including the final step arriving at . The expected hitting times are finite: in a finite connected graph there is a uniformly positive probability to reach any fixed target within a fixed number of steps, giving a geometric tail bound.
We prove the needed killed-walk occupation voltage identity from its visit balance equation. Define
For , counting arrivals before absorption gives
Hence, for the graph Laplacian , we have away from . Since the sum of all Laplacian coordinates is zero, . Thus is the electrical voltage of a unit flow from to , grounded at , and .
Construct for the opposite killed leg. It satisfies and . Therefore . The harmonic maximum principle on a finite graph makes constant: at a maximum its value equals the average over its graph neighbours, forcing all of them to share that value, and connectedness propagates it. At the constant equals .
For any oriented edge , each visit to before the target hit produces a transition to with conditional probability . The expected traversals during the first killed leg are therefore , and those during the second leg are by the Strong Markov property at . This proves directed edge occupation in a random-walk commute:
In particular, both directions of every unoriented edge have this same expected value, although their counts on an individual commute need not coincide. Summing over the directed edges also recovers the commute time identity .
The distinct-terminal convention is necessary for the printed “returns” interpretation. If and is the first positive return, a graph with two graph vertices and one edge gives while . Thus either take , as intended, or explicitly define the degenerate commute as . A general nonuniform random walk is not covered by the unweighted simple-walk formula.
For finite , choose a root and an ordering of the other graph vertices. Begin with a tree consisting only of . At each stage take the first graph vertex not already in the tree, run an independent simple random walk from it until its first hit of the existing tree, erase the loops chronologically, and add the resulting graph path. In chronological loop erasure, revisiting a graph vertex already in the current list deletes all list entries after that graph vertex; otherwise append the new graph vertex. The retained final graph path is simple, with new internal graph vertices and exactly one endpoint in the old tree. Adding it therefore preserves connectedness and creates no graph cycle. Graph vertices already included are skipped. On a finite connected graph each walk hits the existing tree almost surely; after finitely many attachments all graph vertices are present.
The Wilson algorithm theorem states that this tree is a uniform spanning tree, independently of the chosen root and order. The required hypotheses here are an undirected connected finite graph and transition probabilities proportional to conductance; unit conductances give simple random walk and the uniform law. This is the sampling result being described, not a claim that arbitrary walk transition probabilities would produce a uniform tree.
For an infinite connected locally finite recurrent graph, choose a fixed finite root and enumerate all graph vertices. A connected locally finite graph is countable, since its finite-radius balls are finite. Run the same algorithm successively. Recurrence and irreducibility imply that a walk from any graph vertex hits almost surely, hence hits the current tree. Every attached graph path is therefore finite. The countable intersection of these probability-one events has probability one, and the increasing union is an acyclic connected subgraph containing all graph vertices: each graph vertex receives a finite route to .
This gives the uniform spanning tree of a recurrent infinite graph. It is not a uniform counting measure on all infinite spanning trees. Equivalently, its joint probability distributions on finite collections of edges are the common limits of uniform spanning trees along any graph exhaustion, using the approximations defining the free uniform spanning forest and the wired uniform spanning forest. To check that equivalence, fix a finite edge set and run the chosen enumeration through a finite prefix containing all its endpoints. Once those graph vertices are in the tree, later attachments cannot add an edge with both endpoints already included, so membership of is settled permanently. Only finitely many random walks have been used; each has a finite trajectory almost surely. All their visited graph vertices and all their graph neighbours lie in a sufficiently large exhaustion set. Couple finite-volume and infinite-volume walks with the same steps there. Whether the exterior is deleted or wired to one boundary graph vertex, these initial trajectories and their loop erasures then agree. This proves convergence of the probabilities of cylinder sets determined by those edges.
The limiting law is unchanged by the root and ordering because the laws on finite graphs have this invariance. The same coupling shows that changing the exhaustion also leaves the law unchanged. Thus
The result is a single spanning tree because the graph is recurrent. On a transient graph, infinite-volume spanning-tree limits may instead be uniform spanning forests; recurrence cannot be omitted from this conclusion.
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, gives
Solving these linear equations yields
In 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 gives
All 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 imply
For 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 .
Use the ratio definition of cutoff from part (a), and write . In the reversible Markov chain setting of the preceding parts let and . In particular .
If did not tend to infinity, there would be a subsequence and for which . Along it part (c) implies, for every fixed ,
Since , choose fixed so small that . The lower limit of this ratio is then greater than one, contradicting cutoff for Markov chains. Thus the Peres product condition holds:
In fact the argument with proves the stronger absolute-gap product condition. Part (d) does not repeat the reversible Markov chain hypothesis; the ordinary real ordering of eigenvalues above uses that hypothesis. If arbitrary chains are intended, define the spectral gap explicitly: the eigenvalue lower bound for total variation mixing works for complex eigenfunctions too, and proves the same assertion for or for , which is at least . No real ordering of complex eigenvalues is implicit.
For the requested counterexample take nonlazy simple random walk on the complete graph , . Let have every row equal to the uniform distribution on a finite set, and let . Then
Thus and : every fixed-level mixing time is eventually one. This is a bounded-time jump satisfying the ratio definition of cutoff. The ordinary spectral gap is and the absolute one is , so both products with tend to one, not infinity. The divergence assumption on is therefore essential under this convention.
Using part ii and symmetry of the simple random walk,
for . Thus .
Choose a spanning tree of , rooted at . A depth-first traversal of a tree gives a deterministic closed walk
that traverses each edge of once in each direction and visits every vertex. Define stopping times and
The simple random walk is at at time . All these hitting times have finite mean on the finite connected graph. By the Strong Markov property,
The cover time is no larger than . Grouping the summands by the two traversals of each tree edge and applying the commute time identity gives
The effective resistances are measured in the original graph, where each tree-edge pair is adjacent. Part (a) therefore bounds every summand by one, so
For the one-vertex graph, the cover time is zero and the same bound is immediate.
Use the usual implicit convention that the infinite connected graph is a locally finite graph. This is needed for the simple random walk and the finite wired constructions to be defined. Choose finite vertex sets exhausting , with each induced subgraph connected.
For the free uniform spanning forest, sample a uniform spanning tree of , using only the internal edges. Its limiting law on edge subsets of is the free uniform spanning forest measure:
The limit is weak convergence of probability measures on , equivalently convergence of every finite-edge event.
For the wired uniform spanning forest, form by identifying every vertex outside to one boundary vertex . Retain all edges with at least one endpoint in , preserve parallel edges, and discard loops at . Sample a uniform spanning tree of this finite multigraph and restrict it to the original internal edges. The limiting law is
For each fixed finite set of edges the restriction is unambiguous once is large. The standard exhaustion theorem guarantees that both limits exist and do not depend on the chosen connected exhaustion. Both are random spanning forests; despite their names, they need not be connected.
Fix a root . On a recurrent graph, a simple random walk started at any vertex hits almost surely. Run Wilson's algorithm with root : successively attach the loop-erased random walk from each new starting vertex, stopped when it hits the existing tree. Every walk terminates almost surely, because that tree already contains .
To compare the two finite approximations, fix a finite set of edges and put all their endpoints first in the ordering of starting vertices. In the infinite graph, these finitely many Wilson's algorithm walks have finite lengths almost surely. Their visited vertices, together with their neighbors, are therefore contained in for all sufficiently large on each realization.
Couple the walks in , in , and in using the same neighbor choices while they are in the interior of . On the event just described, they encounter neither boundary, so the walks, their chronological loop erasures, and the resulting partial trees agree. Once every endpoint of has entered the partial tree, later walks cannot add any edge of : they stop on their first hit of the existing tree. Thus the indicators of membership for all edges of agree in the free and wired uniform spanning trees, with probability tending to one.
The two limiting measures agree on every finite-edge event, and therefore
This argument also shows that the common uniform spanning forest is a single spanning tree on a recurrent graph. The equality refers to probability measures, not to independently sampled forests being identical.
Let be the probability that the simple random walk started at hits before zero. The first-step analysis recurrence and boundary conditions are
If , the characteristic equation of a linear recurrence has roots and , so the boundary conditions give
If , 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 as
For , , 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, .