Geometric Brownian motion explained

A geometric Brownian motion (GBM) (also known as exponential Brownian motion) is a continuous-time stochastic process in which the logarithm of the randomly varying quantity follows a Brownian motion (also called a Wiener process) with drift.[1] It is an important example of stochastic processes satisfying a stochastic differential equation (SDE); in particular, it is used in mathematical finance to model stock prices in the Black–Scholes model.

Technical definition: the SDE

A stochastic process St is said to follow a GBM if it satisfies the following stochastic differential equation (SDE):

dSt=\muStdt+\sigmaStdWt

where

Wt

is a Wiener process or Brownian motion, and

\mu

('the percentage drift') and

\sigma

('the percentage volatility') are constants.

The former parameter is used to model deterministic trends, while the latter parameter models unpredictable events occurring during the motion.

Solving the SDE

For an arbitrary initial value S0 the above SDE has the analytic solution (under Itô's interpretation):

St=S0\exp\left(\left(\mu-

\sigma2
2

\right)t+\sigmaWt\right).

The derivation requires the use of Itô calculus. Applying Itô's formula leads to

d(lnSt)=(lnSt)'dSt+

1
2

(lnSt)''dStdSt =

dSt-
St
1
2
1
2
S
t

dStdSt

where

dStdSt

is the quadratic variation of the SDE.

dStdSt=\sigma2

2
S
t

d

2
W
t

+2\sigma

2
S
t

\mudWtdt+\mu2

2
S
t

dt2

When

dt\to0

,

dt

converges to 0 faster than

dWt

, since

d

2
W
t

=O(dt)

. So the above infinitesimal can be simplified by

dStdSt=\sigma2

2
S
t

dt

Plugging the value of

dSt

in the above equation and simplifying we obtain

ln

St
S0

=\left(\mu-

\sigma2
2

\right)t+\sigmaWt.

Taking the exponential and multiplying both sides by

S0

gives the solution claimed above.

Arithmetic Brownian Motion

The process for

Xt=ln

St
S0
, satisfying the SDE

dXt=\left(\mu-

\sigma2
2

\right)dt+\sigmadWt,

or more generally the process solving the SDE

dXt=mdt+vdWt,

where

m

and

v>0

are real constants and for an initial condition

X0

, is called an Arithmetic Brownian Motion (ABM). This was the model postulated by Louis Bachelier in 1900 for stock prices, in the first published attempt to model Brownian motion, known today as Bachelier model. As was shown above, the ABM SDE can be obtained through the logarithm of a GBM via Itô's formula. Similarly, a GBM can be obtained by exponentiation of an ABM through Itô's formula.

Properties of GBM

The above solution

St

(for any value of t) is a log-normally distributed random variable with expected value and variance given by

\operatorname{E}(St)=

\mut
S
0e

,

\operatorname{Var}(St)=

2e
S
0

2\mu\left(

\sigma2t
e

-1\right).

They can be derived using the fact that

Zt=\exp\left(\sigmaWt-

1
2

\sigma2t\right)

is a martingale, and that

\operatorname{E}\left[\exp\left(2\sigmaWt-\sigma2t\right)\midl{F}s\right]=

\sigma2(t-s)
e

\exp\left(2\sigmaWs-\sigma2s\right),\forall0\leqs<t.

The probability density function of

St

is:
f
St

(s;\mu,\sigma,t)=

1
\sqrt{2\pi
}\, \frac\, \exp \left(-\frac \right).To derive the probability density function for GBM, we must use the Fokker-Planck equation to evaluate the time evolution of the PDF:

{\partialp\over{\partialt}}+{\partial\over{\partialS}}[\mu(t,S)p(t,S)]={1\over{2}}{\partial2\over{\partialS2

}}[\sigma^{2}(t,S)p(t,S)], \quad p(0,S) = \delta(S)

where

\delta(S)

is the Dirac delta function. To simplify the computation, we may introduce a logarithmic transform

x=log(S/S0)

, leading to the form of GBM:

dx=\left(\mu-{1\over{2}}\sigma2\right)dt+\sigmadW

Then the equivalent Fokker-Planck equation for the evolution of the PDF becomes:

{\partialp\over{\partialt}}+\left(\mu-{1\over{2}}\sigma2\right){\partialp\over{\partialx}}={1\over{2}}\sigma2{\partial2p\over{\partialx2

}}, \quad p(0,x) = \delta(x)

Define

V=\mu-\sigma2/2

and

D=\sigma2/2

. By introducing the new variables

\xi=x-Vt

and

\tau=Dt

, the derivatives in the Fokker-Planck equation may be transformed as:

\begin{aligned}\partialtp&=D\partial\taup-V\partial\xip\\partialxp&=\partial\xip

2
\\partial
x

p&=

2
\partial
\xi

p\end{aligned}

Leading to the new form of the Fokker-Planck equation:

{\partialp\over{\partial\tau}}={\partial2p\over{\partial\xi2

}}, \quad p(0,\xi) = \delta(\xi)

However, this is the canonical form of the heat equation. which has the solution given by the heat kernel:

p(\tau,\xi)={1\over{\sqrt{4\pi\tau}}}\exp\left(-{\xi2\over{4\tau}}\right)

Plugging in the original variables leads to the PDF for GBM:

p(t,S)={1\over{S\sqrt{2\pi\sigma2t}}}\exp\left\{-{\left[log(S/S0)-\left(\mu-{1\over{2}}\sigma2\right)t\right]2\over{2\sigma2t}}\right\}

When deriving further properties of GBM, use can be made of the SDE of which GBM is the solution, or the explicit solution given above can be used. For example, consider the stochastic process log(St). This is an interesting process, because in the Black–Scholes model it is related to the log return of the stock price. Using Itô's lemma with f(S) = log(S) gives

\begin{alignat}{2} dlog(S)&=f'(S)dS+

1
2

f''(S)S2\sigma2dt\\[6pt] &=

1
S

\left(\sigmaSdWt+\muSdt\right)-

1
2

\sigma2dt\\[6pt] &=\sigmadWt+(\mu-\sigma2/2)dt. \end{alignat}

It follows that

\operatorname{E}log(St)=log(S

2/2)t
0)+(\mu-\sigma
.

This result can also be derived by applying the logarithm to the explicit solution of GBM:

\begin{alignat}{2} log(St)&=log\left(S0\exp\left(\left(\mu-

\sigma2
2

\right)t+\sigmaWt\right)\right)\\[6pt] &=log(S0)+\left(\mu-

\sigma2
2

\right)t+\sigmaWt. \end{alignat}

Taking the expectation yields the same result as above:

\operatorname{E}log(St)=log(S

2/2)t
0)+(\mu-\sigma
.

Simulating sample paths

  1. Python code for the plot

import numpy as npimport matplotlib.pyplot as plt

mu = 1n = 50dt = 0.1x0 = 100np.random.seed(1)

sigma = np.arange(0.8, 2, 0.2)

x = np.exp((mu - sigma ** 2 / 2) * dt + sigma * np.random.normal(0, np.sqrt(dt), size=(len(sigma), n)).T)x = np.vstack([np.ones(len(sigma)), x])x = x0 * x.cumprod(axis=0)

plt.plot(x)plt.legend(np.round(sigma, 2))plt.xlabel("$t$")plt.ylabel("$x$")plt.title("Realizations of Geometric Brownian Motion with different variances\n $\mu=1$")plt.show

Multivariate version

GBM can be extended to the case where there are multiple correlated price paths.[2]

Each price path follows the underlying process

i
dS
t

=\mui

idt
S
t

+\sigmai

i,
S
t

where the Wiener processes are correlated such that

i
\operatorname{E}(dW
t
j)
dW
t

=\rhoi,jdt

where

\rhoi,i=1

.

For the multivariate case, this implies that

i,
\operatorname{Cov}(S
t
j)
S
t

=

i
S
0
j
S
0
(\mui+\muj)t
e
\rhoi,j\sigmai\sigmajt
\left(e

-1\right).

A multivariate formulation that maintains the driving Brownian motions

i
W
t
independent is
i
dS
t

=\mui

idt
S
t

+

d
\sum
j=1

\sigmai,j

j,
S
t

where the correlation between

i
S
t
and
j
S
t
is now expressed through the

\sigmai,j=\rhoi,j\sigmai\sigmaj

terms.

Use in finance

See main article: Black–Scholes model. Geometric Brownian motion is used to model stock prices in the Black–Scholes model and is the most widely used model of stock price behavior.[3]

Some of the arguments for using GBM to model stock prices are:

However, GBM is not a completely realistic model, in particular it falls short of reality in the following points:

Apart from modeling stock prices, Geometric Brownian motion has also found applications in the monitoring of trading strategies.[4]

Extensions

In an attempt to make GBM more realistic as a model for stock prices, also in relation to the volatility smile problem, one can drop the assumption that the volatility (

\sigma

) is constant. If we assume that the volatility is a deterministic function of the stock price and time, this is called a local volatility model. A straightforward extension of the Black Scholes GBM is a local volatility SDE whose distribution is a mixture of distributions of GBM, the lognormal mixture dynamics, resulting in a convex combination of Black Scholes prices for options.[2] [5] [6] [7] If instead we assume that the volatility has a randomness of its own—often described by a different equation driven by a different Brownian Motion—the model is called a stochastic volatility model, see for example the Heston model.[8]

See also

External links

Notes and References

  1. Book: Ross, Sheldon M. . Introduction to Probability Models . Amsterdam . Elsevier . 11th . 2014 . Variations on Brownian Motion . 612–14 . 978-0-12-407948-9 . https://books.google.com/books?id=A3YpAgAAQBAJ&pg=PA612 .
  2. Musiela, M., and Rutkowski, M. (2004), Martingale Methods in Financial Modelling, 2nd Edition, Springer Verlag, Berlin.
  3. Book: Hull, John. Options, Futures, and other Derivatives. 7. 2009. 12.3.
  4. Rej . A. . Seager . P. . Bouchaud . J.-P. . You are in a drawdown. When should you start worrying? . Wilmott . January 2018 . 2018 . 93 . 56–59 . 10.1002/wilm.10646 . 1707.01457 . 157827746 .
  5. Fengler, M. R. (2005), Semiparametric modeling of implied volatility, Springer Verlag, Berlin. DOI https://doi.org/10.1007/3-540-30591-2
  6. Lognormal-mixture dynamics and calibration to market volatility smiles . Damiano . Brigo . Damiano Brigo . Fabio . Mercurio . Fabio Mercurio . 427–446 . International Journal of Theoretical and Applied Finance . 5 . 2002 . 4 . 10.1142/S0219024902001511 .
  7. Brigo, D, Mercurio, F, Sartorelli, G. (2003). Alternative asset-price dynamics and volatility smile, QUANT FINANC, 2003, Vol: 3, Pages: 173 - 183,
  8. A closed-form solution for options with stochastic volatility with applications to bond and currency options . Steven L. . Heston . Steven L. Heston . 327–343 . Review of Financial Studies . 6 . 2 . 1993 . 2962057 . 10.1093/rfs/6.2.327. 16091300 .