Local linearization method explained

In numerical analysis, the local linearization (LL) method is a general strategy for designing numerical integrators for differential equations based on a local (piecewise) linearization of the given equation on consecutive time intervals. The numerical integrators are then iteratively defined as the solution of the resulting piecewise linear equation at the end of each consecutive interval. The LL method has been developed for a variety of equations such as the ordinary, delayed, random and stochastic differential equations. The LL integrators are key component in the implementation of inference methods for the estimation of unknown parameters and unobserved variables of differential equations given time series of (potentially noisy) observations. The LL schemes are ideals to deal with complex models in a variety of fields as neuroscience, finance, forestry management, control engineering, mathematical statistics, etc.

Background

Differential equations have become an important mathematical tool for describing the time evolution of several phenomenon, e.g., rotation of the planets around the sun, the dynamic of assets prices in the market, the fire of neurons, the propagation of epidemics, etc. However, since the exact solutions of these equations are usually unknown, numerical approximations to them obtained by numerical integrators are necessary. Currently, many applications in engineering and applied sciences focused in dynamical studies demand the developing of efficient numerical integrators that preserve, as much as possible, the dynamics of these equations. With this main motivation, the Local Linearization integrators have been developed.

High-order local linearization method

High-order local linearization (HOLL) method is a generalization of the Local Linearization method oriented to obtain high-order integrators for differential equations that preserve the stability and dynamics of the linear equations. The integrators are obtained by splitting, on consecutive time intervals, the solution x of the original equation in two parts: the solution z of the locally linearized equation plus a high-order approximation of the residual

r= x-z

.

Local linearization scheme

A Local Linearization (LL) scheme is the final recursive algorithm that allows the numerical implementation of a discretization derived from the LL or HOLL method for a class of differential equations.

LL methods for ODEs

Consider the d-dimensional Ordinary Differential Equation (ODE)

dx\left(t\right)
dt

=f\left(t,x\left(t\right)\right),    t\in\left[t0,T\right],             (4.1)

with initial condition

x(t0)=x0

, where

f

is a differentiable function.

Let

\left(t\right)h=\{tn:n=0,..,N\}

be a time discretization of the time interval

[t0,T]

with maximum stepsize h such that

tn<tn+1

and

hn=tn+1-tn\leqh

. After the local linearization of the equation (4.1) at the time step

tn

the variation of constants formula yields

x(tn+h)=x(tn)+\phi(tn,x(tn);h)+r(tn,x(tn);h),

where

\phi(tn,zn;h)=\int\limits

h
0
fx(tn,zn)(h-s)
e

(f(tn,zn)+ft(tn,zn)s)ds   

results from the linear approximation, and

r(tn,zn;h)=\int\limits

h
0
fx(tn,zn)(h-s)
e

gn(s,x(tn+s))ds,          (4.2)

is the residual of the linear approximation. Here,

fx

and

ft

denote the partial derivatives of f with respect to the variables x and t, respectively, and

gn(s,u)=f(s,u)-fx(tn,zn)u-ft(tn,zn)(s-tn)-f(tn,zn)+fx(tn,zn)zn.

Local linear discretization

For a time discretization

\left(t\right)h

, the Local Linear discretization of the ODE (4.1) at each point

tn+1\in\left(t\right)h

is defined by the recursive expression [1]

zn+1=zn+\phi(tn,zn;hn),    withz0=x0.             (4.3)

The Local Linear discretization (4.3) converges with order 2 to the solution of nonlinear ODEs, but it match the solution of the linear ODEs. The recursion (4.3) is also known as Exponential Euler discretization.

High-order local linear discretizations

For a time discretization

(t)h,

a high-order local linear (HOLL) discretization of the ODE (4.1) at each point

tn+1\in(t)h

is defined by the recursive expression [1]

zn+1=zn+\phi(tn,zn;hn)+\widetilde{r

}(t_n,\mathbf_n;h_n),\qquad \text \quad \mathbf_0=\mathbf_0, \qquad \qquad \qquad(4.4)

where

\tilde{r}

is an order

\alpha

(> 2) approximation to the residual r

(i.e.,\left\vertr(tn,zn;h)-\widetilde{r

}(t_n,\mathbf_n;h)\right\vert \propto h^). The HOLL discretization (4.4) converges with order

\alpha

to the solution of nonlinear ODEs, but it match the solution of the linear ODEs.

HOLL discretizations can be derived in two ways:[1] 1) (quadrature-based) by approximating the integral representation (4.2) of r; and 2) (integrator-based) by using a numerical integrator for the differential representation of r defined by

dr(t)
dt

=q(tn,zn;t,r(t)),    with    r(tn)=0,          (4.5)

for all

t\in\lbracktk,tk+1]

, where

q(tn,zn;s,\xi)=f(s,zn+ \phi\left(tn,zn;s-tn\right)+\xi)- fx(tn,zn)\phi(tn, zn;s-tn)-ft(tn,zn)(s-tn)-f(tn,zn).

HOLL discretizations are, for instance, the followings:

   zn+1=zn+\phi(tn,zn;hn)+hn

s
\sum
j=1

bjkj,withki=q(tn,zn;tn+cihn,hn

i-1
\sum
j=1

aijkj),

which is obtained by solving (4.5) via a s-stage explicit Runge–Kutta (RK) scheme with coefficients

c=\left[ci\right],A=\left[aij\right]andb=\left[bj\right]

.

\mathbf_=\mathbf_n+\mathbf(t_n,\mathbf_n;h_n)+\int_0^e^ \sum_^p\frac s^j \, ds,\text \mathbf_=\left(\frac-\mathbf_ (t_n,\mathbf_n) \frac\right) \mid _,

which results from the approximation of

gn

in (4.2) by its order-p truncated Taylor expansion.

\mathbf_=\mathbf_n+\mathbf(t_n,\mathbf_n;h)+h\sum_^\gamma_j\nabla^j\mathbf_n(t_n,\mathbf_), \quad with \quad \gamma_j =(-1)^j \int\limits_0^1 e^ \left(\begin-\theta \\ j\end\right) d\theta,

which results from the interpolation of

gn

in (4.2) by a polynomial of degree p on

tn,\ldots,tn-p+1

, where

\nablajgn(tm,zm)

denotes the j-th backward difference of

gn(tm,zm)

.

\mathbf_=\mathbf_n+\mathbf(t_n,\mathbf_n ;h) + h\sum_^ \gamma _\nabla^j \mathbf_n (t_n,\mathbf_n),\quad \text \quad \gamma_ = \int\limits_0^1 e^ \left(\begin\theta p\\ j\end\right) d\theta,

which results from the interpolation of

gn

in (4.2) by a polynomial of degree p on

tn,\ldots,tn+(p-1)h/p

,

\mathbf_=\mathbf_n+\mathbf(t_n,\mathbf_n;h)+h\sum_^\sum_^j\frac \nabla^l\mathbf_n(t_n,\mathbf_),\quad \text \quad \gamma_=(-1)^ \int\limits_0^1e^\theta \left(\begin-\theta \\ j\end\right) d\theta,

which results from the interpolation of

gn

in (4.2) by a Hermite polynomial of degree p on

tn,\ldots,tn-p+1

.

Local linearization schemes

All numerical implementation

yn

of the LL (or of a HOLL) discretization

zn

involves approximations

\widetilde{\phi}j

to integrals

\phij

of the form

\phij(A,h)=\int\limits

h
0

e(h-s)Asj-1ds,    j=1,2\ldots,

where A is a d × d matrix. Every numerical implementation

yn

of the LL (or of a HOLL)

zn

of any order is generically called Local Linearization scheme.[1] [6]

Computing integrals involving matrix exponential

Among a number of algorithms to compute the integrals

\phij

, those based on rational Padé and Krylov subspaces approximations for exponential matrix are preferred. For this, a central role is playing by the expression[7] [8] [9]
l
\sum\nolimits
i=1

\phii(A,h)ai=LehHr,

where

ai

are d-dimensional vectors,

H=\begin{bmatrix}A&vl&vl-1&&v1\ 0&0&1&&0\ 0&0&0&\ddots&0\ \vdots&\vdots&\vdots&\ddots&1\ 0&0&0&&0\end{bmatrix} \inR(d+l) x ,

L=[I0d x ]

,

r=[01 x   1]\intercal,

vi=ai(i-1)!

, being

I

the d-dimensional identity matrix.

If

Pp,q(2-kHh)

denotes the (pq)-Padé approximation of
2-kHh
e

and k is the smallest natural number such that

|2-kHh|\leq

1
2

,then

[10]

\left\vert

l
\sum\nolimits
i=1

\phii(A,h)ai- L\left(Pp,q(2-k

2k
Hh)\right)

r\right\vert\varproptohp+q+1.

If

p,q
k
m,k

(h,H,r)

denotes the (m; p; q; k) Krylov-Padé approximation of

ehHr

, then [10]

\left\vert

l
\sum\nolimits
i=1

\phii(A,h)ai-

p,q
Lk
m,k

(h,H,r)\right\vert\varproptohmin)},

where

m\leqd

is the dimension of the Krylov subspace.

Order-2 LL schemes

yn+1=yn+L(Pp,q

-kn
(2

Mnhn

kn
2
))

r,

[11] [6]

      (4.6)

where the matrices

Mn

, L and r are defined as

Mn=\begin{bmatrix}fx(tn,yn)&ft(tn,yn)&f(tn,yn)\ 0&0&1\ 0&0&0 \end{bmatrix} \inR(d+2) x ,

L=\left[ \begin{array}{ll} I&0d x \end{array} \right]

and

r\intercal=\left[\begin{array}{ll} 01 x &1 \end{array} \right]

with

p+q>1

. For large systems of ODEs

yn+1=yn

p,q
+Lk
mn,kn

(hn,Mn,r),    with    mn>2.

Order-3 LL-Taylor schemes

yn+1=yn+L1(Pp,q

-kn
(2

Tn

kn
2
h
n))

r1,

      (4.7)

where for autonomous ODEs the matrices

Tn,L1

and

r1

are defined as

Tn=\left[\begin{array}{cccc} fx(yn)&(If \intercal(yn))fxx(yn) f(yn)&0&f(yn)\ 0&0&0&0\ 0&0&0&1\ 0&0&0&0 \end{array} \right]\inR(d+3) x ,

L1=\left[\begin{array}{ll} I&0d x \end{array} \right]and

\intercal
r
1

=\left[\begin{array}{ll} 01 x &1 \end{array} \right]

. Here,

fxx

denotes the second derivative of f with respect to x, and p + q > 2. For large systems of ODEs

yn+1=yn

p,q
+Lk
mn,kn

(hn,Tn,r),    with    mn>3.

Order-4 LL-RK schemes

yn+1=yn+u4+

hn
6

(2k 2+2k3+k4),

      (4.8)

where

uj=L(Pp,q

-\kappaj
(2

M ncjhn

\kappaj
2
))

r

and

kj=f\left(tn+cjhn,yn+u j+cjhnkj-1\right)-f\left(tn,y n\right)-fx\left(tn,yn\right)uj -ft\left(tn,yn\right) cjhn,

with

k1\equiv0,c=\left[\begin{array}{cccc} 0&

1
2

&

1
2

&1 \end{array} \right],

and p + q > 3. For large systems of ODEs, the vector

uj

in the above scheme is replaced by

uj

p,q
=Lk
mj,kj

(cjhn,Mn,r)

with

mj>4.

Locally linearized Runge–Kutta scheme of Dormand and Prince

yn+1=yn+us+hn\sum

s
j=1

bjkj    and    \widehat{y

}_=\mathbf_n+\mathbf_s+h_n\sum_^s \widehat_j \mathbf_j,\quad [12] [13]

      (4.9)

where s = 7 is the number of stages,

kj=f(tn+cjhn,yn+uj+hn

s-1
\sum
i=1

aj,iki)-f\left(tn, yn\right)-fx\left(tn,yn\right)uj -ft\left(tn,yn\right)cjhn,

with

k1\equiv0

, and

aj,i,bj,\widehat{b}jandcj

are the Runge–Kutta coefficients of Dormand and Prince and p + q > 4. The vector

uj

in the above scheme is computed by a Padé or Krylor–Padé approximation for small or large systems of ODE, respectively.

Stability and dynamics

By construction, the LL and HOLL discretizations inherit the stability and dynamics of the linear ODEs, but it is not the case of the LL schemes in general. With

p\leqq\leqp+2

, the LL schemes (4.6)-(4.9) are A-stable. With q = p + 1 or q = p + 2, the LL schemes (4.6)–(4.9) are also L-stable. For linear ODEs, the LL schemes (4.6)-(4.9) converge with order p + q. In addition, with p = q = 6 and

mn

= d, all the above described LL schemes yield to the ″exact computation″ (up to the precision of the floating-point arithmetic) of linear ODEs on the current personal computers. This includes stiff and highly oscillatory linear equations. Moreover, the LL schemes (4.6)-(4.9) are regular for linear ODEs and inherit the symplectic structure of Hamiltonian harmonic oscillators. These LL schemes are also linearization preserving, and display a better reproduction of the stable and unstable manifolds around hyperbolic equilibrium points and periodic orbits that other numerical schemes with the same stepsize. For instance, Figure 1 shows the phase portrait of the ODEs

\begin{align} &

dx1
dt

=-2x1+x2+1-\muf(x1,λ)       (4.10)\\[6pt] &

dx2
dt

=x1-2x2+1-\muf(x2,λ)       (4.11) \end{align}

with

f(u,λ)=u(1+uu2)-1

,

\mu=15

and

λ=57

, and its approximation by various schemes. This system has two stable stationary points and one unstable stationary point in the region

0\leqx1,x2\leq1

.

LL methods for DDEs

Consider the d-dimensional Delay Differential Equation (DDE)

dx(t)
dt

=f(t,x(t),xt(-\tau1),\ldots,xt(-\taum)),    t\in[t0,T],       (5.1)

with m constant delays

\taui>0

and initial condition
x
t0

(s)=\varphi(s)

for all

s\in[-\tau,0],

where f is a differentiable function,

xt:[-\tau,0]\longrightarrowRd

is the segment function defined as

xt(s):=x(t+s),s\in[-\tau,0],

for all

t\in[t0,T],\varphi:[-\tau,0]\longrightarrowRd

is a given function, and

\tau=max\left\{\tau1,\ldots,\taum\right\}.

Local linear discretization

For a time discretization

(t)h

, the Local Linear discretization of the DDE (5.1) at each point

tn+1\in(t)h

is defined by the recursive expression

zn+1=zn+\Phi(tn,zn,hn;\widetilde{z

}_^1, \ldots,\widetilde_^m),\qquad \qquad (5.2)

where

\Phi(tn,zn,hn;\widetilde{z

}_^1, \ldots, \widetilde_^) = \int\limits_0^e^ \left[\sum\limits_{i=1}^m \mathbf{B}_n^i (\widetilde{\mathbf{z}}_{t_n}^i (u-\tau_i) -\widetilde{\mathbf{z}}_{t_n}^i (-\tau_i))+\mathbf{d}_n\right] \, du + \int \limits_0^\int\limits_0^u e^\mathbf_n \, dr \, du

\widetilde{z

}_^i:\left[-\tau_i,0\right] \longrightarrow \mathbb^d is the segment function defined as

\widetilde{z

}_^i(s):=\widetilde^i(t_n+s), \text s\in [-\tau_i,0],

and

\widetilde{z

}^i:\left[t_n-\tau_i,t_n\right] \longrightarrow \mathbb^dis a suitable approximation to

x(t)

for all

t\in\lbracktn-\taui,tn]

such that

\widetilde{z

}^i(t_n)=\mathbf_n. Here,

An=fx(tn,zn,\widetilde{z

}_^1(-\tau_1),\ldots,\widetilde_^m(-\tau_d)),\text\mathbf_n^i=\mathbf_(t_n,\mathbf_n,\widetilde_^1(-\tau_1),\ldots,\widetilde_^m(-\tau_d))

are constant matrices and

cn=ft(tn,zn,\widetilde{z

}_^1 (-\tau_1),\ldots,\widetilde_^m(-\tau_d))\text\mathbf_n=\mathbft_n,\mathbf_n,\widetilde_^1(-\tau_1),\ldots,\widetilde_^m(-\tau_d))

are constant vectors.

ft,fxand

f
xt(-\taui)
denote, respectively, the partial derivatives of f with respect to the variables t and x, and

xt(-\taui)

. The Local Linear discretization (5.2) converges to the solution of (5.1) with order

\alpha=min\{2,r\},

if

\widetilde{z

}_^ approximates
i
z
tn
with order

r(i.e.,\left\vert

i
z
tn

(u-\taui)-\widetilde{z

}_^\mathbfu-\tau _\mathbf\right\vert \propto h_^ for all

u\in\lbrack0,hn])

.

Local linearization schemes

Depending on the approximations

\widetilde{z

}_^ and on the algorithm to compute

\phi

different Local Linearizations schemes can be defined. Every numerical implementation

yn

of a Local Linear discretization

zn

is generically called local linearization scheme.

Order-2 polynomial LL schemes

yn+1=yn+L(Pp,q

-kn
(2

Mnhn

kn
2
))

r,

   (5.3)

where the matrices

Mn,L

and

r

are defined as

Mn= \begin{bmatrix} An&cn

m
+\sum\limits
i=1
i
B
n
i
\alpha
n

&dn\ 0&0&1\ 0&0&0 \end{bmatrix} \inR(d+2) x ,

L=\left[\begin{array}{ll} I&0d x \end{array} \right]

and

r\intercal=\left[\begin{array}{ll} 01 x &1 \end{array} \right],hn\leq\tau

, and

p+q>1

. Here, the matrices

An

,
i
B
n
,

cn

and

dn

are defined as in (5.2), but replacing

z

by

y

and
i
\alpha
n

=(y(tn+1-\taui)-y (tn-\taui))/hn,

where

y\left(t\right)

=y
nt

+L(Pp,q

-kn
(2
M
nt
(t-t
nt
kn
2
)))

r,

with

nt=max\{n=0,1,2,...,:tn\leqtandtn\in\left(t\right)h\}

, is the Local Linear Approximation to the solution of (5.1) defined through the LL scheme (5.3) for all

t\in\lbrack t0,tn]

and by

y\left(t\right)=\varphi\left(t\right)

for

t\in\left[t0-\tau,t0\right]

. For large systems of DDEs

yn+1=yn

p,q
+Lk
mn,kn

(hn,Mn,r)andy\left(t\right)

=y
nt
p,q
+Lk
m
,k
nt
nt
(t-t
nt
,M
nt

,r),

with

p+q>1

and

mn>2

. Fig. 2 Illustrates the stability of the LL scheme (5.3) and of that of an explicit scheme of similar order in the integration of a stiff system of DDEs.

LL methods for RDEs

Consider the d-dimensional Random Differential Equation (RDE)

dx\left(t\right)
dt

=f(x(t),\xi (t)),t\in\left[t0,T\right],          (6.1)

with initial condition

x(t0)=x0,

where

\xi

is a k-dimensional separable finite continuous stochastic process, and f is a differentiable function. Suppose that a realization (path) of

\xi

is given.

Local Linear discretization

For a time discretization

\left(t\right)h

, the Local Linear discretization of the RDE (6.1) at each point

tn+1\in\left(t\right)h

is defined by the recursive expression

zn+1=zn+\phi(tn,zn;hn),    with    z0=x0,

where

\phi(tn,zn;hn)=\int\limits

hn
0
fx(zn,\xi(tn))(hn-u)
e

(f(zn,\xi(tn))+f\xi(zn,\xi(tn))(\widetilde{\xi

}(t_+u)-\widetilde(t_n))) \, du

and

\widetilde{\xi

} is an approximation to the process

\xi

for all

t\in\left[t0,T\right].

Here,

fx

and

f\xi

denote the partial derivatives of

f

with respect to

x

and

\xi

, respectively.

Local linearization schemes

Depending on the approximations

\widetilde{\xi

} to the process

\xi

and of the algorithm to compute

\phi

, different Local Linearizations schemes can be defined. Every numerical implementation

yn

of the local linear discretization

zn

is generically called local linearization scheme.

LL schemes

yn+1=yn+L(Pp,q

-kn
(2

Mnhn

kn
2
))

r,

[14]

where the matrices

Mn,Landr

are defined as

Mn=\left[\begin{array}{ccc} fx\left(yn,\xi(tn)\right)&f\xi(yn,\xi(tn)(\xi (tn+1)-\xi(tn))/hn&f\left(yn, \xi(tn)\right)\ 0&0&1\ 0&0&0 \end{array} \right]

L=\left[\begin{array}{ll} I&0d x \end{array} \right]

,

r\intercal=\left[\begin{array}{ll} 01 x &1 \end{array} \right]

, and p+q>1. For large systems of RDEs,

yn+1=yn

p,q
+Lk
mn,kn

(hn,Mn,r),p+q>1 andmn>2.

The convergence rate of both schemes is

min\{2,2\gamma\}

, where is

\gamma

the exponent of the Holder condition of

\xi

.

Figure 3 presents the phase portrait of the RDE

dx1
dt

=-x2+\left(

2
1-x
1
2
-x
2

\right)x1\sin (wH(t))2,    x1(0)=0.8    (6.2)

dx2
dt

=x1

2
+(1-x
1
2
-x
2

)x2\sin(wH(t))2,       x2(0)=0.1,    (6.3)

and its approximation by two numerical schemes, where

wH

denotes a fractional Brownian process with Hurst exponent H=0.45.

Strong LL methods for SDEs

Consider the d-dimensional Stochastic Differential Equation (SDE)

m
dx(t)=f(t,x(t))dt+\sum\limits
i=1

g i(t)dwi(t),t\in\left[t0,T\right],          (7.1)

with initial condition

x(t0)=x0

, where the drift coefficient

f

and the diffusion coefficient

gi

are differentiable functions, and

w=(w1,\ldots,w m)

is an m-dimensional standard Wiener process.

Local linear discretization

For a time discretization

\left(t\right)h

, the order-

\gamma

(=1,1.5) Strong Local Linear discretization of the solution of the SDE (7.1) is defined by the recursive relation [15]

zn+1=zn+\phi\gamma(tn, zn;hn)+\xi(tn,zn;hn),withz0=x0,

where

\phi\gamma(tn,zn

\delta
;\delta )=\int
0
fx(tn,yn)(\delta -u)
e

(f(tn,zn)+a\gamma(tn, zn)u)du

and

\xi\left(tn,zn;\delta\right)=

m
\sum\limits
i=1
tn+\delta
\int\nolimits
tn
fx(tn,zn)(tn+\delta-u)
e

gi(u)dwi(u).

Here,

a\gamma(tn,zn)=\left\{ \begin{array}{cl} ft(tn,zn)&for    \gamma=1\\ ft(tn,zn)+

1
2
m
\sum\limits
j=1

(I

\intercal
g
j

(tn))fxx(tn,zn)gj(tn)&for\gamma=1.5, \end{array} \right.

fx,ft

denote the partial derivatives of

f

with respect to the variables

x

and t, respectively, and

fxx

the Hessian matrix of

f

with respect to

x

. The strong Local Linear discretization

zn+1

converges with order

\gamma

(= 1, 1.5) to the solution of (7.1).

High-order local linear discretizations

After the local linearization of the drift term of (7.1) at

(tn,zn)

, the equation for the residual

r

is given by

dr(t)=q\gamma(tn,zn;t,r(t))dt+

m
\sum\limits
i=1

gi(t)dwi(t),    r(tn)=0

for all

t\in\lbracktn,tn+1]

, where

q\gamma(tn,zn;s,\xi)=f(s,zn+\phi\gamma(tn,zn;s-tn)+\xi)-fx(tn,zn)\phi\gamma(tn,zn;s-tn)-a\gamma(tn,zn)(s-tn)-f(tn,zn).

A high-order local linear discretization of the SDE (7.1) at each point

tn+1\in(t)h

is then defined by the recursive expression [16]

zn+1=zn+\phi\gamma(tn,zn;hn)+\widetilde{r

}(t_n,\mathbf_n;h_n),\qquad \text \qquad \mathbf_0=\mathbf_0,

where

\widetilde{r

} is a strong approximation to the residual

r

of order

\alpha

higher than 1.5. The strong HOLL discretization

zn+1

converges with order

\alpha

to the solution of (7.1).

Local linearization schemes

Depending on the way of computing

\phi\gamma

,

\xi

and

\widetilde{r

} different numerical schemes can be obtained. Every numerical implementation

yn

of a strong Local Linear discretization

zn

of any order is generically called Strong Local Linearization (SLL) scheme.

Order 1 SLL schemes

yn+1=yn+L(Pp,q

-kn
(2

Mnhn

kn
2
))
m
r+\sum\limits
i=1

gi(tn)\Delta

i,
w
n

      (7.2)

where the matrices

Mn

,

L

and

r

are defined as in (4.6),

\Delta

i
w
n
is an i.i.d. zero mean Gaussian random variable with variance

hn

, and p + q > 1. For large systems of SDEs, in the above scheme

(Pp,q

-kn
(2

Mnhn

kn
2
))

r

is replaced by
p,q
k
mn,kn

(hn,Mn,r)

.

Order 1.5 SLL schemes

yn+1=yn+L(Pp,q

-kn
(2

Mn

kn
2
h
n))
m\left(
r+\sum\limits
i=1

gi(tn)\Delta

i
w
n

fx(tn,\widetilde{y

}_n)\mathbf_i(t_n)\Delta \mathbf_n^i+\frac (\Delta \mathbf_^h_-\Delta \mathbf_^)\right), \qquad \qquad (7.3)

where the matrices

Mn

,

L

and

r

are defined as

Mn= \begin{bmatrix} fx(tn,yn)&ft(tn,y

n)+1
2
m
\sum\limits
j=1

\left(I

\intercal
g
j

(tn)\right)f(tn,yn)gj(tn)&f(tn,yn)\ 0&0&1\ 0&0&0 \end{bmatrix} \inR(d+2) x ,

L=\left[\begin{array}{ll} I&0d x \end{array} \right],r\intercal=\left[\begin{array}{ll} 01 x &1 \end{array} \right]

,

\Delta

i
z
n
is a i.i.d. zero mean Gaussian random variable with variance

E\left((\Delta

i
z
n

)2\right)=

1
3
3
h
n
and covariance

E(\Delta

i
w
n

\Delta

i
z)=
n
1
2
2
h
n
and p+q>1 . For large systems of SDEs, in the above scheme

(Pp,q

-kn
(2

Mnhn

kn
2
))

r

is replaced by
p,q
k
mn,kn

(hn,Mn,r)

.

Order 2 SLL-Taylor schemes

y
tn+1

=yn+L(Pp,q

-kn
(2

Mnhn

kn
2
))
m
r+\sum\limits
j=1

g j\left(tn\right)\Delta

j
w
n
m
+\sum\limits
j=1

fx(tn,yn)gj\left(tn\right)\widetilde{J}\left(

m
+\sum\limits
j=1
dg
j
dt

\left(tn\right)\widetilde{J}\left(

  

m
   +\sum\limits
j1,j2=1

\left(I

\intercal
g
j2

\left(tn\right)\right)fxx(tn,yn

)g
j1

\left(tn\right)

\widetilde{J}
\left(j1,j2,0\right),

      (7.4)

where

Mn

,

L

,

r

and

\Delta

i
w
n
are defined as in the order-1 SLL schemes, and

\widetilde{J}\alpha

is order 2 approximation to the multiple Stratonovish integral

J\alpha

.

Order 2 SLL-RK schemes

For SDEs with a single Wiener noise (m=1)

y
tn+1

=yn+\widetilde{\phi

}(t_,\mathbf_;h_)+\frac\left(\mathbf_+\mathbf_\right) +\mathbf\left(t_\right) \Delta w_+\fracJ_ \quad (7.5)

where

k1=f(tn+

hn
2

,yn+\widetilde{ \phi

}(t_,\mathbf_;\frac)+\gamma _)-\mathbf_(t_,\mathbf_)\widetilde(t_,\mathbf_;\frac)-\mathbf\left(t_,\mathbf_\right) -\mathbf_\left(t_,\mathbf_\right) \frac,

k2=f(tn+

hn
2

,yn+\widetilde{ \phi

}(t_,\mathbf_;\frac)+\gamma _) -\mathbf_(t_,\mathbf_)\widetilde(t_,\mathbf_;\frac) -\mathbf\left(t_,\mathbf_\right) -\mathbf_\left(t_,\mathbf_\right) \frac,

with

\gamma\pm=

1
hn

g\left(tn\right)l(\widetilde{J}\left(\pm\sqrt{2\widetilde{J}\left(1,1,0\right)hn

2
- \widetilde{J}
\left(1,0\right)
} \Bigr) .

Here,

\widetilde{\phi

}(t_,\mathbf_;h_)=\mathbf(\mathbf_(2^\mathbf_h_))^\mathbf for low dimensional SDEs, and

\widetilde{\phi

}(t_,\mathbf_;h_)=\mathbf_^(h_,\mathbf_, \mathbf) for large systems of SDEs, where

Mn

,

L

,

r

,

\Delta

i
w
n

and

\widetilde{J}\alpha

are defined as in the order-2 SLL-Taylor schemes, p+q>1 and

mn>2

.

Stability and dynamics

By construction, the strong LL and HOLL discretizations inherit the stability and dynamics of the linear SDEs, but it is not the case of the strong LL schemes in general. LL schemes (7.2)-(7.5) with

p\leqq\leqp+2

are A-stable, including stiff and highly oscillatory linear equations. Moreover, for linear SDEs with random attractors, these schemes also have a random attractor that converges in probability to the exact one as the stepsize decreases and preserve the ergodicity of these equations for any stepsize. These schemes also reproduce essential dynamical properties of simple and coupled harmonic oscillators such as the linear growth of energy along the paths, the oscillatory behavior around 0, the symplectic structure of Hamiltonian oscillators, and the mean of the paths.[17] For nonlinear SDEs with small noise (i.e., (7.1) with

gi(t)0

), the paths of these SLL schemes are basically the nonrandom paths of the LL scheme (4.6) for ODEs plus a small disturbance related to the small noise. In this situation, the dynamical properties of that deterministic scheme, such as the linearization preserving and the preservation of the exact solution dynamics around hyperbolic equilibrium points and periodic orbits, become relevant for the paths of the SLL scheme. For instance, Fig 4 shows the evolution of domains in the phase plane and the energy of the stochastic oscillator

\begin{array}{ll} dx(t)=y(t)dt,&x1(0)=0.01\ dy(t)=-(\omega2x(t)+\epsilonx4(t))dt+\sigmadwt,&x1(0)=0.1, \end{array}       (7.6)

and their approximations by two numerical schemes.

Weak LL methods for SDEs

Consider the d-dimensional stochastic differential equation

m
dx(t)=f(t,x(t))dt+\sum\limits
i=1

g i(t)dwi(t),    t\in\left[t0,T\right],       (8.1)

with initial condition

x(t0)=x0

, where the drift coefficient

f

and the diffusion coefficient

gi

are differentiable functions, and

w=(w1,\ldots,wm)

is an m-dimensional standard Wiener process.

Local Linear discretization

For a time discretization

\left(t\right)h

, the order-

\beta

(=1,2)

Weak Local Linear discretization of the solution of the SDE (8.1) is defined by the recursive relation

zn+1=zn+\phi\beta(tn, zn;hn)+η(tn,zn;hn),withz0=x0,

where

\phi\beta(tn,zn

\delta
;\delta )=\int
0
fx(tn,zn)(\delta -u)
e

(f(tn,zn)+b\beta(tn, zn)u)du

with

b\beta(tn,zn)= \begin{cases} ft(tn,zn)&for\beta=1\\ ft(tn,zn)+

1
2
m
\sum \limits
j=1

\left(I

\intercal
g
j

\left(tn\right)\right)fxx(tn, zn)gj\left(tn\right)&for\beta =2, \end{cases}

and

η(tn,zn;\delta)

is a zero mean stochastic process with variance matrix

\Sigma(tn,zn;\delta

\delta
)=\int\limits
0
fx(tn,zn)(\delta-s)
e

G(tn+s) G\intercal(tn

\intercal
f(tn,zn)(\delta-s)
x
+s)e

ds.

Here,

fx

,

ft

denote the partial derivatives of

f

with respect to the variables

x

and t, respectively,

fxx

the Hessian matrix of

f

with respect to

x

, and

G(t)=[g1(t),\ldots,gm(t)]

. The weak Local Linear discretization

zn+1

converges with order

\beta

(=1,2) to the solution of (8.1).

Local Linearization schemes

Depending on the way of computing

\phi\beta

and

\Sigma

different numerical schemes can be obtained. Every numerical implementation

yn

of the Weak Local Linear discretization

zn

is generically called Weak Local Linearization (WLL) scheme.

Order 1 WLL scheme

yn+1=yn+B14+(B12

\intercal
B
11

)1/2\xin

[18] [19]

where, for SDEs with autonomous diffusion coefficients,

B11

,

B12

and

B14

are the submatrices defined by the partitioned matrix

B=Pp,q

-kn
(2

l{M}nhn

kn
2
))
, with

l{M}n=\left[\begin{array}{cccc} fx(tn,yn)&GG\intercal&ft(tn,yn)&f(tn,yn)\ 0&

\intercal
-f
x

(tn,yn)&0&0\ 0&0&0&1\ 0&0&0&0 \end{array} \right]\inR(2d+2) x ,

and

\{\xin\}

is a sequence of d-dimensional independent two-points distributed random vectors satisfying

P(\xi

k
n

=\pm1)=

1
2

.

Order 2 WLL scheme

yn+1=yn+B16+(B14

\intercal
B
11

)1/2\xin,

where

B11

,

B14

and

B16

are the submatrices defined by the partitioned matrix

B=Pp,q

-kn
(2

l{M}nhn

kn
2
))
with

l{M}n=\left[\begin{array}{cccccc} J&H2&H1&H0&a 2&a1\ 0&-J\intercal&I&0&0 &0\ 0&0&-J\intercal&I&0 &0\ 0&0&0&-J\intercal&0 &0\ 0&0&0&0&0&1\ 0&0&0&0&0&0 \end{array} \right]\inR(4d+2) x ,

J=fx(tn,yn)    a1=f(tn,yn)    a 2=ft(tn,yn)+

1
2
m
\sum\limits
i=1

(I(gi(tn))\intercal)fxx (tn,yn)gi(tn)

and

H0=G(tn)G\intercal(tn)    H1=G(tn)

dG\intercal(tn)+
dt
dG(tn)
dt

G\intercal(tn)    H2=

dG(tn)
dt
dG\intercal (tn)
dt

.

Stability and dynamics

By construction, the weak LL discretizations inherit the stability and dynamics of the linear SDEs, but it is not the case of the weak LL schemes in general. WLL schemes, with

p\leqq\leqp+2,

preserve the first two moments of the linear SDEs, and inherits the mean-square stability or instability that such solution may have. This includes, for instance, the equations of coupled harmonic oscillators driven by random force, and large systems of stiff linear SDEs that result from the method of lines for linear stochastic partial differential equations. Moreover, these WLL schemes preserve the ergodicity of the linear equations, and are geometrically ergodic for some classes of nonlinear SDEs.[20] For nonlinear SDEs with small noise (i.e., (8.1) with

gi(t)0

), the solutions of these WLL schemes are basically the nonrandom paths of the LL scheme (4.6) for ODEs plus a small disturbance related to the small noise. In this situation, the dynamical properties of that deterministic scheme, such as the linearization preserving and the preservation of the exact solution dynamics around hyperbolic equilibrium points and periodic orbits, become relevant for the mean of the WLL scheme. For instance, Fig. 5 shows the approximate mean of the SDE

dx=-t2xdt+

3
2(t+1)
-t3/3
e

dwt,       x(0)=1,    (8.2)

computed by various schemes.

Historical notes

Below is a time line of the main developments of the Local Linearization (LL) method.

Notes and References

  1. Jimenez J.C. (2009). "Local Linearization methods for the numerical integration of ordinary differential equations: An overview". ICTP Technical Report. 035: 357–373.
  2. de la Cruz H.; Biscay R.J.; Carbonell F.; Jimenez J.C.; Ozaki T. (2006). "Local Linearization-Runge Kutta (LLRK) methods for solving ordinary differential equations". Lecture Note in Computer Sciences 3991: 132–139, Springer-Verlag. . .
  3. de la Cruz H.; Biscay R.J.; Jimenez J.C.; Carbonell F. (2013). "Local Linearization - Runge Kutta Methods: a class of A-stable explicit integrators for dynamical systems". Math. Comput. Modelling. 57 (3–4): 720–740. .
  4. Tokman M. (2006). "Efficient integration of large stiff systems of ODEs with exponential propagation iterative (EPI) methods". J. Comput. Physics. 213 (2): 748–776. .
  5. M. Hochbruck.; A. Ostermann. (2011). "Exponential multistep methods of Adams-type". BIT Numer. Math. 51 (4): 889–908. .
  6. Jimenez, J. C., & Carbonell, F. (2005). "Rate of convergence of local linearization schemes for initial-value problems". Appl. Math. Comput., 171(2), 1282-1295. .
  7. Carbonell F.; Jimenez J.C.; Pedroso L.M. (2008). "Computing multiple integrals involving matrix exponentials". J. Comput. Appl. Math. 213: 300–305. doi:10.1016/j.cam.2007.01.007.
  8. de la Cruz H.; Biscay R.J.; Carbonell F.; Ozaki T.; Jimenez J.C. (2007). "A higher order Local Linearization method for solving ordinary differential equations". Appl. Math. Comput. 185: 197–212. .
  9. Jimenez J.C.; Pedroso L.; Carbonell F.; Hernandez V. (2006). "Local linearization method for numerical integration of delay differential equations". SIAM J. Numer. Analysis. 44 (6): 2584–2609. .
  10. Jimenez J.C.; de la Cruz H. (2012). "Convergence rate of strong Local Linearization schemes for stochastic differential equations with additive noise". BIT Numer. Math. 52 (2): 357–382. .
  11. Jimenez J.C.; Biscay R.; Mora C.; Rodriguez L.M. (2002). "Dynamic properties of the Local Linearization method for initial-value problems". Appl. Math. Comput. 126: 63–68. .
  12. Jimenez J.C.; Sotolongo A.; Sanchez-Bornot J.M. (2014). "Locally Linearized Runge Kutta method of Dormand and Prince". Appl. Math. Comput. 247: 589–606. .
  13. Naranjo-Noda, Jimenez J.C. (2021) "Locally Linearized Runge_Kutta method of Dormand and Prince for large systems of initial value problems." J.Comput. Physics. 426: 109946. .
  14. Jimenez J.C.; Carbonell F. (2009). "Rate of convergence of local linearization schemes for random differential equations". BIT Numer. Math. 49 (2): 357–373. .
  15. Jimenez J.C, Shoji I., Ozaki T. (1999) "Simulación of stochastic differential equation through the local linearization method. A comparative study". J. Statist. Physics. 99: 587-602, .
  16. de la Cruz H.; Biscay R.J.; Jimenez J.C.; Carbonell F.; Ozaki T. (2010). "High Order Local Linearization methods: an approach for constructing A-stable high order explicit schemes for stochastic differential equations with additive noise". BIT Numer. Math. 50 (3): 509–539. .
  17. de la Cruz H.; Jimenez J.C.; Zubelli J.P. (2017). "Locally Linearized methods for the simulation of stochastic oscillators driven by random forces". BIT Numer. Math. 57: 123–151. .
  18. Jimenez J.C.; Carbonell F. (2015). "Convergence rate of weak Local Linearization schemes for stochastic differential equations with additive noise". J. Comput. Appl. Math. 279: 106–122. .
  19. Carbonell F.; Jimenez J.C.; Biscay R.J. (2006). "Weak local linear discretizations for stochastic differential equations: convergence and numerical schemes". J. Comput. Appl. Math. 197: 578–596. .
  20. Hansen N.R. (2003) "Geometric ergodicity of discre-time approximations to multivariate diffusion". Bernoulli. 9 : 725-743, .
  21. Pope, D. A. (1963). "An exponential method of numerical integration of ordinary differential equations". Comm. ACM, 6(8), 491-493. .
  22. Ozaki, T. (1985). "Non-linear time series models and dynamical systems". Handbook of statistics, 5, 25-83. .
  23. Biscay, R., Jimenez, J. C., Riera, J. J., & Valdes, P. A. (1996). "Local linearization method for the numerical solution of stochastic differential equations". Annals Inst. Statis. Math. 48(4), 631-644. .
  24. Shoji, I., & Ozaki, T. (1997). "Comparative study of estimation methods for continuous time stochastic processes". J. Time Series Anal. 18(5), 485-506. .
  25. Hochbruck, M., Lubich, C., & Selhofer, H. (1998). "Exponential integrators for large systems of differential equations". SIAM J. Scient. Comput. 19(5), 1552-1574. .
  26. Jimenez, J. C. (2002). "A simple algebraic expression to evaluate the local linearization schemes for stochastic differential equations". Appl. Math. Letters, 15(6), 775-780. .
  27. Carbonell, F., Jimenez, J. C., Biscay, R. J., & De La Cruz, H. (2005). "The local linearization method for numerical integration of random differential equations". BIT Num. Math. 45(1), 1-14. .