Skip to main content

Random Walk and Brownian Motion

  • Chapter
  • First Online:
Computational Physics

Part of the book series: Graduate Texts in Physics ((GTP))

  • 158k Accesses

Abstract

Random walk processes are an important class of stochastic processes. They have many applications in physics, computer science, ecology, economics and other fields. A random walk is a sequence of successive random steps. In this chapter we study Markovian discrete time models. In one dimension the position of the walker after n steps approaches a Gaussian distribution, which does not depend on the distribution of the single steps. This follows from the central limit theorem and can be checked in a computer experiment. A 3-dimensional random walk provides a simple statistical model for the configuration of a biopolymer, the so called freely jointed chain model. In a computer experiment we generate random structures and calculate the gyration tensor, an experimentally observable quantity, which gives information on the shape of a polymer. Simulation of the dynamics is simplified if the fixed length segments of the freely jointed chain are replaced by Hookean springs. This is utilized in a computer experiment to study the dependence of the polymer extension on an applied external force (this effect is known as entropic elasticity). The random motion of a heavy particle in a bath of light particles, known as Brownian motion, can be described by Langevin dynamics, which replace the collisions with the light particles by an average friction force proportional to the velocity and a randomly fluctuating force with zero mean and infinitely short correlation time. In a computer experiment we study Brownian motion in a harmonic potential.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

eBook
USD 16.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 69.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info
Hardcover Book
USD 109.99
Price excludes VAT (USA)
  • Durable hardcover edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Notes

  1. 1.

    Different steps are independent.

  2. 2.

    A special case of the more general continuous time random walk with a waiting time distribution of \(P(\tau )=\delta (\tau -\varDelta t)\).

  3. 3.

    General random walk processes are characterized by a distribution function \(P(\mathbf {R},\mathbf {R}').\) Here we consider only correlated processes for which \(P(\mathbf {R},\mathbf {R}')=P(\mathbf {R}'-\mathbf {R})\).

  4. 4.

    For a 1-dimensional polymer \(\overline{\cos \theta _{i}}=0\) and \(\overline{(\cos \theta _{i})^{2}}=1.\) In two dimensions \(\overline{\cos \theta _{i}}=\frac{1}{\pi }\int _{0}^{\pi }\cos \theta \, d\theta =0\) and \(\overline{(\cos \theta _{i})^{2}}=\frac{1}{\pi }\int _{0}^{\pi }\cos ^{2}\theta \, d\theta =\frac{1}{2}\). To include these cases the factor 3 in the exponent of (17.33) should be replaced by the dimension d.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Philipp O. J. Scherer .

Problems

Problems

Problem 17.1 Random Walk in One Dimension

This program generates random walks with (a) fixed step length \(\varDelta x=\pm 1\) or (b) step length equally distributed over the interval \(-\sqrt{3}<\varDelta x<\sqrt{3}\). It also shows the variance, which for large number of walks approaches \(\sigma =\sqrt{n}\). See also Fig. 17.2

Problem 17.2 Gyration Tensor

The program calculates random walks with M steps of length b. The bond vectors are generated from M random points \(\mathbf {e}_{i}\) on the unit sphere as \(\mathbf {b}_{i}=b\mathbf {e}_{i}\). End to end distance, center of gravity and gyration radius are calculated and can be averaged over numerous random structures. The gyration tensor (Sect. 17.3.2) is diagonalized and the ordered eigenvalues are averaged.

Problem 17.3 Brownian Motion in a Harmonic Potential

The program simulates a particle in a 1-dimensional harmonic potential

$$\begin{aligned} U(\mathbf {x})=\frac{f}{2}x^{2}-\kappa x \end{aligned}$$
(17.66)

where \(\kappa \) is an external force . We use the improved Euler method (13.36). First the coordinate and the velocity at mid time are estimated

$$\begin{aligned} \mathbf {x}\left( t_{n}+\frac{\varDelta t}{2}\right) =\mathbf {x}(t_{n})+\mathbf {v}(t_{n})\frac{\varDelta t}{2} \end{aligned}$$
(17.67)
$$\begin{aligned} \mathbf {v}\left( t_{n}+\frac{\varDelta t}{2}\right) =\mathbf {v}(t_{n})-\gamma \mathbf {v}(t_{n})\frac{\varDelta t}{2}+\frac{\mathbf {F}_{n}}{m}\frac{\varDelta t}{2}-\frac{f}{m}\mathbf {x}(t_{n})\frac{\varDelta t}{2} \end{aligned}$$
(17.68)

where \(\mathbf {F}_{n}\) is a random number obeying (17.65). Then the values at \(t_{n+1}\) are calculated as

$$\begin{aligned} \mathbf {x}(t_{n}+\varDelta t)=\mathbf {x}(t_{n})+\mathbf {v}\left( t_{n}+\frac{\varDelta t}{2}\right) \varDelta t \end{aligned}$$
(17.69)
$$\begin{aligned} \mathbf {v}(t_{n}+\varDelta t)=\mathbf {v}(t_{n})-\gamma \mathbf {v}\left( t_{n}+\frac{\varDelta t}{2}\right) \varDelta t+\frac{\mathbf {F}_{n}}{m}\varDelta t-\frac{f}{m}\mathbf {x}\left( t_{n}+\frac{\varDelta t}{2}\right) \varDelta t. \end{aligned}$$
(17.70)

Problem 17.4 Force Extension Relation

The program simulates a chain of springs Sect. 17.3.3 with potential energy

$$\begin{aligned} U=\frac{f}{2}\sum \left( |\mathbf {b}_{i}|-b\right) ^{2}-\varvec{\kappa }\mathbf {R}_{M}. \end{aligned}$$
(17.71)

The force can be varied and the extension along the force direction is averaged over numerous time steps.

Rights and permissions

Reprints and permissions

Copyright information

© 2017 Springer International Publishing AG

About this chapter

Cite this chapter

Scherer, P.O.J. (2017). Random Walk and Brownian Motion. In: Computational Physics. Graduate Texts in Physics. Springer, Cham. https://doi.org/10.1007/978-3-319-61088-7_17

Download citation

Publish with us

Policies and ethics