Stochastic ODEs

1. Curve-Valued Random Variables

X:ΩFunctions([0,T],R) X(t)=f(t,W(t))

where W(t) is Brownian motion, the result is still a random function, because W(t) itself is a random process.


2. Stochastic Differential Equations (SDEs)

dx(t)=F(x(t),t)dt+G(x(t),t)dW(t)

Think of dWdt as if it were a random number from a normal N(0,) distribution. Then,

dW(t)=dWdtdt

is a random number from a N(0,dt) distribution.

3. Real Example: Stock Prices

dS(t)=μS(t)dt+σS(t)dW(t) S(t)=S0exp((μσ22)t+σW(t))

This is a random curve over time — each realization gives one possible stock price trajectory.

S(t)=S0exp((μσ22)t+σW(t)),

you might expect the chain rule to apply like in standard calculus, and wonder why this form solves the SDE:

dS(t)=μS(t)dt+σS(t)dW(t).

But you're forgetting that Ito's lemma (the stochastic analog of the chain rule) introduces extra terms due to the randomness of W(t).

Let:

f(t,W(t))=exp(At+σW(t)),where A=μσ22.

Then:

Now plug into Ito’s formula:

dS=(Af+12σ2f)dt+σfdW=f((A+12σ2)dt+σdW)

Recall A=μσ22, so:

A+12σ2=μ

Therefore:

dS=f(μdt+σdW)=S(t)(μdt+σdW)