A stochastic differential equation (SDE) specifies how a state changes through a predictable drift and unpredictable shocks. Solving it gives an entire random trajectory, rather than one deterministic curve. A related partial differential equation (PDE) can describe the distribution of that trajectory or the value of a claim on it.
Learning goals
- Derive the Black–Scholes PDE using a self-financing hedge.
- Connect a terminal payoff to Gaussian smoothing through the heat equation.
- State sufficient conditions for a well-defined, unique SDE solution.
- Solve geometric Brownian motion and the Ornstein–Uhlenbeck process.
- Distinguish expected growth, typical path growth, and stationary distributions.
- Interpret a matrix of diffusion coefficients in a multidimensional system.
1. Reading an SDE correctly
On a filtered probability space, let be standard Brownian motion relative to the information filtration . The equation
means the integral identity
The last term is an Itô integral, not an ordinary derivative multiplied by a small number. Locally, conditional on today’s state, the drift contributes approximately and the shock has variance approximately . Brownian shocks scale like .
The process must use information already available. Future Brownian increments cannot be used to choose today’s coefficient or position.
2. Delta hedging and the Black–Scholes PDE
Assume a non-dividend-paying asset follows
with constant volatility , constant risk-free rate , frictionless continuous trading, and borrowing and lending at that rate. For a sufficiently smooth derivative value , Itô’s formula gives
Here denotes the time partial derivative; denotes the value process.
Use a self-financing replicating strategy
Let a portfolio hold shares and a cash balance , with value . Self-financing means that rebalancing is paid for from the portfolio:
Matching the Brownian coefficients requires . Matching the drift terms then yields
Therefore
The real-world drift cancels because the hedge removes exposure to the asset’s instantaneous random move.
Equivalently, short one derivative and hold shares. Over an instant with the holdings fixed, the hedged gain is
Its value is , so equating its gain to interest on that value gives the same PDE. Do not differentiate as though rebalancing shares were free: the cash financing must be included.
Terminal and spatial conditions
The contract supplies the terminal payoff:
For a European call, and as . A numerical PDE solver also needs appropriate spatial boundary treatment. American exercise and path-dependent claims require additional structure; the displayed terminal-value problem describes European claims depending on the terminal asset price.
3. Why a heat equation appears
The heat equation spreads initial data through a Gaussian kernel. For ,
has the convolution solution, for suitable initial data,
The fundamental solution for an initial unit point mass is the kernel itself. Its Gaussian variance is , and its integral over space is one.
For ,
The denominator is only when . For example, , , , and give .
An explicit Black–Scholes transformation
Set remaining time , log price , and
The pricing PDE becomes
Discount removal and a moving coordinate eliminate the last two terms: write
Substitution gives with , where is the terminal payoff. Thus
This is the discounted risk-neutral expectation. The SDE describes paths, the PDE describes their valuation consequences, and the Gaussian kernel connects both views. See Robert Kohn’s NYU notes on heat equations and financial PDEs for the kernel and transformation approach.
4. Existence and uniqueness: when is the model well-defined?
A useful sufficient theorem assumes measurable deterministic coefficients, an -measurable initial value with , and, uniformly over a finite time interval,
The first condition is global spatial Lipschitz continuity: nearby starting states cannot have arbitrarily different coefficients. The second is linear growth: coefficient magnitudes grow at most linearly in the state.
Under these conditions there is a continuous adapted strong solution with finite second-moment bounds on each finite horizon. Pathwise uniqueness means that solutions driven by the same Brownian motion and initial value satisfy
“Strong” means the solution is constructed using the given driving noise and initial information. “Finite-horizon bounded” does not mean that its moments are bounded uniformly as . GBM can have rapidly growing moments while satisfying this theorem. These conditions are sufficient, not necessary: some useful models need different arguments.
5. Geometric Brownian motion by coefficient matching
Consider , with . Try . Itô’s formula requires
The first equation gives . The second gives . Hence
In particular,
Coefficient matching is an ansatz, not a universal solution algorithm: many SDE solutions depend on the Brownian history and cannot be expressed as a function of alone.
Expected growth versus almost-sure decay
Brownian motion satisfies almost surely. Therefore
If , then almost surely even though . Consequently, for every fixed , .
There is no contradiction: an increasingly rare and extreme upper tail dominates the expectation. Interchanging limit and expectation is invalid here; the family is not uniformly integrable.
For , , and , the log-growth rate is . At ten years, the expected value is about 122.14, while the median is about 77.88. These are distribution summaries, not forecasts of a particular realized path. If , the zero limiting log-growth rate alone does not imply convergence of to zero.
6. Ornstein–Uhlenbeck: solving mean reversion
Use for the long-run level to distinguish it from GBM’s drift:
Multiplying by and applying the product rule yields
Integrating gives
The deterministic kernel makes the integral Gaussian. Its mean is zero and its variance follows from Itô’s isometry:
Stationarity and the Vasicek interpretation
From a fixed initial value, the distribution approaches . Paths continue fluctuating; they do not settle at . Starting with this invariant distribution, independently of future Brownian increments, gives a stationary OU process with covariance
The Vasicek short-rate model uses this form for interest rates. The fitted long-run level is a model parameter, not automatically a central bank’s announced target. Physical-measure parameters describe historical dynamics; risk-neutral parameters determine bond pricing. Gaussian rates can become negative.
For , , , and , the two-year mean is 3.7358% and standard deviation is 0.9299 percentage points. The expected deviation halves after years.
7. Multidimensional systems and correlated shocks
For state variables and independent Brownian drivers,
where is a matrix. The dimensions need not be equal. Instantaneous covariance is
Independent drivers can therefore produce correlated states through shared matrix loadings. For example,
has instantaneous covariance . This construction supports cross-asset and multi-factor interest-rate models.
A position–velocity system illustrates unequal state and noise dimensions:
Two state variables share one noise driver. Position depends on the integrated velocity history.
For a smooth function, the generator is
Under suitable regularity and integrability, a discounted terminal expectation solves the backward PDE . In pricing, use the risk-neutral generator; a physical-measure generator generally gives a different expectation.
8. Exact transitions before numerical approximations
For GBM, simulate exactly over a step using
For OU, use
with fresh independent standard normals across successive steps. These transitions avoid discretization error at sampled times. They do not reveal every intervening barrier crossing.
For a general SDE, Euler–Maruyama uses . Check convergence and stability: a coarse Euler step can make a positive GBM approximation negative or distort OU mean reversion.
Practice questions
- Why does disappear from the Black–Scholes PDE?
- What variance corresponds to after two time units?
- What extra scaling is needed in the step-payoff CDF formula for general ?
- For GBM with and , what is the almost-sure long-run log-growth rate?
- If OU has and , what is its invariant variance?
- Does convergence to an OU stationary distribution imply paths converge to a constant?
- If is , how many states and independent Brownian drivers are present?
- Why is differentiating alone insufficient to justify a dynamic hedge?
Answers
- The replicating stock position cancels the asset drift on both sides of the self-financing equation, together with matching its Brownian exposure.
- .
- The denominator is .
- per year; paths tend toward zero almost surely in this model.
- .
- No. The limiting distribution retains positive variance when .
- Five states and two independent drivers; covariance has rank at most two at each instant.
- Changing the share holding requires cash financing. The self-financing gains equation accounts for that rebalancing.
Further study
The MIT lecture on stochastic differential equations provides a companion treatment of hedging, diffusion equations, and OU dynamics. For the underlying calculus and SDE framework, consult NYU’s stochastic calculus course resources. Continue with Volatility Modeling to examine how constant-volatility diffusion assumptions are extended.
Feynman study lab
Explain it simply
An SDE specifies both the predictable part of motion and the random shocks.
Concrete example. For dX = 2 dt + 3 dB, a step of length 0.01 has drift increment 0.02 and shock standard deviation 0.3.
Teach it back without looking
Close the lesson and explain the idea aloud to a beginner in two minutes. Define each technical term you use, walk through the example, and state one assumption or limitation. Then answer:
Why is the shock scale 0.3 rather than 0.03?
Check your explanation after you try
Brownian increments have standard deviation equal to the square root of the time step. Multiply 3 by the square root of 0.01.
Find the gap and try again
If you hesitated, relied on a formula you could not explain, or missed the self-check, write down the exact gap. Revisit the relevant section of this lesson and work through its example. Close the notes, explain it again in simpler language, then change one number or assumption and predict what changes. Recalculate or check the lesson to test your prediction. Try once more tomorrow from memory.
Learn by teaching · Feynman technique
Save your explanation and study gaps
Study Stochastic Differential Equations: Black–Scholes, Heat Kernels, and Mean Reversion, then look away from the lesson and explain it to a beginner. Use the lesson’s teach-back questions first, then record your explanation here.
Your notes stay in this browser on this device. Export a copy to keep them elsewhere. No account or server upload is required.
-
Choose one idea
Pick one concept from this lesson. State the question it answers and why someone would care.
-
Explain it without your notes
Explain the idea aloud or in writing as if your listener has never studied it. Define every technical term. If there is an equation, explain each symbol, its units, and why the relationship makes sense.
-
Find gaps and return to the source
Mark where you hesitated, relied on jargon, or could not explain why. Revisit those sections, check the assumptions and worked examples, then close your notes and try again.
Check your understanding of this lesson’s sections
- 2. Delta hedging and the Black–Scholes PDE
- 3. Why a heat equation appears
- 4. Existence and uniqueness: when is the model well-defined?
- 5. Geometric Brownian motion by coefficient matching
- 6. Ornstein–Uhlenbeck: solving mean reversion
- 7. Multidimensional systems and correlated shocks
- 8. Exact transitions before numerical approximations
- Practice questions
-
Simplify, test, and teach again
Rewrite your explanation with a concrete example or a small calculation. Add an analogy and say where it breaks down. Change one assumption and predict what happens. Check your answer against the lesson.
Am I ready to move on?
Use this as a self-check, not a grade. Revisit any point you cannot explain yet.
Return tomorrow and teach the idea again from memory. Any new hesitation tells you what to study next.