Stochastic Differential Equations and Geometric Brownian Motion
Solving dS = μS dt + σS dW and why stock models are lognormal.
Leads to: 9.6 prices options assuming GBM under the risk-neutral measure.
Learning Objectives
Click a status chip to cycle: Not started → In progress → Studied → Practiced → Needs review → Mastered.
- Define an SDE and its strong solution, and state existence–uniqueness conditions.
- Derive the closed-form GBM solution \(S_t=S_0\exp((\mu-\tfrac12\sigma^2)t+\sigma W_t)\).
- Compute the mean, variance, and lognormal distribution of \(S_t\).
- Implement an Euler–Maruyama simulator and compare it to the exact solution.
- Explain why \(\E[S_t]=S_0 e^{\mu t}\) despite the \(-\tfrac12\sigma^2\) drift of the exponent.
Key Vocabulary
- SDE
- An equation \(dX=a(t,X)dt+b(t,X)dW\) specifying an Itô process by its local drift and diffusion.
- Strong solution
- A process adapted to the driving Brownian filtration satisfying the SDE for a given \(W\) and \(X_0\).
- Geometric Brownian motion
- The solution of \(dS=\mu S\,dt+\sigma S\,dW\); an exponential of a Brownian motion with drift.
- Lognormal
- A variable whose logarithm is normal; \(S_t\) under GBM is lognormal.
- Euler–Maruyama
- The discretization \(X_{k+1}=X_k+a\,\Delta t+b\sqrt{\Delta t}\,Z\), \(Z\sim\Normal(0,1)\).
- Lipschitz / linear-growth
- Conditions on \(a,b\) guaranteeing a unique strong solution exists.
Intuition & Motivation
What an SDE means
The differential form \(dS=\mu S\,dt+\sigma S\,dW\) is shorthand for the integral equation \(S_t=S_0+\int_0^t\mu S_u\,du+\int_0^t\sigma S_u\,dW_u\), the second integral being an Itô integral.
Distribution and moments
Since the exponent is normal, \(\log S_t\sim\Normal\big(\log S_0+(\mu-\tfrac12\sigma^2)t,\ \sigma^2 t\big)\), so \(S_t\) is lognormal. Using \(\E[e^{\sigma W_t}]=e^{\sigma^2 t/2}\):
Interactive: sample GBM paths
- Writing \(S_t=S_0 e^{\mu t+\sigma W_t}\) (missing \(-\tfrac12\sigma^2 t\)). That process has mean \(S_0e^{(\mu+\sigma^2/2)t}\), not \(S_0e^{\mu t}\).
- Confusing \(\E[S_t]=S_0e^{\mu t}\) (mean) with \(S_0e^{(\mu-\sigma^2/2)t}\) (median).
- Using Euler–Maruyama with \(\Delta t\cdot Z\) instead of \(\sqrt{\Delta t}\,Z\) for the noise term.
- Thinking GBM can hit zero. It is a strict exponential, always positive.
- For simulation prefer the exact log-scheme \(\log S_{k+1}=\log S_k+(\mu-\tfrac12\sigma^2)\Delta t+\sigma\sqrt{\Delta t}Z\) - it is unbiased and can't go negative.
- Lognormality is why Black–Scholes has closed form; it comes straight from this SDE.
- The gap between mean and median growth (\(\tfrac12\sigma^2\)) is ‘volatility drag’ - central to compounding and leverage.
Knowledge Check
Practical Exercise
A stock follows GBM with \(S_0=100,\ \mu=0.08,\ \sigma=0.3\). (a) Give the distribution of \(\log S_1\). (b) Compute \(\E[S_1]\) and the median of \(S_1\). (c) Which is larger and why?
(a) \(\log S_1\sim\Normal(\log100+(0.08-0.045),\,0.09)=\Normal(4.605+0.035,\,0.09)\), i.e. mean \(4.640\), variance \(0.09\).
(b) Mean: \(\E[S_1]=100e^{0.08}\approx108.33\). Median: \(e^{4.640}=100e^{0.035}\approx103.56\).
(c) The mean (\(108.33\)) exceeds the median (\(103.56\)) because the lognormal is right-skewed: a few large up-moves pull the average above the typical path. The gap is driven by \(\sigma\).
Lesson Summary
Retrieval Practice
Close the lesson and answer from memory before checking. This is deliberate, effortful recall - the single highest-yield study action.
A: \(S_t=S_0e^{(\mu-\sigma^2/2)t+\sigma W_t}\), \(\E[S_t]=S_0e^{\mu t}\). The exponent's \(-\tfrac12\sigma^2\) is cancelled in the mean by \(\E[e^{\sigma W_t}]=e^{\sigma^2 t/2}\).
A: Because \(\log S_t\) is a Brownian motion with drift (a normal variable), so \(S_t\) is the exponential of a normal, i.e. lognormal and positive.
Completion Checklist
- I can explain the core ideas in my own words
- I worked the derivations/examples by hand
- I completed the interactive workbench(es)
- I passed the knowledge check
Source References
This lesson synthesizes and paraphrases concepts from the sources below. No copyrighted text, problem sets, or solutions are reproduced. Return to the originals for full depth.
- Stochastic Calculus for Finance II (Steven Shreve, 2004) foundational - Ch. 4-5 - Ch. 4–5: geometric Brownian motion, its solution, moments, and lognormality.
- Monte Carlo Methods in Financial Engineering (Paul Glasserman, 2004) foundational - Ch. 3 - Ch. 3: exact vs. Euler discretization schemes for GBM and diffusion simulation.