Stochastic ODEs
Introduction
See my video.
See Itô integral#Next step SDEs.
2. Stochastic Differential Equations (SDEs)
- SDEs generalize ordinary differential equations by incorporating a random noise term, often modeled by Brownian motion.
- General form:
Think of
is a random number from a
- The solution to an SDE is not a single function but a stochastic process — i.e., a curve-valued random variable.
- The simplest example:
Related: Itô integral.
3. Real Example: Stock Prices
- Stock prices are modeled using an SDE called Geometric Brownian Motion:
-
This models:
: expected growth rate (drift) : market volatility (randomness) : Brownian motion (random shocks)
-
The solution is:
This is a random curve over time — each realization gives one possible stock price trajectory.
- Check:
If you take the usual derivative of
you might expect the chain rule to apply like in standard calculus, and wonder why this form solves the SDE:
But you're forgetting that Itô lemma (the stochastic analog of the chain rule) introduces extra terms due to the randomness of
Let:
Then:
Now plug into Ito’s formula:
Recall
Therefore:
Stratonovich form
From Stratonovich integral#Conversion rule we can show the following. Suppose you have an Itô SDE
with
The Stratonovich version is
That is:
Another example: bottle cap race
See bottle cap race SDE.
Another example: growth of a tree
See growth of a tree SDE.
Exercises
See [[SDEs exercises.pdf]] for the solutions
Block 1 — Basic manipulations with Itô’s formula
Goal: Learn to differentiate stochastic processes correctly.
- Let
. Compute using Itô’s formula. - Let
. Compute . - Let
. Show that is a martingale. - Let
. Compute and find . - For a constant
, let . Prove that is a martingale. (Hint: apply Itô’s formula.)
Block 2 — Solving linear SDEs
-
Solve
. -
Solve
. -
Show that the solution in (6) satisfies
-
Compute
and for (6). -
Compute
and for (7).
Block 3 — Ornstein–Uhlenbeck and mean reversion
Goal: Learn integration factor method.
-
Solve
. -
Compute
and . -
Show that
has a stationary Gaussian distribution as , and find its mean and variance. -
Compute the covariance
for .
Block 4 — Itô vs Stratonovich
Goal: Be comfortable switching between the two forms.
-
Convert the Itô SDE
into the Stratonovich form.
-
Apply your formula to
and write both Itô and Stratonovich versions explicitly. -
For the Stratonovich SDE
compute
using ordinary calculus and check that it matches the Itô version. -
Check that Stratonovich calculus satisfies the usual chain rule for
.
Block 5 — Multidimensional SDEs
Goal: Manipulate SDEs with several Brownian components.
Let
-
Compute
. -
Given
, compute . -
Solve the linear vector SDE
for constant
matrices that commute. -
Compute
for . -
Show that
satisfies where
is a 1D Brownian motion.
Block 6 — Long-term behaviour and generators
Goal: Connect SDEs to their infinitesimal generators.
-
For
, write the generator acting on smooth : -
Compute
for the Ornstein–Uhlenbeck process and find the invariant measure by solving . -
For the geometric Brownian motion
, compute and verify that . -
Check the martingale property: find a function
such that is a martingale for the OU process. -
(Optional) Verify that for any smooth
, is a martingale.