Brownian motion are independent formula_45 random variables. This representation can be obtained using the Karhunen–Loève theorem. The Wiener process can be constructed as the scaling limit of a random walk, or other discrete-time stochastic processes with stationary independent increments. This is known as Donsker's theorem. Like the random walk, the Wiener process is recurrent in one or two dimensions (meaning that it returns almost surely to any fixed neighborhood of the origin infinitely often) whereas it is not recurrent in dimensions three and higher. Unlike the random walk, it is scale invariant. The time evolution of the position of the Brownian particle
Geometric Brownian motion above: formula_27. import numpy as np import pandas as pd import matplotlib.pyplot as plt mu=1 n=50 dt=0.1 x0=100 x=pd.DataFrame() np.random.seed(1) for sigma in np.arange(0.8,2,0.2): x.columns=np.arange(0.8,2,0.2) plt.plot(x) plt.legend(x.columns) plt.xlabel('t') plt.ylabel('X') plt.title('Realizations of Geometric Brownian Motion with different variances\n mu=1') plt.show() GBM can be extended to the case where there are multiple correlated price paths. Each price path follows the underlying process where the Wiener processes are correlated such that formula_31 where formula_32. For the multivariate case, this implies that Geometric Brownian motion is used to model stock prices in the Black–Scholes model and is the most widely used model of stock