TOPICS
Search

2-Dimensional Random Walk


RandomWalk2D

A 2-dimensional random walk has steps in a plane. For the walk illustrated above, consider a sum of N two-dimensional vectors with random orientations. Use phasor notation, and let the phase of each vector be random. Assume N unit steps are taken in an arbitrary direction (i.e., with the angle theta uniformly distributed in [0,2pi) and not on a lattice), as illustrated above. The position z in the complex plane after N steps is then given by

 z=sum_(j=1)^Ne^(itheta_j),
(1)

which has absolute square

|z|^2=sum_(j=1)^(N)e^(itheta_j)sum_(k=1)^(N)e^(-itheta_k)
(2)
=sum_(j=1)^(N)sum_(k=1)^(N)e^(i(theta_j-theta_k))
(3)
=N+sum_(j,k=1; k!=j)^(N)e^(i(theta_j-theta_k)).
(4)

Therefore,

 <|z|^2>=N+<sum_(j,k=1; k!=j)^Ne^(i(theta_j-theta_k))>.
(5)

Each unit step is equally likely to be in any direction (theta_j and theta_k). The displacements are random variables with identical means of zero, and their difference is also a random variable. Averaging over this distribution, which has equally likely positive and negative values yields an expectation value of 0, so

 <|z|^2>=N.
(6)

The root-mean-square distance after N unit steps is therefore

 |z|_(rms)=sqrt(N),
(7)

so with a step size of l, this becomes

 d_(rms)=lsqrt(N).
(8)

In order to travel a distance d,

 N approx (d/l)^2
(9)

steps are therefore required.

RandomWalk2DLattice

The simple random walk on the square integer lattice Z^2 starts at the origin and chooses each of its four unit steps with probability 1/4, independently at each time. This walk reaches every lattice point with probability 1 and returns to the origin with probability 1 (McCrea and Whipple 1940).

Let T_r be the first time that every lattice point at distance less than r from the origin has been visited, where r>1. For every t>0, Dembo et al. (2004) proved the limiting distribution function

 lim_(r->infty)Pr(lnT_r<=t(lnr)^2)=e^(-4/t).
(10)

Thus the logarithm of the cover time has scale (lnr)^2.

The local time of a site at step n is the number of visits through step n, including the visit at time 0. Write M_n for the largest local time and F_n for the set of favorite sites, those attaining M_n. Dembo et al. (2001) proved that M_n/(lnn)^2->1/pi almost surely. Hao et al. (2026) proved that limsup_(n->infty)|F_n|=3 almost surely. Three sites tie for the maximum infinitely often, and at most three do so for all sufficiently large n.

While the maximum local time stays fixed, any favorite site remains a favorite site. For each positive maximum level attained through step n, all sites that were favorite at that level are therefore present at its last occurrence through step n. Apart from finitely many early levels, this counts at most three sites per level. Consequently the number of distinct sites that have ever been favorite by step n is O((lnn)^2) almost surely. Here O denotes big-O notation. These results address problems 1164, 1165, and 1166 in the Erdős problems collection.


See also

1-Dimensional Random Walk, 3-Dimensional Random Walk, Pólya's Random Walk Constants

Explore with Wolfram|Alpha

References

Dembo, A.; Peres, Y.; Rosen, J.; and Zeitouni, O. "Thick Points for Planar Brownian Motion and the Erdős-Taylor Conjecture on Random Walk." Acta Math. 186, 239-270, 2001. https://doi.org/10.1007/BF02401841.Dembo, A.; Peres, Y.; Rosen, J.; and Zeitouni, O. "Cover Times for Brownian Motion and Random Walks in Two Dimensions." Ann. Math. 160, 433-464, 2004. https://doi.org/10.4007/annals.2004.160.433.Hao, C.; Li, X.; Okada, I.; and Zheng, Y. "Favorite Sites for Simple Random Walk in Two and More Dimensions." Probab. Theory Relat. Fields 195, 1765-1822, 2026. https://doi.org/10.1007/s00440-025-01441-1.McCrea, W. H. and Whipple, F. J. W. "Random Paths in Two and Three Dimensions." Proc. Roy. Soc. Edinburgh 60, 281-298, 1940.

Cite this as:

Weisstein, Eric W. "2-Dimensional Random Walk." From MathWorld--A Wolfram Resource. https://mathworld.wolfram.com/2-DimensionalRandomWalk.html

Subject classifications