Runge–Kutta method (SDE) explained
In mathematics of stochastic systems, the Runge–Kutta method is a technique for the approximate numerical solution of a stochastic differential equation. It is a generalisation of the Runge–Kutta method for ordinary differential equations to stochastic differential equations (SDEs). Importantly, the method does not involve knowing derivatives of the coefficient functions in the SDEs.
Most basic scheme
satisfying the following Itō stochastic differential equation
with
initial condition
, where
stands for the
Wiener process, and suppose that we wish to solve this SDE on some interval of time
. Then the basic
Runge–Kutta approximation to the true solution
is the
Markov chain
defined as follows:
[1]
into
subintervals of width
:
;
for
by
where
and
\hat{\Upsilon}n=Yn+a(Yn)\delta+b(Yn)\delta1/2.
The
random variables
are
independent and identically distributed normal random variables with
expected value zero and
variance
.
This scheme has strong order 1, meaning that the approximation error of the actual solution at a fixed time scales with the time step
. It has also weak order 1, meaning that the error on the statistics of the solution scales with the time step
. See the references for complete and exact statements.
The functions
and
can be time-varying without any complication. The method can be generalized to the case of several coupled equations; the principle is the same but the equations become longer.
Variation of the Improved Euler is flexible
A newer Runge—Kutta scheme also of strong order 1 straightforwardly reduces to the improved Euler scheme for deterministic ODEs.[2] Consider the vector stochastic process
that satisfies the general Ito SDE
where drift
and volatility
are sufficiently smooth functions of their arguments.Given time step
, and given the value estimate
by
for time
via
for normal random
;
, each alternative chosen with probability
.
The above describes only one time step.Repeat this time step
times in order to integrate the SDE from time
to
.
The scheme integrates Stratonovich SDEs to
provided one sets
throughout (instead of choosing
).
Higher order Runge-Kutta schemes
Higher-order schemes also exist, but become increasingly complex.Rößler developed many schemes for Ito SDEs,[3] [4] whereas Komori developed schemes for Stratonovich SDEs.[5] [6] [7] Rackauckas extended these schemes to allow for adaptive-time stepping via Rejection Sampling with Memory (RSwM), resulting in orders of magnitude efficiency increases in practical biological models,[8] along with coefficient optimization for improved stability.[9]
Notes and References
- P. E. Kloeden and E. Platen. Numerical solution of stochastic differential equations, volume 23 of Applications of Mathematics. Springer--Verlag, 1992.
- Roberts . A. J. . Oct 2012 . Modify the Improved Euler scheme to integrate stochastic differential equations . math.NA . 1210.0933 .
- 10.1137/060673308. Second Order Runge–Kutta Methods for Itô Stochastic Differential Equations. SIAM Journal on Numerical Analysis. 47. 3. 1713–1738. 2009. Rößler . A. .
- 10.1137/09076636X . Runge–Kutta Methods for the Strong Approximation of Solutions of Stochastic Differential Equations. SIAM Journal on Numerical Analysis. 48. 3. 922–952. 2010. Rößler . A. .
- 10.1016/j.apnum.2006.02.002. Multi-colored rooted tree analysis of the weak order conditions of a stochastic Runge–Kutta family. Applied Numerical Mathematics. 57. 2. 147–165. 2007. Komori . Y. . 49220399 .
- 10.1016/j.cam.2006.03.010. Weak order stochastic Runge–Kutta methods for commutative stochastic differential equations. Journal of Computational and Applied Mathematics. 203. 57–79. 2007. Komori . Y. . free.
- 10.1016/j.cam.2006.06.006. Weak second-order stochastic Runge–Kutta methods for non-commutative stochastic differential equations. Journal of Computational and Applied Mathematics. 206. 158–173. 2007. Komori . Y. . free.
- 10.3934/dcdsb.2017133. Discrete and Continuous Dynamical Systems - Series B. 22. 7. 2731–2761. 2017. Rackauckas. Christopher . Nie . Qing . Adaptive methods for stochastic differential equations via natural embeddings and rejection sampling with memory. 29527134. 5844583. free.
- Rackauckas. Christopher . Nie . Qing . 2018 . Stability-optimized high order methods and stiffness detection for pathwise stiff stochastic differential equations . math.NA . 1804.04344.