Professional Documents
Culture Documents
Lecture 1: Pragmatic Introduction To Stochastic Differential Equations
Lecture 1: Pragmatic Introduction To Stochastic Differential Equations
Differential Equations
Simo Srkk
Aalto University
Tampere University of Technology
Lappeenranta University of Technology
Finland
1 / 34
Contents
Introduction
2 / 34
4 / 34
White noise
White noise
1
E[w(t)] = 0
T
E[w(t) w (s)] = (t s) Q.
0.1
0.2
0.3
0.4
0.5
0.6
0.7
0.8
0.9
5 / 34
6
4
1
0.8
0
p(,t)
(t)
0.6
0.4
0.2
10
0
0
2
4
8
0
10
Time t
10
10
(t)
Time t
6 / 34
0.8
0.6
0.4
0.2
0.2
0.4
0.6
10
7 / 34
()
|{z}
9 / 34
Random force
from collisions
Movement is slowed
down by friction
10 / 34
Noisy RC-circuit
B
R
w (t)
v(t)
A
11 / 34
w (t)
1 (t)
(t)
A sin( )
Loop filter
2 (t)
Rt
12 / 34
f(t)
13 / 34
14 / 34
x(t0 ) N(m0 , P0 ).
dx(t)
exp(F t) F x(t) = exp(F t) L w(t).
dt
Rewrite this as
d
[exp(F t) x(t)] = exp(F t) L w(t).
dt
Integrate from t0 to t:
exp(F t) x(t) exp(F t0 ) x(t0 ) =
exp(F ) L w( ) d.
t0
16 / 34
exp(F (t )) L w( ) d.
t0
17 / 34
18 / 34
19 / 34
dP11
dt
dP21
dt
dm1
dt
dm2
dt
dP12
dt
dP22
dt
0
1
m1
=
m2
2
0
1
P11
=
P21
2
0
P11 P12
+
P21 P22
2
0 0
+
0 q
1
Mean solution
95% quantiles
Realizations of SDE
0.8
P12
P22
T
1
0.6
0.4
0.2
0.2
0.4
0.6
10
20 / 34
x(t0 ) N(m0 , P0 ).
21 / 34
(x m)T
dt
dt
dt
dx dm T
+ (x m)
dt
dt
22 / 34
(x m)T
dt
dt
dt
dx dm T
+ (x m)
dt
dt
However, this result from basic calculus is not valid when x(t) is
stochastic.
The mean equation was ok, because its derivation did not involve
the usage of chain rule (or product rule) above.
But which results are right and which wrong?
We need to develop a whole new calculus to deal with this. . .
23 / 34
W (i )
(i ) +
1
(i ) +
25 / 34
exp( (t )) w ( ) d
26 / 34
|W (i )|2
q
= 2
,
|(i ) + |2
+ 2
and
C( ) =
Simo Srkk (Aalto/TUT/LUT)
q
exp( | |).
2
27 / 34
28 / 34
30 / 34
31 / 34
Summary
Stochastic differential equation (SDE) is an ordinary differential
equation (ODE) with a stochastic driving force.
SDEs arise in various physics and engineering problems.
Solutions for linear SDEs can be (heuristically) derived in the
similar way as for deterministic ODEs.
We can also compute the mean and covariance of the solutions of
a linear SDE.
Fourier transform solutions to linear time-invariant (LTI) SDEs lead
to the useful concepts of spectral density and covariance function.
The heuristic treatment only works for some analysis of linear
SDEs, and for e.g. non-linear equations we need a new theory.
One way to approximate solution of SDE is to simulate trajectories
from it using the EulerMaruyama method.
Simo Srkk (Aalto/TUT/LUT)
33 / 34
Matlab demonstration
dx(t)
= x(t) + w (t),
dt
x(0) = x0 ,
34 / 34