Local linearization method

From HandWiki
Short description: Numerical method for differential equations

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 𝐫=𝐱𝐳.

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)

d𝐱(t)dt=𝐟(t,𝐱(t)),t[t0,T],(4.1)

with initial condition 𝐱(t0)=𝐱0, where 𝐟 is a differentiable function.

Let (t)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+1tnh. After the local linearization of the equation (4.1) at the time step tn the variation of constants formula yields

𝐱(tn+h)=𝐱(tn)+ϕ(tn,𝐱(tn);h)+𝐫(tn,𝐱(tn);h),

where

ϕ(tn,𝐳n;h)=0he𝐟𝐱(tn,𝐳n)(hs)(𝐟(tn,𝐳n)+𝐟t(tn,𝐳n)s)ds

results from the linear approximation, and

𝐫(tn,𝐳n;h)=0he𝐟𝐱(tn,𝐳n)(hs)𝐠n(s,𝐱(tn+s))ds,(4.2)

is the residual of the linear approximation. Here, 𝐟𝐱 and 𝐟t denote the partial derivatives of f with respect to the variables x and t, respectively, and 𝐠n(s,𝐮)=𝐟(s,𝐮)𝐟𝐱(tn,𝐳n)𝐮𝐟t(tn,𝐳n)(stn)𝐟(tn,𝐳n)+𝐟𝐱(tn,𝐳n)𝐳n.

Local linear discretization

For a time discretization (t)h, the Local Linear discretization of the ODE (4.1) at each point tn+1(t)h is defined by the recursive expression [1][2]

𝐳n+1=𝐳n+ϕ(tn,𝐳n;hn), with 𝐳0=𝐱0.(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.[3]

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(t)h is defined by the recursive expression [1][4][5][6]

𝐳n+1=𝐳n+ϕ(tn,𝐳n;hn)+𝐫~(tn,𝐳n;hn), with 𝐳0=𝐱0,(4.4)

where r~ is an order α (> 2) approximation to the residual r (i.e.,|𝐫(tn,𝐳n;h)𝐫~(tn,𝐳n;h)|hα+1). The HOLL discretization (4.4) converges with order α to the solution of nonlinear ODEs, but it match the solution of the linear ODEs.

HOLL discretizations can be derived in two ways:[1][4][5][6] 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

d𝐫(t)dt=𝐪(tn,𝐳n;t,𝐫(t)), with 𝐫(tn)=𝟎,(4.5)

for all t[tk,tk+1], where

𝐪(tn,𝐳n;s,ξ)=𝐟(s,𝐳n+ϕ(tn,𝐳n;stn)+ξ)𝐟𝐱(tn,𝐳n)ϕ(tn,𝐳n;stn)𝐟t(tn,𝐳n)(stn)𝐟(tn,𝐳n).


HOLL discretizations are, for instance, the followings:

  • Locally Linearized Runge Kutta discretization[6][4]

𝐳n+1=𝐳n+ϕ(tn,𝐳n;hn)+hnj=1sbj𝐤j, with 𝐤i=𝐪(tn,𝐳n; tn+cihn,hnj=1i1aij𝐤j),

which is obtained by solving (4.5) via a s-stage explicit Runge–Kutta (RK) scheme with coefficients 𝐜=[ci],𝐀=[aij]and𝐛=[bj].

  • Local linear Taylor discretization[5]

𝐳n+1=𝐳n+ϕ(tn,𝐳n;hn)+0hne(hns)𝐟𝐱(tn,𝐳n)j=2p𝐜n,jj!sjds, with 𝐜n,j=(dj+1𝐱(t)dtj+1𝐟𝐱(tn,𝐳n)dj𝐱(t)dtj)t=𝐳n,

which results from the approximation of 𝐠n in (4.2) by its order-p truncated Taylor expansion.

  • Multistep-type exponential propagation discretization

𝐳n+1=𝐳n+ϕ(tn,𝐳n;h)+hj=0p1γjj𝐠n(tn,𝐳n),withγj=(1)j01e(1θ)h𝐟𝐱(tn,𝐳n)(θj)dθ,

which results from the interpolation of 𝐠n in (4.2) by a polynomial of degree p on tn,,tnp+1, where j𝐠n(tm,𝐳m) denotes the j-th backward difference of 𝐠n(tm,𝐳m).

  • Runge Kutta type Exponential Propagation discretization [7]

𝐳n+1=𝐳n+ϕ(tn,𝐳n;h)+hj=0p1γj,pj𝐠n(tn,𝐳n), with γj,p=01e(1θ)h𝐟𝐱(tn,𝐳n)(θpj)dθ,

which results from the interpolation of 𝐠n in (4.2) by a polynomial of degree p on tn,,tn+(p1)h/p,

  • Linealized exponential Adams discretization[8]

𝐳n+1=𝐳n+ϕ(tn,𝐳n;h)+hj=1p1l=1jγj+1ll𝐠n(tn,𝐳n), with γj+1=(1)j+101e(1θ)h𝐟𝐱(tn,𝐳n)θ(θj)dθ,

which results from the interpolation of 𝐠n in (4.2) by a Hermite polynomial of degree p on tn,,tnp+1.

Local linearization schemes

All numerical implementation 𝐲n of the LL (or of a HOLL) discretization 𝐳n involves approximations ϕ~j to integrals ϕj of the form

ϕj(𝐀,h)=0he(hs)𝐀sj1ds,j=1,2,

where A is a d × d matrix. Every numerical implementation 𝐲n of the LL (or of a HOLL) 𝐳n of any order is generically called Local Linearization scheme.[1][9]

Computing integrals involving matrix exponential

Among a number of algorithms to compute the integrals ϕj, those based on rational Padé and Krylov subspaces approximations for exponential matrix are preferred. For this, a central role is playing by the expression[10][5][11]

i=1lϕi(𝐀,h)𝐚i=𝐋eh𝐇𝐫,

where 𝐚i are d-dimensional vectors,

𝐇=[𝐀𝐯l𝐯l1𝐯1𝟎𝟎10𝟎𝟎001𝟎𝟎00](d+l)×(d+l),

𝐋=[𝐈𝟎d×l], 𝐫=[𝟎1×(d+l1)1], 𝐯i=𝐚i(i1)!, being 𝐈 the d-dimensional identity matrix.

If 𝐏p,q(2k𝐇h) denotes the (pq)-Padé approximation of e2k𝐇h and k is the smallest natural number such that |2k𝐇h|12,then [12][9]

|i=1lϕi(𝐀,h)𝐚i𝐋(𝐏p,q(2k𝐇h))2k𝐫|hp+q+1.

If 𝐤m,kp,q(h,𝐇,𝐫) denotes the (m; p; q; k) Krylov-Padé approximation of eh𝐇𝐫, then [12]

|i=1lϕi(𝐀,h)𝐚i𝐋𝐤m,kp,q(h,𝐇,𝐫)|hmin(m,p+q+1),

where md is the dimension of the Krylov subspace.

Order-2 LL schemes

𝐲n+1=𝐲n+𝐋(𝐏p,q(2kn𝐌nhn))2kn𝐫, [13][9] (4.6)

where the matrices 𝐌n, L and r are defined as

𝐌n=[𝐟𝐱(tn,𝐲n)𝐟t(tn,𝐲n)𝐟(tn,𝐲n)001000](d+2)×(d+2),

𝐋=[𝐈𝟎d×2] and 𝐫=[𝟎1×(d+1)1] with p+q>1 . For large systems of ODEs [3]

𝐲n+1=𝐲n+𝐋𝐤mn,knp,q(hn,𝐌n,𝐫), with mn>2.

Order-3 LL-Taylor schemes

𝐲n+1=𝐲n+𝐋1(𝐏p,q(2kn𝐓nhn))2kn𝐫1, [5] (4.7)

where for autonomous ODEs the matrices 𝐓n,𝐋1 and 𝐫1 are defined as

𝐓n=[𝐟𝐱(𝐲n)(𝐈𝐟(𝐲n))𝐟𝐱𝐱(𝐲n)𝐟(𝐲n)𝟎𝐟(𝐲n)000000010000](d+3)×(d+3),

𝐋1=[𝐈𝟎d×3]and𝐫1=[𝟎1×(d+2)1]. Here, 𝐟𝐱𝐱 denotes the second derivative of f with respect to x, and p + q > 2. For large systems of ODEs

𝐲n+1=𝐲n+𝐋𝐤mn,knp,q(hn,𝐓n,𝐫), with mn>3.

Order-4 LL-RK schemes

𝐲n+1=𝐲n+𝐮4+hn6(2𝐤2+2𝐤3+𝐤4), [4][6] (4.8)

where

𝐮j=𝐋(𝐏p,q(2κj𝐌ncjhn))2κj𝐫

and

𝐤j=𝐟(tn+cjhn,𝐲n+𝐮j+cjhn𝐤j1)𝐟(tn,𝐲n)𝐟𝐱(tn,𝐲n)𝐮j 𝐟t(tn,𝐲n)cjhn,

with 𝐤1𝟎,c=[012121], and p + q > 3. For large systems of ODEs, the vector 𝐮j in the above scheme is replaced by 𝐮j=𝐋𝐤mj,kjp,q(cjhn,𝐌n,𝐫) with mj>4.

Locally linearized Runge–Kutta scheme of Dormand and Prince

𝐲n+1=𝐲n+𝐮s+hnj=1sbj𝐤j and 𝐲^n+1=𝐲n+𝐮s+hnj=1sb^j𝐤j, [14][15] (4.9)

where s = 7 is the number of stages,

𝐤j=𝐟(tn+cjhn,𝐲n+𝐮j+hni=1s1aj,i𝐤i)𝐟(tn,𝐲n)𝐟𝐱(tn,𝐲n)𝐮j 𝐟t(tn,𝐲n)cjhn,

with 𝐤1𝟎, and aj,i,bj,b^jandcj are the Runge–Kutta coefficients of Dormand and Prince and p + q > 4. The vector 𝐮j in the above scheme is computed by a Padé or Krylor–Padé approximation for small or large systems of ODE, respectively.

Stability and dynamics

Fig. 1 Phase portrait (dashed line) and approximate phase portrait (solid line) of the nonlinear ODE (4.10)-(4.11) computed by the order-2 LL scheme (4.2), the order-4 classical Rugen-Kutta scheme RK4, and the order-4 LLRK4 schemes (4.8) with step size h=1/2, and p=q=6.

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

pqp+2

, the LL schemes (4.6)-(4.9) are A-stable.[4] With q = p + 1 or q = p + 2, the LL schemes (4.6)–(4.9) are also L-stable.[4] For linear ODEs, the LL schemes (4.6)-(4.9) converge with order p + q.[4][9] 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.[4][9] 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.[5][13] 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.[5][13] For instance, Figure 1 shows the phase portrait of the ODEs

dx1dt=2x1+x2+1μf(x1,λ)(4.10)dx2dt=x12x2+1μf(x2,λ)(4.11)

with f(u,λ)=u(1+u+λu2)1, μ=15 and λ=57, and its approximation by various schemes. This system has two stable stationary points and one unstable stationary point in the region 0x1,x21.

LL methods for DDEs

Consider the d-dimensional Delay Differential Equation (DDE)

d𝐱(t)dt=𝐟(t,𝐱(t),𝐱t(τ1),,𝐱t(τm)),t[t0,T],(5.1)

with m constant delays τi>0 and initial condition 𝐱t0(s)=φ(s) for all s[τ,0], where f is a differentiable function, 𝐱t:[τ,0]d is the segment function defined as

𝐱t(s):=𝐱(t+s), s[τ,0],

for all t[t0,T],φ:[τ,0]d is a given function, and τ=max{τ1,,τm}.

Local linear discretization

For a time discretization (t)h , the Local Linear discretization of the DDE (5.1) at each point tn+1(t)h is defined by the recursive expression [11]

𝐳n+1=𝐳n+Φ(tn,𝐳n,hn;𝐳~tn1,,𝐳~tnm),(5.2)

where

Φ(tn,𝐳n,hn;𝐳~tn1,,𝐳~tnm)=0hne𝐀n(hnu)[i=1m𝐁ni(𝐳~tni(uτi)𝐳~tni(τi))+𝐝n]du+0hn0ue𝐀n(hnu)𝐜ndrdu

𝐳~tni:[τi,0]d is the segment function defined as

𝐳~tni(s):=𝐳~i(tn+s), s[τi,0],

and

𝐳~i:[tnτi,tn]d

is a suitable approximation to

𝐱(t)

for all

t[tnτi,tn]

such that

𝐳~i(tn)=𝐳n.

Here,

𝐀n=𝐟x(tn,𝐳n,𝐳~tn1(τ1),,𝐳~tnm(τd)), 𝐁ni=𝐟xt(τi)(tn,𝐳n,𝐳~tn1(τ1),,𝐳~tnm(τd))

are constant matrices and

𝐜n=𝐟t(tn,𝐳n,𝐳~tn1(τ1),,𝐳~tnm(τd)) and 𝐝n=𝐟(tn,𝐳n,𝐳~tn1(τ1),,𝐳~tnm(τd))

are constant vectors. 𝐟t,𝐟xand𝐟xt(τi) denote, respectively, the partial derivatives of f with respect to the variables t and x, and 𝐱t(τi). The Local Linear discretization (5.2) converges to the solution of (5.1) with order α=min{2,r}, if 𝐳~tni approximates 𝐳tni with order r(i.e.,|𝐳tni(uτi)𝐳~tni(uτi)|hnr for all u[0,hn]).

Local linearization schemes

Fig. 2 Approximate paths of the Marchuk et al. (1991) antiviral immune model described by a stiff system of ten-dimensional nonlinear DDEs with five time delays: top, continuous Runge–Kutta (2,3) scheme; bottom, LL scheme (5.3). Step-size h = 0.01 fixed, and p = q = 6.

Depending on the approximations 𝐳~tni and on the algorithm to compute ϕ different Local Linearizations schemes can be defined. Every numerical implementation 𝐲n of a Local Linear discretization 𝐳n is generically called local linearization scheme.

Order-2 polynomial LL schemes

𝐲n+1=𝐲n+𝐋(𝐏p,q(2kn𝐌nhn))2kn𝐫,[11] (5.3)

where the matrices 𝐌n,𝐋 and 𝐫 are defined as

𝐌n=[𝐀n𝐜n+i=1m𝐁niαni𝐝n001000](d+2)×(d+2),

𝐋=[𝐈𝟎d×2] and 𝐫=[𝟎1×(d+1)1],hnτ, and p+q>1. Here, the matrices 𝐀n, 𝐁ni, 𝐜n and 𝐝n are defined as in (5.2), but replacing 𝐳 by 𝐲 and αni=(𝐲(tn+1τi)𝐲(tnτi))/hn, where

𝐲(t)=𝐲nt+𝐋(𝐏p,q(2kn𝐌nt(ttnt)))2kn𝐫,

with nt=max{n=0,1,2,...,:tnt and tn(t)h}, is the Local Linear Approximation to the solution of (5.1) defined through the LL scheme (5.3) for all t[t0,tn] and by 𝐲(t)=φ(t) for t[t0τ,t0]. For large systems of DDEs

𝐲n+1=𝐲n+𝐋𝐤mn,knp,q(hn,𝐌n,𝐫)and𝐲(t)=𝐲nt+𝐋𝐤mnt,kntp,q(ttnt,𝐌nt,𝐫),

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)

d𝐱(t)dt=𝐟(𝐱(t),ξ(t)),t[t0,T],(6.1)

with initial condition 𝐱(t0)=𝐱0, where ξ is a k-dimensional separable finite continuous stochastic process, and f is a differentiable function. Suppose that a realization (path) of ξ is given.

Local Linear discretization

For a time discretization (t)h, the Local Linear discretization of the RDE (6.1) at each point tn+1(t)h is defined by the recursive expression [16]

𝐳n+1=𝐳n+ϕ(tn,𝐳n;hn), with 𝐳0=𝐱0,

where

ϕ(tn,𝐳n;hn)=0hne𝐟𝐱(𝐳n,ξ(tn))(hnu)(𝐟(𝐳n,ξ(tn))+𝐟ξ(𝐳n,ξ(tn))(ξ~(tn+u)ξ~(tn)))du

and ξ~ is an approximation to the process ξ for all t[t0,T]. Here, 𝐟x and 𝐟ξ denote the partial derivatives of 𝐟 with respect to 𝐱 and ξ, respectively.

Local linearization schemes

Fig. 3 Phase portrait of trajectories of the Euler and LL schemes in the integration of the nonlinear RDE (6.2)–(6.3) with step size h = 1/32, and p = q = 6.

Depending on the approximations ξ~ to the process ξ and of the algorithm to compute ϕ, different Local Linearizations schemes can be defined. Every numerical implementation 𝐲n of the local linear discretization 𝐳n is generically called local linearization scheme.

LL schemes

𝐲n+1=𝐲n+𝐋(𝐏p,q(2kn𝐌nhn))2kn𝐫, [16][17]

where the matrices 𝐌n,𝐋and𝐫 are defined as

𝐌n=[𝐟𝐱(𝐲n,ξ(tn))𝐟ξ(𝐲n,ξ(tn)(ξ(tn+1)ξ(tn))/hn𝐟(𝐲n,ξ(tn))001000]

𝐋=[𝐈𝟎d×2], 𝐫=[𝟎1×(d+1)1], and p+q>1. For large systems of RDEs,[17]

𝐲n+1=𝐲n+𝐋𝐤mn,knp,q(hn,𝐌n,𝐫),p+q>1andmn>2.

The convergence rate of both schemes is min{2,2γ}, where is γ the exponent of the Holder condition of ξ.

Figure 3 presents the phase portrait of the RDE

dx1dt=x2+(1x12x22)x1sin(wH(t))2,x1(0)=0.8(6.2)

dx2dt=x1+(1x12x22)x2sin(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)

d𝐱(t)=𝐟(t,𝐱(t))dt+i=1m𝐠i(t)d𝐰i(t),t[t0,T],(7.1)

with initial condition 𝐱(t0)=𝐱0, where the drift coefficient 𝐟 and the diffusion coefficient 𝐠i are differentiable functions, and 𝐰=(𝐰1,,𝐰m) is an m-dimensional standard Wiener process.

Local linear discretization

For a time discretization (t)h , the order-γ (=1,1.5) Strong Local Linear discretization of the solution of the SDE (7.1) is defined by the recursive relation [18][19]

𝐳n+1=𝐳n+ϕγ(tn,𝐳n;hn)+ξ(tn,𝐳n;hn),with𝐳0=𝐱0,

where

ϕγ(tn,𝐳n;δ)=0δe𝐟𝐱(tn,𝐲n)(δu)(𝐟(tn,𝐳n)+𝐚γ(tn,𝐳n)u)du

and

ξ(tn,𝐳n;δ)=i=1mtntn+δe𝐟𝐱(tn,𝐳n)(tn+δu)𝐠i(u)d𝐰i(u).

Here,

𝐚γ(tn,𝐳n)={𝐟t(tn,𝐳n)for γ=1𝐟t(tn,𝐳n)+12j=1m(𝐈𝐠j(tn))𝐟𝐱𝐱(tn,𝐳n)𝐠j(tn)for γ=1.5,

𝐟𝐱,𝐟t denote the partial derivatives of 𝐟 with respect to the variables 𝐱 and t, respectively, and 𝐟𝐱𝐱 the Hessian matrix of 𝐟 with respect to 𝐱. The strong Local Linear discretization 𝐳n+1 converges with order γ (= 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,𝐳n), the equation for the residual 𝐫 is given by

d𝐫(t)=𝐪γ(tn,𝐳n;t,𝐫(t))dt+i=1m𝐠i(t)d𝐰i(t),𝐫(tn)=𝟎

for all t[tn,tn+1], where

𝐪γ(tn,𝐳n;s,ξ)=𝐟(s,𝐳n+ϕγ(tn,𝐳n;stn)+ξ)𝐟𝐱(tn,𝐳n)ϕγ(tn,𝐳n;stn)𝐚γ(tn,𝐳n)(stn)𝐟(tn,𝐳n).

A high-order local linear discretization of the SDE (7.1) at each point tn+1(t)h is then defined by the recursive expression [20]

𝐳n+1=𝐳n+ϕγ(tn,𝐳n;hn)+𝐫~(tn,𝐳n;hn), with 𝐳0=𝐱0,

where 𝐫~ is a strong approximation to the residual 𝐫 of order α higher than 1.5. The strong HOLL discretization 𝐳n+1 converges with order α to the solution of (7.1).

Local linearization schemes

Depending on the way of computing ϕγ , ξ and 𝐫~ different numerical schemes can be obtained. Every numerical implementation 𝐲n of a strong Local Linear discretization 𝐳n of any order is generically called Strong Local Linearization (SLL) scheme.

Order 1 SLL schemes

𝐲n+1=𝐲n+𝐋(𝐏p,q(2kn𝐌nhn))2kn𝐫+i=1m𝐠i(tn)Δ𝐰ni, [21] (7.2)

where the matrices 𝐌n, 𝐋 and 𝐫 are defined as in (4.6), Δ𝐰ni is an i.i.d. zero mean Gaussian random variable with variance hn, and p + q > 1. For large systems of SDEs,[21] in the above scheme (𝐏p,q(2kn𝐌nhn))2kn𝐫 is replaced by 𝐤mn,knp,q(hn,𝐌n,𝐫).

Order 1.5 SLL schemes

𝐲n+1=𝐲n+𝐋(𝐏p,q(2kn𝐌nhn))2kn𝐫+i=1m(𝐠i(tn)Δ𝐰ni𝐟𝐱(tn,𝐲~n)𝐠i(tn)Δ𝐳ni+d𝐠i(tn)dt(Δ𝐰nihnΔ𝐳ni)),(7.3)

where the matrices 𝐌n, 𝐋 and 𝐫 are defined as

𝐌n=[𝐟𝐱(tn,𝐲n)𝐟t(tn,𝐲n)+12j=1m(𝐈𝐠j(tn))𝐟𝐱𝐱(tn,𝐲n)𝐠j(tn)𝐟(tn,𝐲n)001000](d+2)×(d+2),

𝐋=[𝐈𝟎d×2],𝐫=[𝟎1×(d+1)1], Δ𝐳ni is a i.i.d. zero mean Gaussian random variable with variance E((Δ𝐳ni)2)=13hn3 and covariance E(Δ𝐰niΔ𝐳ni)=12hn2 and p+q>1 [12]. For large systems of SDEs,[12] in the above scheme (𝐏p,q(2kn𝐌nhn))2kn𝐫 is replaced by 𝐤mn,knp,q(hn,𝐌n,𝐫).

Order 2 SLL-Taylor schemes

𝐲tn+1=𝐲n+𝐋(𝐏p,q(2kn𝐌nhn))2kn𝐫+j=1m𝐠j(tn)Δ𝐰nj+j=1m𝐟𝐱(tn,𝐲n)𝐠j(tn)J~(j,0)+j=1md𝐠jdt(tn)J~(0,j)

+j1,j2=1m(𝐈𝐠j2(tn))𝐟𝐱𝐱(tn,𝐲n)𝐠j1(tn)J~(j1,j2,0),(7.4)

where 𝐌n, 𝐋, 𝐫 and Δ𝐰ni are defined as in the order-1 SLL schemes, and J~α is order 2 approximation to the multiple Stratonovish integral Jα.[20]

Order 2 SLL-RK schemes

Fig. 4, Top: Evolution of domains in the phase plane of the harmonic oscillator (7.6), with ε=0 and ω=σ=1. Images of the initial unit circle (green) are obtained at three time moments T by the exact solution (black), and by the schemes SLL1 (blue) and Implicit Euler (red) with h=0.05. Bottom: Expected value of the energy (solid line) along the solution of the nonlinear oscillator (7.6), with ε=1 and ω=100, and its approximation (circles) computed via Monte Carlo with 10000 simulations of the SLL1 scheme with h=1/2 and p=q=6.

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

𝐲tn+1=𝐲n+ϕ~(tn,𝐲n;hn)+hn2(𝐤1+𝐤2)+𝐠(tn)Δwn+(𝐠(tn+1)𝐠(tn))hnJ(0,1)(7.5)

where

𝐤1=𝐟(tn+hn2,𝐲n+ϕ~(tn,𝐲n;hn2)+γ+)𝐟𝐱(tn,𝐲n)ϕ~(tn,𝐲n;hn2)𝐟(tn,𝐲n)𝐟t(tn,𝐲n)hn2,
𝐤2=𝐟(tn+hn2,𝐲n+ϕ~(tn,𝐲n;hn2)+γ)𝐟𝐱(tn,𝐲n)ϕ~(tn,𝐲n;hn2)𝐟(tn,𝐲n)𝐟t(tn,𝐲n)hn2,

with γ±=1hn𝐠(tn)(J~(1,0)±2J~(1,1,0)hnJ~(1,0)2).

Here, ϕ~(tn,𝐲n;hn)=𝐋(𝐏p,q(2kn𝐌nhn))2kn𝐫 for low dimensional SDEs, and ϕ~(tn,𝐲n;hn)=𝐋𝐤mn,knp,q(hn,𝐌n,𝐫) for large systems of SDEs, where 𝐌n, 𝐋, 𝐫, Δ𝐰ni and J~α 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 pqp+2 are A-stable, including stiff and highly oscillatory linear equations.[12] 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.[20][12] 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.[20][22] For nonlinear SDEs with small noise (i.e., (7.1) with 𝐠i(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.[20] For instance, Fig 4 shows the evolution of domains in the phase plane and the energy of the stochastic oscillator

dx(t)=y(t)dt,x1(0)=0.01dy(t)=(ω2x(t)+ϵx4(t))dt+σdwt,x1(0)=0.1,(7.6)

and their approximations by two numerical schemes.

Weak LL methods for SDEs

Consider the d-dimensional stochastic differential equation

d𝐱(t)=𝐟(t,𝐱(t))dt+i=1m𝐠i(t)d𝐰i(t),t[t0,T],(8.1)

with initial condition 𝐱(t0)=𝐱0, where the drift coefficient 𝐟 and the diffusion coefficient 𝐠i are differentiable functions, and 𝐰=(𝐰1,,𝐰m) is an m-dimensional standard Wiener process.

Local Linear discretization

For a time discretization (t)h, the order-β (=1,2) Weak Local Linear discretization of the solution of the SDE (8.1) is defined by the recursive relation [23]

𝐳n+1=𝐳n+ϕβ(tn,𝐳n;hn)+η(tn,𝐳n;hn),with𝐳0=𝐱0,

where

ϕβ(tn,𝐳n;δ)=0δe𝐟𝐱(tn,𝐳n)(δu)(𝐟(tn,𝐳n)+𝐛β(tn,𝐳n)u)du

with

𝐛β(tn,𝐳n)={𝐟t(tn,𝐳n)for β=1𝐟t(tn,𝐳n)+12j=1m(𝐈𝐠j(tn))𝐟𝐱𝐱(tn,𝐳n)𝐠j(tn)for β=2,

and η(tn,𝐳n;δ) is a zero mean stochastic process with variance matrix

Σ(tn,𝐳n;δ)=0δe𝐟𝐱(tn,𝐳n)(δs)𝐆(tn+s)𝐆(tn+s)e𝐟𝐱(tn,𝐳n)(δs)ds.

Here, 𝐟𝐱, 𝐟t denote the partial derivatives of 𝐟 with respect to the variables 𝐱 and t, respectively, 𝐟𝐱𝐱 the Hessian matrix of 𝐟 with respect to 𝐱, and 𝐆(t)=[𝐠1(t),,𝐠m(t)]. The weak Local Linear discretization 𝐳n+1 converges with order β (=1,2) to the solution of (8.1).

Local Linearization schemes

Depending on the way of computing ϕβ and Σ different numerical schemes can be obtained. Every numerical implementation 𝐲n of the Weak Local Linear discretization 𝐳n is generically called Weak Local Linearization (WLL) scheme.

Order 1 WLL scheme

𝐲n+1=𝐲n+𝐁14+(𝐁12𝐁11)1/2ξn [24][25]

where, for SDEs with autonomous diffusion coefficients, 𝐁11, 𝐁12 and 𝐁14 are the submatrices defined by the partitioned matrix 𝐁=𝐏p,q(2knnhn))2kn, with

n=[𝐟𝐱(tn,𝐲n)𝐆𝐆𝐟t(tn,𝐲n)𝐟(tn,𝐲n)𝟎𝐟𝐱(tn,𝐲n)𝟎𝟎𝟎𝟎01𝟎𝟎00](2d+2)×(2d+2),

and {ξn} is a sequence of d-dimensional independent two-points distributed random vectors satisfying P(ξnk=±1)=12.

Order 2 WLL scheme

𝐲n+1=𝐲n+𝐁16+(𝐁14𝐁11)1/2ξn, [24][25]

where 𝐁11, 𝐁14 and 𝐁16 are the submatrices defined by the partitioned matrix 𝐁=𝐏p,q(2knnhn))2kn with

n=[𝐉𝐇2𝐇1𝐇0𝐚2𝐚1𝟎𝐉𝐈𝟎𝟎𝟎𝟎𝟎𝐉𝐈𝟎𝟎𝟎𝟎𝟎𝐉𝟎𝟎𝟎𝟎𝟎𝟎01𝟎𝟎𝟎𝟎00](4d+2)×(4d+2),

𝐉=𝐟𝐱(tn,𝐲n)𝐚1=𝐟(tn,𝐲n)𝐚2=𝐟t(tn,𝐲n)+12i=1m(𝐈(𝐠i(tn)))𝐟𝐱𝐱(tn,𝐲n)𝐠i(tn)

and

𝐇0=𝐆(tn)𝐆(tn)𝐇1=𝐆(tn)d𝐆(tn)dt+d𝐆(tn)dt𝐆(tn)𝐇2=d𝐆(tn)dtd𝐆(tn)dt.

Stability and dynamics

Fig. 5 Approximate mean of the SDE (8.2) computed via Monte Carlo with 100 simulations of various schemes with h=1/16 and p=q=6.

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

pqp+2,

preserve the first two moments of the linear SDEs, and inherits the mean-square stability or instability that such solution may have.[24] 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.[26] For nonlinear SDEs with small noise (i.e., (8.1) with

𝐠i(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.[24] For instance, Fig. 5 shows the approximate mean of the SDE

dx=t2x dt+32(t+1)et3/3 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.

  • Pope D.A. (1963) introduces the LL discretization for ODEs and the LL scheme based on Taylor expansion.[2]
  • Ozaki T. (1985) introduces the LL method for the integration and estimation of SDEs. The term "Local Linearization" is used for first time.[27]
  • Biscay R. et al. (1996) reformulate the strong LL method for SDEs.[19]
  • Shoji I. and Ozaki T. (1997) reformulate the weak LL method for SDEs.[23]
  • Hochbruck M. et al. (1998) introduce the LL scheme for ODEs based on Krylov subspace approximation.[3]
  • Jimenez J.C. (2002) introduces the LL scheme for ODEs and SDEs based on rational Padé approximation.[21]
  • Carbonell F.M. et al. (2005) introduce the LL method for RDEs.[16]
  • Jimenez J.C. et al. (2006) introduce the LL method for DDEs.[11]
  • De la Cruz H. et al. (2006, 2007) and Tokman M. (2006) introduce the two classes of HOLL integrators for ODEs: the integrator-based [6] and the quadrature-based.[7][5]
  • De la Cruz H. et al. (2010) introduce strong HOLL method for SDEs.[20]

References

  1. 1.0 1.1 1.2 1.3 Jimenez J.C. (2009). "Local Linearization methods for the numerical integration of ordinary differential equations: An overview". ICTP Technical Report. 035: 357–373.
  2. 2.0 2.1 Pope, D. A. (1963). "An exponential method of numerical integration of ordinary differential equations". Comm. ACM, 6(8), 491-493. doi:10.1145/366707.367592.
  3. 3.0 3.1 3.2 Hochbruck, M., Lubich, C., & Selhofer, H. (1998). "Exponential integrators for large systems of differential equations". SIAM J. Scient. Comput. 19(5), 1552-1574. doi:10.1137/S1064827595295337.
  4. 4.0 4.1 4.2 4.3 4.4 4.5 4.6 4.7 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. doi:10.1016/j.mcm.2012.08.011.
  5. 5.0 5.1 5.2 5.3 5.4 5.5 5.6 5.7 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. doi:10.1016/j.amc.2006.06.096.
  6. 6.0 6.1 6.2 6.3 6.4 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. doi:10.1007/11758501 22. ISBN 978-3-540-34379-0.
  7. 7.0 7.1 Tokman M. (2006). "Efficient integration of large stiff systems of ODEs with exponential propagation iterative (EPI) methods". J. Comput. Physics. 213 (2): 748–776. doi:10.1016/j.jcp.2005.08.032.
  8. M. Hochbruck.; A. Ostermann. (2011). "Exponential multistep methods of Adams-type". BIT Numer. Math. 51 (4): 889–908. doi:10.1007/s10543-011-0332-6.
  9. 9.0 9.1 9.2 9.3 9.4 Jimenez, J. C., & Carbonell, F. (2005). "Rate of convergence of local linearization schemes for initial-value problems". Appl. Math. Comput., 171(2), 1282-1295. doi:10.1016/j.amc.2005.01.118.
  10. 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.
  11. 11.0 11.1 11.2 11.3 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. doi:10.1137/040607356.
  12. 12.0 12.1 12.2 12.3 12.4 12.5 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. doi:10.1007/s10543-011-0360-2.
  13. 13.0 13.1 13.2 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. doi:10.1016/S0096-3003(00)00100-4.
  14. 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. doi:10.1016/j.amc.2014.09.001.
  15. 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. doi:10.1016/j.jcp.2020.109946.
  16. 16.0 16.1 16.2 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. doi:10.1007/S10543-005-2645-9.
  17. 17.0 17.1 Jimenez J.C.; Carbonell F. (2009). "Rate of convergence of local linearization schemes for random differential equations". BIT Numer. Math. 49 (2): 357–373. doi:10.1007/s10543-009-0225-0.
  18. 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, doi:10.1023/A:1004504506041.
  19. 19.0 19.1 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. doi:10.1007/BF00052324.
  20. 20.0 20.1 20.2 20.3 20.4 20.5 20.6 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. doi:10.1007/s10543-010-0272-6.
  21. 21.0 21.1 21.2 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. doi:10.1016/S0893-9659(02)00041-1.
  22. 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. doi:10.1007/s10543-016-0620-2.
  23. 23.0 23.1 Shoji, I., & Ozaki, T. (1997). "Comparative study of estimation methods for continuous time stochastic processes". J. Time Series Anal. 18(5), 485-506. doi:10.1111/1467-9892.00064.
  24. 24.0 24.1 24.2 24.3 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. doi:10.1016/j.cam.2014.10.021.
  25. 25.0 25.1 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. doi:10.1016/j.cam.2005.11.032.
  26. Hansen N.R. (2003) "Geometric ergodicity of discre-time approximations to multivariate diffusion". Bernoulli. 9 : 725-743, doi:10.3150/bj/1066223276.
  27. Ozaki, T. (1985). "Non-linear time series models and dynamical systems". Handbook of statistics, 5, 25-83. doi:10.1016/S0169-7161(85)05004-0.