Lecture 3: From Random Walks to Continuum Diffusion

Similar documents
Lecture 13. Drunk Man Walks

Brownian motion and the Central Limit Theorem

Math 345 Intro to Math Biology Lecture 21: Diffusion

Simple math for a complex world: Random walks in biology and finance. Jake Hofman Physics Department Columbia University

Anomalous diffusion in biology: fractional Brownian motion, Lévy flights

This is a Gaussian probability centered around m = 0 (the most probable and mean position is the origin) and the mean square displacement m 2 = n,or

Chapter 3. Random Process & Partial Differential Equations

Time-Dependent Statistical Mechanics 1. Introduction

Decoherence and the Classical Limit

Lecture 25: Large Steps and Long Waiting Times

LANGEVIN THEORY OF BROWNIAN MOTION. Contents. 1 Langevin theory. 1 Langevin theory 1. 2 The Ornstein-Uhlenbeck process 8

Lecture 1: Random walk

CHAPTER V. Brownian motion. V.1 Langevin dynamics

The dynamics of small particles whose size is roughly 1 µmt or. smaller, in a fluid at room temperature, is extremely erratic, and is

Protein Dynamics, Allostery and Function

Lecture 3: Central Limit Theorem

Let's transfer our results for conditional probability for events into conditional probabilities for random variables.

Assignment 3: The Atomic Nature of Matter

Return probability on a lattice

Lecture 3: Central Limit Theorem

Brownian Motion and The Atomic Theory

4. The Green Kubo Relations

Physics 4488/6562: Statistical Mechanics Material for Week 2 Exercises due Monday Feb 5 Last

7 The Navier-Stokes Equations

1 Characteristic functions

From Random Numbers to Monte Carlo. Random Numbers, Random Walks, Diffusion, Monte Carlo integration, and all that

Physics of fusion power. Lecture 13 : Diffusion equation / transport

Anomalous Lévy diffusion: From the flight of an albatross to optical lattices. Eric Lutz Abteilung für Quantenphysik, Universität Ulm

Origins of Modern Physics

Diffusion of a density in a static fluid

Statistical Mechanics

1/f Fluctuations from the Microscopic Herding Model

Normal and Anomalous Diffusion: A Tutorial

Biased Random Walks in Biology

Continuum Limit of Forward Kolmogorov Equation Friday, March 06, :04 PM

Continuous and Discrete random process

Remember that the size of an atom is on the order of m

Lecture 4 Introduction to Quantum Mechanical Way of Thinking.

A Detailed Look at a Discrete Randomw Walk with Spatially Dependent Moments and Its Continuum Limit

ROBERT BROWN AND THE POLLEN STUFF

For one such collision, a new particle, "k", is formed of volume v k = v i + v j. The rate of formation of "k" particles is, N ij

Order of Magnitude Astrophysics - a.k.a. Astronomy 111. Photon Opacities in Matter

Local vs. Nonlocal Diffusions A Tale of Two Laplacians

Droplets and atoms. Benjamin Schumacher Department of Physics Kenyon College. Bright Horizons 35 (July, 2018)

Stochastic Integration (Simple Version)

Diffusion and cellular-level simulation. CS/CME/BioE/Biophys/BMI 279 Nov. 7 and 9, 2017 Ron Dror

BROWNIAN DYNAMICS SIMULATIONS WITH HYDRODYNAMICS. Abstract

A social-science approach. María Pereda Universidad de Burgos

The Proof and Illustration of the Central Limit Theorem by Brownian Numerical Experiments in Real Time within the Java Applet

Simulation of light scattering from Brownian particles

62 My God, He Plays Dice! Chapter 8. Specific Heat

Brownian motion 18.S995 - L03 & 04

From time series to superstatistics

Date: Tuesday, 18 February :00PM. Location: Museum of London

Brownian motion using video capture

Diffusion. CS/CME/BioE/Biophys/BMI 279 Nov. 15 and 20, 2016 Ron Dror

APERITIFS. Chapter Diffusion

t = no of steps of length s

Physics 127a: Class Notes

A Propagating Wave Packet The Group Velocity

The Truth about diffusion (in liquids)

1 Brownian motion and the Langevin equation

Non-equilibrium phase transitions

Lecture 6 Surface Diffusion Driven by Surface Energy

FI 3103 Quantum Physics

Lecture 11: Non-Equilibrium Statistical Physics

Introduction: the plague. The Scaling Laws Of Human Travel. Introduction: SARS (severe acute respiratory syndrom)

MILLlKAN S OIL DROP EXPERIMENT

Self-consistent particle tracking in a simulation of the entropy mode in a Z pinch

MD Thermodynamics. Lecture 12 3/26/18. Harvard SEAS AP 275 Atomistic Modeling of Materials Boris Kozinsky

Optics lab 2. Kai Beckwith. Laboratory date: Delivery date: Revision delivery date:

Twenty-six year old patent clerk in Bern, Switzerland

Smoluchowski Symposia: Why are we here?

Turbulence and Transport The Secrets of Magnetic Confinement

15 The coffee cup J Nonlinear Dynamics II: Continuum Systems Lecture 15 Spring 2015

Random walks. Marc R. Roussel Department of Chemistry and Biochemistry University of Lethbridge. March 18, 2009

Lecture 21: Physical Brownian Motion II

No Stable Distributions in Finance, please!

General Physics (PHY 2140)

II. Probability. II.A General Definitions

Physics 212: Statistical mechanics II Lecture XI

Non-equilibrium phenomena and fluctuation relations

EXPERIMENT 17. To Determine Avogadro s Number by Observations on Brownian Motion. Introduction

Lévy-VaR and the Protection of Banks and Insurance Companies. A joint work by. Olivier Le Courtois, Professor of Finance and Insurance.

7.2.1 Seismic waves. Waves in a mass- spring system

Modelling across different time and length scales

Particle Dynamics: Brownian Diffusion

Diffusion in the cell

Probability Theory and Simulation Methods

The X-ray spectra and the structure of the atoms

Stochastic Histories. Chapter Introduction

STOCHASTIC MODELS LECTURE 1 MARKOV CHAINS. Nan Chen MSc Program in Financial Engineering The Chinese University of Hong Kong (ShenZhen) Sept.

Langevin Equation Model for Brownian Motion

What s more chaotic than chaos itself? Brownian Motion - before, after, and beyond.

16. Working with the Langevin and Fokker-Planck equations

Time Evolution in Diffusion and Quantum Mechanics. Paul Hughes & Daniel Martin

Probability Methods in Civil Engineering Prof. Rajib Maity Department of Civil Engineering Indian Institute of Technology, Kharagpur

Brownian Motion and Langevin Equations

Lecture 2. Turbulent Flow

If we want to analyze experimental or simulated data we might encounter the following tasks:

Transcription:

Lecture 3: From Random Walks to Continuum Diffusion Martin Z. Bazant Department of Mathematics, MIT February 3, 6 Overview In the previous lecture (by Prof. Yip), we discussed how individual particles undergo complicated, apparently random motion, in a liquid or gas, which is termed diffusion. The same erratic motion due to collisions can be observed at the macroscopic scale in the so called Brownian motion of a dust particle in the air. A simulation of this phenomenon (java applet), shown in lecture, can be found at http://galileo.phys.virginia.edu/classes/9n/more_stuff/applets/brownian/brownian.html As this example illustrates, the phenomenon of diffusion can be simulated by molecular dynamics at the microscopic level, but it can also be modeled via simpler, more coarse grained levels of description, which is the subject of today s lecture. The simplest Monte Carlo (or probabalistic) model of diffusion is a random walk, where the particle is assumed to follow a trajectory of independent random displacements. We will show that after long times, the average behavior of a collection of random walkers is well described by the diffusion equation, which describes diffusion at the level of a continuum, which will be the focus of the next lecture (by Prof. Rosales). History The erratic motion of pollen grains in water viewed under a microscope, which seemed to carry on indefinitely, was first observed by Robert Brown in 87. It was not until 877 that Desaulx postulated that this Brownian motion was due to thermal collisions with liquid molecules. Of course, molecular dynamics simulations were not available to test this hypothesis, but a mathematical theory, based on the concept of a random walk, was about to emerge. The term random walk was originally proposed by Karl Pearson in 95. In a letter to Nature, he gave a simple model to describe a mosquito infestation in a forest. At each time step, a single mosquito moves a fixed length a, at a randomly chosen angle. Pearson wanted to know the distribution of the mosquitos after many steps had been taken. The letter was answered by Lord Rayleigh, who had already solved a more general form of this problem in 88, in the context of sound waves in heterogeneous materials. Modeling a sound See B. Hughes, Random Walks and Random Environments, Vol. I, Sec.. (Oxford, 995), for excerpts and an entertaining historical discussion.

.j/8.36j/... Introduction to Modeling and Simulation Lecture 3.3.5. N = N = 3 N = 5 N = PN (r).5..5 4 6 8 4 6 r Figure : Rayleigh s asymptotic approximation for large values of N. P N (r) in Pearson s random walk for several wave traveling through the material can be thought of as summing up a sequence of random wavevectors k of constant amplitude but random phase: sound waves in the material have roughly constant wavelength, but their directions are altered at scattering sites within the material. We wish to find the probability density function of the sound waves after many steps have been taken. We let P N (R)dR be the probability of traveling a distance between R and R + dr in N steps. For steps of unit length, Lord Rayleigh showed that as N, P N (R) R /N N e R. () This function is shown in figure for several values of N. We see R that the expected distance traveled scales according to the square root of the number of steps, N, which is typical of diffusion phenomena. Around the same time, the theory of random walks was also developed by Louis Bachelier in his truly remarkable doctoral thesis, La Théorie de la Sp eculation, published in 9. Bachelier proposed the random walk as the fundamental model for financial time series (e.g. stock ticks), many decades before this idea became the basis for modern theoretical finance. Bachelier also was apparently the first to see the connection between discrete random walks and the continuous diffusion (or heat) equation, which is a major theme of this class, reflected in its title. It is curious that in the same year as Pearson s letter, Albert Einstein also published his seminal paper on Brownian motion, which he modeled as a random walk, driven by collisions with gas molecules. Einstein did not seem to be aware of the related work of Rayleigh and Bachelier, and he focused on a different issue: the calculation of the diffusion coefficient in terms of the viscosity and temperature of the gas. Similar theoretical ideas were also published independently by Smoluchowski in 96. The random walk theory of Brownian motion had an enormous impact The impact was recognized by two Nobel Prizes, one to Einstein for the theory and another to Perrin for experimental confirmation.,

.j/8.36j/... Introduction to Modeling and Simulation Lecture 3 3.5 y.5.5 Frequency density.5.5.5.5 x Figure : The positions of independent Pearson random walks released from the ori gin, after N = steps of length a =....4.6.8..4.6 R Figure 3: A normalized histogram of the distances from the origin, R N, in Fig. compared to Rayleigh s asymptotic result, Eq. (). because it gave strong evidence for discrete particles ( atoms ) at a time when most scientists still believed that matter was a continuum. As its historical origins demonstrate, the concept of the random walk has incredibly broad applicability, and today, a century later, it is nearly ubiquitous in science and engineering. Simulations of Pearson s Random Walk 3 In lecture, a demo rr was shown of, particles undergoing Pearson s random walk in the plane. The demo shows the time evolution of the radial distribution, as well as the scaling of the variance of the radial distance with time (on a log log plot) to test the square root dependence (x t) discussed in the previous lecture on molecular diffusion. Results from similar simulations (by Chris Rycroft) in Fig. 3 demonstrate that Lord Rayleigh s result rather accurate in describing the distribution of walkers at long times, roughly beyond steps. It is impressive how the complicated collection of random walkers tends toward a simple, smooth distribution, at least in the central region. From Random Walks to Continuum Diffusion We now present a simple derivation of a generalization of Lord Rayleigh s result. (In class this derivation was done in d = dimension, but these notes consider the more general case of d.) The analysis proceeds by taking the continuum limit of long time statistics, which yields the classical partial differential equation for diffusion. Consider a random walker, who initially starts at the origin in d dimensions. At each step, the walker moves by an amount ΔX N, chosen from a probability distribution p N (r). For this derivation, which shall consider the case of independent, identically distributed (IID) steps, so that 3 Written in C++ by Bob Sumner with OpenGL graphics.

.j/8.36j/... Introduction to Modeling and Simulation Lecture 3 4 p N (r) = p(r). Furthermore, we shall assume that the steps are isotropic, so that p(r) is a function of the radial distance r = r only. This condition also automatically eliminates any drift, so that ΔX N =. Let X N be the position of the walker after N steps, and let P N (R) be the associated probability density function (PDF). For IID displacements, we have the following recursion for the PDF: P N + (R) = p(r)p N (R r) d d r. () In one dimension (d = ), this is Bachelier s Equation. The key assumption is the independence of the steps, which allows the probability of a transition from R r to R in the Nth step to be factored into the two terms in the integrand. Starting from Eq. (), we can formally take the continuum limit to quickly arrive at Rayleigh s solution () to Pearson s problem. In subsequent lectures we will gain a better understanding of this approximation, but here we just give simple arguments. As N, P N (r) varies on length scales which are much larger than a typical r, and therefore we Taylor expand inside the integral to obtain [ ] P N + (R) = p(r) P N (R) r P N (R) + r P N r +... d d r P N = P N (R) + r i r j +... Ri R j = P N (R) + r r P N (R) +.... d i We assume that steps are taken at intervals of Δt, and defining time by t = NΔt we obtain P r N + (R) P N (R) = P N +.... Δt dδt As N, the limiting distribution ρ(r, t), defined by P N (R) = ρ(r, NΔt), satisfies j ρ = D ρ t (3) where D = r /dδt, which is the diffusion equation. Since the walker starts from the origin, we have the initial condition ρ(r, ) = δ(r). In lecture, we simply quoted a basic exact solution to the diffusion equation (below), but in these notes we sketch a derivation (which requires some more advanced concepts). We make use of the Fourier Transform, defined for this class to be ρˆ(k, t) = e ik x ρ(x, t) d d x ρ(x, t) = e ik x ρˆ(k, t) d d k. (π) d Thus we obtain the ordinary differential equation ρˆ = Dk ρˆ t

.j/8.36j/... Introduction to Modeling and Simulation Lecture 3 5 which has solution Taking the inverse Fourier Transform gives t ρˆ(k, t) = e Dkt ρˆ(k, ) = e Dk. e R /4Dt ρ(r, t) =. (4πDt) d/ Thus in the corresponding discrete problem, as N, e dr / r N P N (R). (4) (π r d/ N/d) This is the long time limit of P N (R) for an isotropic random walk in d dimensions. The PDF for the position tends to a Gaussian (or normal) distribution, whose width depends only on the variance of the individual displacements. Our derivation predicts the same asymptotic result for any PDF so long as r exists. For an isotropic walk, we can easily calculate the PDF of the distance R from the origin via P N (R) = A d R d P N (R) where A d is the surface area of the unit sphere in d dimensions (A =, A = π, A 3 = 4π,...). For Pearson s problem, we have r = a and d =, so Equation (4) gives the asymptotic result: e R /a N P N (R) πa N P N (R) R e R /a N a N which agrees with Lord Rayleigh s solution, Eq. (), for a =. More General Situations This brief section supplements the lecture to mention more general situations of random walks and diffusion. For further reading (at a more advanced level), see the online notes for 8.366 RandomWalks and Diffusion, http://www.ocw.mit.edu/ocwweb/mathematics/8-366spring-5/coursehome/index.htm. Normal Diffusion As our simple derivation suggests, the statistical properties of random walks tend toward universal distributions after large numbers of steps. In the case of the PDF for the final position, our result for isotropic random walks is a multi dimensional generalization of the Central Limit Theorem (CLT) for sums of independent, identically distributed random variables. As long as a finite second moment r exists for the random displacements, the asymptotic form of P N (R) is given by Eq. (4), or, more generally, by a solution to the continuum diffusion equation. Note the square root scaling of the width of the PDF, which grows like R r N. which is characteristic of spreading by normal diffusion. More generally, we will see that the variance of the position is given by Var(R N ) = NVar( r). for independent, identically distributed random displacements.

.j/8.36j/... Introduction to Modeling and Simulation Lecture 3 6 y.5.5.4.4.3.3......5.4.3.......3.4.5 y x x Figure 4: Two thousand steps of a random Figure 5: Two thousand steps of Pearson s walk based on the Cauchy distribution. random walk, with a =.. Anomalous Diffusion When the assumptions of the CLT break down, random walks can exhibit rather different behavior. For example, the limiting distribution for the position may not be Gaussian, and the scaling of its width, R N ν, is generally anomalous with ν = /. The second part of this class is devoted to various cases of anomalous diffusion. One way to violate the CLT with IID displacements is via fat tailed probability distributions, which assign sufficient probability to very large steps that the variance is infinite. An example is PDF for a Cauchy random variable, b p(x) = π(b + x ). Since the probability density function decays like x as x, the variance is infinite. Figure 4 shows an example of a two dimensional, isotropic random walk, where the distances of the steps are chosen from a Cauchy distribution. We see that the walk mostly takes small steps, but occasionally makes very large jumps, comparable to the total displacement. This is rather different from the case of Pearson s walk, shown in Figure 5, where the step size is constant and normal diffusion occurs. Other ways to achieve anomalous diffusion include highly non uniform step distributions, strong correlations between steps, and interactions between multiple random walkers. In such cases, the continuum limit is more subtle and leads to various generalizations of the diffusion equation. In the next lecture (by Prof. Rosales), the diffusion equation will be derived by purely continuum arguments (Fick s Law) without any reference to particles undergoing random walks, but it is

.j/8.36j/... Introduction to Modeling and Simulation Lecture 3 7 helpful to always keep in mind the microscopic mechanism behind a continuum model. Following the continuum section of the class, we will return to random walks and related topics in a section on Monte Carlo simulation, which involves the random motion of discrete particles (or more general objects).