Stochastic ODEs
1. Curve-Valued Random Variables
- In classical probability, a random variable assigns a real number to each outcome
. - A stochastic process (or, loosely speaking, a curve-valued random variable) assigns an entire function (a curve
) to each . Formally:
- Even when we have a closed-form expression like:
where
- We can visualize
: we can generate several samples of for a particular time increment , and then we compute .
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:
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 Ito's 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: