Professional Documents
Culture Documents
Stochastic Differential Equations (SDE) do not usually have explicit solutions except for linear
ones. So we first look at the linear SDEs. For others, we will resort to numerical methods, such
as Euler scheme, or Milstein scheme.
That is, the coefficients of dt and dBt are linear in Xt . We shall look at these one by one.
1
8.1 Simple linear SDEs
2
Approach I: Assume Xt = f (t, Bt ) for some smooth function f (t, x). By the Ito lemma,
1
dXt = f1 (t, Bt ) + f22 (t, Bt ) dt + f2 (t, Bt )dBt .
2
By (1.1), dXt = cf (t, Bt )dt + σf (t, Bt )dBt . Equating the coefficients of dt and dBt of the two
equations, we have
1
f1 (t, x) + f22 (t, x) = cf (t, x) (1.2)
2
f2 (t, x) = σf (t, x) (1.3)
We first turn second-order differentiable equations into first-order ones. To do this, differenti-
ating (1.3) w.r.t. x, we get
Note that (1.5) admits solution of the form f (t, x) = C1 (x)ert while (1.6) admits solution of
the form f (t, x) = D1 (t)eσx . Therefore, both equations are satisfied by
Therefore,
Xt = f (t, Bt ) = X0 ert+σBt = X0 exp c − σ 2 /2 t + σBt .
3
Approach II: From dXt = cXt dt + σXt dBt , we have
dXt
= cdt + σdBt .
Xt
The LHS looks like d ln(Xt ), but not quite the same since Xt is not differentiable. Using Ito’s
Lemma, we have
! !
dXt 1 −1 dXt 1 −1 dXt 1 2
d ln(Xt ) = + 2
dhXit = + 2
σ 2 Xt2 dt = − σ dt
Xt 2 Xt Xt 2 Xt Xt 2
Therefore,
dXt 1
= d ln(Xt ) + σ 2 dt = cdt + σdBt ,
Xt 2
2
!
σ
=⇒ d ln(Xt ) = c − dt + σdBt
2
σ2
Z t ! Z t
=⇒ ln(Xt ) = ln(X0 ) + c− ds + σdBs
0 2 0
σ2
!
= ln(X0 ) + c − t + σBt
2
=⇒ Xt = X0 exp c − σ 2 /2 t + σBt .
Remark 8.1 The solution is in fact the Geometric Brownian motion. Given the initial starting
point X0 = x, ln Xt processes a normal distribution as
ln Xt = ln x + c − σ 2 /2 t + σBt
4
8.1.2 Ornstein-Uhlenbeck process (simple linear SDE with additive
noise)
5
Approach I: Suppose Xt = f (t, Bt ) for some smooth function f (t, x). By Ito lemma,
1
dXt = f1 (t, Bt ) + f22 (t, Bt ) dt + f2 (t, Bt )dBt .
2
On the other hand, dXt = cf (t, Bt )dt + σdBt . Compare the above two equations, we have
1
f1 (t, x) + f22 (t, x) = cf (t, x) (1.7)
2
f2 (t, x) = σ (1.8)
We now turn second-order differentiable equations into first-order ones. Differentiating (1.3)
w.r.t. x, we get
From (1.10), we guess that f might have a component ect . So let f (t, x) = ect g(t, x), i.e.,
Xt = f (t, Bt ) = ect g(t, Bt ) = ect Yt . By integration by parts,
dYt = dg(t, Bt ) = d e−ct Xt = e−ct dXt − ce−ct Xt dt
= e−ct (cXt dt + σdBt ) − ce−ct Xt dt
= e−ct σdBt
R t −cs R t −cs
That is, Yt = Y0 + 0 e σdB s = X0 + 0 e σdB s. Therefore,
Z t
ct ct
Xt = e Yt = e X 0 + e ct
e−cs σdBs .
0
6
Approach II:
R t −2cs
Remark 8.2 From the next theorem, 0t e−cs dBs ∼ N 0,
R
0 e ds . Then, given the initial
starting point X0 = x, Xt has a normal distribution as
Z t
Xt = ect x + σect e−cs dBs ∼ N (µx , σx2 ),
0
where
µx = ect x,
e2ct − 1
Z t !
−2cs 1
σx2 2 2ct
= σ e e ds = σ e 2 2ct
1 − e−2ct = σ2.
0 2c 2c
7
Rt
Theorem 8.1 Let Yt = 0 h(s)dBs .
Rt 2
(a) If h is non-random (deterministic), then Yt ∼ N 0, h (s)ds .
0
(b) RIf h is random, then Yt may not be normal. But we still have EYt = 0 and V ar (Yt ) =
t 2
0 Eh (s)ds.
Proof.
Pn Rt
(a) By definition, Zn =: i=1 h(ti−1 )∆i B −→ 0 h(s)dBs =: Z in L2 , and hence in distribu-
tion. However, since
n
!
h2 (ti−1 )∆i t ,
X
Zn ∼ N 0,
i=1
Rt 2
which is the c.f. of a normal r.v. N (0, 0h (s)ds).
Rt
(b) Let h(s) = Bs , then Yt = 0 Bs dBs = 21 (Bt2 − t) is centered χ21 , but not normal.
8
Remark 8.3 OU process in discrete time is related to AR(1) model in time series analysis.
then
Xt+1 = (c + 1)Xt + t+1 ,
where t ∼i.i.d. N (0, σ 2 ), and t+1 ⊥ Xt . This is in fact AR(1) model in time series. Typically,
|1 + c| < 1 (i.e., −1 < c < 0).
9
Remark 8.4 (O-U process) Another form of the Ornstein-Uhlenbeck process is (a.k.a. the
mean-reverting process):
dXt = θ(µ − Xt )dt + σdBt .
This can be used to model interest rates, currency exchange rates, and commodity prices, where
µ represents the equilibrium or mean value supported by fundamentals; σ the volatility, and θ
the rate the variable reverts towards the mean.
Example 8.1 (The Vasicek interest model) See the textbook, page 152.
10
8.2 General linear SDEs
11
8.2.2 Homogeneous linear SDE
12
8.2.3 General linear SDE
Rewrite
If we set c2 (t) = σ2 (t) = 0, we get a homogeneous linear SDE. Denote its solution by Yt , i.e.,
Yt satisfies
13
Step 2: Solving the original SDE
Xt = Yt Zt .
14
Therefore,
dZt = Xt d Yt−1 + Yt−1 dXt + dhX, Y −1 it
= Xt [σ12 (t) − c1 (t)]Yt−1 dt − σ1 (t)Yt−1 dBt
+ Yt−1 ([c1 (t)Xt + c2 (t)]dt + [σ1 (t)Xt + σ2 (t)]dBt )
− (σ1 (t)Xt + σ2 (t)) σ1 (t)Yt−1 dt
= [σ12 (t) − c1 (t)]Zt dt − σ1 (t)Zt dBt
+ [c1 (t)Zt + c2 (t)Yt−1 ]dt + [σ1 (t)Zt + σ2 (t)Yt−1 ]dBt
− σ12 (t)Zt + σ2 (t)σ1 (t)Yt−1 dt
= [c2 (t) − σ2 (t)σ1 (t)]Yt−1 dt + σ2 (t)Yt−1 dBt .
That is,
Z t Z t
Zt = Z0 + [c2 (s) − σ2 (s)σ1 (s)]Ys−1 ds + σ2 (s)Yt−1 dBs .
0 0
where
Z t Z t
Ỹt = exp c1 (s) − σ12 (s)/2 ds + σ1 (s)dBs , t ∈ [0, T ].
0 0
15
8.3 Euler and Milstein approximations
SDE’s do not usually admit explicit solutions except for linear ones. In those cases, we have to
resort to numerical methods. We introduce two such methods below.
Then,
Z t+∆t Z t+∆t
Xt+∆t = Xt + a(Xs )ds + b(Xs )dBs
t t
Z t+∆t Z t+∆t
' Xt + a(Xt )ds + b(Xt )dBs
t t
Z t+∆t Z t+∆t
= Xt + a(Xt ) ds + b(Xt ) dBs
t t
= Xt + a(Xt )∆t + b(Xt ) (Bt+∆t − Bt )
√ (Bt+∆t − Bt )
= Xt + a(Xt )∆t + b(Xt ) ∆t √
∆t
√
:= Xt + a(Xt )∆t + b(Xt ) ∆t t ,
where
(Bt+∆t − Bt )
t := √ ∼iid N (0, 1).
∆t
16
8.3.2 Milstein approximations
√
In the
√ Euler approximation: X t+∆t = X t + a(X t )∆t + b(X t ) ∆t t , the last term is of order
Op ( ∆t) which is much larger than the second last term which is of size Op (∆t). To improve
the approximation, we may consider
R t+∆t
expanding one more term in the volatility term. In other
words, expand b(Xs ) further in t b(Xs )dBs . So for
t ≤ s ≤ t + ∆t,
we have
Then,
Z t+∆t
b(Xs )dBs
t
Z t+∆t
≈ [b(Xt ) + b0 (Xt )a(Xt )(s − t) + b0 (Xt )b(Xt )(Bs − Bt )]dBs
t
Z t+∆t Z t+∆t
= b(Xt ) (Bt+∆t − Bt ) + b0 (Xt )a(Xt ) (s − t)dBs + b0 (Xt )b(Xt ) (Bs − Bt )dBs
t t
=: b(Xt ) (Bt+∆t − Bt ) + b0 (Xt )a(Xt )Mt1 + b0 (Xt )b(Xt )Mt2 ,
17
First for Mt2 , we have
Z t+∆t
Mt2 = (Bs − Bt )dBs
t
Z t+∆t Z t+∆t
= Bs dBs − Bt dBs
t t
1 2
= Bs − s |tt+∆t − Bt (Bt+∆t − Bt )
2
1 2 1
= Bt+∆t − Bt2 − ∆t − Bt (Bt+∆t − Bt )
2 2
1 2 1
= Bt+∆t + Bt2 − 2Bt Bt+∆t − ∆t
2 2
1 2 1
= (Bt+∆t − Bt ) − ∆t
2 2
1 2
= ∆t(t − 1),
2
where
(Bt+∆t − Bt )
t := √ ∼iid N (0, 1).
∆t
18
Secondly, noting that Mt1 is a martingale, by Theorem 8.1, we have
(∆t)3
Z t+∆t !
Mt1 ∼ N 0, (s − t)2 ds = .
t 3
Therefore, Mt1 = Op (∆t)3/2 .
So we can keep Mt2 = Op ((∆t)) and throw away Mt1 = Op (∆t)3/2 . Finally, we have
Z t+∆t Z t+∆t
Xt+∆t = Xt + a(Xs )ds + b(Xs )dBs
t
√t
' Xt + a(Xt )∆t + b(Xt ) ∆t t + b0 (Xt )a(Xt )Mt1 + b0 (Xt )b(Xt )Mt2
√
' Xt + a(Xt )∆t + b(Xt ) ∆t t + b0 (Xt )b(Xt )Mt2
√ 1
= Xt + a(Xt )∆t + b(Xt ) ∆t t + b0 (Xt )b(Xt )∆t(2t − 1).
2
This is so called Milstein approximations.
19
8.4 Exercises
1. RLet I = 01 B(r)2 dr with B(r) = 0r f (s)dW (s) and f (s) is deterministic such that
R R
1 2
0 f (s) ds < ∞ and W (s)
is Ra standard Brownian motion. Find E(I 2 ). (Hint: E(I 2 ) =
E 0 B(r)2 dr 01 B(s)2 ds = 01 01 E[B(r)2 B(s)2 ]drds).
R1 R R
[Remark: This is just a special case of the general procedure given in the lecture note:
(1) solve the SDE only involving rt : dSt = −aSt dt + cSt dBt , (2) let rt = St Zt , and then
derive a SDE for Zt ]
√
4. Let Yt = 0t Bs dBs and Wt = 0t sign(Bs )dBs . Show that dYt = t + 2Yt dWt .
R R
20