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. 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):
where is a Wiener process or Brownian motion, and ('the percentage drift') and ('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):
where is the quadratic variation of the SDE.
When , converges to 0 faster than , since . So the above infinitesimal can be simplified by
Plugging the value of in the above equation and simplifying we obtain
Taking the exponential and multiplying both sides by gives the solution claimed above.
Arithmetic Brownian Motion
The process for , satisfying the SDE
or more generally the process solving the SDE
where and are real constants and for an initial condition , 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
They can be derived using the fact that is a martingale, and that
The probability density function of is:
Derivation of GBM probability density function
To derive the probability density function for GBM, we must use the Fokker-Planck equation to evaluate the time evolution of the PDF:
where is the Dirac delta function. To simplify the computation, we may introduce a logarithmic transform , leading to the form of GBM:
Then the equivalent Fokker-Planck equation for the evolution of the PDF becomes:
Define and . By introducing the new variables and , the derivatives in the Fokker-Planck equation may be transformed as:
Leading to the new form of the Fokker-Planck equation:
Plugging in the original variables leads to the PDF for GBM:
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
It follows that .
This result can also be derived by applying the logarithm to the explicit solution of GBM:
Taking the expectation yields the same result as above: .
Simulating sample paths
# Python code for the plot import numpy as np import matplotlib.pyplot as plt mu = 1 n = 50 dt = 0.1 x0 = 100 np.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()
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 where .
For the multivariate case, this implies that
A multivariate formulation that maintains the driving Brownian motions independent is
where the correlation between and is now expressed through the terms.
Use in finance
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.
Some of the arguments for using GBM to model stock prices are:
- The expected returns of GBM are independent of the value of the process (stock price), which agrees with what we would expect in reality.
- A GBM process only assumes positive values, just like real stock prices.
- A GBM process shows the same kind of 'roughness' in its paths as we see in real stock prices.
- Calculations with GBM processes are relatively easy.
However, GBM is not a completely realistic model, in particular it falls short of reality in the following points:
- In real stock prices, volatility changes over time (possibly stochastically), but in GBM, volatility is assumed constant.
- In real life, stock prices often show jumps caused by unpredictable events or news, but in GBM, the path is continuous (no discontinuity).
Apart from modeling stock prices, Geometric Brownian motion has also found applications in the monitoring of trading strategies.
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 () 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. 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.
- Ross, Sheldon M. (2014). "Variations on Brownian Motion". Introduction to Probability Models (11th ed.). Amsterdam: Elsevier. pp. 612–14. ISBN 978-0-12-407948-9.
- Øksendal, Bernt K. (2002), Stochastic Differential Equations: An Introduction with Applications, Springer, p. 326, ISBN 3-540-63720-6
- Musiela, M., and Rutkowski, M. (2004), Martingale Methods in Financial Modelling, 2nd Edition, Springer Verlag, Berlin.
- Hull, John (2009). "12.3". Options, Futures, and other Derivatives (7 ed.).
- Rej, A.; Seager, P.; Bouchaud, J.-P. (January 2018). "You are in a drawdown. When should you start worrying?". Wilmott. 2018 (93): 56–59. arXiv:1707.01457. doi:10.1002/wilm.10646. S2CID 157827746.
- Fengler, M. R. (2005), Semiparametric modeling of implied volatility, Springer Verlag, Berlin. DOI https://doi.org/10.1007/3-540-30591-2
- Brigo, Damiano; Mercurio, Fabio (2002). "Lognormal-mixture dynamics and calibration to market volatility smiles". International Journal of Theoretical and Applied Finance. 5 (4): 427–446. doi:10.1142/S0219024902001511.
- Brigo, D, Mercurio, F, Sartorelli, G. (2003). Alternative asset-price dynamics and volatility smile, QUANT FINANC, 2003, Vol: 3, Pages: 173 - 183, ISSN 1469-7688
- Heston, Steven L. (1993). "A closed-form solution for options with stochastic volatility with applications to bond and currency options". Review of Financial Studies. 6 (2): 327–343. doi:10.1093/rfs/6.2.327. JSTOR 2962057. S2CID 16091300.
- Geometric Brownian motion models for stock movement except in rare events.
- Excel Simulation of a Geometric Brownian Motion to simulate Stock Prices
- "Interactive Web Application: Stochastic Processes used in Quantitative Finance". Archived from the original on 2015-09-20. Retrieved 2015-07-03.
- Non-Newtonian calculus website
- Trading Strategy Monitoring: Modeling the PnL as a Geometric Brownian Motion