Wiener Process

The Wiener process (also called Brownian motion) is a continuous-time stochastic process with the following properties:

  1. Increments are independent: is independent of for
  2. Increments are normally distributed:

Numerical Simulation

Discretise time with step . At each step draw and update:

This is the Euler-Maruyama scheme applied to (trivially).

Connection to Diffusion

The probability density function of is Gaussian with variance :

This is the solution to the Heat equation with diffusion coefficient and a delta-function initial condition .

Python

Python
Output

Random walks | Euler-Maruyama scheme | Ornstein-Uhlenbeck process | Heat equation | Stochastic differential equation