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

X

satisfying the following Itō stochastic differential equationdX_t = a(X_t) \, dt + b(X_t) \, dW_t,with initial condition

X0=x0

, where

Wt

stands for the Wiener process, and suppose that we wish to solve this SDE on some interval of time

[0,T]

. Then the basic Runge–Kutta approximation to the true solution

X

is the Markov chain

Y

defined as follows:[1]

[0,T]

into

N

subintervals of width

\delta=T/N>0

: 0 = \tau_ < \tau_ < \dots < \tau_ = T;

Y0:=x0

;

Yn

for

1\leqn\leqN

by Y_ := Y_ + a(Y_) \delta + b(Y_) \Delta W_ + \frac \left(b(\hat_) - b(Y_) \right) \left((\Delta W_)^ - \delta \right) \delta^, where

\DeltaWn=

W
\taun

-

W
\taun
and

\hat{\Upsilon}n=Yn+a(Yn)\delta+b(Yn)\delta1/2.

The random variables

\DeltaWn

are independent and identically distributed normal random variables with expected value zero and variance

\delta

.

This scheme has strong order 1, meaning that the approximation error of the actual solution at a fixed time scales with the time step

\delta

. It has also weak order 1, meaning that the error on the statistics of the solution scales with the time step

\delta

. See the references for complete and exact statements.

The functions

a

and

b

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

\vecX(t)\inRn

that satisfies the general Ito SDEd\vec X=\vec a(t,\vec X)\,dt+\vec b(t,\vec X)\,dW,where drift

\veca

and volatility

\vecb

are sufficiently smooth functions of their arguments.Given time step

h

, and given the value estimate

\vecX(tk+1)

by

\vecXk+1

for time

tk+1=tk+h

via\begin\vec K_1=h\vec a(t_k,\vec X_k)+(\Delta W_k-S_k\sqrt h)\vec b(t_k,\vec X_k),\\\vec K_2=h\vec a(t_,\vec X_k+\vec K_1)+(\Delta W_k+S_k\sqrt h)\vec b(t_,\vec X_k+\vec K_1),\\\vec X_=\vec X_k+\frac12(\vec K_1+\vec K_2),\end

\DeltaWk=\sqrthZk

for normal random

Zk\simN(0,1)

;

Sk=\pm1

, each alternative chosen with probability

1/2

.

The above describes only one time step.Repeat this time step

(tm-t0)/h

times in order to integrate the SDE from time

t=t0

to

t=tm

.

The scheme integrates Stratonovich SDEs to

O(h)

provided one sets

Sk=0

throughout (instead of choosing

\pm1

).

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

  1. P. E. Kloeden and E. Platen. Numerical solution of stochastic differential equations, volume 23 of Applications of Mathematics. Springer--Verlag, 1992.
  2. Roberts . A. J. . Oct 2012 . Modify the Improved Euler scheme to integrate stochastic differential equations . math.NA . 1210.0933 .
  3. 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. .
  4. 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. .
  5. 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 .
  6. 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.
  7. 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.
  8. 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.
  9. Rackauckas. Christopher . Nie . Qing . 2018 . Stability-optimized high order methods and stiffness detection for pathwise stiff stochastic differential equations . math.NA . 1804.04344.