Abstract
We present two new methods, a simple fast and a slower more precise one, to reduce the truncation error occurring during multiplication in verified Taylor model arithmetic. These methods were implemented in MATLAB in INTLAB’s Taylor model toolbox which targets solving ordinary differential equations rigorously, i.e., numerical solutions are computed along with rigorous error bounds that include all numerical as well as all rounding errors so that the exact solution must lie within these error bounds. The methods are applied to several test cases to show their effect.
Similar content being viewed by others
Notes
Error parameterization by iteratively introducing new parameters is the basic concept of affine arithmetic invented by de Figueiredo and Stolfi [10]. We remark that affine arithmetic without introducing additional parameters is Taylor model arithmetic for multivariate polynomials of degree one. An attempt to extend affine arithmetic to higher degrees was given by Bilotta [5]. In the context of solving ODEs, Makino [14] suggested error parameterization by a limited number of additional parameters to reduce the computational costs and successfully implemented that in COSY [2].
D is a standard Taylor model domain as used in INTLAB’s Taylor model toolbox.
For that error parameterization by introducing new parameters would be necessary.
Shortly and informally, preconditioning means that the Taylor model representing the ODE flow is factorized into a left and a right Taylor model in each integration step. The left Taylor model is the preconditioned one. Its polynomial part is affine linear and its remainder is almost zero. Only the left Taylor model is integrated. Afterwards, nonlinear terms and remainders are moved to the right Taylor model. A detailed description of preconditioning is given in [3, 7].
AWA [12] aborts integration at \(t = 3.75\).
\(x\in \{0,1,2\}\) is the chosen order reduction method.
The corresponding pictures for \(y_2\), \(y_3\) look qualitatively similar to that for \(y_1\) and are therefore omitted.
The picture for \(\psi _2\) looks similar.
References
Beckermann, B., Filip, S., Nakatsukasa, Y., Trefethen, L.N.: Rational minimax approximation via adaptive barycentric representations. SIAM J. Sci. Comput. 40(4), A2427–A2455 (2018)
Berz, M., et al.: The COSY INFINITY web page,.https://www.bmtdynamics.org/index_cosy.htm
Berz, M., Makino, K.: Suppression of the wrapping effect by Taylor model-based verified integrators: long-term stabilization by preconditioning. Int. J. Differ. Equ. 10(4), 105–136 (2005)
Berz, M., Makino, K.: Rigorous integration of flows and ODEs using Taylor models. Proceedings of the 2009 conference on symbolic numeric computation, 79–84 (2009). https://doi.org/10.1145/1577190.1577206
Bilotta, G.: Self-verified extension of affine arithmetic to arbitrary order. Le Matematiche 63(1), 15–30 (2008)
Bünger, F.: A Taylor model toolbox for solving ODEs implemented in MATLAB/INTLAB. J. Comput. Appl. Math. 368, 112511 (2020)
Bünger, F.: Preconditioning of Taylor models, implementation and test cases, Nonlinear Theory and Its Applications (NOLTA). IEICE 12(1), 2–40 (2021)
Driscoll, T.A., Hale, N., Trefethen, L.N.: editors, Chebfun Guide, Pafnuty Publications, Oxford, (2014) http://www.chebfun.org/docs/guide/
Eble, I.: Über Taylor-Modelle, Dissertation at Karlsruhe Inst. of Technology, (2007) Software: RIOT, www.math.kit.edu/ianm1/~ingo.eble/de
de Figueiredo, L.H., Stolfi, J.: Affine arithmetic: concepts and applications. Numer. Algorithms 37, 147–158 (2004)
J. Hoefkens, Rigorous numerical analysis with high-order Taylor models, Dissertation at Michigan State University, (2001)
Lohner, R.: Einschließung der Lösung gewöhnlicher Anfangs- und Randwertaufgaben und Anwendungen, Dissertation at Karlsruhe Institute of Technology, (1988) Software: AWA, http://www2.math.uni-wuppertal.de/org/WRST/xsc-frame/xsc/pxsc_software.html#awa
Makino, K.: Rigorous analysis of nonlinear motion in particle accelerators, Dissertation at Michigan State University, (1998)
Makino, K.: Recent advances in the rigorous integration of flows of ODEs with Taylor models, Fifth International Workshop on Taylor Methods, Fields Institute, University of Toronto, May 20-23, 2008 https://www.bmtdynamics.org/TM08/talks/makino.pdf
Neher, M., Jackson, K.R., Nedialkov, N.S.: On Taylor model based integration of ODEs. SIAM J. Numer. Anal. 45(1), 236–262 (2007)
Newman, D.J., Rivlin, T.J.: Approximation of monomials by lower degree polynomials. Aequ. Math 14, 451–455 (1976)
Pachón, R., Trefethen, L.N.: Barycentric-Remez algorithms for best polynomial approximation in the chebfun system. BIT Numer. Math. 49, 721741 (2009)
Rauh, A., Hofer, E.P., Auer, E.: VALENCIA-IVP: a comparison with other initial value problem solvers, Published in: 12th GAMM - IMACS International Symposium on Scientific Computing, Computer Arithmetic and Validated Numerics, SCAN (2006)
Rump, S.M.: INTLAB - INTerval LABoratory. In: Tibor Csendes, editor, Developments in Reliable Computing, (pp. 77-104). Kluwer Academic Publishers, Dordrecht, (1999)
Acknowledgements
I wish to thank the two unknown reviewers for their very helpful comments.
Author information
Authors and Affiliations
Contributions
F. Bünger is responsible for all parts of the article.
Corresponding author
Ethics declarations
Competing interests
The authors declare no competing interests.
Additional information
Publisher's Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Appendix
Appendix
1.1 Proof of Lemma 1
i) For \(c\in [0,1]\) and \(q \in [0,1)\) we have \(c^{\frac{1}{1-q}}, q^{\frac{1}{1-q}} \in [0,1]\) so that
Here, \(\lim \limits _{q\uparrow 1}\) denotes the one-sided limit as q increases in value approaching 1 from below.
ii) By definition of \(\mu \) it suffices to show that \(\nu (c,\cdot )\) is monotonically decreasing. Clearly, the factor \(c^{\frac{1}{1-q}}\) in (6) is monotonically decreasing w.r.t. \(q\in [0,1)\). Thus, it suffices to show that \((1-q)q^{\frac{q}{1-q}}\) is decreasing w.r.t. \(q\in [0,1)\). A computation gives
By continuity, this proves the assertion.
iii) Abbreviate \(f(c):=\nu (c,q)\) and \(g(c):=1-c\). The functions f and g are continuous, f is monotonically increasing, g is strictly monotonically decreasing, \(f(0) = 0 < 1 = g(0)\), and \(f(1)\geqslant 0=g(1)\). Therefore, \(\mu (c,q) = \max (f(c),g(c))\) becomes minimal if \(f(c) = g(c)\), i.e., if \(\kappa (c) = f(c) - g(c) = 0\). Since g is strictly decreasing, such a \(c = c_q\) is unique. The remaining statements are evident.
iv) If \(q=0\), then \(|cx^q-x| = |c-x| \leqslant \max (c,1-c) = \mu (c,0)\) and this upper bound is attained for an \(x\in \{0,1\}\). If \(q=1\), then \(|cx^q-x| = |(c-1)x|\leqslant 1-c =\mu (c,1)\) and this bound is attained for \(x = 1\). If \(c = 0\), then \(|cx^q-x| = |x|\leqslant 1 = \mu (0,q)\) and this bound is attained for \(x=1\). Thus, we can assume that \(q\in (0,1)\) and \(c\ne 0\). The absolute values of the local and global extrema of \(f(x):=cx^q-x\), \(x\in [0,1]\), build a superset of the local and global maxima of |f|. The derivative \(f'(x) = cqx^{q-1}-1\) has the unique root \(z:=(cq)^{\frac{1}{1-q}} \in [0,1]\). Since \(f(z) = c^{\frac{1}{1-q}}(1-q)q^{\frac{q}{1-q}} = \nu (c,q)\), \(f(0) = 0\), and \(|f(1)|=1-c\), this proves
and this bound is attained for an \(x\in \{z,1\}\). \(\square \)
1.2 Proof of Corollary 3
i) For \(\gamma \in \{\alpha ,\beta \}\) set \(Z_\gamma := \{ i\in \{1,\dots ,n\} ~|~ \gamma _i = 0 \}\). Then \(\alpha \leqslant \beta \) implies \(Z_\beta \subseteq Z_\alpha \). Thus, if \(i \in Z_\beta \), then \(x_i^{\alpha _i} = 1 = x_i^{\beta _i}\) for all \(x\in [0,1]^n\) and these factors have trivial impact on \(x^\alpha \) and \(x^\beta \). Omitting them leads to the same problem in lower dimension. We may therefore assume that \(Z_\beta = \emptyset \), i.e., \(\beta \in \mathbb {N}^n\). If \(Z_\alpha \) is nonempty and \(i\in Z_\alpha \), then \(\alpha _i = 0 <\beta _i\) gives \(\alpha _i/\beta _i = 0 = q\). For \(x\in [0,1]^n\) we have \(x^\alpha ,x^{\beta -\alpha }\in [0,1]\) so that
Taking \(y:=\textbf{1}\) and \(z:=\textbf{1}-e_i\) we get \(|cy^\alpha -y^\beta | = 1-c\) and \(|cz^\alpha -z^\beta |=c\) which shows that the bound \(\mu (c,0)\) is attained for an \(x\in \{y,z\}\). This proves the assertion and we may therefore assume that \(Z_\alpha = \emptyset \), i.e., \(\alpha \in \mathbb {N}^n\). The absolute values of the local and global extrema of
build a superset of the local and global maxima of |f|. Since f has partial derivatives
a critical point \(z\in (0,1)^n\) of f must fulfill
In particular, this requires \(c\ne 0\) and means that f has no local extrema in \((0,1)^n\) if there are \(i,j\in \{1,\dots , n\}\) with \(\frac{\alpha _i}{\beta _i} \ne \frac{\alpha _j}{\beta _j}\). Hence, in this case, |f| assumes its local and global maxima on the boundary of \([0,1]^n\). Since \(f(x)=0\) if \(x_i = 0\) for some i, those maxima are attained at boundary points x having nonzero components and at least one component equal to one. Omitting these one-components reduces the problem to a lower dimension. Therefore, the general case reduces to the special one in which
so that \(\alpha = q \beta \). The mapping \([0,1]^n\rightarrow [0,1], \ x \mapsto x^\beta =:\tilde{x}\) is surjective. By Corollary 2 i) we have \(|cx^\alpha -x^\beta | = |c\tilde{x}^q-\tilde{x}|\leqslant \mu (c,q)\) for all \(x\in [0,1]^n\) and by surjectivity this upper bound is sharp. The special case (16) reveals the general one in which \(q_i:=\alpha _i/\beta _i\) is not necessarily independent of i by building
since \(\mu (c,\cdot )\) is monotonically decreasing by Lemma 1 ii). This proves i) and ii) follows by taking \(c:=1\). \(\square \)
Rights and permissions
Springer Nature or its licensor (e.g. a society or other partner) holds exclusive rights to this article under a publishing agreement with the author(s) or other rightsholder(s); author self-archiving of the accepted manuscript version of this article is solely governed by the terms of such publishing agreement and applicable law.
About this article
Cite this article
Bünger, F. Reducing the truncation error in Taylor model multiplication. Numer Algor 97, 819–841 (2024). https://doi.org/10.1007/s11075-023-01725-4
Received:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s11075-023-01725-4