iBet uBet web content aggregator. Adding the entire web to your favor.
iBet uBet web content aggregator. Adding the entire web to your favor.



Link to original content: https://unpaywall.org/10.1007/S11075-023-01725-4
Reducing the truncation error in Taylor model multiplication | Numerical Algorithms Skip to main content
Log in

Reducing the truncation error in Taylor model multiplication

  • Original Paper
  • Published:
Numerical Algorithms Aims and scope Submit manuscript

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.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Subscribe and save

Springer+ Basic
$34.99 /Month
  • Get 10 units per month
  • Download Article/Chapter or eBook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5
Fig. 6
Fig. 7

Similar content being viewed by others

Notes

  1. Summation and multiplication of intervals occurring on the right-hand sides of (2) and (3) is done in interval arithmetic. Minor differences in performing these interval calculations can be found in the literature leading to slightly different enclosures.

  2. 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].

  3. D is a standard Taylor model domain as used in INTLAB’s Taylor model toolbox.

  4. For that error parameterization by introducing new parameters would be necessary.

  5. 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].

  6. AWA [12] aborts integration at \(t = 3.75\).

  7. \(x\in \{0,1,2\}\) is the chosen order reduction method.

  8. The corresponding pictures for \(y_2\), \(y_3\) look qualitatively similar to that for \(y_1\) and are therefore omitted.

  9. The picture for \(\psi _2\) looks similar.

References

  1. 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)

    Article  MathSciNet  Google Scholar 

  2. Berz, M., et al.: The COSY INFINITY web page,.https://www.bmtdynamics.org/index_cosy.htm

  3. 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)

    MathSciNet  Google Scholar 

  4. 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

  5. Bilotta, G.: Self-verified extension of affine arithmetic to arbitrary order. Le Matematiche 63(1), 15–30 (2008)

    MathSciNet  Google Scholar 

  6. Bünger, F.: A Taylor model toolbox for solving ODEs implemented in MATLAB/INTLAB. J. Comput. Appl. Math. 368, 112511 (2020)

    Article  MathSciNet  Google Scholar 

  7. Bünger, F.: Preconditioning of Taylor models, implementation and test cases, Nonlinear Theory and Its Applications (NOLTA). IEICE 12(1), 2–40 (2021)

    Google Scholar 

  8. Driscoll, T.A., Hale, N., Trefethen, L.N.: editors, Chebfun Guide, Pafnuty Publications, Oxford, (2014) http://www.chebfun.org/docs/guide/

  9. Eble, I.: Über Taylor-Modelle, Dissertation at Karlsruhe Inst. of Technology, (2007) Software: RIOT, www.math.kit.edu/ianm1/~ingo.eble/de

  10. de Figueiredo, L.H., Stolfi, J.: Affine arithmetic: concepts and applications. Numer. Algorithms 37, 147–158 (2004)

    Article  MathSciNet  Google Scholar 

  11. J. Hoefkens, Rigorous numerical analysis with high-order Taylor models, Dissertation at Michigan State University, (2001)

  12. 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

  13. Makino, K.: Rigorous analysis of nonlinear motion in particle accelerators, Dissertation at Michigan State University, (1998)

  14. 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

  15. Neher, M., Jackson, K.R., Nedialkov, N.S.: On Taylor model based integration of ODEs. SIAM J. Numer. Anal. 45(1), 236–262 (2007)

    Article  MathSciNet  Google Scholar 

  16. Newman, D.J., Rivlin, T.J.: Approximation of monomials by lower degree polynomials. Aequ. Math 14, 451–455 (1976)

    Article  MathSciNet  Google Scholar 

  17. Pachón, R., Trefethen, L.N.: Barycentric-Remez algorithms for best polynomial approximation in the chebfun system. BIT Numer. Math. 49, 721741 (2009)

    Article  MathSciNet  Google Scholar 

  18. 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)

  19. Rump, S.M.: INTLAB - INTerval LABoratory. In: Tibor Csendes, editor, Developments in Reliable Computing, (pp. 77-104). Kluwer Academic Publishers, Dordrecht, (1999)

Download references

Acknowledgements

I wish to thank the two unknown reviewers for their very helpful comments.

Author information

Authors and Affiliations

Authors

Contributions

F. Bünger is responsible for all parts of the article.

Corresponding author

Correspondence to Florian Bünger.

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

$$ \lim _{q\uparrow 1} \nu (c,q) = \lim _{q\uparrow 1} c^{\frac{1}{1-q}}(1-q)q^{\frac{q}{1-q}} = 0 = \nu (c,1). $$

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

$$ \left( (1-q)q^{\frac{q}{1-q}}\right) ' = \frac{\ln (q)}{1-q} q^{\frac{q}{1-q}} < 0 \quad \text {for all} q\in (0,1). $$

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

$$ |f(x)| \leqslant \max (|f(z)|,|f(1)|) = \max (\nu (c,q),1-c) = \mu (c,q) \quad \text {for all} x\in [0,1] $$

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

$$ |cx^\alpha -x^\beta | = |c-x^{\beta -\alpha }|x^\alpha \leqslant |c - x^{\beta -\alpha }| \leqslant \max (c,1-c) = \mu (c,0). $$

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

$$ f:[0,1]^n\rightarrow \mathbb {R}, \quad x \mapsto cx^\alpha -x^\beta $$

build a superset of the local and global maxima of |f|. Since f has partial derivatives

$$ \frac{\partial f}{\partial x_i} (x) = (c\alpha _i-\beta _i x^{\beta -\alpha })x^{\alpha -e_i}, \quad i = 1.\dots ,n, $$

a critical point \(z\in (0,1)^n\) of f must fulfill

$$ z^{\beta -\alpha } = \frac{\alpha _i}{\beta _i}c \quad \text {for all}\,\, i \in \{1,\dots ,n\}. $$

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

$$\begin{aligned} \frac{\alpha _i}{\beta _i} \in (0,1) \quad \text {is independent of}\,\, i\in \{1,\dots ,n\} \end{aligned}$$
(16)

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

$$ \max _{1 \leqslant i \leqslant n} \mu (c,q_i) = \mu (c,\underset{1 \leqslant i \leqslant n}{\min }q_i) = \mu (c,q) $$

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.

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

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

Download citation

  • Received:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s11075-023-01725-4

Keywords

Mathematics Subject Classification (2010)

Navigation