Local linearization method: Difference between revisions

Content deleted Content added
 
(555 intermediate revisions by 35 users not shown)
Line 1:
{{short description|Numerical method for differential equations}}
= Local Linearization Method =
In [[numerical analysis]], the '''local linearization (LL) method''' is a general strategy for designing [[Numerical integration|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 differential equation|ordinary]], [[Delay differential equation|delayed]], random and [[Stochastic differential equation|stochastic]] differential equations. The LL integrators are key component in the implementation of [[Estimation theory|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|forestry management]], [[control engineering]], [[mathematical statistics]], etc.
In [[numerical analysis]], the Local Linearization (LL) method is a general strategy for designing [[Numerical integration|numerical inte-]]
 
== Background ==
[[Numerical integration|grators]] for differential equations based on a local (piecewise) linearization of the given equation on consecutive
 
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.
time intervals. The numerical integrators are then iteratively defined as the solution of the resulting piecewise
 
== High-order local linearization method ==
linear equation at the end of each consecutive interval. The LL method has been development for a variety of
'''''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 theory|stability]] and [[Dynamical system|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 <math>\mathbf{r}=
 
equations such that the [[Ordinary differential equation|ordinary]], [[Delay differential equation|delayed]], random and [[Stochastic differential equation|stochastic]] differential equations. The LL integrators
 
are key component in the implementation of [[Estimation theory|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 deals with complex models in a variety of fields as [[neuroscience]], [[finance]], [[forestry]]
 
[[Forestry|management]], [[Control engineering|control engineering,]] [[mathematical statistics]], etc.
 
== 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 [[Dynamical system|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 an high order approximation of the
 
residual <math>\mathbf{r}=
\mathbf{x}-\mathbf{z}</math>.
 
== Local Linearizationlinearization scheme ==
A '''''Local Linearization (LL) scheme''''' is the final [[Recursion (computer science)|recursive algorithm]] that allows the numerical implementation of a [[discretization]] derived from the LL or HOLL method for a class of differential equations.
 
of a [[discretization]] derived from the LL or HOLL method for a class of differential equations.
 
{{User sandbox|Lilian|Local Linearization Method}}
 
== LL methods for ODEs ==
Consider the ''d''-dimensional [[Ordinary differential equation|Ordinary Differential Equation]] (ODE).
 
<div style="text-align: center;">
<math>\frac{d\mathbf{x}\left( t\right) }{dt}=\mathbf{f}\left( t,\mathbf{x}\left(
<math>
t\right) \right) ,\qquad t\in \left[ t_{0},T\right], \qquad \qquad \qquad \qquad (1).</math>
\frac{d\mathbf{x}\left( t\right) }{dt}=\mathbf{f}\left( t,\mathbf{x}\left(
t\right) \right) ,\qquad t\in \left[ t_{0},T\right], \qquad \qquad \qquad \qquad (4.1)
</math>
</div>
 
with initial condition <math>\mathbf{x}(t_{0})=\mathbf{x}_{0}</math>, where <math>\mathbf{f}</math> is a differentiable function.
 
Let <math>\left( t\right) _{h}=\{t_{n}:n=0,..,N\}</math> be a time discretization of the time interval <math>[t_{0},T]</math> with maximum stepsize '''h''' such that <math>t_{n}<t_{n+1} \quad</math> and \quad <math> h_{n}=t_{n+1}-t_{n}\leq h</math>. After the local linearization of the equation (4.1) at the time step <math>t_{n}</math> the [[Variation of parameters#First -order equation|variation of constants formula]] yields
 
<div style="text-align: center;">
<math>\mathbf{x}(t_{n}+h)=\mathbf{x}(t_{n})+\mathbf{\phi }(t_{n},\mathbf{x}
<math>\mathbf{x}(t_t_n+h)=\mathbf{nx}(t_n)+\mathbf{\phi }(t_n,\mathbf{x}(t_n);h)+\mathbf{r}(t_{n}t_n,\mathbf{x}(t_{n}t_n);h),
</math>
</div>
 
where
 
<div style="text-align: center;">
<math>\mathbf{\phi }(t_{n},\mathbf{z}_{n};h)=\int\limits_{0}^{h}e^{\mathbf{f}_{
<math>\mathbf{x}}\left(phi t_{n}(t_n,\mathbf{z}_n;h)=\int\limits_0^h e^{\mathbf{f}_{n\mathbf{x}}(t_n,\rightmathbf{z}_n) (h-s)}(\mathbf{f}\left (t_n, t_\mathbf{nz}_n) + \mathbf{f}_t(t_n,\mathbf{z}_n) s) \, ds
\mathbf{z}_{n}\right) +\mathbf{f}_{t}\left( t_{n},\mathbf{z}_{n}\right) s)ds
\qquad</math>
</div>
 
results from the linear approximation, and
 
<div style="text-align: center;">
<math>\mathbf{r}(t_{n},\mathbf{z}_{n};h)=\int\limits_{0}^{h}e^{\mathbf{f}_{\mathbf{%
x}}<math>\left( t_mathbf{nr}(t_n,\mathbf{z}_n;h)=\int\limits_0^h e^{\mathbf{f}_{n\mathbf{x}} (t_n,\rightmathbf{z}_n) (h-s)}\mathbf{g}_{n}_n(s,\mathbf{x}%(t_n+s)) \, ds, \qquad \qquad \qquad (4.2)</math>
</div>
(t_{n}+s))ds, \qquad \qquad \qquad (2).</math>
 
is the residual of the linear approximation. Here, <math>\mathbf{f}_{\mathbf{x}}</math> and <math>\mathbf{f}_{t}</math> denote the partial derivatives of '''f''' with respect to the variables '''x''' and '''t''', respectively, and <math>\mathbf{g}_n(s,\mathbf{u})=\mathbf{f}(s,\mathbf{u})-\mathbf{f}_{\mathbf{x}}(t_n,\mathbf{z}_n) \mathbf{u}-\mathbf{f}_t (t_n,\mathbf{z}_n) (s-t_n)-\mathbf{f}(t_n,\mathbf{z}_n) +\mathbf{f}_{\mathbf{x}}(t_n,\mathbf{z}_n)\mathbf{z}_n. </math>
_{n}(s,\mathbf{u})=\mathbf{f}(s,\mathbf{u})-\mathbf{f}_{\mathbf{x}}(t_{n},
\mathbf{z}_{n})\mathbf{u}-\mathbf{f}_{t}\left( t_{n},\mathbf{z}_{n}\right)
(s-t_{n})-\mathbf{f}\left( t_{n},\mathbf{z}_{n}\right) +\mathbf{f}_{\mathbf{x
}}(t_{n},\mathbf{z}_{n})\mathbf{z}_{n}</math>
 
=== Local Linearlinear discretization ===
For a time discretization <math>\left( t\right) _{h}</math>, the ''Local Linear discretization'' of the ODE (4.1) at each point <math>t_{n+1}\in \left(
t\right) _{h}</math> is defined by the recursive expression <ref name=":8">Jimenez J.C. (2009). "Local Linearization methods for the numerical integration of ordinary differential equations: An overview". [https://inis.iaea.org/search/search.aspx?orig_q=RN:40101978 ICTP Technical Report]. 035: 357–373.</ref><ref name=":18" />
t\right) _{h}</math> is deffined by the recursive expression
 
<div style="text-align: center;">
<math>\mathbf{z}_{n+1}=\mathbf{z}_{n}+\mathbf{\phi }(t_{n},\mathbf{z}_{n};h_{n}),
\qquad with \quad <math>\mathbf{z}_{0n+1}=\mathbf{xz}__n+\mathbf{0\phi}(t_n,\textmathbf{.z} \qquad \qquad \qquad \qquad (3_n;h_n)</math>,
\qquad \text{ with } \quad \mathbf{z}_0=\mathbf{x}_0. \qquad \qquad \qquad \qquad (4.3)</math>
</div>
 
The Local Linear discretization (4.3) [[Rate of convergence|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.<ref name=":22" />
 
=== High-order local linear discretizations ===
solution of the linear ODEs. The recursion (3) is also known as Exponential Euler discretization.
 
For a time discretization <math>(t)_h,</math> a ''high-order local linear (HOLL)'' discretization of the ODE (4.1) at each point <math>t_{n+1} \in (t)_h</math> is defined by the recursive expression <ref name= ":8"/><ref name= ":3"/><ref name= ":2"/><ref name=":1" />
=== High Order Local Linear discretizations ===
For a time discretization <math>\left( t\right) _{h},</math> a ''High Order Local Linear (HOLL)'' discretization of the ODE (1) at each point <math>t_{n+1}\in \left( t\right) _{h}</math> is deffined by the recursive expression
 
<div style="text-align: center;">
<math>\mathbf{z}_{n+1}=\mathbf{z}_{n}+\mathbf{\phi }(t_{n},\mathbf{z}_{n};h_{n})+
<math>\widetildemathbf{z}_{n+1}=\mathbf{rz}}(t__n+\mathbf{n\phi}(t_n,\mathbf{z}__n;h_n) + \widetilde{n\mathbf{r};h_}(t_n,\mathbf{nz}_n;h_n),\qquad \text{ with } \quad \mathbf{z}_0=\mathbf{x}_0, \qquad \qquad \qquad(4.4)</math>
</div>
\mathbf{z}_{0}=\mathbf{x}_{0}, \qquad \qquad \qquad(4)</math>
 
where <math>\tilde{r}</math> is an order <math>\alpha </math> (>&nbsp;'''2''') approximation to the residual '''r''' of order <math>\alpha </math> higher than 2 <math>(i.e., \left\vert \mathbf{r}(t_t_n, \mathbf{nz}_n;h)-\widetilde{\mathbf{r}}(t_n,\mathbf{z}_n;h)\right\vert \propto h^{\alpha+1 }).</math> The HOLL discretization (4.4) [[Rate of convergence|converges]] with order <math>\alpha</math> to the solution of nonlinear ODEs, but it match the solution of the linear ODEs.
\mathbf{z}_{n};h)-\widetilde{\mathbf{r}}(t_{n},\mathbf{z}_{n};h)\right\vert
\propto h^{\alpha }).</math> The HOLL discretization (4) [[Rate of convergence|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:<ref name= ":8"/><ref name= ":3"/><ref name= ":2"/><ref name=":1" /> 1) (quadrature-based) by approximating the integral representation (4.2) of '''r'''; and 2) (integrator-based) by using a numerical integrator for the di§erentialdifferential representation of '''r''' deffineddefined by
 
<div style="text-align: center;">
<math>\frac{d\mathbf{r}\left( t\right) }{dt}=\mathbf{q}(t_{n},\mathbf{z}_{n};t
<math>\mathbffrac{,d\mathbf{r}(t) }{dt} = \leftmathbf{q}( t_n,\mathbf{z}_n;t \rightmathbf{,\mathbf{r}}(t) \mathbf{),} \qquad \text{ with } \qquad \mathbf{r}(t_n) =\mathbf{0,} \qquad \qquad \qquad (4.5)</math>
</div>
\left( t_{n}\right) =\mathbf{0,} \qquad \qquad \qquad (5)</math>
 
for all <math>t\in \lbrack t_{k}t_k,t_{k+1}]</math>, where
 
<div style="text-align: center;">
<small><math>\mathbf{q}(t_{n},\mathbf{z}_{n};s\mathbf{,\xi })=\mathbf{f}(s,\mathbf{z}_{n}+%
<math>\mathbf{\phi q}\left( t_{n},\mathbf{z}_{n};s-t_{n}\right) +\mathbf{,\xi })-%=\mathbf{f}(s,\mathbf{z}_{n}+
\mathbf{f\phi }_{\mathbf{x}}left( t_{n},\mathbf{z}_{n};s-t_{n}\right) +\mathbf{\phixi }\left( t_{n},%)-
\mathbf{zf}_{n\mathbf{x};s-}(t_{n}\right) -,\mathbf{fz}_{t}\left( t_{n},)\mathbf{z\phi }% ( t_n,
_\mathbf{nz}_n;s-t_n) -\rightmathbf{f}_t( t_n,\mathbf{z}_n) (s-t_{n}t_n)-\mathbf{f}\left( t_{n}t_n,\mathbf{z}_{n}\right_n) .</math></small>
</div>
HOLL discretizations are, for instance, the followings:
* ''Locally Linearized Runge Kutta discretization''<ref name=":1">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}}.</ref><ref name=":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. [[doi:10.1016/j.mcm.2012.08.011]].</ref>
<div style="text-align: left;">
<math>\qquad \mathbf{z}_{n+1}=\mathbf{z}_n+\mathbf{\phi }(t_n,\mathbf{z}_n;h_n)+h_n \sum_{j=1}^s b_j \mathbf{k}_j,\quad \text{ with } \quad \mathbf{k}_i = \mathbf{q}(t_n,\mathbf{z}_n;\text{ }t_n + c_i h_n \mathbf{,} \mathbf{} h_n \sum_{j=1}^{i-1} a_{ij}\mathbf{k}_j), </math>
</div>
 
which is obtained by solving (4.5) via a s-stage explicit [[Runge–Kutta methods|Runge–Kutta (RK) scheme]] with coefficients <math>\mathbf{c}=\left[ c_{i}\right] , \mathbf{A}=\left[ a_{ij}\right] \quad and \quad \mathbf{b}=\left[ b_{j}\right]</math>.
The resulting approximation is often called Locally Linearized discretization.
* ''Local linear Taylor discretization''<ref name= ":2" />
<div style="text-align: center;">
<math display="block">\mathbf{z}_{n+1}=\mathbf{z}_n+\mathbf{\phi}(t_n,\mathbf{z}_n;h_n)+\int_0^{h_n}e^{(h_n-s) \mathbf{f}_{\mathbf{x}} \left( t_n,\mathbf{z}_n\right) } \sum_{j=2}^p\frac{\mathbf{c}_{n,j}}{j!} s^j \, ds,\text{ with } \mathbf{c}_{n,j}=\left( \frac{d^{j+1}\mathbf{x}(t)}{dt^{j+1}}-\mathbf{f}_{\mathbf{x}} (t_n,\mathbf{z}_n) \frac{d^{j}\mathbf{x}(t) }{dt^j}\right) \mid _{t=\mathbf{z}_n}, </math>
</div>
 
which results from the approximation of <math>\mathbf{g}_{n}</math> in (4.2) by its order-''p'' truncated [[Taylor series|Taylor expansion]].
Known HOLL discretizations are the following.
 
Locally* Linearized''Multistep-type Rungeexponential Kuttapropagation discretization''
 
<div style="text-align: center;">
<math>\mathbf{z}_{n+1}=\mathbf{z}_{n}+\mathbf{\phi }(t_{n},\mathbf{z}
<math display="inline">\mathbf{z}_{n+1};h_=\mathbf{nz})_n+h_\mathbf{n\phi}(t_n,\mathbf{z}_n;h)+h\sum_{j=10}^{sp-1}b_{\gamma_j\nabla^j}\mathbf{k}_{jg}_n(t_n,\quad with \quad \mathbf{k}z
}_{in}), \quad with \quad \gamma_j =(-1)^j \mathbfint\limits_0^1 e^{q}(t_{n},1-\theta) h\mathbf{zf}_{n};\textmathbf{ x}t_{n}+c_{i}h_{n} (t_n,\mathbf{,z}_n) } \mathbf{left(
\begin{array}{c}
}h_{n}\sum_{j=1}^{i-1}a_{ij}\mathbf{k}_{j}), </math>
-\theta \\
j
\end{array}
\right) d\theta , </math>
</div>
 
which results from the interpolation of <math>\mathbf{g}_{n}</math> in (4.2) by a polynomial of degree ''p'' on <math>t_{n},\ldots, t_{n-p+1}</math>, where <math>\nabla ^{j}\mathbf{g}_{n}(t_{m},\mathbf{z}_{m})</math> denotes the ''j''-th [[backward difference]] of <math>\mathbf{g}_{n}(t_{m},\mathbf{z}_{m})</math>.
which is obtained by solving (5) via a s-stage [[Runge–Kutta methods|RK scheme]] with coefficients <math>\mathbf{c}=\left[ c_{i}\right] , \mathbf{A}=\left[ a_{ij}\right] \quad and \quad \mathbf{b}=\left[ b_{j}\right]</math>
 
* ''Runge Kutta type Exponential Propagation discretization'' <ref name=":17">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]].</ref>
Local Linear Taylor discretization
 
<div style="text-align: center;">
<small><math display="inline">\mathbf{z}_{n+1}=\mathbf{z}_{n}+\mathbf{\phi }(t_{n},\mathbf{z}%
<math display="inline">\mathbf{z}_{n+1}=\mathbf{z}_n+\mathbf{\phi}(t_n,\mathbf{z}_n ;h) + h\sum_{j=0}^{p-1} \gamma _{j,p}\nabla^j \mathbf{g}_n (t_n,\mathbf{z}_n),\quad \text{ with } \quad \gamma_{j,p} = \int\limits_0^1 e^{(1-\theta )h\mathbf{f}_{\mathbf{x}} (t_n,\mathbf{z}_n) } \left(
_{n};h_{n})+\int_{0}^{h_{n}}e^{\left( h_{n}-s\right) \mathbf{f}_{\mathbf{x}%
\begin{array}{c}
}\left( t_{n},\mathbf{z}_{n}\right) }\sum_{j=2}^{p}\frac{\mathbf{c}_{n,j}}{j!%
\theta p\\
}s^{j}ds,\text{ with }\mathbf{c}_{n,j}=\left( \frac{d^{j+1}\mathbf{x}\left(
j
t\right) }{dt^{j+1}}-\mathbf{f}_{\mathbf{x}}\left( t_{n},\mathbf{z}%
\end{array}
_{n}\right) \frac{d^{j}\mathbf{x}\left( t\right) }{dt^{j}}\right) \mid _{t=%
\mathbf{z}_{n}}right) d\theta , </math></small>
</div>
 
which results from the approximationinterpolation of <math>\mathbf{g}_{n}</math> in (4.2) by itsa polynomial of degree order-''p'' truncatedon [[Taylor<math>t_{n},\ldots, series|Taylor expansion]].t_{n}+(p-1)h/p</math>,
 
* ''Linealized exponential Adams discretization''<ref name=":7">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]].</ref>
''[[Exponential integrator|Exponential Rosembrock discretization]]'' (poner link) is obtained by approximating the integral (2) by [[Numerical integration|aquadrature rule]].
 
<div style="text-align: center;">
''Linealized Exponential Adams discretization''
<math display="inline">\mathbf{z}_{n+1}=\mathbf{z}_n+\mathbf{\phi }(t_n,\mathbf{z}_n;h)+h\sum_{j=1}^{p-1}\sum_{l=1}^j\frac{\gamma _{j+1}}{l} \nabla^l\mathbf{g}_n(t_n,\mathbf{z}_{n}),\quad \text{ with } \quad \gamma_{j+1}=(-1)^{j+1} \int\limits_0^1e^{(1-\theta )h\mathbf{f}_{\mathbf{x}} \left( t_n,\mathbf{z}_n\right) }\theta \left(
 
<small><math display="inline">\mathbf{z}_{n+1}=\mathbf{z}_{n}+\mathbf{\phi }(t_{n},\mathbf{z}
_{n};h_{n})+h_{n}\sum_{j=1}^{p}\sum_{l=1}^{j}\frac{\gamma _{j+1}}{l}\nabla
^{l}\mathbf{g}_{n}(t_{n},\mathbf{z}_{n}),\quad with \quad \gamma
_{j+1}=(-1)^{j+1}\int\limits_{0}^{1}e^{(1-\theta )h_{n}\mathbf{f}_{\mathbf{x}
}\left( t_{n},\mathbf{z}_{n}\right) }\theta \left(
\begin{array}{c}
-\theta \\
j%
\end{array}%
\right) d\theta , </math>
</smalldiv>
 
which results from the interpolation of <math>\mathbf{g}_{n}</math>in (2) by a [[Hermite polynomials|Hermite polynomial]] of degree ''p'', where <math>\nabla ^{l}\mathbf{g}%
_{n}(t_{m},\mathbf{z}_{m})</math> denotes the ''l''-th backward di§erence of <math>\mathbf{g}_{n}(t_{m},\mathbf{z}_{m})</math>.
 
which results from the interpolation of <math>\mathbf{g}_{n}</math> in (4.2) by a [[Hermite polynomials|Hermite polynomial]] of degree ''p'' on <math>t_{n},\ldots, t_{n-p+1}</math>.
=== Local Linearization schemes ===
All numerical implementation <math>\mathbf{y}_{n}</math> of the LL (or of a HOLL) discretization <math>\mathbf{z}_{n}</math> involves approximations <math>\widetilde{\phi }_{j}</math> to
 
=== Local linearization schemes ===
integrals <math>\phi _{j}</math> of the form
All numerical implementation <math>\mathbf{y}_{n}</math> of the LL (or of a HOLL) discretization <math>\mathbf{z}_{n}</math> involves approximations <math>\widetilde{\phi}_j</math> to integrals <math>\phi_j</math> of the form
 
<div style="text-align: center;">
<math>\phi _{j}(\mathbf{A},h)=\int\limits_{0}^{h}e^{(h-s)\mathbf{A}}s^{j-1}ds,\qquad j=1,2..., </math>
<math>\phi_j(\mathbf{A},h)=\int\limits_0^h e^{(h-s)\mathbf{A}} s^{j-1} \, ds,\qquad j=1,2\ldots, </math>
</div>
 
where '''A''' is ana ''d <math>\times</math> ''&nbsp;×&nbsp;''d'' matrix. Every numerical implementation <math>\mathbf{y}_{n}_n</math> of a the LocalLL Linear(or of a discretizationHOLL) <math>\mathbf{z}_{n}</math> of any order is generically called ''Local Linearization scheme''.<ref name= ":8"/><ref name=":25">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]].</ref>
 
==== Computing integrals involving matrix exponential ====
Among a number of algorithms to compute the integrals <math>\phi _{j}</math>, those based on rational Padé and Krylov subspaces
 
Among a number of algorithms to compute the integrals <math>\phi _{j}</math>, those based on rational Padé and Krylov subspaces approximations for exponential matrix are preferred. For this, a central role is playing by the expression<ref>Carbonell F.; Jimenez J.C.; Pedroso L.M. (2008). "Computing multiple integrals involving matrix exponentials". J. Comput. Appl. Math. 213: 300–305. [https://doi.org/10.1016%2Fj.cam.2007.01.007 doi:10.1016/j.cam.2007.01.007].</ref><ref name=":2">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]].</ref><ref name=":13">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]].</ref>
approximations for exponential matrix are preferred. For this, a central role is playing by the expression
 
<div style="text-align: center;">
<math>\sum\nolimits_{i=1}^{l}\phi _{i}(\mathbf{A},h)\mathbf{a}_{i}=\mathbf{L}e^{h
<math>\sum\nolimits_{i=1}^l \phi_i(\mathbf{A},h)\mathbf{a}_i = \mathbf{L}e^{h\mathbf{H}}\mathbf{r,}, </math>
</div>
 
where <math>\mathbf{a}_{i}_i</math> are ''d''-dimensional vectors,
 
<div style="text-align: center;">
<math>\mathbf{H}= \begin{bmatrix}
\mathbf{A} & \mathbf{v}_{l} & \mathbf{v}_{l-1} & \cdots & \mathbf{v}_{1} \\
Line 173 ⟶ 163:
\mathbf{0} & \mathbf{0} & 0 & \ddots & 0 \\
\vdots & \vdots & \vdots & \ddots & 1 \\
\mathbf{0} & \mathbf{0} & 0 & \cdots & 0%
\end{bmatrix}
\in \mathbb{R}^{(d+lrl)\times (d+lrl)},
 
</math>
</div>
 
<math>\mathbf{L}=[\mathbf{I} \quad \mathbf{0}_{d\times l)}]</math>, <math>\mathbf{r}=[\mathbf{0}_{1\times (d+l-1)}\quad1]^{\intercal},</math> <math>\mathbf{v}_{i}=\mathbf{a}_{i}(i-1)! </math>, being <math>\mathbf{I}</math> the ''d''-dimensional identity matrix.
_{1\times (d+l-1)}\quad1]^{\intercal }\quad, and \quad \mathbf{v}_{i}=\mathbf{a}
_{i}(i-1)!
</math>
 
If <math>\mathbf{P}_{p,q}(2^{-k}\mathbf{H}h)
</math> denotes the (''p''; &nbsp;''q'')-[[Padé approximant|Padé approximation]] of <math>e^{2^{-k}\mathbf{H}h}
</math> and ''k'' is the smallest integernatural number such that <math>\left\Vert |2^{-k}\mathbf{H}h\right\Vert |\leq \frac{1}{2}, then</math> <ref name=":12">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]].</ref><ref name=":25" />
<div style="text-align: center;">
</math>
<math>\left\vert \sum\nolimits_{i=1}^l \phi_i (\mathbf{A},h)\mathbf{a}_{i}-
 
<math>\leftmathbf{L}\vertleft( \summathbf{\nolimits_mathbf{i=1P}^{l}\phi _{ip,q}(2^{-k}\mathbf{AH},h)\mathbfright)^{a2^k}_{i}-
\mathbf{L}\left( \mathbf{\mathbf{P}}_{p,q}(2^{-k}\mathbf{H}h)\right) ^{2^{k}}
\mathbf{r}\right\vert \varpropto h^{p+q+1}.</math>
</div>
 
If <math>\mathbf{\mathbf{k}}_{m,k}^{p,q}(h,\mathbf{H},\mathbf{r})</math> denotes the ''(m; p; q; k)'' [[Krylov subspace|Krylov-Padé approximation]] of <math>e^{h\mathbf{H}}\mathbf{r}</math>, then <ref name=":12"/>
 
<div style="text-align: center;">
<math>\left\vert \sum\nolimits_{i=1}^{l}\phi _{i}(\mathbf{A},h)\mathbf{a}_{i}-
<math>\left\vert \sum\nolimits_{i=1}^{l}\phi _{i}(\mathbf{A},h)\mathbf{a}_i - \mathbf{L\mathbf{k}}_{m,k}^{p,q}(h,\mathbf{H},\mathbf{r})\right\vert \varpropto h^{\min ({m,p+q+1})},</math>
</div>
\varpropto h^{\min {m,p+q+1}}.</math>
 
where <math>m \leq d</math> is the dimension of the Krylov subspace.
==== Order 2 LL schemes ====
 
==== Order-2 LL schemes ====
 
<div style="text-align: center;">
<math>\mathbf{y}_{n+1}=\mathbf{y}_{n}+\mathbf{L}(\mathbf{P}_{p,q}(2^{-k_{n}}
\mathbf{M}_{n}h_{n}))^{2^{k_{n}}}\mathbf{r,} </math> <ref name=":9">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]].</ref><ref name=":25"/> <math>\qquad \qquad (4.6)</math>
</div>
 
where the matrices <math>\mathbf{M}_{n}_n</math>, '''L''' and '''r''' are deffineddefined as
 
<div style="text-align: center;">
<math>\mathbf{M}_{n}=
<math>\mathbf{M}_n = \begin{bmatrix} \mathbf{f}_{\mathbf{x}}(t_{n}t_n,\mathbf{y}_{n}_n) & \mathbf{f}__t(t_n,\mathbf{ty}(t__n) & \mathbf{nf}(t_n,\mathbf{y}_n) \\
y}_{n}) & \mathbf{f}(t_{n},\mathbf{y}_{n}) \\
0 & 0 & 1 \\
0 & 0 & 0
\end{bmatrix}
\in \mathbb{R}^{(d+2)\times (d+2)},</math>
</div>
 
<math>\mathbf{L}=\left[
\begin{array}{ll}
\mathbf{I}_{d} & \mathbf{0}_{d\times 2}%
\end{array}%
\right]</math> and <math>\mathbf{r}^{\intercal }=\left[
\begin{array}{ll}
\mathbf{0}_{1\times (d+1)} & 1
\end{array}
\right] </math> with <math>p+q>1</math> . For large systems of ODEs <ref name=":22" />
 
<div style="text-align: center;">
<math>\mathbf{y}_{n+1}=\mathbf{y}_{n}+\mathbf{L\mathbf{k}}
_{m_{n},k_{n}}^{p,q}(h_{n},\mathbf{M}_{n},\mathbf{r})\mathbf{,}\qquad \text{ with } \qquad m_{n}>12. </math>
</div>
 
==== Order -3 LL-Taylor schemes ====
 
<div style="text-align: center;">
<math>\mathbf{y}_{n+1}=\mathbf{y}_{n}+\mathbf{L}_{1}(\mathbf{P}_{p,q}(2^{-k_{n}}
<math>\mathbf{Ty}_{n+1}h_=\mathbf{n}))^{2^{k_{n}}y}_n+\mathbf{rL}_{1}(\mathbf{P}_{p,q} \qquad \qquad (7)</math>2^{-k_n}
\mathbf{T}_n h_n))^{2^{k_n}}\mathbf{r}_1 \mathbf{,}</math> <ref name=":2" /> <math> \qquad \qquad (4.7)</math>
</div>
 
where for [[Autonomous system (mathematics)|autonomous]] ODEs the matrices <math>\mathbf{T}_{n}, \mathbf{L}_{1}</math> and <math>\mathbf{r}_{1}</math> are deffineddefined as
 
<div style="text-align: center;">
<math>\mathbf{T}_{n}=\left[
\begin{array}{cccc}
Line 241 ⟶ 238:
0 & 0 & 0 & 0 \\
0 & 0 & 0 & 1 \\
0 & 0 & 0 & 0%
\end{array}%
\right] \in \mathbb{R}^{(d+3)\times (d+3)}, </math>
</div>
 
<math>\mathbf{L}_{1}=\left[
\begin{array}{ll}
\mathbf{I}_{d} & \mathbf{0}_{d\times 3}
\end{array}
\right] \quad and \quad \mathbf{r}_{1}^{\intercal }=\left[
Line 253 ⟶ 251:
\mathbf{0}_{1\times (d+2)} & 1
\end{array}
\right]</math>. Here, <math>\mathbf{f}_{\mathbf{xx}}</math> denotes the second derivative of '''f''' with respect to '''x''', and ''p + q > 2''. For large systems of ODEs
 
<div style="text-align: center;">
'''I''' the ''d''-dimensional identity matrix, and p + q > 2. For large systems of ODEs.
<math>\mathbf{y}_{n+1}=\mathbf{y}_{n}+\mathbf{L\mathbf{k}}
_{m_{n},k_{n}}^{p,q}(h_{n},\mathbf{T}_{n},\mathbf{r})\mathbf{,}\qquad \text{ with } \qquad m_{n}>3. </math>
</div>
 
==== Order-4 LL-RK schemes ====
<math>\mathbf{y}_{n+1}=\mathbf{y}_{n}+\mathbf{L\mathbf{k}}%
_{m_{n},k_{n}}^{p,q}(h_{n},\mathbf{T}_{n},\mathbf{r})\mathbf{,}\qquad with \qquad m_{n}>2. </math>
 
<div style="text-align: center;">
==== Order 4 LL-RK schemes ====
<math>\mathbf{y}_{n+1}=\mathbf{y}_{n}+\mathbf{u}_{4}+\frac{h_{n}}{6}(2\mathbf{k}
_{2}+2\mathbf{k}_{3}+\mathbf{k}_{4}),\quad</math> <ref name=":3" /><ref name=":1" /> <math>\qquad \qquad (4.8)</math>
</div>
 
where
<math>\mathbf{y}_{n+1}=\mathbf{y}_{n}+\mathbf{u}_{4}+\frac{h_{n}}{6}(2\mathbf{k}%
_{2}+2\mathbf{k}_{3}+\mathbf{k}_{4}), \qquad \qquad (8)</math>
 
where
 
<div style="text-align: center;">
<math>\mathbf{u}_{j}=\mathbf{L}(\mathbf{P}_{p,q}(2^{-\kappa _{j}}\mathbf{M}
_{n}c_{j}h_{n}))^{2^{\kappa _{j}}}\mathbf{r} </math>
</div>
 
and
 
<div style="text-align: center;">
<math>\mathbf{k}_{j}=\mathbf{f}\left( t_{n}+c_{j}h_{n},\mathbf{y}_{n}+\mathbf{u}%
_{j}+c_{j}h_{n}<math>\mathbf{k}_{j-1}\right) -=\mathbf{f}\left( t_{n}+c_{j}h_{n},\mathbf{y}%_{n}+\mathbf{u}
_{j}+c_{j}h_{n}\mathbf{k}_{j-1}\right) -\mathbf{f}\left( t_{n},\mathbf{y}
_{n}\right) -\mathbf{f}_{\mathbf{x}}\left( t_{n},\mathbf{y}_{n}\right)
\mathbf{u}_{j}\ -\mathbf{f}_{t}\left( t_{n},\mathbf{y}_{n}\right)
c_{j}h_{n}, </math>
</div>
 
with <math>\mathbf{k}_{1}\equiv \mathbf{0}, c=\left[
Line 282 ⟶ 286:
0 & \frac{1}{2} & \frac{1}{2} & 1
\end{array}
\right] , </math> and ''p + q > 3''. For large systems of ODEs, the vector <math>\mathbf{u}_{j} </math> in the above scheme is replaced by <math>\mathbf{u}_{j}=\mathbf{L\mathbf{k}
}_{m_{j},k_{j}}^{p,q}(c_{j}h_{n},\mathbf{M}_{n},\mathbf{r})</math> with <math> m_j > 4.</math>
 
==== Locally linearized Runge–Kutta scheme of Dormand and Prince ====
scheme is replaced by <math>\mathbf{u}_{j}=\mathbf{L\mathbf{k}
}_{m_{j},k_{j}}^{p,q}(c_{j}h_{n},\mathbf{M}_{n},\mathbf{r}).</math>
 
<div style="text-align: center;">
==== Locally Linearized Runge-Kutta of Dormand & Prince ====
<math>\mathbf{y}_{n+1}=\mathbf{y}__n+\mathbf{nu}_s+h_n\sum_{j=1}^s b_j \mathbf{uk}_j \qquad \text{ and } \qquad \widehat{\mathbf{y}}_{sn+1}=\mathbf{y}_n+h_\mathbf{nu}_s+h_n\sum_{j=1}^{s \widehat{b}b__j \mathbf{jk}_j,\quad </math>
<ref name=":15">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]].</ref><ref name=":16">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]].</ref>
\mathbf{k}_{j}\qquad and \qquad \widehat{\mathbf{y}}_{n+1}=\mathbf{y}
<math>\qquad \qquad (4.9)</math>
_{n}+\mathbf{u}_{s}+h_{n}\sum_{j=1}^{s}\widehat{b}_{j}\mathbf{k}_{j},
</div>
\qquad \qquad (9)</math>
 
where ''s'' = 67 is the number of the stages,
 
<div style="text-align: center;">
<math>\mathbf{k}_{j}=\mathbf{f(}t_{n}+c_{j}h_{n},\mathbf{y}_{n}+\mathbf{u}
_<math>\mathbf{jk}_j=\mathbf{f(}t_n+h_c_j h_n,\mathbf{ny}_n+\mathbf{u}_j + h_n \sum_{i=1}^{s-1} a_{j,i} \mathbf{k}_{i}_i)-\mathbf{f}\left( t_{n}t_n,
\mathbf{y}_{n}_n\right) -\mathbf{f}_{\mathbf{x}}\left( t_t_n,\mathbf{ny}_n\right) \mathbf{u}_j\ -\mathbf{f}_t\left( t_n,\mathbf{y}_n \right) c_j h_n, </math>
</div>
_{n}\right) \mathbf{u}_{j}\ -\mathbf{f}_{t}\left( t_{n},\mathbf{y}
_{n}\right) c_{j}h_{n}, </math>
 
with <math>\mathbf{k}_{1}\equiv \mathbf{0}</math>, and <math>a_{j,i}, b_{j}, \widehat{b}_{j}_j \quad and \quad c_{j}c_j</math> are the [[Dormand–Prince method|Runge-KuttaRunge–Kutta coefficients of Dormand and Prince]] and ''p'' + ''q'' > 4. For large systems of ODEs, theThe vector <math>\mathbf{u}_{j}_j</math> in the above scheme is replacedcomputed by <math>\mathbf{u}a Padé or Krylor–Padé approximation for small or large systems of ODE, respectively.
_{j}=\mathbf{L\mathbf{k}}_{m_{j},k_{j}}^{p,q}(c_{j}h_{n},\mathbf{M}_{n},
\mathbf{r}).</math>
 
====  Stability and dynamics ====
[[File:Figure ODE.jpg|thumb|488x488px|'''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 [[Runge–Kutta methods|''RK''4]], ''and the order-4 LLRK''4 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 <math>p\leq q\leq p+2</math>, the LL schemes (4.6)-(4.9) are [[Stiff equation|''A''-stable]].<ref name=":3" /> With ''q'' = ''p'' + 1 or ''q'' = ''p'' + 2, the LL schemes (4.6)–(4.9) are also [[L-stability|''L''-stable]].<ref name=":3" /> For linear ODEs, the LL schemes (4.6)-(4.9) converge with order ''p'' + ''q''.<ref name=":3" /><ref name=":25" /> In addition, with ''p = q = 6'' and <math>m_{n}</math> = ''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.<ref name=":3" /><ref name=":25" /> This includes [[Stiff equation|stiff]] and highly oscillatory linear equations. Moreover, the LL schemes (4.6)-(4.9) are regular for linear ODEs and inherit the [[Symplectic geometry|symplectic structure]] of [[Hamiltonian mechanics|Hamiltonian]] [[harmonic oscillator]]s.<ref name=":2" /><ref name=":9" /> These LL schemes are also linearization preserving, and display a better reproduction of the [[Stable manifold|stable and unstable manifolds]] around [[hyperbolic equilibrium point]]s and [[Limit cycle|periodic orbits]] that [[Numerical methods for ordinary differential equations|other numerical schemes]] with the same stepsize.<ref name=":2" /><ref name=":9" /> For instance, Figure 1 shows the [[phase portrait]] of the ODEs
 
: <math>
By construction the LL and HOLL discretizations inherit the stability and dynamics of the linear ODEs, but
\begin{align}
& \frac{dx_1}{dt} =-2x_1+x_2+1-\mu f(x_1,\lambda)
\qquad \qquad (4.10) \\[6pt]
& \frac{dx_{2}}{dt} = x_1-2x_2+1-\mu f(x_2,\lambda) \qquad \qquad \quad (4.11)
\end{align}
</math>
 
with <math>f(u,\lambda) =u(1+u+\lambda u^2)^{-1}</math>, <math>\mu =15</math> and <math>\lambda =57</math>, and its approximation by various schemes. This system has two [[Equilibrium point|stable stationary points]] and one [[Equilibrium point|unstable stationary point]] in the region <math>0\leq x_1,x_2\leq 1</math>.
it is not the case of the LL schemes in general. With<math>p\leq q\leq p+2</math>, the LL schemes (6)-(9) are [[Stiff equation|A-stable]].
 
== LL methods for DDEs ==
With ''q = p + 1 or q = p + 2'', the LL schemes (6)-(9) are also [[L-stability|L-stable]]. For linear ODEs, the LL schemes
Consider the ''d''-dimensional [[Delay differential equation|Delay Differential Equation]] (DDE)
 
<div style="text-align: center;">
(6)-(9) converge with order ''p + q''. Moreover, with ''p = q = 6'' and ''mn = d'', all the above described LL schemes yield to the
<math>\frac{d\mathbf{x}(t) }{dt} = \mathbf{f}(t,\mathbf{x}(t) ,\mathbf{x}_t(-\tau_1),\ldots ,\mathbf{x}_t(-\tau_m)),\qquad t\in[t_0,T] , \qquad\qquad (5.1) </math>
 
</div>
″exact computation″ (up to the precision of the [[floating-point arithmetic]]) of linear ODEs on
 
with ''m'' constant delays <math>\tau_i>0</math> and initial condition <math>\mathbf{x}_{t_0}(s)=\mathbf{\varphi}(s)</math> for all <math>s\in[-\tau,0], </math> where '''f''' is a differentiable function, <math>\mathbf{x}_t:[-\tau,0] \longrightarrow \mathbb{R}^d</math> is the segment function defined as
the current personal computers. This includes [[Stiff equation|stiff]] and highly oscillatory linear equations. Moreover, the LL
 
<div style="text-align: center;">
schemes (6)-(9) are regular for linear ODEs and inherit the [[Symplectic geometry|symplectic structure]] of [[Hamiltonian mechanics|Hamiltonian]] [[Harmonic oscillator|harmonic]]
<math>\mathbf{x}_t(s):=\mathbf{x}(t+s),\text{ } s\in[-\tau,0], </math>
 
</div>
[[Harmonic oscillator|oscillators]]. These LL schemes are also linearization preserving, and display a better reproduction of the [[Stable manifold|stable]]
 
for all <math>t\in[t_0,T], \mathbf{\varphi }:[-\tau,0] \longrightarrow \mathbb{R}^d</math> is a given function, and <math>\tau = \max \left\{ \tau_1,\ldots,\tau_m\right\} .</math>
[[Stable manifold|and unstable manifolds]] around [[Hyperbolic equilibrium point|hyperbolic equilibrium points]] and [[Limit cycle|periodic orbits]] that [[Numerical methods for ordinary differential equations|other numerical schemes]]
 
=== Local linear discretization ===
with the same stepsize.
 
For a time discretization <math>(t)_h</math> , the ''Local Linear discretization'' of the DDE (5.1) at each point <math>t_{n+1} \in (t)_h</math> is defined by the recursive expression <ref name=":13" />
== LL methods for DDEs ==
 
Consider the ''d''-dimensional [[Delay differential equation|Delay Differential Equation]] (DDE)
 
<math>\frac{d\mathbf{x}\left( t\right) }{dt}=\mathbf{f}\left( t,\mathbf{x}\left(
t\right) ,\mathbf{x}_{t}(-\tau _{1}),\cdots ,\mathbf{x}_{t}(-\tau
_{m})\right) ,\qquad t\in \left[ t_{0},T\right] , \qquad \qquad (10)</math>
 
with ''m'' constant delays <math>\tau _{i}>0</math> and initial condition <math>\mathbf{x}
_{t_{0}}(s)=\mathbf{\varphi }(s)</math> for all <math>s\in \left[ -\tau ,0\right], </math> where ''f'' is a differentiable
 
function, <math>\mathbf{x}_{t}:\left[
-\tau ,0\right] \longrightarrow
\mathbb{R}
^{d}</math> is the segment function deffined as
 
<math>\mathbf{x}_{t}(s):=\mathbf{x}(t+s),\text{ }s\in \left[ -\tau ,0\right] </math>
 
for all <math>t\in \left[ t_{0},T\right], \mathbf{\varphi }:\left[ -\tau ,0
\right] \longrightarrow
\mathbb{R}
^{d}</math> is a given function, and <math>\tau =\max \left\{ \tau _{1,}...,\tau
_{m}\right\} .</math>
 
=== Local Linear discretization ===
 
<div style="text-align: center;">
For a time discretization <math>\left( t\right) _{h}</math> , the ''Local Linear discretization'' of the DDE (10) at each point <math>t_{n+1}\in \left(
<math>\mathbf{z}_{n+1}=\mathbf{z}_n+\Phi (t_n,\mathbf{z}_n,h_n;\widetilde{\mathbf{z}}_{t_n}^1, \ldots,\widetilde{\mathbf{z}}_{t_n}^m),
t\right) _{h}</math> is deffined by the recursive expression
\qquad \qquad (5.2) </math>
 
</div>
<math>\mathbf{z}_{n+1}=\mathbf{z}_{n}+\Phi (t_{n},\mathbf{z}_{n},h_{n};\widetilde{
\mathbf{z}}_{t_{n}}^{1},..,\widetilde{\mathbf{z}}_{t_{n}}^{m}),
\qquad \qquad \qquad (11)</math>
 
where
 
<div style="text-align: center;">
<small><math>\Phi (t_{n},\mathbf{z}_{n},h_{n};\widetilde{\mathbf{z}}_{t_{n}}^{1},..,
<math>\Phi (t_n,\mathbf{z}_n,h_n;\widetilde{\mathbf{z}}_{t_n}^1, \ldots, \widetilde{\mathbf{z}}_{t_{n}}^{m}) = \int\limits_0^{h_n}e^{\mathbf{A}_n(h_n-u)} \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^{h_n}\int\limits_0^u e^{\mathbf{A}_n(h_n-u)}\mathbf{c}_n \, dr \, du </math>
\widetilde{\mathbf{z}}_{t_{n}}^{m})=\int\limits_{0}^{h_{n}}e^{\mathbf{A}
</div>
_{n}(h_{n}-u)}[\sum\limits_{i=1}^{m}\mathbf{B}_{n}^{i}(\widetilde{\mathbf{z}
}_{t_{n}}^{i}\left( u-\tau _{i}\right) -\widetilde{\mathbf{z}}
_{t_{n}}^{i}\left( -\tau _{i}\right) )+\mathbf{d}_{n}]du+\int
\limits_{0}^{h_{n}}\int\limits_{0}^{u}e^{\mathbf{A}_{n}(h_{n}-u)}\mathbf{c}
_{n}drdu. </math></small>
 
where <math>\widetilde{\mathbf{z}}_{t_{n}t_n}^{i}:\left[ -\tau _{i}tau_i,0\right] \longrightarrow \mathbb{R}^d</math> is the segment function defined as
\longrightarrow
\mathbb{R}
^{d}</math> is the segment function deffined as
 
<div style="text-align: center;">
<math>\widetilde{\mathbf{z}}_{t_{n}}^{i}(s):=\widetilde{\mathbf{z}}^{i}(t_{n}+s),%
<math>\widetilde{\mathbf{z}}_{t_n}^i(s):=\widetilde{\mathbf{z}}^i(t_n+s), \text{ } s\in \left[ -\tau _{i}tau_i,0\right] ,</math>
 
</div>
and <math>\widetilde{\mathbf{z}}^{i}:\left[ t_{n}-\tau _{i},t_{n}\right]
\longrightarrow
\mathbb{R}
^{d}</math>is a suitable approximation to <math>\mathbf{x}(t)</math> for all <math>t\in \lbrack
t_{n}-\tau _{i},t_{n}]</math> such that <math>\widetilde{\mathbf{z}}^{i}(t_{n})=\mathbf{z}_{n}.</math>
 
and <math>\widetilde{\mathbf{z}}^i:\left[ t_n-\tau_i,t_n\right] \longrightarrow \mathbb{R}^d</math> is a suitable approximation to <math>\mathbf{x}(t)</math> for all <math>t\in \lbrack t_n-\tau_i,t_n]</math> such that <math>\widetilde{\mathbf{z}}^i(t_n)=\mathbf{z}_n.</math> Here,<div style="text-align: center;">
Here,
<math>\mathbf{A}_n=\mathbf{f}_x(t_n,\mathbf{z}_n,\widetilde{\mathbf{z}}_{t_n}^1(-\tau_1),\ldots,\widetilde{\mathbf{z}}_{t_n}^m(-\tau_d)),
\text{ }\mathbf{B}_n^i=\mathbf{f}_{x_t(-\tau_i)}(t_n,\mathbf{z}_n,\widetilde{\mathbf{z}}_{t_n}^1(-\tau_1),\ldots,\widetilde{\mathbf{z}}_{t_n}^m(-\tau_d)) </math>
 
</div>
<math>\mathbf{A}_{n}=\mathbf{f}_{x}(t_{n},\mathbf{z}_{n},\widetilde{\mathbf{z}}
_{t_{n}}^{1}(-\tau _{1}),...,\widetilde{\mathbf{z}}_{t_{n}}^{m}(-\tau _{d})),
\text{ }\mathbf{B}_{n}^{i}=\mathbf{f}_{x_{t}(-\tau _{i})}(t_{n},\mathbf{z}
_{n},\widetilde{\mathbf{z}}_{t_{n}}^{1}(-\tau _{1}),...,\widetilde{\mathbf{z}
}_{t_{n}}^{m}(-\tau _{d})) </math>
 
are constant matrices and
 
<div style="text-align: center;">
<math>\mathbf{c}_{n}=\mathbf{f}_{t}(t_{n},\mathbf{z}_{n},\widetilde{\mathbf{z}}
_<math>\mathbf{t_{nc}}^_n=\mathbf{1f}_t(-t_n,\tau mathbf{z}_n,\widetilde{\mathbf{z}}_{1t_n}^1 (-\tau_1),...\ldots,\widetilde{\mathbf{z}}_{t_{n}t_n}^{m}(-\tau _{d}tau_d))
\text{ and }\mathbf{d}_{n}_n=\mathbf{f(}t_t_n,\mathbf{nz}_n,\widetilde{\mathbf{z}}_{nt_n}^1(-\tau_1),\ldots,\widetilde{\mathbf{z}}_{t_n}^m(-\tau_d)) </math>
 
\mathbf{z}}_{t_{n}}^{1}(-\tau _{1}),...,\widetilde{\mathbf{z}}
</div>
_{t_{n}}^{m}(-\tau _{d})) </math>
 
are constant vectors. <math>\mathbf{f}_{t}, \mathbf{f}_{x} \quad and \quad \mathbf{f}
_{x_{t}(-\tau _{i})}</math> denote, respectively, the partial derivatives of '''''f''''' with respect to the variables '''''t''''', and '''''x''''', and <math>\mathbf{x}_{t}(-\tau _{i})</math>. The Local Linear discretization (115.2) converges to the solution of (105.1) with order <math>\alpha =\min \{2,r\},</math> if <math>\widetilde{\mathbf{z}}_{t_{n}}^{i}</math> approximates <math>\mathbf{z}_{t_{n}}^{i}</math> with order <math>r \quad (i.e., \left\vert \mathbf{z}_{t_{n}}^{i}\mathbf{(}u-\tau _{i}
\mathbf{)}-\widetilde{\mathbf{z}}_{t_{n}}^{i}\mathbf{(}u-\tau _{i}\mathbf{)}
\right\vert \propto h_{n}^{r}</math> for all <math>u\in \lbrack 0,h_{n}])</math>.
 
=== Local Linearizationlinearization schemes ===
[[File:Figure DDE.png|thumb|450x450px|'''Fig. 2''' Approximate paths of the [https://doi.org/10.1016/S0022-5193(05)80142-0 Marchuk et al. (1991)] antiviral immune model described by a stiff system of ten-dimensional nonlinear DDEs with five time delays: top, [[doi:10.1016/S0168-9274(00)00055-6|continuous Runge–Kutta (2,3)]] scheme; bottom, LL scheme (5.3). Step-size ''h''&nbsp;=&nbsp;0.01 fixed, and ''p''&nbsp;=&nbsp;''q''&nbsp;=&nbsp;6.]]
Depending of the approximations <math>\widetilde{\mathbf{z}}_{t_{n}}^{i}</math> and of the algorithm to compute <math>\mathbf{\phi }</math> di§erent Local Linearizations schemes
 
Depending on the approximations <math>\widetilde{\mathbf{z}}_{t_{n}}^{i}</math> and on the algorithm to compute <math>\mathbf{\phi }</math> different Local Linearizations schemes can be deÖneddefined. Every numerical implementation <math>\mathbf{y}_{n}</math> of a Local Linear discretization <math>\mathbf{z}_{n}</math> is generically called ''Locallocal Linearizationlinearization scheme''.
 
==== Order -2 Polynomialpolynomial LL schemes ====
 
<div style="text-align: center;">
<math>\mathbf{y}_{n+1}=\mathbf{y}_{n}+\mathbf{L}(\mathbf{P}_{p,q}(2^{-k_{n}}
<math>\mathbf{y}_{n+1}=\mathbf{y}_{n}+\mathbf{L}(\mathbf{P}_{p,q}(2^{-k_{n}} \mathbf{M}_{n}h_{n}))^{2^{k_{n}}}\mathbf{r,} \qquadquad</math><ref name=":13" /> <math> \qquad (125.3) </math>
 
</div>
where the matrices <math>\mathbf{M}_{n}, \mathbf{L}\quad and \quad \mathbf{r}</math> are deffined as
 
where the matrices <math>\mathbf{M}_{n}, \mathbf{L}</math> and <math>\mathbf{r}</math> are defined as
 
<div style="text-align: center;">
<math>\mathbf{M}_{n}=
\begin{bmatrix}
\mathbf{A}_{n} & \mathbf{c}_{n}+\sum\limits_{i=1}^{m}\mathbf{B}_{n}^{i}
\mathbf{\alpha }_{n}^{i} & \mathbf{d}_{n} \\
0_{1\times d}0 & 0 & 1 \\
0_{1\times d}0 & 0 & 0
\end{bmatrix}
\in \mathbb{R}^{(d+2)\times (d+2)},</math>
</div>
 
<math>\mathbf{L}=\left[
\begin{array}{ll}
\mathbf{I}_{d} & \mathbf{0}_{d\times 2}%
\end{array}%
\right]</math> and <math>\mathbf{r}^{\intercal }=\left[
\begin{array}{ll}
\mathbf{0}_{1\times (d+1)} & 1
\end{array}
\right], h_{n}\leq \tau </math>,\quad and \quad <math>p+q>1.</math>. Here, the matrices <math>\mathbf{A}_{n}</math>, <math>\quadmathbf{B}_{n}^{i}</math>, <math>\mathbf{c}_{n}</math> and <math>\mathbf{d}_{n}</math> are defined as in (5.2), but replacing <math>\mathbf{z}</math> by <math>\mathbf{y}</math> and <math>\mathbf{\alpha }_{n}^{i}=(\mathbf{y}(t_{n+1}-\tau _{i})-\mathbf{y}
(t_{n}-\tau _{i}))/h_{n},</math> where
\mathbf{B}_{n}^{i}, \quad \mathbf{c}_{n}\quad and \quad \mathbf{d}_{n}</math> are defined as in '''(11),''' but replacing <math>\mathbf{z}</math> by <math>\mathbf{y}</math> and <math>\mathbf{\alpha }_{n}^{i}=(\mathbf{y}(t_{n+1}-\tau _{i})-\mathbf{y}
(t_{n}-\tau _{i}))/h_{n},</math> where
 
<div style="text-align: center;">
<small><math>\mathbf{y}\left( t\right) =\mathbf{y}_{n_{t}}+\mathbf{L}(\mathbf{P}%
_<math>\mathbf{p,qy}\left(2^{-k_{n}} t\right) =\mathbf{My}_{n_{t}}+\mathbf{L}(t-t_\mathbf{n_P}_{tp,q}}))^{(2^{-k_{n}}}\mathbf{r},
\mathbf{M}_{n_{t}}(t-t_{n_{t}})))^{2^{k_{n}}}\mathbf{r},</math>
\text{ with }n_{t}=\max \{n=0,1,2,...,:t_{n}\leq t\text{ and }t_{n}\in
\left( t\right) _{h}\},</math></small>
 
</div>
is the ''Local Linear Approximation'' to the solution of (10) deÖned through the LL scheme '''(12)''' for all <math>t\in \lbrack
t_{0},t_{n}]</math> and by <math>\mathbf{y}\left( t\right) =\mathbf{\varphi }\left(
t\right)</math> for <math>t\in \left[ t_{0}-\tau ,t_{0}\right]</math>
 
with <math>n_{t}=\max \{n=0,1,2,...,:t_{n}\leq t\text{ and }t_{n}\in \left( t\right) _{h}\}</math>, is the ''Local Linear Approximation'' to the solution of (5.1) defined through the LL scheme (5.3) for all <math>t\in \lbrack
For large systems of DDEs
t_{0},t_{n}]</math> and by <math>\mathbf{y}\left( t\right) =\mathbf{\varphi }\left(
t\right)</math> for <math>t\in \left[ t_{0}-\tau ,t_{0}\right]</math>. For large systems of DDEs
 
<div style="text-align: center;">
<math>\mathbf{y}_{n+1}=\mathbf{y}_{n}+\mathbf{L\mathbf{k}}
_{m_{n},k_{n}}^{p,q}(h_{n},\mathbf{M}_{n},\mathbf{r})\quad and \quad \mathbf{y}\left( t\right) =\mathbf{y}_{n_{t}}+\mathbf{L\mathbf{k}}
_{m_{n_{t}},k_{n_{t}}}^{p,q}(t-t_{n_{t}},\mathbf{M}_{n_{t}},\mathbf{r}),</math>
 
</div>
with <math>p+q>1 \quad and \quad m_{n}>2.</math>
 
with <math>p+q>1</math> and <math>m_{n}>2</math>. 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)
 
<div style="text-align: center;"><math>\frac{d\mathbf{x}\left( t\right) }{dt}=\mathbf{f}(\mathbf{x}(t),\mathbf{\xi }
Consider the ''d-dimensional'' Random Differential Equation (RDE)
(t)),\quad t\in \left[ t_{0},T\right] ,\qquad \qquad \qquad (6.1)
</math>
</div>
 
with initial condition <math>\frac{d\mathbf{x}\left( t\rightt_0) }{dt}=\mathbf{f}(\mathbf{x}(t)_0,</math> where <math>\mathbf{\xi }
\xi }</math> is a ''k''-dimensional [[Stochastic process|separable finite continuous stochastic process]], and '''f''' is a differentiable function. Suppose that a [[Realization (probability)|realization]] (path) of <math>\mathbf{\xi }</math> is given.
(t)),\quad t\in \left[ t_{0},T\right] ,\qquad \qquad \qquad (13).
</math>
 
with initial condition <math>\mathbf{x}(t_{0})=\mathbf{x}_{0},</math> where <math>\mathbf{
\xi }</math> is a ''k''-dimensional separable finite continuous stochastic process, and
 
'''f''' is a differentiable function. Suppose that a realization (path) of <math>\mathbf{\xi }</math> is given.
 
=== Local Linear discretization ===
For a time discretization <math>\left( t\right) _{h}</math>, the ''Local Linear discretization'' of the RDE (13) at each point <math>t_{n+1}\in \left(
t\right) _{h}</math> is defined by the recursive expression
 
For a time discretization <math>\left( t\right) _{h}</math>, the ''Local Linear discretization'' of the RDE (6.1) at each point <math>t_{n+1}\in \left(
t\right) _{h}</math> is defined by the recursive expression <ref name=":24" />
 
<div style="text-align: center;">
<math>\mathbf{z}_{n+1}=\mathbf{z}_{n}+\mathbf{\phi }(t_{n},\mathbf{z}_{n};h_{n}),
\qquad \text{ with } \qquad \mathbf{z}_{0}=\mathbf{x}_{0},</math>
</div>
 
where
 
<div style="text-align: center;">
<math>\mathbf{\phi }(t_{n},\mathbf{z}_{n};h_{n})=\int\limits_{0}^{h_{n}}e^{\mathbf{
<math>\mathbf{\phi }(t_n,\mathbf{z}_n;h_n)=\int\limits_0^{h_n} e^{\mathbf{f}_{\mathbf{x}} (\leftmathbf{z}_n,\mathbf{\xi}(t_n)) (h_n-u)}(\mathbf{f(z}_{n},\mathbf{\xi }(t_{n}))+\rightmathbf{f}_{\mathbf{\xi}}(\mathbf{z}_n,\mathbf{\xi }(t_{n}))(\widetilde{\mathbf{\xi }}(h_t_{n}-+u)-\widetilde{\mathbf{\xi }}(t_n))) \, du </math>
 
\mathbf{f(z}_{n},\mathbf{\xi }(t_{n}))+\mathbf{f}_{\mathbf{\xi }}(\mathbf{z}
</div>
_{n},\mathbf{\xi }(t_{n}))(\widetilde{\mathbf{\xi }}(t_{n}+u)-\widetilde{
\mathbf{\xi }}(t_{n})))du </math>
 
and <math>\widetilde{\mathbf{\xi }}</math> is an approximation to the process <math>\mathbf{
\xi }</math> for all <math>t\in \left[ t_{0},T\right]. </math> Here, <math>\mathbf{f}_{x}</math> and <math>\mathbf{f}_{\xi }</math> denote the partial derivatives of <math>\mathbf{f}</math> with respect to <math>\mathbf{x}</math> and <math>\xi </math>, respectively.
 
=== Local Linearizationlinearization schemes ===
Depending of the approximations <math>\widetilde{\mathbf{\xi }}</math> to the process <math>\mathbf{\xi }</math> and of the algorithm to compute <math>\mathbf{\phi }</math> different Local Linearizations schemes can be defined. Every numerical implementation <math>\mathbf{y}_{n}</math> of a Local Linear discretization <math>\mathbf{z}_{n}</math> is generically called ''Local Linearization scheme.''
 
[[File:FigureRDE1.png|thumb|377x377px|'''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''&nbsp;=&nbsp;1/32, and ''p''&nbsp;=&nbsp;''q''&nbsp;=&nbsp;6.]]
==== LL schemes ====
 
<math>\mathbf{y}_{n+1}=\mathbf{y}_{n}+\mathbf{L}(\mathbf{P}_{p,q}(2^{-k_{n}}
Depending on the approximations <math>\widetilde{\mathbf{M}_{n}h_{n}))^{2^{k_{n}\xi }}</math> to the process <math>\mathbf{r,\xi} </math> and whereof the matricesalgorithm to compute <math>\mathbf{M}_{n\phi}</math>, \quaddifferent Local Linearizations schemes can be defined. Every numerical implementation <math>\mathbf{Ly}_n</math> \quadof the andlocal \quadlinear discretization <math>\mathbf{rz}_n</math> is aregenerically definedcalled ''local linearization asscheme.''
 
==== LL schemes ====
 
<div style="text-align: center;">
 
<math>\mathbf{y}_{n+1}=\mathbf{y}_n+\mathbf{L}(\mathbf{P}_{p,q}(2^{-k_n} \mathbf{M}_n h_{n}))^{2^{k_n}}\mathbf{r,} \quad </math> <ref name=":24" /><ref name=":10">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]].</ref> </div>
where the matrices <math>\mathbf{M}_{n}, \quad \mathbf{L} \quad and \quad \mathbf{r}</math> are defined as
 
<math>\mathbf{M}_{n}=\left[
Line 500 ⟶ 484:
\mathbf{\xi }(t_{n})\right) \\
0 & 0 & 1 \\
0 & 0 & 0%
\end{array}%
\right]</math>
\right] \in \mathbb{R}^{(d+2)\times (d+2)},
</math>
 
<math>\mathbf{L}=\left[
\begin{array}{ll}
\mathbf{I}_{d} & \mathbf{0}_{d\times 2}
\end{array}
\right] </math>, <math>\mathbf{r}^{\intercal }=\left[
Line 513 ⟶ 496:
\mathbf{0}_{1\times (d+1)} & 1
\end{array}
\right]</math>, and '''''p+q>1'''''. For large systems of RDEs,<ref name=":10" />
 
<div style="text-align: center;">
<math>\mathbf{y}_{n+1}=\mathbf{y}_{n}+\mathbf{L\mathbf{k}}
_{m_{n},k_{n}}^{p,q}(h_{n},\mathbf{M}_{n},\mathbf{r}),\quad p+q>1
\quad and \quad m_{n}>2.</math>
 
</div>
 
The convergence rate of both schemes is <math>min\{2,2\gamma \}</math>, where is <math>\gamma</math> the exponent of the Holder condition of <math>\mathbf{\xi }</math>.
 
Figure 3 presents the phase portrait of the RDE
== Strong LL methods for SDEs ==
 
<math>\frac{dx_{1}}{dt} =-x_{2}+\left( 1-x_{1}^{2}-x_{2}^{2}\right) x_{1}\sin
(w^{H}(t))^{2}, \quad \qquad x_{1}(0)=0.8 \qquad (6.2)
 
</math>
 
<math>\frac{dx_{2}}{dt} =x_{1}+(1-x_{1}^{2}-x_{2}^{2})x_{2}\sin (w^{H}(t))^{2},
\qquad \qquad x_{2}(0)=0.1, \qquad (6.3)
 
</math>
 
and its approximation by two numerical schemes, where <math>w^{H}</math> denotes a [[Fractional Brownian motion|fractional Brownian process]] with [[Hurst exponent]] ''H=0.45''.
 
== Strong LL methods for SDEs ==
Consider the ''d''-dimensional [[Stochastic differential equation|Stochastic Differential Equation]] (SDE)
 
<div style="text-align: center;">
<math>d\mathbf{x}(t)=\mathbf{f}(t,\mathbf{x}(t))dt+\sum\limits_{i=1}^{m}\mathbf{g}
_{i}(t)d\mathbf{w}^{i}(t),\quad t\in \left[ t_{0},T\right] , \qquad \qquad \qquad (147.1)</math>
 
</div>
 
with initial condition <math>\mathbf{x}(t_{0})=\mathbf{x}_{0}</math>, where the drift coefficient <math>\mathbf{f}</math> and the diffusion coefficient <math>\mathbf{g}_{i}</math> are differentiable functions, and <math>\mathbf{w=(\mathbf{w}}^{1},\ldots ,\mathbf{w}
^{m}\mathbf{)}</math> is an ''m''-dimensional standard [[Wiener process]].
 
=== Local Linearlinear discretization ===
For a time discretization <math>\left( t\right) _{h}</math> , the order-<math>\mathbb{\gamma }</math> (=1,1.5) ''Strong Local Linear discretization'' of the solution of the SDE (7.1) is defined by the recursive relation <ref name=":14">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]].</ref><ref name=":20" />
 
the SDE (14) is defined by the recursive relation.
 
<div style="text-align: center;">
<math>\mathbf{z}_{n+1}=\mathbf{z}_{n}+\mathbf{\phi }_{\mathbb{\gamma }}(t_{n},
\mathbf{z}_{n};h_{n})+\mathbf{\xi }(t_{n},\mathbf{z}_{n};h_{n}),\quad with \quad
\mathbf{z}_{0}=\mathbf{x}_{0},</math>
 
</div>
 
where
 
<div style="text-align: center;">
<math>\mathbf{\phi }_{\mathbb{\gamma }}(t_{n},\mathbf{z}_{n};\delta
)=\int_{0}^{\delta }e^{\mathbf{f}_{\mathbf{x}}(t_{n},\mathbf{y}_{n})(\delta
-u)}(\mathbf{f(}t_{n},\mathbf{z}_{n})+\mathbf{a}^{\mathbb{\gamma }}(t_{n},
\mathbf{z}_{n})u)du </math>
 
</div>
 
and
 
<div style="text-align: center;">
<math>\mathbf{\xi }\left( t_{n},\mathbf{z}_{n};\delta \right)
<math>\mathbf{\xi} \left( t_n,\mathbf{z}_n;\delta \right) = \sum\limits_{i=1}^{m} \int\nolimits_{t_{n}t_n}^{t_{n}t_n+\delta } e^{\mathbf{f}_{\mathbf{x}} (t_n,\mathbf{z}_n)(t_n+\delta -u)}\mathbf{g}_i(u) \, d\mathbf{w}^i(u). </math>
 
\mathbf{x}}(t_{n},\mathbf{z}_{n})(t_{n}+\delta -u)}\mathbf{g}_{i}(u)d\mathbf{
</div>
w}^{i}(u). </math>
 
Here,
 
<div style="text-align: center;">
<math>\mathbf{a}^{\mathbb{\gamma }}(t_{n},\mathbf{z}_{n})=
<math>
\mathbf{a}^{\mathbb{\gamma}}(t_n,\mathbf{z}_n)=
\left\{
\begin{matrixarray}{cl}
\mathbf{f}_{t}_t(t_{n}t_n,\mathbf{z}_{n}_n) & \qquadtext{for for} \qquad \mathbb{\gamma }=1 \\
\mathbf{f}_{t}_t(t_{n}t_n,\mathbf{z}_{n}_n)\quad +\frac{1}{2} \sum\limits_{j=1}^{m ( \mathbf{I}\otimes \mathbf{g}_j^\intercal (t_n)) \mathbf{f}_{\mathbf{xx}}(t_n, \mathbf{z}_n)\mathbf{g}_j (t_n) & \text{for } \quad \mathbb{\gamma}=1.5,
\end{array}
\left( \mathbf{I}_{d\times d}\times \mathbf{g}_{j}^{\intercal }
\right.
\left( t_{n}\right) \right) \mathbf{f}_{\mathbf{xx}}(t_{n},
</math>
\mathbf{z}_{n})\mathbf{g}_{j}\left( t_{n}\right) & \quad for \quad \mathbb{\gamma }=1.5,
</div>
\end{matrix}
 
\right.</math>
<math>\mathbf{f}_{\mathbf{x}}, \mathbf{f}_t</math> denote the partial derivatives of <math>\mathbf{f}</math> with respect to the variables <math>\mathbf{x}</math> and '''''t''''', respectively, and <math>\mathbf{f}_{\mathbf{xx}}</math> the Hessian matrix of <math>\mathbf{f}</math> with respect to <math>\mathbf{x}</math>. The strong Local Linear discretization <math>\mathbf{z}_{n+1}</math> [[Convergence of random variables|converges]] with order <math>\mathbb{\gamma }</math> (=&nbsp;1,&nbsp;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 <math>(t_n, \mathbf{z}_n)</math>, the equation for the residual <math>\mathbf{r}</math> is given by
 
<div style="text-align: center;">
<math>d\mathbf{r}(t) =\mathbf{q}_\gamma (t_n,\mathbf{z}_n;t \mathbf{,\mathbf{r}}(t)) \, dt + \sum\limits_{i=1}^m \mathbf{g}_i(t) \, d\mathbf{w}^i(t)\mathbf{,}\qquad \mathbf{r}(t_n) = \mathbf{0} </math>
 
</div>
 
for all <math>t\in \lbrack t_n,t_{n+1}]</math>, where
 
<div style="text-align: center;">
<math>\mathbf{q}_\gamma (t_n,\mathbf{z}_n;s\mathbf{,\xi })=\mathbf{f}(s,\mathbf{z}_n+\mathbf{\phi}_\gamma (t_n,\mathbf{z}_n;s-t_n) +\mathbf{\xi })-\mathbf{f}_{\mathbf{x}}(t_n,\mathbf{z}_n)\mathbf{\phi}_\gamma(t_n,\mathbf{z}_n;s-t_n) - \mathbf{a}^\gamma (t_n,\mathbf{z}_n) (s-t_n)-\mathbf{f}(t_n,\mathbf{z}_n). </math>
 
</div>
 
A ''high-order local linear discretization'' of the SDE ''(7.1)'' at each point <math>t_{n+1}\in(t)_h </math> is then defined by the recursive expression <ref name=":4">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]].</ref>
 
<div style="text-align: center;">
<math>\mathbf{z}_{n+1}=\mathbf{z}_n+\mathbf{\phi}_\gamma (t_n,\mathbf{z}_n;h_n)+\widetilde{\mathbf{r}}(t_n,\mathbf{z}_n;h_n),\qquad \text{ with } \qquad \mathbf{z}_0=\mathbf{x}_0, </math>
 
</div>
 
where <math>\widetilde{\mathbf{r}} </math> is a strong approximation to the residual <math>\mathbf{r} </math> of order <math>\alpha </math> higher than '''1.5'''. The strong HOLL discretization <math>\mathbf{z}_{n+1} </math> converges with order <math>\alpha </math> to the solution of (7.1).
 
=== Local linearization schemes ===
 
Depending on the way of computing <math>\mathbf{\phi }_{\mathbb{\gamma }}</math> , <math>\mathbf{\xi }</math> and <math>\widetilde{\mathbf{r}}</math> different numerical schemes can be obtained. Every numerical implementation <math>\mathbf{y}_{n}</math> of a strong Local Linear discretization <math>\mathbf{z}_{n}</math> of any order is generically called ''Strong Local Linearization (SLL) scheme''.
 
==== Order 1 SLL schemes ====
 
<div style="text-align: center;">
<math>\mathbf{y}_{n+1}=\mathbf{y}_n+\mathbf{L}(\mathbf{P}_{p,q}(2^{-k_n} \mathbf{M}_{n}h_{n}))^{2^{k_{n}}}\mathbf{r+}\sum\limits_{i=1}^m \mathbf{g}_i(t_n)\Delta \mathbf{w}_n^i,\quad </math> <ref name=":23" /> <math>\qquad \qquad (7.2)</math>
 
</div>
 
where the matrices <math>\mathbf{M}_{n}</math>, <math>\mathbf{L}</math> and <math>\mathbf{r}</math> are defined as in (4.6), <math>\Delta \mathbf{w}_{n}^{i}</math> is an [[Independent and identically distributed random variables|i.i.d.]] zero mean [[Normal distribution|Gaussian random variable]] with variance <math>h_{n}</math>, and ''p''&nbsp;+&nbsp;''q''&nbsp;>&nbsp;1. For large systems of SDEs,<ref name=":23" /> in the above scheme <math>(\mathbf{P}_{p,q}(2^{-k_n}\mathbf{M}_{n}h_{n}))^{2^{k_n}}\mathbf{r}</math> is replaced by <math>\mathbf{\mathbf{k}}_{m_{n}, k_n}^{p,q}(h_n,\mathbf{M}_n,\mathbf{r})</math>.
 
==== Order 1.5 SLL schemes ====
 
<div style="text-align: center;">
<math>\mathbf{y}_{n+1} =\mathbf{y}_n+\mathbf{L}(\mathbf{P}_{p,q}(2^{-k_n} \mathbf{M}_n h_n))^{2^{k_n}}\mathbf{r}+\sum\limits_{i=1}^m\left( \mathbf{g}_i(t_n)\Delta \mathbf{w}_n^i \mathbf{f}_{\mathbf{x}}(t_n,\widetilde{\mathbf{y}}_n)\mathbf{g}_i(t_n)\Delta \mathbf{z}_n^i+\frac{d\mathbf{g}_i(t_n)}{dt} (\Delta \mathbf{w}_{n}^{i}h_{n}-\Delta \mathbf{z}_{n}^{i})\right) , \qquad \qquad (7.3)</math>
 
</div>
 
where the matrices <math>\mathbf{M}_{n}</math>, <math>\mathbf{L}</math> and <math>\mathbf{r}</math> are defined as
 
<div style="text-align: center;">
<math>\mathbf{M}_n=
\begin{bmatrix}
\mathbf{f}_{\mathbf{x}}(t_n,\mathbf{y}_n) & \mathbf{f}_{t}(t_n,\mathbf{y}_n)+\frac{1}{2}\sum\limits_{j=1}^{m}\left( \mathbf{I}\otimes \mathbf{g}_j^\intercal (t_n) \right) \mathbf{f}_{ \mathbf{xx}}(t_n,\mathbf{y}_n)\mathbf{g}_j(t_n) &
\mathbf{f}(t_{n},\mathbf{y}_n) \\
0 & 0 & 1 \\
0 & 0 & 0
\end{bmatrix}
\in \mathbb{R}^{(d+2)\times (d+2)}, </math>
</div>
 
<math>\mathbf{L}=\left[
\begin{array}{ll}
\mathbf{I} & \mathbf{0}_{d\times 2}
\end{array}
\right] , \mathbf{r}^{\intercal }=\left[
\begin{array}{ll}
\mathbf{0}_{1\times (d+1)} & 1
\end{array}
\right]</math>, <math>\Delta \mathbf{z}_{n}^{i}</math> is a i.i.d. zero mean Gaussian random variable with variance <math>E\left( (\Delta \mathbf{z}_{n}^{i})^{2}\right) = \frac{1}{3}h_{n}^{3}</math> and covariance <math>E(\Delta \mathbf{w}_{n}^{i}\Delta
\mathbf{z}_{n}^{i})=\frac{1}{2}h_{n}^{2}</math> and ''p+q>1 <ref name=":12" />''. For large systems of SDEs,<ref name=":12" /> in the above scheme <math>(\mathbf{P}_{p,q}(2^{-k_{n}}\mathbf{M}_{n}h_{n}))^{2^{k_{n}}}\mathbf{r}</math> is replaced by <math>\mathbf{\mathbf{k}}
_{m_{n},k_{n}}^{p,q}(h_{n},\mathbf{M}_{n},\mathbf{r})</math>.
 
==== Order 2 SLL-Taylor schemes ====
<div style="text-align: center;">
<math>\mathbf{y}_{t_{n+1}} =\mathbf{y}_{n}+\mathbf{L}(\mathbf{P}_{p,q}(2^{-k_{n}}
\mathbf{M}_{n}h_{n}))^{2^{k_{n}}}\mathbf{r}+\sum\limits_{j=1}^{m}\mathbf{g}
_{j}\left( t_{n}\right) \Delta \mathbf{w}_{n}^{j}+\sum\limits_{j=1}^{m}
\mathbf{f}_{\mathbf{x}}(t_{n},\mathbf{y}_{n})\mathbf{g}_{j}\left(
t_{n}\right) \widetilde{J}_{\left( j,0\right) }
+\sum\limits_{j=1}^{m}\frac{d\mathbf{g}_{_{j}}}{dt}\left( t_{n}\right)
\widetilde{J}_{\left( 0,j\right) }</math>
</div>
 
<div style="text-align: center;">
<math>\qquad \qquad
+\sum\limits_{j_{1},j_{2}=1}^{m}\left(
\mathbf{I}\otimes \mathbf{g}_{j_{2}}^{\intercal }\left(
t_{n}\right) \right) \mathbf{f}_{\mathbf{xx}}(t_{n},\mathbf{y}_{n})\mathbf{g}
_{j_{1}}\left( t_{n}\right) \widetilde{J}_{\left( j_{1},j_{2},0\right), }\qquad \qquad (7.4)</math>
 
</div>
 
where <math>\mathbf{M}_{n}</math>, <math>\mathbf{L}</math>, <math>\mathbf{r}</math> and <math>\Delta \mathbf{w}_{n}^{i}</math> are defined as in the order-1 SLL schemes, and <math>\widetilde{J}_{\alpha } </math> is order '''2''' approximation to the multiple [[Stratonovich integral|Stratonovish integral]] <math>J_{\alpha }</math>.<ref name=":4" />
 
==== Order 2 SLL-RK schemes ====
[[File:FigureSSDE4.png|thumb|513x513px|'''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 method|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''''')''' <ref name=":4" />
 
<math>\mathbf{y}_{t_{n+1}}=\mathbf{y}_{n}+\widetilde{\mathbf{\phi }}(t_{n},\mathbf{
y}_{n};h_{n})+\frac{h_{n}}{2}\left( \mathbf{k}_{1}+\mathbf{k}_{2}\right) +
\mathbf{g}\left( t_{n}\right) \Delta w_{n}+\frac{\left( \mathbf{g}\left(
t_{n+1}\right) -\mathbf{g}\left( t_{n}\right) \right) }{h_{n}}J_{\left(
0,1\right) } \quad (7.5) </math>
 
<math>\quad \quad \quad </math>
 
where
 
: <math>\mathbf{k}_{1} =\mathbf{f}(t_{n}+\frac{h_{n}}{2},\mathbf{y}_{n}+\widetilde{
\mathbf{\phi }}(t_{n},\mathbf{y}_{n};\frac{h_{n}}{2})+\gamma _{+})-\mathbf{f}
_{\mathbf{x}}(t_{n},\mathbf{y}_{n})\widetilde{\mathbf{\phi }}(t_{n},\mathbf{y
}_{n};\frac{h_{n}}{2})-\mathbf{f}\left( t_{n},\mathbf{y}_{n}\right) -\mathbf{
f}_{t}\left( t_{n},\mathbf{y}_{n}\right) \frac{h_{n}}{2},
</math>
 
: <math>\mathbf{k}_{2} =\mathbf{f}(t_{n}+\frac{h_{n}}{2},\mathbf{y}_{n}+\widetilde{
\mathbf{\phi }}(t_{n},\mathbf{y}_{n};\frac{h_{n}}{2})+\gamma _{-}) -\mathbf{f}
_{\mathbf{x}}(t_{n},\mathbf{y}_{n})\widetilde{\mathbf{\phi }}(t_{n},\mathbf{y
}_{n};\frac{h_{n}}{2}) -\mathbf{f}\left( t_{n},\mathbf{y}_{n}\right) -\mathbf{f}_{t}\left( t_{n},\mathbf{y}_{n}\right) \frac{h_{n}}{2},</math>
 
with <math>\gamma _{\pm }=\frac{1}{h_{n}}\mathbf{g}\left( t_{n}\right) \Bigl(
\widetilde{J}_{\left( 1,0\right) }\pm \sqrt{2\widetilde{J}_{\left(1,1,0\right) }h_{n}-
\widetilde{J}_{\left( 1,0\right) }^{2}} \Bigr) </math>.
 
Here, <math>\widetilde{\mathbf{\phi }}(t_{n},\mathbf{y}_{n};h_{n})=\mathbf{L}(\mathbf{P}_{p,q}(2^{-k_{n}}\mathbf{M}_{n}h_{n}))^{2^{k_{n}}}\mathbf{r} </math> for low dimensional SDEs, and <math>\widetilde{\mathbf{\phi }}(t_{n},\mathbf{y}_{n};h_{n})=\mathbf{L\mathbf{k}}_{m_{n},k_{n}}^{p,q}(h_{n},\mathbf{M}_{n}, \mathbf{r}) </math> for large systems of SDEs, where <math>\mathbf{M}_{n} </math>, <math>\mathbf{L} </math>, <math>\mathbf{r} </math>, <math>\Delta \mathbf{w}_{n}^{i} </math> and <math>\widetilde{J}_{\alpha } </math> are defined as in the order-'''2''' SLL-Taylor schemes, ''p+q>1'' and <math>m_{n}>2 </math>.
 
==== Stability and dynamics ====
 
By construction, the strong LL and HOLL discretizations inherit the stability and [[Random dynamical system|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 <math>p\leq q\leq p+2 </math> are ''A''-stable, including stiff and highly oscillatory linear equations.<ref name=":12" /> Moreover, for linear SDEs with [[Pullback attractor|random attractors]], these schemes also have a random attractor that [[Convergence in probability|converges in probability]] to the exact one as the stepsize decreases and preserve the [[ergodicity]] of these equations for any stepsize.<ref name=":4" /><ref name=":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.<ref name=":4" /><ref name=":5">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]].</ref> For nonlinear SDEs with small noise (i.e., (7.1) with <math>\mathbf{g}_{i}(t)\approx 0 </math>), 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.<ref name=":4" /> For instance, Fig 4 shows the evolution of domains in the phase plane and the energy of the stochastic oscillator
 
<math>\begin{array}{ll}
dx(t)=y(t)dt, & x_{1}(0)=0.01 \\
dy(t)=-(\omega ^{2}x(t)+\epsilon x^{4}(t))dt+\sigma dw_{t}, & x_{1}(0)=0.1,
\end{array} \qquad \qquad (7.6)</math>
 
and their approximations by two numerical schemes.
 
== Weak LL methods for SDEs ==
Consider the ''d''-dimensional stochastic differential equation
 
<div style="text-align: center;">
<math>d\mathbf{x}(t)=\mathbf{f}(t,\mathbf{x}(t))dt+\sum\limits_{i=1}^{m}\mathbf{g}
_{i}(t)d\mathbf{w}^{i}(t),\qquad t\in \left[ t_{0},T\right] , \qquad \qquad (8.1)</math>
</div>
 
with initial condition <math>\mathbf{x}(t_{0})=\mathbf{x}_{0}</math>, where the drift coefficient <math>\mathbf{f}</math> and the diffusion coefficient <math>\mathbf{g}_{i}</math> are differentiable functions, and <math>\mathbf{w=(\mathbf{w}}^{1},\ldots ,\mathbf{w}^{m}\mathbf{)}</math> is an ''m''-dimensional standard Wiener process.
 
=== Local Linear discretization ===
 
For a time discretization <math>\left( t\right) _{h}</math>, the order-<math>\mathbb{\beta }</math> <math>(=1,2)</math> ''Weak Local Linear discretization'' of the solution of the SDE (8.1) is defined by the recursive relation <ref name=":21"/>
 
<div style="text-align: center;">
<math>\mathbf{z}_{n+1}=\mathbf{z}_{n}+\mathbf{\phi }_{\mathbb{\beta }}(t_{n},
\mathbf{z}_{n};h_{n})+\mathbf{\eta }(t_{n},\mathbf{z}_{n};h_{n}),\quad with \quad \mathbf{z}_{0}=\mathbf{x}_{0}, </math>
</div>
 
where
 
<div style="text-align: center;">
<math>\mathbf{\phi }_{\mathbb{\beta }}(t_{n},\mathbf{z}_{n};\delta
)=\int_{0}^{\delta }e^{\mathbf{f}_{\mathbf{x}}(t_{n},\mathbf{z}_{n})(\delta
-u)}(\mathbf{f(}t_{n},\mathbf{z}_{n})+\mathbf{b}^{\mathbb{\beta }}(t_{n},
\mathbf{z}_{n})u)du </math>
</div>
 
with
 
<div style="text-align: center;">
<math>\mathbf{b}^{\mathbb{\beta }}(t_{n},\mathbf{z}_{n})=
\begin{cases}
\mathbf{f}_{t}(t_{n},\mathbf{z}_{n}) & \text{for }\mathbb{\beta }=1 \\
\mathbf{f}_{t}(t_{n},\mathbf{z}_{n})+\frac{1}{2}\sum
\limits_{j=1}^{m}\left( \mathbf{I}\otimes \mathbf{g}
_{j}^{\intercal }\left( t_{n}\right) \right) \mathbf{f}_{\mathbf{xx}}(t_{n},
\mathbf{z}_{n})\mathbf{g}_{j}\left( t_{n}\right) & \text{for }\mathbb{\beta }
=2,
\end{cases}
</math>
</div>
 
and <math>\mathbf{\eta }(t_{n},\mathbf{z}_{n};\delta )</math> is a zero mean stochastic process with variance matrix
 
<div style="text-align: center;">
<math>\mathbf{\Sigma }(t_{n},\mathbf{z}_{n};\delta )=\int\limits_{0}^{\delta }e^{
\mathbf{f}_{\mathbf{x}}(t_{n},\mathbf{z}_{n})(\delta -s)}\mathbf{G}(t_{n}+s)
\mathbf{G}^{\intercal }(t_{n}+s)e^{\mathbf{f}_{\mathbf{x}}^{\intercal
}(t_{n},\mathbf{z}_{n})(\delta -s)}ds. </math>
</div>
 
Here, <math>\mathbf{f}_{\mathbf{x}}</math>, <math>\mathbf{f}_{t}</math> denote the partial derivatives of <math>\mathbf{f}</math> with respect to the variables <math>\mathbf{x}</math> and ''t'', respectively, <math>\mathbf{f}_{\mathbf{xx}}</math> the Hessian matrix of <math>\mathbf{f}</math> with respect to <math>\mathbf{x}</math>, and <math>\mathbf{G}(t)=[\mathbf{g}_{1}(t),\ldots, \mathbf{g}_{m}(t)]</math>. The weak Local Linear discretization <math>\mathbf{z}_{n+1}</math> [[Convergence of random variables|converges]] with order <math>\mathbb{\beta }</math> (=1,2) to the solution of (8.1).
 
=== Local Linearization schemes ===
 
Depending on the way of computing <math>\mathbf{\phi }_{\mathbb{\beta }}</math> and <math>\mathbf{\Sigma }</math> different numerical schemes can be obtained. Every numerical implementation <math>\mathbf{y}_{n}</math> of the Weak Local Linear discretization <math>\mathbf{z}_{n}</math> is generically called ''Weak Local Linearization (WLL) scheme''.
 
==== Order 1 WLL scheme ====
 
<div style="text-align: center;">
<math>\mathbf{y}_{n+1}=\mathbf{y}_{n}+\mathbf{B}_{14}+(\mathbf{B}_{12}\mathbf{B}
_{11}^{\intercal })^{1/2}\mathbf{\xi }_{n} </math>
<ref name=":11">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]].</ref><ref name=":0">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]].</ref>
</div>
 
where, for SDEs with autonomous diffusion coefficients, <math>\mathbf{B}_{11}</math>, <math>\mathbf{B}_{12}</math> and <math>\mathbf{B}_{14}</math> are the submatrices defined by the [[Block matrix|partitioned matrix]] <math>\mathbf{B}=\mathbf{P}_{p,q}(2^{-k_{n}}\mathcal{M}_{n}h_{n}))^{2^{k_{n}}}</math>, with
 
<div style="text-align: center;">
<math>\mathcal{M}_{n}=\left[
\begin{array}{cccc}
\mathbf{f}_{\mathbf{x}}(t_{n},\mathbf{y}_{n}) & \mathbf{GG}^{\intercal } &
\mathbf{f}_{t}(t_{n},\mathbf{y}_{n}) & \mathbf{f}(t_{n},\mathbf{y}_{n}) \\
\mathbf{0} & -\mathbf{f}_{\mathbf{x}}^{\intercal }(t_{n},\mathbf{y}_{n}) &
\mathbf{0} & \mathbf{0} \\
\mathbf{0} & \mathbf{0} & 0 & 1 \\
\mathbf{0} & \mathbf{0} & 0 & 0
\end{array}
\right] \in \mathbb{R}^{(2d+2)\times (2d+2)}, </math>
</div>
 
and <math>\{\mathbf{\xi }_{n}\}</math> is a sequence of ''d''-dimensional independent [[Bernoulli distribution|two-points distributed random vectors]] satisfying <math>P(\xi _{n}^{k}=\pm 1)=\frac{1}{2} </math>.
 
==== Order 2 WLL scheme ====
 
<div style="text-align: center;">
<math>\mathbf{y}_{n+1}=\mathbf{y}_{n}+\mathbf{B}_{16}+(\mathbf{B}_{14}\mathbf{B}
_{11}^{\intercal })^{1/2}\mathbf{\xi }_{n}, </math>
<ref name=":11" /><ref name=":0" />
</div>
 
where <math>\mathbf{B}_{11}</math>, <math>\mathbf{B}_{14}</math> and <math>\mathbf{B}_{16}</math> are the submatrices defined by the partitioned matrix <math>\mathbf{B}=\mathbf{P} _{p,q}(2^{-k_{n}}\mathcal{M}_{n}h_{n}))^{2^{k_{n}}}</math> with
 
<div style="text-align: center;">
<math>\mathcal{M}_{n}=\left[
\begin{array}{cccccc}
\mathbf{J} & \mathbf{H}_{2} & \mathbf{H}_{1} & \mathbf{H}_{0} & \mathbf{a}
_{2} & \mathbf{a}_{1} \\
\mathbf{0} & -\mathbf{J}^{\intercal } & \mathbf{I} & \mathbf{0} & \mathbf{0}
& \mathbf{0} \\
\mathbf{0} & \mathbf{0} & -\mathbf{J}^{\intercal } & \mathbf{I} & \mathbf{0}
& \mathbf{0} \\
\mathbf{0} & \mathbf{0} & \mathbf{0} & -\mathbf{J}^{\intercal } & \mathbf{0}
& \mathbf{0} \\
\mathbf{0} & \mathbf{0} & \mathbf{0} & \mathbf{0} & 0 & 1 \\
\mathbf{0} & \mathbf{0} & \mathbf{0} & \mathbf{0} & 0 & 0
\end{array}
\right] \in \mathbb{R}^{(4d+2)\times (4d+2)}, </math>
</div>
 
<div style="text-align: center;">
<math>\mathbf{J}=\mathbf{f}_{\mathbf{x}}(t_{n},\mathbf{y}_{n})\qquad
\mathbf{a}_{1}=\mathbf{f}(t_{n},\mathbf{y}_{n})\qquad \mathbf{a}
_{2}=\mathbf{f}_{t}(t_{n},\mathbf{y}_{n})+\frac{1}{2}\sum\limits_{i=1}^{m}(
\mathbf{I}\otimes (\mathbf{g}^{i}(t_{n}))^{\intercal })\mathbf{f}_{\mathbf{xx
}}(t_{n},\mathbf{y}_{n})\mathbf{g}^{i}(t_{n}) </math>
</div>
 
and
 
<div style="text-align: center;">
<math>\mathbf{H}_{0}=\mathbf{G}(t_{n})\mathbf{G}^{\intercal }(t_{n})\qquad
\mathbf{H}_{1}=\mathbf{G}(t_{n})\frac{d\mathbf{G}^{\intercal }(t_{n})}{dt}
+\frac{d\mathbf{G}(t_{n})}{dt}\mathbf{G}^{\intercal }(t_{n})\qquad
\mathbf{H}_{2}=\frac{d\mathbf{G}(t_{n})}{dt}\frac{d\mathbf{G}^{\intercal
}(t_{n})}{dt}\text{.} </math>
</div>
 
==== Stability and dynamics====
[[File:Figure WSDE.png|thumb|429x429px|'''''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 [[Random dynamical system|dynamics]] of the linear SDEs, but it is not the case of the weak LL schemes in general. WLL schemes, with <math>p\leq q\leq p+2,</math> preserve the [[Moment (mathematics)|first two moments]] of the linear SDEs, and inherits the mean-square stability or instability that such solution may have.<ref name=":11" /> 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.<ref name=":6">Hansen N.R. (2003) "Geometric ergodicity of discre-time approximations to multivariate diffusion". Bernoulli. 9 : 725-743, [[doi:10.3150/bj/1066223276]].</ref> For nonlinear SDEs with small noise (i.e., (8.1) with <math>\mathbf{g}_{i}(t)\approx 0</math>), 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.<ref name=":11" /> For instance, Fig. 5 shows the approximate mean of the SDE
 
<math>dx=-t^{2}x\text{ }dt+\frac{3}{2(t+1)}e^{-t^{3}/3}\text{ }dw_{t},\qquad \qquad x(0)=1, \qquad \quad(8.2)</math>
 
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.<ref name=":18">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]].</ref>
* Ozaki T. (1985) introduces the LL method for the integration and estimation of SDEs. The term "Local Linearization" is used for first time.<ref name=":19">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]].</ref>
* Biscay R. et al. (1996) reformulate the strong LL method for SDEs.<ref name=":20">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]].</ref>
* Shoji I. and Ozaki T. (1997) reformulate the weak LL method for SDEs.<ref name=":21">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]].</ref>
* Hochbruck M. et al. (1998) introduce the LL scheme for ODEs based on Krylov subspace approximation.<ref name=":22">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]].</ref>
* Jimenez J.C. (2002) introduces the LL scheme for ODEs and SDEs based on rational Padé approximation.<ref name=":23">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]].</ref>
* Carbonell F.M. et al. (2005) introduce the LL method for RDEs.<ref name=":24">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]].</ref>
* Jimenez J.C. et al. (2006) introduce the LL method for DDEs.<ref name=":13" />
* De la Cruz H. et al. (2006, 2007) and Tokman M. (2006) introduce the two classes of HOLL integrators for ODEs: the integrator-based <ref name=":1" /> and the quadrature-based.<ref name=":17" /><ref name=":2" />
* De la Cruz H. et al. (2010) introduce strong HOLL method for SDEs.<ref name=":4" />
 
== References ==
{{Reflist}}
 
[[Category:Numerical analysis]]
[[Category:Numerical integration]]