# Random walk

__: Mathematical formalization of a path that consists of a succession of random steps__

**Short description**Part of a series on statistics |

Probability theory |
---|

In mathematics, a **random walk** is a random process that describes a path that consists of a succession of random steps on some mathematical space.

An elementary example of a random walk is the random walk on the integer number line [math]\displaystyle{ \mathbb Z }[/math] which starts at 0, and at each step moves +1 or −1 with equal probability. Other examples include the path traced by a molecule as it travels in a liquid or a gas (see Brownian motion), the search path of a foraging animal, or the price of a fluctuating stock and the financial status of a gambler. Random walks have applications to engineering and many scientific fields including ecology, psychology, computer science, physics, chemistry, biology, economics, and sociology. The term *random walk* was first introduced by Karl Pearson in 1905.^{[1]}

## Lattice random walk

A popular random walk model is that of a random walk on a regular lattice, where at each step the location jumps to another site according to some probability distribution. In a *simple random walk*, the location can only jump to neighboring sites of the lattice, forming a lattice path. In a *simple symmetric random walk* on a locally finite lattice, the probabilities of the location jumping to each one of its immediate neighbors are the same. The best-studied example is of random walk on the *d*-dimensional integer lattice (sometimes called the hypercubic lattice) [math]\displaystyle{ \mathbb Z^d }[/math].^{[2]}

If the state space is limited to finite dimensions, the random walk model is called a *simple bordered symmetric random walk*, and the transition probabilities depend on the location of the state because on margin and corner states the movement is limited.^{[3]}

### One-dimensional random walk

An elementary example of a random walk is the random walk on the integer number line, [math]\displaystyle{ \Z }[/math], which starts at 0 and at each step moves +1 or −1 with equal probability.

This walk can be illustrated as follows. A marker is placed at zero on the number line, and a fair coin is flipped. If it lands on heads, the marker is moved one unit to the right. If it lands on tails, the marker is moved one unit to the left. After five flips, the marker could now be on -5, -3, -1, 1, 3, 5. With five flips, three heads and two tails, in any order, it will land on 1. There are 10 ways of landing on 1 (by flipping three heads and two tails), 10 ways of landing on −1 (by flipping three tails and two heads), 5 ways of landing on 3 (by flipping four heads and one tail), 5 ways of landing on −3 (by flipping four tails and one head), 1 way of landing on 5 (by flipping five heads), and 1 way of landing on −5 (by flipping five tails). See the figure below for an illustration of the possible outcomes of 5 flips.

To define this walk formally, take independent random variables [math]\displaystyle{ Z_1, Z_2,\dots }[/math], where each variable is either 1 or −1, with a 50% probability for either value, and set [math]\displaystyle{ S_0 = 0 }[/math] and [math]\displaystyle{ S_n = \sum_{j=1}^n Z_j. }[/math] The series [math]\displaystyle{ \{S_n\} }[/math] is called the *simple random walk on [math]\displaystyle{ \Z }[/math]*. This series (the sum of the sequence of −1s and 1s) gives the net distance walked, if each part of the walk is of length one.
The expectation [math]\displaystyle{ E(S_n) }[/math] of [math]\displaystyle{ S_n }[/math] is zero. That is, the mean of all coin flips approaches zero as the number of flips increases. This follows by the finite additivity property of expectation:
[math]\displaystyle{ E(S_n)=\sum_{j=1}^n E(Z_j)=0. }[/math]

A similar calculation, using the independence of the random variables and the fact that [math]\displaystyle{ E(Z_n^2)=1 }[/math], shows that: [math]\displaystyle{ E(S_n^2)=\sum_{i=1}^n E(Z_i^2)+2\sum_{1 \le i \lt j \le n}E(Z_i Z_j)=n. }[/math]

This hints that [math]\displaystyle{ E(|S_n|)\,\! }[/math], the expected translation distance after *n* steps, should be of the order of [math]\displaystyle{ \sqrt n }[/math]. In fact,^{[4]}
[math]\displaystyle{ \lim_{n\to\infty} \frac{E(|S_n|)}{\sqrt n}= \sqrt{\frac {2}{\pi}}. }[/math]

This result shows that diffusion is ineffective for mixing because of the way the square root behaves for large [math]\displaystyle{ N }[/math].

To answer the question of how many times will a random walk cross a boundary line if permitted to continue walking forever, a simple random walk on [math]\displaystyle{ \mathbb Z }[/math] will cross every point an infinite number of times. This result has many names: the *level-crossing phenomenon*, *recurrence* or the *gambler's ruin*. The reason for the last name is as follows: a gambler with a finite amount of money will eventually lose when playing *a fair game* against a bank with an infinite amount of money. The gambler's money will perform a random walk, and it will reach zero at some point, and the game will be over.

If *a* and *b* are positive integers, then the expected number of steps until a one-dimensional simple random walk starting at 0 first hits *b* or −*a* is *ab*. The probability that this walk will hit *b* before −*a* is [math]\displaystyle{ a/(a+b) }[/math], which can be derived from the fact that simple random walk is a martingale. And these expectations and hitting probabilities can be computed in [math]\displaystyle{ O(a+b) }[/math] in the general one-dimensional random walk Markov chain.

Some of the results mentioned above can be derived from properties of Pascal's triangle. The number of different walks of *n* steps where each step is +1 or −1 is 2^{n}. For the simple random walk, each of these walks is equally likely.
In order for *S _{n}* to be equal to a number

*k*it is necessary and sufficient that the number of +1 in the walk exceeds those of −1 by

*k*. It follows +1 must appear (

*n*+

*k*)/2 times among

*n*steps of a walk, hence the number of walks which satisfy [math]\displaystyle{ S_n=k }[/math] equals the number of ways of choosing (

*n*+

*k*)/2 elements from an

*n*element set,

^{[5]}denoted [math]\displaystyle{ n \choose (n+k)/2 }[/math]. For this to have meaning, it is necessary that

*n*+

*k*be an even number, which implies

*n*and

*k*are either both even or both odd. Therefore, the probability that [math]\displaystyle{ S_n=k }[/math] is equal to [math]\displaystyle{ 2^{-n}{n\choose (n+k)/2} }[/math]. By representing entries of Pascal's triangle in terms of factorials and using Stirling's formula, one can obtain good estimates for these probabilities for large values of [math]\displaystyle{ n }[/math].

If space is confined to [math]\displaystyle{ \mathbb Z }[/math]+ for brevity, the number of ways in which a random walk will land on any given number having five flips can be shown as {0,5,0,4,0,1}.

This relation with Pascal's triangle is demonstrated for small values of *n*. At zero turns, the only possibility will be to remain at zero. However, at one turn, there is one chance of landing on −1 or one chance of landing on 1. At two turns, a marker at 1 could move to 2 or back to zero. A marker at −1, could move to −2 or back to zero. Therefore, there is one chance of landing on −2, two chances of landing on zero, and one chance of landing on 2.

k | −5 | −4 | −3 | −2 | −1 | 0 | 1 | 2 | 3 | 4 | 5 |
---|---|---|---|---|---|---|---|---|---|---|---|

[math]\displaystyle{ P[S_0=k] }[/math] | 1 | ||||||||||

[math]\displaystyle{ 2P[S_1=k] }[/math] | 1 | 1 | |||||||||

[math]\displaystyle{ 2^2P[S_2=k] }[/math] | 1 | 2 | 1 | ||||||||

[math]\displaystyle{ 2^3P[S_3=k] }[/math] | 1 | 3 | 3 | 1 | |||||||

[math]\displaystyle{ 2^4P[S_4=k] }[/math] | 1 | 4 | 6 | 4 | 1 | ||||||

[math]\displaystyle{ 2^5P[S_5=k] }[/math] | 1 | 5 | 10 | 10 | 5 | 1 |

The central limit theorem and the law of the iterated logarithm describe important aspects of the behavior of simple random walks on [math]\displaystyle{ \mathbb Z }[/math]. In particular, the former entails that as *n* increases, the probabilities (proportional to the numbers in each row) approach a normal distribution.

As a direct generalization, one can consider random walks on crystal lattices (infinite-fold abelian covering graphs over finite graphs). Actually it is possible to establish the central limit theorem and large deviation theorem in this setting.^{[6]}^{[7]}

#### As a Markov chain

A one-dimensional *random walk* can also be looked at as a Markov chain whose state space is given by the integers [math]\displaystyle{ i=0,\pm 1,\pm 2,\dots . }[/math] For some number *p* satisfying [math]\displaystyle{ \,0 \lt p \lt 1 }[/math], the transition probabilities (the probability *P _{i,j}* of moving from state

*i*to state

*j*) are given by [math]\displaystyle{ \,P_{i,i+1}=p=1-P_{i,i-1}. }[/math]

#### Heterogeneous generalization

### Higher dimensions

In higher dimensions, the set of randomly walked points has interesting geometric properties. In fact, one gets a discrete fractal, that is, a set which exhibits stochastic self-similarity on large scales. On small scales, one can observe "jaggedness" resulting from the grid on which the walk is performed. The trajectory of a random walk is the collection of points visited, considered as a set with disregard to *when* the walk arrived at the point. In one dimension, the trajectory is simply all points between the minimum height and the maximum height the walk achieved (both are, on average, on the order of [math]\displaystyle{ \sqrt{n} }[/math]).

To visualize the two-dimensional case, one can imagine a person walking randomly around a city. The city is effectively infinite and arranged in a square grid of sidewalks. At every intersection, the person randomly chooses one of the four possible routes (including the one originally travelled from). Formally, this is a random walk on the set of all points in the plane with integer coordinates.

To answer the question of the person ever getting back to the original starting point of the walk, this is the 2-dimensional equivalent of the level-crossing problem discussed above. In 1921 George Pólya proved that the person almost surely would in a 2-dimensional random walk, but for 3 dimensions or higher, the probability of returning to the origin decreases as the number of dimensions increases. In 3 dimensions, the probability decreases to roughly 34%.^{[8]} The mathematician Shizuo Kakutani was known to refer to this result with the following quote: "A drunk man will find his way home, but a drunk bird may get lost forever".^{[9]}

Another variation of this question which was also asked by Pólya is: "if two people leave the same starting point, then will they ever meet again?"^{[10]} It can be shown that the difference between their locations (two independent random walks) is also a simple random walk, so they almost surely meet again in a 2-dimensional walk, but for 3 dimensions and higher the probability decreases with the number of the dimensions. Paul Erdős and Samuel James Taylor also showed in 1960 that for dimensions less or equal than 4, two independent random walks starting from any two given points have infinitely many intersections almost surely, but for dimensions higher than 5, they almost surely intersect only finitely often.^{[11]}

The asymptotic function for a two-dimensional random walk as the number of steps increases is given by a Rayleigh distribution. The probability distribution is a function of the radius from the origin and the step length is constant for each step.

[math]\displaystyle{ P(r) = \frac{2r}{N} e^{-r^2/N} }[/math]

### Relation to Wiener process

A Wiener process is a stochastic process with similar behavior to Brownian motion, the physical phenomenon of a minute particle diffusing in a fluid. (Sometimes the Wiener process is called "Brownian motion", although this is strictly speaking a confusion of a model with the phenomenon being modeled.)

A Wiener process is the scaling limit of random walk in dimension 1. This means that if there is a random walk with very small steps, there is an approximation to a Wiener process (and, less accurately, to Brownian motion). To be more precise, if the step size is ε, one needs to take a walk of length *L*/ε^{2} to approximate a Wiener length of *L*. As the step size tends to 0 (and the number of steps increases proportionally), random walk converges to a Wiener process in an appropriate sense. Formally, if *B* is the space of all paths of length *L* with the maximum topology, and if *M* is the space of measure over *B* with the norm topology, then the convergence is in the space *M*. Similarly, a Wiener process in several dimensions is the scaling limit of random walk in the same number of dimensions.

A random walk is a discrete fractal (a function with integer dimensions; 1, 2, ...), but a Wiener process trajectory is a true fractal, and there is a connection between the two. For example, take a random walk until it hits a circle of radius *r* times the step length. The average number of steps it performs is *r*^{2}. This fact is the *discrete version* of the fact that a Wiener process walk is a fractal of Hausdorff dimension 2.

In two dimensions, the average number of points the same random walk has on the *boundary* of its trajectory is *r*^{4/3}. This corresponds to the fact that the boundary of the trajectory of a Wiener process is a fractal of dimension 4/3, a fact predicted by Mandelbrot using simulations but proved only in 2000
by Lawler, Schramm and Werner.^{[12]}

A Wiener process enjoys many symmetries a random walk does not. For example, a Wiener process walk is invariant to rotations, but the random walk is not, since the underlying grid is not (random walk is invariant to rotations by 90 degrees, but Wiener processes are invariant to rotations by, for example, 17 degrees too). This means that in many cases, problems on a random walk are easier to solve by translating them to a Wiener process, solving the problem there, and then translating back. On the other hand, some problems are easier to solve with random walks due to its discrete nature.

Random walk and Wiener process can be *coupled*, namely manifested on the same probability space in a dependent way that forces them to be quite close. The simplest such coupling is the Skorokhod embedding, but there exist more precise couplings, such as Komlós–Major–Tusnády approximation theorem.

The convergence of a random walk toward the Wiener process is controlled by the central limit theorem, and by Donsker's theorem. For a particle in a known fixed position at *t* = 0, the central limit theorem tells us that after a large number of independent steps in the random walk, the walker's position is distributed according to a normal distribution of total variance:

[math]\displaystyle{ \sigma^2 = \frac{t}{\delta t}\,\varepsilon^2, }[/math]

where *t* is the time elapsed since the start of the random walk, [math]\displaystyle{ \varepsilon }[/math] is the size of a step of the random walk, and [math]\displaystyle{ \delta t }[/math] is the time elapsed between two successive steps.

This corresponds to the Green's function of the diffusion equation that controls the Wiener process, which suggests that, after a large number of steps, the random walk converges toward a Wiener process.

In 3D, the variance corresponding to the Green's function of the diffusion equation is: [math]\displaystyle{ \sigma^2 = 6\,D\,t. }[/math]

By equalizing this quantity with the variance associated to the position of the random walker, one obtains the equivalent diffusion coefficient to be considered for the asymptotic Wiener process toward which the random walk converges after a large number of steps: [math]\displaystyle{ D = \frac{\varepsilon^2}{6 \delta t} }[/math] (valid only in 3D).

The two expressions of the variance above correspond to the distribution associated to the vector [math]\displaystyle{ \vec R }[/math] that links the two ends of the random walk, in 3D. The variance associated to each component [math]\displaystyle{ R_x }[/math], [math]\displaystyle{ R_y }[/math] or [math]\displaystyle{ R_z }[/math] is only one third of this value (still in 3D).

For 2D:^{[13]}

[math]\displaystyle{ D = \frac{\varepsilon^2}{4 \delta t}. }[/math]

For 1D:^{[14]}

[math]\displaystyle{ D = \frac{\varepsilon^2}{2 \delta t}. }[/math]

## Gaussian random walk

A random walk having a step size that varies according to a normal distribution is used as a model for real-world time series data such as financial markets. The Black–Scholes formula for modeling option prices, for example, uses a Gaussian random walk as an underlying assumption.

Here, the step size is the inverse cumulative normal distribution [math]\displaystyle{ \Phi^{-1}(z,\mu,\sigma) }[/math] where 0 ≤ *z* ≤ 1 is a uniformly distributed random number, and μ and σ are the mean and standard deviations of the normal distribution, respectively.

If μ is nonzero, the random walk will vary about a linear trend. If v_{s} is the starting value of the random walk, the expected value after *n* steps will be v_{s} + *n*μ.

For the special case where μ is equal to zero, after *n* steps, the translation distance's probability distribution is given by *N*(0, *n*σ^{2}), where *N*() is the notation for the normal distribution, *n* is the number of steps, and σ is from the inverse cumulative normal distribution as given above.

Proof: The Gaussian random walk can be thought of as the sum of a sequence of independent and identically distributed random variables, X_{i} from the inverse cumulative normal distribution with mean equal zero and σ of the original inverse cumulative normal distribution:
[math]\displaystyle{ Z = \sum_{i=0}^n {X_i}, }[/math]

but we have the distribution for the sum of two independent normally distributed random variables, *Z* = *X* + *Y*, is given by
[math]\displaystyle{ \mathcal{N}(\mu_X + \mu_Y, \sigma_X^2 + \sigma_Y^2) }[/math] (see here).

In our case, μ_{X} = μ_{Y} = 0 and σ^{2}_{X} = σ^{2}_{Y} = σ^{2} yield
[math]\displaystyle{ \mathcal{N}(0, 2\sigma^2) }[/math]
By induction, for *n* steps we have
[math]\displaystyle{ Z \sim \mathcal{N}(0, n \sigma^2). }[/math]
For steps distributed according to any distribution with zero mean and a finite variance (not necessarily just a normal distribution), the root mean square translation distance after *n* steps is
[math]\displaystyle{ \sqrt{E|S_n^2|} = \sigma \sqrt{n}. }[/math]

But for the Gaussian random walk, this is just the standard deviation of the translation distance's distribution after *n* steps. Hence, if μ is equal to zero, and since the root mean square(RMS) translation distance is one standard deviation, there is 68.27% probability that the RMS translation distance after *n* steps will fall between [math]\displaystyle{ \pm \sigma \sqrt{n} }[/math]. Likewise, there is 50% probability that the translation distance after *n* steps will fall between [math]\displaystyle{ \pm 0.6745 \sigma \sqrt{n} }[/math].

### Number of distinct sites

The number of distinct sites visited by a single random walker [math]\displaystyle{ S(t) }[/math] has been studied extensively for square and cubic lattices and for fractals.^{[15]}^{[16]} This quantity is useful for the analysis of problems of trapping and kinetic reactions. It is also related to the vibrational density of states,^{[17]}^{[18]} diffusion reactions processes^{[19]}
and spread of populations in ecology.^{[20]}^{[21]}

### Information rate

The information rate of a Gaussian random walk with respect to the squared error distance, i.e. its quadratic rate distortion function, is given parametrically by^{[22]}
[math]\displaystyle{ R(D_\theta) = \frac{1}{2} \int_0^1 \max\{0, \log_2\left(S(\varphi)/\theta \right) \} \, d\varphi, }[/math]
[math]\displaystyle{ D_\theta = \int_0^1 \min\{S(\varphi),\theta\} \, d\varphi, }[/math]
where [math]\displaystyle{ S(\varphi) = \left(2 \sin (\pi \varphi/2) \right)^{-2} }[/math]. Therefore, it is impossible to encode [math]\displaystyle{ {\{Z_n\}_{n=1}^N} }[/math] using a binary code of less than [math]\displaystyle{ NR(D_\theta) }[/math] bits and recover it with expected mean squared error less than [math]\displaystyle{ D_\theta }[/math]. On the other hand, for any [math]\displaystyle{ \varepsilon\gt 0 }[/math], there exists an [math]\displaystyle{ N \in \mathbb N }[/math] large enough and a binary code of no more than [math]\displaystyle{ 2^{N R(D_{\theta})} }[/math] distinct elements such that the expected mean squared error in recovering [math]\displaystyle{ {\{Z_n\}_{n=1}^N} }[/math] from this code is at most [math]\displaystyle{ D_\theta - \varepsilon }[/math].

## Applications

As mentioned the range of natural phenomena which have been subject to attempts at description by some flavour of random walks is considerable, particularly in physics^{[23]}^{[24]} and chemistry,^{[25]} materials science,^{[26]}^{[27]} and biology.^{[28]} ^{[29]}^{[30]} The following are some specific applications of random walks:

- In financial economics, the random walk hypothesis is used to model shares prices and other factors.
^{[31]}Empirical studies found some deviations from this theoretical model, especially in short term and long term correlations. See share prices. - In population genetics, random walk describes the statistical properties of genetic drift
- In physics, random walks are used as simplified models of physical Brownian motion and diffusion such as the random movement of molecules in liquids and gases. See for example diffusion-limited aggregation. Also in physics, random walks and some of the self interacting walks play a role in quantum field theory.
- In mathematical ecology, random walks are used to describe individual animal movements, to empirically support processes of biodiffusion, and occasionally to model population dynamics.
- In polymer physics, random walk describes an ideal chain. It is the simplest model to study polymers.
^{[32]} - In other fields of mathematics, random walk is used to calculate solutions to Laplace's equation, to estimate the harmonic measure, and for various constructions in analysis and combinatorics.
- In computer science, random walks are used to estimate the size of the Web.
^{[33]} - In image segmentation, random walks are used to determine the labels (i.e., "object" or "background") to associate with each pixel.
^{[34]}This algorithm is typically referred to as the random walker segmentation algorithm.

- In brain research, random walks and reinforced random walks are used to model cascades of neuron firing in the brain.
- In vision science, ocular drift tends to behave like a random walk.
^{[35]}According to some authors, fixational eye movements in general are also well described by a random walk.^{[36]} - In psychology, random walks explain accurately the relation between the time needed to make a decision and the probability that a certain decision will be made.
^{[37]} - Random walks can be used to sample from a state space which is unknown or very large, for example to pick a random page off the internet. In computer science, this method is known as Markov Chain Monte Carlo (MCMC).

- In wireless networking, a random walk is used to model node movement.
- Motile bacteria engage in a biased random walks.
^{[38]} - In physics, random walks underlie the method of Fermi estimation.
- On the web, the Twitter website uses random walks to make suggestions of whom to follow
^{[39]} - Dave Bayer and Persi Diaconis have proven that 7 riffle shuffles are enough to mix a pack of cards (see more details under shuffle). This result translates to a statement about random walk on the symmetric group which is what they prove, with a crucial use of the group structure via Fourier analysis.

## Variants

A number of types of stochastic processes have been considered that are similar to the pure random walks but where the simple structure is allowed to be more generalized. The *pure* structure can be characterized by the steps being defined by independent and identically distributed random variables. Random walks can take place on a variety of spaces, such as graphs, the integers, the real line, the plane or higher-dimensional vector spaces, on curved surfaces or higher-dimensional Riemannian manifolds, and on groups. It is also possible to define random walks which take their steps at random times, and in that case, the position X_{t} has to be defined for all times *t* ∈ [0, +∞). Specific cases or limits of random walks include the Lévy flight and diffusion models such as Brownian motion.

### On graphs

A random walk of length *k* on a possibly infinite graph *G* with a root *0* is a stochastic process with random variables [math]\displaystyle{ X_1,X_2,\dots,X_k }[/math] such that [math]\displaystyle{ X_1=0 }[/math] and
[math]\displaystyle{ {X_{i+1}} }[/math] is a vertex chosen uniformly at random from the neighbors of [math]\displaystyle{ X_i }[/math].
Then the number [math]\displaystyle{ p_{v,w,k}(G) }[/math] is the probability that a random walk of length *k* starting at *v* ends at *w*.
In particular, if *G* is a graph with root *0*, [math]\displaystyle{ p_{0,0,2k} }[/math] is the probability that a [math]\displaystyle{ 2k }[/math]-step random walk returns to *0*.

Building on the analogy from the earlier section on higher dimensions, assume now that our city is no longer a perfect square grid. When our person reaches a certain junction, he picks between the variously available roads with equal probability. Thus, if the junction has seven exits the person will go to each one with probability one-seventh. This is a random walk on a graph. Will our person reach his home? It turns out that under rather mild conditions, the answer is still yes,^{[40]} but depending on the graph, the answer to the variant question 'Will two persons meet again?' may not be that they meet infinitely often almost surely.^{[41]}

An example of a case where the person will reach his home almost surely is when the lengths of all the blocks are between *a* and *b* (where *a* and *b* are any two finite positive numbers). Notice that we do not assume that the graph is planar, i.e. the city may contain tunnels and bridges. One way to prove this result is using the connection to electrical networks. Take a map of the city and place a one ohm resistor on every block. Now measure the "resistance between a point and infinity". In other words, choose some number *R* and take all the points in the electrical network with distance bigger than *R* from our point and wire them together. This is now a finite electrical network, and we may measure the resistance from our point to the wired points. Take *R* to infinity. The limit is called the *resistance between a point and infinity*. It turns out that the following is true (an elementary proof can be found in the book by Doyle and Snell):

**Theorem**: *a graph is transient if and only if the resistance between a point and infinity is finite. It is not important which point is chosen if the graph is connected.*

In other words, in a transient system, one only needs to overcome a finite resistance to get to infinity from any point. In a recurrent system, the resistance from any point to infinity is infinite.

This characterization of transience and recurrence is very useful, and specifically it allows us to analyze the case of a city drawn in the plane with the distances bounded.

A random walk on a graph is a very special case of a Markov chain. Unlike a general Markov chain, random walk on a graph enjoys a property called *time symmetry* or *reversibility*. Roughly speaking, this property, also called the principle of detailed balance, means that the probabilities to traverse a given path in one direction or the other have a very simple connection between them (if the graph is regular, they are just equal). This property has important consequences.

Starting in the 1980s, much research has gone into connecting properties of the graph to random walks. In addition to the electrical network connection described above, there are important connections to isoperimetric inequalities, see more here, functional inequalities such as Sobolev and Poincaré inequalities and properties of solutions of Laplace's equation. A significant portion of this research was focused on Cayley graphs of finitely generated groups. In many cases these discrete results carry over to, or are derived from manifolds and Lie groups.

In the context of random graphs, particularly that of the Erdős–Rényi model, analytical results to some properties of random walkers have been obtained. These include the distribution of first^{[42]} and last hitting times^{[43]} of the walker, where the first hitting time is given by the first time the walker steps into a previously visited site of the graph, and the last hitting time corresponds the first time the walker cannot perform an additional move without revisiting a previously visited site.

A good reference for random walk on graphs is the online book by Aldous and Fill. For groups see the book of Woess. If the transition kernel [math]\displaystyle{ p(x,y) }[/math] is itself random (based on an environment [math]\displaystyle{ \omega }[/math]) then the random walk is called a "random walk in random environment". When the law of the random walk includes the randomness of [math]\displaystyle{ \omega }[/math], the law is called the annealed law; on the other hand, if [math]\displaystyle{ \omega }[/math] is seen as fixed, the law is called a quenched law. See the book of Hughes, the book of Revesz, or the lecture notes of Zeitouni.

We can think about choosing every possible edge with the same probability as maximizing uncertainty (entropy) locally. We could also do it globally – in maximal entropy random walk (MERW) we want all paths to be equally probable, or in other words: for every two vertexes, each path of given length is equally probable.^{[44]} This random walk has much stronger localization properties.

### Self-interacting random walks

There are a number of interesting models of random paths in which each step depends on the past in a complicated manner. All are more complex for solving analytically than the usual random walk; still, the behavior of any model of a random walker is obtainable using computers. Examples include:

- The self-avoiding walk.
^{[45]}

The self-avoiding walk of length *n* on [math]\displaystyle{ \mathbb{Z}^d }[/math] is the random *n*-step path which starts at the origin, makes transitions only between adjacent sites in [math]\displaystyle{ \mathbb{Z}^d }[/math], never revisit a site, and is chosen uniformly among all such paths. In two dimensions, due to self-trapping, a typical self-avoiding walk is very short,^{[46]} while in higher dimension it grows beyond all bounds.
This model has often been used in polymer physics (since the 1960s).

- The loop-erased random walk.
^{[47]}^{[48]} - The reinforced random walk.
^{[49]} - The exploration process.
- The multiagent random walk.
^{[50]}

### Biased random walks on graphs

### Maximal entropy random walk

Random walk chosen to maximize entropy rate, has much stronger localization properties.

Random walks where the direction of movement at one time is correlated with the direction of movement at the next time. It is used to model animal movements.^{[51]}^{[52]}

## See also

- Branching random walk
- Brownian motion
- Law of the iterated logarithm
- Lévy flight
- Lévy flight foraging hypothesis
- Loop-erased random walk
- Maximal entropy random walk
- Self-avoiding walk
- Unit root

## References

- ↑ Pearson, Karl (1905). "The Problem of the Random Walk".
*Nature***72**(1865): 294. doi:10.1038/072294b0. Bibcode: 1905Natur..72..294P. - ↑ Pal, Révész (1990)
*Random walk in random and nonrandom environments*, World Scientific - ↑ Kohls, Moritz; Hernandez, Tanja (2016).
*Expected Coverage of Random Walk Mobility Algorithm*. Bibcode: 2016arXiv161102861K. - ↑ "Random Walk-1-Dimensional – from Wolfram MathWorld". Mathworld.wolfram.com. 2000-04-26. http://mathworld.wolfram.com/RandomWalk1-Dimensional.html.
- ↑ Edward A. Codling et al, Random walk models in biology, Journal of the Royal Society Interface, 2008
- ↑ Kotani, M. and Sunada, T. (2003). "Spectral geometry of crystal lattices".
*Contemporary. Math.*. Contemporary Mathematics**338**: 271–305. doi:10.1090/conm/338/06077. ISBN 9780821833834. - ↑ Kotani, M. and Sunada, T. (2006). "Large deviation and the tangent cone at infinity of a crystal lattice".
*Math. Z.***254**(4): 837–870. doi:10.1007/s00209-006-0951-9. - ↑ "Pólya's Random Walk Constants". Mathworld.wolfram.com. http://mathworld.wolfram.com/PolyasRandomWalkConstants.html.
- ↑ Durrett, Rick (2010).
*Probability: Theory and Examples*. Cambridge University Press. pp. 191. ISBN 9781139491136. https://archive.org/details/probabilitytheor00rdur. - ↑ Pólya, George (1984).
*Probability; Combinatorics; Teaching and learning in mathematics*. Rota, Gian-Carlo, 1932-1999., Reynolds, M. C., Shortt, Rae Michael.. Cambridge, Mass.: MIT Press. pp. 582–585. ISBN 0-262-16097-8. OCLC 10208449. https://archive.org/details/collectedpapersp04plya. - ↑ Erdős, P.; Taylor, S. J. (1960). "Some intersection properties of random walk paths" (in en).
*Acta Mathematica Academiae Scientiarum Hungaricae***11**(3–4): 231–248. doi:10.1007/BF02020942. ISSN 0001-5954. - ↑ MacKenzie, D. (2000). "MATHEMATICS: Taking the Measure of the Wildest Dance on Earth".
*Science***290**(5498): 1883–4. doi:10.1126/science.290.5498.1883. PMID 17742050. (Erratum: doi:10.1126/science.291.5504.597) - ↑ Chapter 2 DIFFUSION. dartmouth.edu.
- ↑ Diffusion equation for the random walk. physics.uakron.edu.
- ↑ Weiss, George H.; Rubin, Robert J. (1982). "Random Walks: Theory and Selected Applications".
*Advances in Chemical Physics*.**52**. pp. 363–505. doi:10.1002/9780470142769.ch5. ISBN 9780470142769. - ↑ Blumen, A.; Klafter, J.; Zumofen, G. (1986). "Models for Reaction Dynamics in Glasses".
*Optical Spectroscopy of Glasses*. Physic and Chemistry of Materials with Low-Dimensional Structures.**1**. pp. 199–265. doi:10.1007/978-94-009-4650-7_5. ISBN 978-94-010-8566-3. Bibcode: 1986PCMLD...1..199B. - ↑ Alexander, S.; Orbach, R. (1982). "Density of states on fractals : " fractons "".
*Journal de Physique Lettres***43**(17): 625–631. doi:10.1051/jphyslet:019820043017062500. https://semanticscholar.org/paper/68d535511f6dcbf5776f1430e5816b99462ef989. - ↑ Rammal, R.; Toulouse, G. (1983). "Random walks on fractal structures and percolation clusters".
*Journal de Physique Lettres***44**(1): 13–22. doi:10.1051/jphyslet:0198300440101300. https://hal.archives-ouvertes.fr/jpa-00232136/document. - ↑ Smoluchowski, M.V. (1917). "Versuch einer mathematischen Theorie der Koagulationskinetik kolloider Lösungen".
*Z. Phys. Chem.*(29): 129–168.,Rice, S.A. (1 March 1985).*Diffusion-Limited Reactions*. Comprehensive Chemical Kinetics.**25**. Elsevier. ISBN 978-0-444-42354-2. https://books.google.com/books?id=sWiyspAjelsC&pg=PP2. Retrieved 13 August 2013. - ↑ Skellam, J. G. (1951). "Random Dispersal in Theoretical Populations".
*Biometrika***38**(1/2): 196–218. doi:10.2307/2332328. PMID 14848123. - ↑ Skellam, J. G. (1952). "Studies in Statistical Ecology: I. Spatial Pattern".
*Biometrika***39**(3/4): 346–362. doi:10.2307/2334030. - ↑ Berger, T. (1970). "Information rates of Wiener processes".
*IEEE Transactions on Information Theory***16**(2): 134–139. doi:10.1109/TIT.1970.1054423. - ↑ Risken H. (1984)
*The Fokker–Planck Equation*. Springer, Berlin. - ↑ De Gennes P. G. (1979)
*Scaling Concepts in Polymer Physics*. Cornell University Press, Ithaca and London. - ↑ Van Kampen N. G. (1992)
*Stochastic Processes in Physics and Chemistry*, revised and enlarged edition. North-Holland, Amsterdam. - ↑ Weiss, George H. (1994).
*Aspects and Applications of the Random Walk*. Random Materials and Processes. North-Holland Publishing Co., Amsterdam. ISBN 978-0-444-81606-1. - ↑ Doi M. and Edwards S. F. (1986)
*The Theory of Polymer Dynamics*. Clarendon Press, Oxford - ↑ Goel N. W. and Richter-Dyn N. (1974)
*Stochastic Models in Biology*. Academic Press, New York. - ↑ Redner S. (2001)
*A Guide to First-Passage Process*. Cambridge University Press, Cambridge, UK. - ↑ Cox D. R. (1962)
*Renewal Theory*. Methuen, London. - ↑ David A. Kodde and Hein Schreuder (1984), Forecasting Corporate Revenue and Profit: Time-Series Models versus Management and Analysts, Journal of Business Finance and Accounting, vol. 11, no 3, Autumn 1984
- ↑ Jones, R.A.L. (2004).
*Soft condensed matter*(Reprint. ed.). Oxford [u.a.]: Oxford Univ. Pr.. pp. 77–78. ISBN 978-0-19-850589-1. https://archive.org/details/softcondensedmat00jone. - ↑ Bar-Yossef, Ziv; Gurevich, Maxim (2008). "Random sampling from a search engine's index".
*Journal of the ACM*(Association for Computing Machinery (ACM))**55**(5): 1–74. doi:10.1145/1411509.1411514. ISSN 0004-5411. - ↑ Grady, L (2006). "Random walks for image segmentation".
*IEEE Transactions on Pattern Analysis and Machine Intelligence***28**(11): 1768–83. doi:10.1109/TPAMI.2006.233. PMID 17063682. http://cns-web.bu.edu/~lgrady/grady2006random.pdf. - ↑ Rucci, M; Victor, J. D. (2015). "The unsteady eye: An information-processing stage, not a bug".
*Trends in Neurosciences***38**(4): 195–206. doi:10.1016/j.tins.2015.01.005. PMID 25698649. - ↑ Engbert, R.; Mergenthaler, K.; Sinn, P.; Pikovsky, A. (2011). "An integrated model of fixational eye movements and microsaccades".
*Proceedings of the National Academy of Sciences***108**(39): E765-70. doi:10.1073/pnas.1102730108. PMID 21873243. Bibcode: 2011PNAS..108E.765E. - ↑ Nosofsky, R. M.; Palmeri, T. J. (1997). "An exemplar-based random walk model of speeded classification".
*Psychological Review***104**(2): 266–300. doi:10.1037/0033-295x.104.2.266. PMID 9127583. http://oz.ss.uci.edu/237/readings/EBRW_nosofsky_1997.pdf. - ↑ Codling, E. A; Plank, M. J; Benhamou, S. (6 August 2008). "Random walk models in biology".
*Journal of the Royal Society Interface***5**(25): 813–834. doi:10.1098/rsif.2008.0014. PMID 18426776. - ↑ Gupta, Pankaj et al. WTF: The who-to-follow system at Twitter, Proceedings of the 22nd international conference on World Wide Web
- ↑ It is interesting to remark that in a general graph the meeting of two independent random walkers does not always reduces to the problem of a single random walk returning to its starting point.
- ↑ Krishnapur, Manjunath; Peres, Yuval (2004). "Recurrent Graphs where Two Independent Random Walks Collide Finitely Often" (in en).
*Electronic Communications in Probability***9**: 72–81. doi:10.1214/ECP.v9-1111. ISSN 1083-589X. Bibcode: 2004math......6487K. https://projecteuclid.org/euclid.ecp/1464286688. - ↑ Tishby, Ido; Biham, Ofer; Katzav, Eytan (2017). "The distribution of first hitting times of randomwalks on Erdős–Rényi networks".
*Journal of Physics A: Mathematical and Theoretical***50**(11): 115001. doi:10.1088/1751-8121/aa5af3. Bibcode: 2017JPhA...50k5001T. - ↑ Tishby, Ido; Biham, Ofer; Katzav, Eytan (2016). "The distribution of path lengths of self avoiding walks on Erdős–Rényi networks".
*Journal of Physics A: Mathematical and Theoretical***49**(28): 285002. doi:10.1088/1751-8113/49/28/285002. Bibcode: 2016JPhA...49B5002T. - ↑ Burda, Z.; Duda, J.; Luck, J. M.; Waclaw, B. (2009). "Localization of the Maximal Entropy Random Walk".
*Physical Review Letters***102**(16): 160602. doi:10.1103/PhysRevLett.102.160602. PMID 19518691. Bibcode: 2009PhRvL.102p0602B. - ↑ Madras, Neal and Slade, Gordon (1996)
*The Self-Avoiding Walk*, Birkhäuser Boston. ISBN 0-8176-3891-1. - ↑ Hemmer, S.; Hemmer, P. C. (1984). "An average self-avoiding random walk on the square lattice lasts 71 steps".
*J. Chem. Phys.***81**(1): 584–585. doi:10.1063/1.447349. Bibcode: 1984JChPh..81..584H. - ↑ Lawler, Gregory (1996).
*Intersection of random walks*, Birkhäuser Boston. ISBN 0-8176-3892-X. - ↑ Lawler, Gregory
*Conformally Invariant Processes in the Plane*, book.ps. - ↑ Pemantle, Robin (2007). "A survey of random processes with reinforcement".
*Probability Surveys***4**: 1–79. doi:10.1214/07-PS094. http://www.emis.de/journals/PS/images/getdoc9b04.pdf?id=432&article=94&mode=pdf. - ↑ Alamgir, M and von Luxburg, U (2010). "Multi-agent random walks for local clustering on graphs",
*IEEE 10th International Conference on Data Mining (ICDM)*, pp. 18–27. - ↑ Bovet, Pierre; Benhamou, Simon (1988). "Spatial analysis of animals' movements using a correlated random walk model".
*Journal of Theoretical Biology***131**(4): 419–433. doi:10.1016/S0022-5193(88)80038-9. Bibcode: 1988JThBi.131..419B. - ↑ Kareiva, P.M.; Shigesada, N. (1983). "Analyzing insect movement as a correlated random walk".
*Oecologia***56**(2–3): 234–238. doi:10.1007/BF00379695. PMID 28310199. Bibcode: 1983Oecol..56..234K.

## Bibliography

- Aldous, David; Fill, James Allen (2002).
*Reversible Markov Chains and Random Walks on Graphs*. https://www.stat.berkeley.edu/~aldous/RWG/book.html. - Doyle, Peter G.; Snell, J. Laurie (1984).
*Random Walks and Electric Networks*. Carus Mathematical Monographs.**22**. Mathematical Association of America. ISBN 978-0-88385-024-4. - Feller, William (1968),
*An Introduction to Probability Theory and its Applications*(Volume 1). ISBN 0-471-25708-7 - Hughes, Barry D. (1996),
*Random Walks and Random Environments*, Oxford University Press. ISBN 0-19-853789-1 - Norris, James (1998),
*Markov Chains*, Cambridge University Press. ISBN 0-521-63396-6 - Pólya G.(1921), "Über eine Aufgabe der Wahrscheinlichkeitsrechnung betreffend die Irrfahrt im Strassennetz",
*Mathematische Annalen*, 84(1–2):149–160, March 1921. - Révész, Pal (2013),
*Random Walk in Random and Non-random Environments (Third Edition)*, World Scientific Pub Co. ISBN 978-981-4447-50-8 - Sunada, Toshikazu (2012).
*Topological Crystallography: With a View Towards Discrete Geometric Analysis*. Surveys and Tutorials in the Applied Mathematical Sciences.**6**. Springer. ISBN 978-4-431-54177-6. - Weiss G.
*Aspects and Applications of the Random Walk*, North-Holland, 1994. - Woess, Wolfgang (2000),
*Random Walks on Infinite Graphs and Groups*, Cambridge tracts in mathematics 138, Cambridge University Press. ISBN 0-521-55292-3

## External links

- Pólya's Random Walk Constants
- Random walk in Java Applet
- Quantum random walk
- Gaussian random walk estimator
- Electron Conductance Models Using Maximal Entropy Random Walks Wolfram Demonstrations Project

Original source: https://en.wikipedia.org/wiki/Random walk.
Read more |