Minimizing Rounding Errors and Improving Numerical Precision with High-Order Taylor Series Methods
DOI:
https://doi.org/10.32792/jeps.v15i4.730Keywords:
Taylor Series Methods, Rounding Errors, High-Precision Arithmetic, Numerical Integration, Automatic DifferentiationAbstract
This research presents an in-depth exploration of minimizing rounding errors and improving numerical precision in the numerical solution of ODEs using high-order Taylor Series Methods (TSM). Rounding errors, inherent in the IEEE 754 floating-point standard, are a universal challenge in computational mathematics as they accumulate over time, particularly in simulations of chaotic or stiff systems, leading to significant deviations from true solutions. TSM surmounts this challenge by approximating ODE solutions by high-order polynomials using Taylor series expansions, which drastically reduce truncation errors. TSM employs a set of advanced techniques, including high-precision arithmetic, automatic differentiation, compensated summation, error-free transformations, and interval arithmetic, to prevent rounding errors. These combined techniques ensure numerical stability and accuracy even in the most computationally demanding situations. The research rigorously tests the theoretical underpinnings of TSM, including full error bounds, convergence behavior, and stability analyses. Practical utility is shown through implementations like the TIDES software, which shows TSM's ability to maintain accuracy over billions of integration steps. Comparisons with traditional numerical methods, such as Runge-Kutta, multistep, and symplectic integrators, showcase TSM's better accuracy and computational efficiency for applications ranging from celestial mechanics to molecular dynamics. Further case studies, such as simulations of N-body problems and stiff biochemical systems, serve to illustrate the flexibility of TSM. Challenges, including computational intensity, memory demands, and scalability, are addressed in detail with new solutions being proposed, e.g., parallel computing frameworks, hybrid integration methods, and machine learning-based adaptivity. This expanded work positions TSM as a foundation for high-accuracy numerical analysis, offering a unifying framework for advancing computational mathematics and applications.
References
D. Goldberg, "What every computer scientist should know about floating-point arithmetic," ACM computing surveys (CSUR), vol. 23, no. 1, pp. 5-48, 1991, doi: https://doi.org/10.1145/103162.103163.
N. J. Higham, Accuracy and stability of numerical algorithms. SIAM, 2002.
R. Barrio, "Performance of the Taylor series method for ODEs/DAEs," Applied Mathematics and Computation, vol. 163, no. 2, pp. 525-545, 2005, doi: https://doi.org/10.1016/j.amc.2004.02.015.
J.-M. Guihal, F. Auger, N. Bernard, and E. Schaeffer, "Efficient implementation of continuous-discrete extended Kalman filters for state and parameter estimation of nonlinear dynamic systems," IEEE Transactions on Industrial Informatics, vol. 18, no. 5, pp. 3077-3085, 2021, doi: https://doi.org/10.1109/TII.2021.3109095.
A. Griewank and A. Walther, Evaluating derivatives: principles and techniques of algorithmic differentiation. SIAM, 2008.
F. B. R. Barrio and M. Lara, no. 8, pp. 1896–1908, 2009., "VSVO formulation of the Taylor series method for nonlinear ODEs," Appl. Numer. Math, vol. 59, no. 8, pp. 1896-1908, 2009.
E. Hairer, "SP N rsett, and G. Wanner. Solving ordinary differential equations I, Nonsti problems," ed: Springer-Verlag, 1993.
D. H. Bailey, "High-precision floating-point arithmetic in scientific computation," Computing in science & engineering, vol. 7, no. 3, pp. 54-61, 2005, doi: https://doi.org/10.1109/MCSE.2005.52. .
R. Barrio, M. Rodríguez, A. Abad, and F. Blesa, "Breaking the limits: the Taylor series method," Applied mathematics and computation, vol. 217, no. 20, pp. 7940-7954, 2011, doi: https://doi.org/10.1016/j.amc.2011.02.080.
L. Fousse, G. Hanrot, V. Lefèvre, P. Pélissier, and P. Zimmermann, "MPFR: A multiple-precision binary floating-point library with correct rounding," ACM Transactions on Mathematical Software (TOMS), vol. 33, no. 2, pp. 13-es, 2007, doi: https://doi.org/10.1145/1236463.1236468.
M. Rodríguez, A. A. Medina, R. B. Gil, and F. Blesa, "TIDES: A free software based on the Taylor series method," Monografías de la Real Academia de Ciencias Exactas, Físicas, Químicas y Naturales de Zaragoza, no. 35, pp. 83-95, 2011. [Online]. Available: https://dialnet.unirioja.es/servlet/articulo?codigo=5996234.
G. I. Montecinos, "Error extrapolation for adaptive Taylor methods," J. Comput. Appl. Math, vol. 340, no. 3, pp. 567-582, 2018.
W. Kahan, "Pracniques: further remarks on reducing truncation errors," Communications of the ACM, vol. 8, no. 1, p. 40, 1965, doi: https://doi.org/10.1145/363707.363723.
D. M. Priest, "Algorithms for arbitrary precision floating point arithmetic," University of California, Berkeley, 1991. [Online]. Available: http://www.cs.cmu.edu/afs/cs.cmu.edu/project/cmcl/OldFiles/link.iwarp/OldFiles/archive/quake-papers/related/Priest.ps.
A. Baeza, S. Boscarino, P. Mulet, G. Russo, and D. Zorío, "Approximate Taylor methods for ODEs," Computers & Fluids, vol. 159, pp. 156-166, 2017, doi: https://doi.org/10.1016/j.compfluid.2017.10.001.
B. Christianson, "Reverse accumulation and accurate rounding error estimates for taylor series coefficient," Optimization Methods and Software, vol. 1, no. 1, pp. 81-94, 1992, doi: https://doi.org/10.1080/10556789208805508.
T. Ogita, S. M. Rump, and S. i. Oishi, "Accurate sum and dot product," SIAM Journal on Scientific Computing, vol. 26, no. 6, pp. 1955-1988, 2005, doi: https://doi.org/10.1137/030601818.
R. E. Moore, Interval analysis. Prentice-Hall, 1966.
S. M. Rump, "Verification methods: Rigorous results using floating-point arithmetic," in Proceedings of the 2010 International Symposium on Symbolic and Algebraic Computation, 2010, pp. 3-4, doi: https://doi.org/10.1145/1837934.1837937.
S. M. Rump, "INTLAB—interval laboratory," in Developments in reliable computing: Springer, 1999, pp. 77-104.
M. Croci, M. B. Giles, and v. H. H. Ronnlund, no. 4, pp. A2583–A2608, 2021., "Stochastic rounding: Algorithms and applications," SIAM J. Sci. Comput, vol. 43, no. 4, pp. 2583-2608, 2021.
M. Berz and K. Makino, "Symbolic-numeric integration of ODEs using Taylor series," J. Comput. Phys, vol. 227, no. 23, pp. 9876-9893, 2008.
F. Johansson, "Dynamic precision scaling for high-precision computations," ACM Trans. Math Softw, vol. 46, no. 3, pp. 1-25, 2020.
G. I. Montecinos and D. S. Balsara, ” , vol. 156, pp. 402–420, 2017., "High-order Taylor series methods for ODEs," Comput. Fluids, vol. 156, pp. 402-420, 2017.
P. Amodio and F. Mazzia, "A new approach to backward error analysis for ODEs,," J. Comput. Appl. Math, vol. 156, no. 1, pp. 183–199, 2003.
J. R. Scott and M. C. Martini, "Rapid Calculation of Spacecraft Trajectories Using Efficient Taylor Series Integration," 2011. [Online]. Available: https://ntrs.nasa.gov/citations/20110002995
R. Barrio, "GPU-accelerated Taylor series integration," Parallel Comput, vol. 88, pp. 102–115, 2019.
J.-M. Muller and B. Salvy, "Effective Quadratic Error Bounds for Floating-Point Algorithms Computing the Hypotenuse Function," arXiv preprint arXiv:2405.03588, 2024, doi: https://doi.org/10.48550/arXiv.2405.03588.
N. J. Higham, "Probabilistic error analysis for floating-point computations," IMA J. Numer. Anal, vol. 41, no. 2, pp. 1213–1239, 2021.
R. B. A. Abad and n. F. Blesa vol. 834, p. 123, 2017., "High-precision simulation of the N-body problem," Astrophys. J., vol. 834, no. 2, p. 123, 2017.
S. Boscarino and G. Russo, "On a class of hybrid Taylor methods for ODEs," J. Comput. Appl. Math, vol. 316, pp. 74-86, 2017.
A. Abad, R. Barrio, and F. Blesa, "High-precision simulation of the double pendulum," Phys. Lett A, vol. 376, no. 45, pp. 3015–3021, 2012.
J. R. Cash, "“Efficient numerical methods for stiff differential equations," J. Comput. Appl. Math, vol. 125, pp. 153–165, 2000.
M. Betancourt, S. Byrne, S. Livingstone, and M. Girolami, "The geometric foundations of hamiltonian monte carlo," Bernoulli, pp. 2257-2298, 2017.
A. Dutt, L. Greengard, and V. Rokhlin, "Spectral deferred correction methods for ordinary differential equations," BIT Numerical Mathematics, vol. 40, pp. 241-266, 2000.
R. Barrio, "Sensitivity analysis of ODEs/DAEs using the Taylor series method," SIAM Journal on Scientific Computing, vol. 27, no. 6, pp. 1929-1947, 2006, doi: https://doi.org/10.1137/030601892.
G. Rein, "Long-term stability of planetary orbits using high-order numerical integrators," Celest. Mech. Dyn. Astron, vol. 130, no. 3, p. 23, 2018.
Y. Zhang and A. A. Ding, "High-order numerical methods for ODEs with applications to wave propagation," J. Sci. Comput, vol. 76, no. 2, pp. 1123–1145, 2018.
D. Frenkel and B. Smit, Understanding molecular simulation: from algorithms to applications. Elsevier, 2023.
J. T. Betts, Practical methods for optimal control and estimation using nonlinear programming. SIAM, 2010.
Downloads
Published
Issue
Section
License
Copyright (c) 2025 Journal of Education for Pure Science

This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.
The Authors understand that, the copyright of the articles shall be assigned to Journal of education for Pure Science (JEPS), University of Thi-Qar as publisher of the journal.
Copyright encompasses exclusive rights to reproduce and deliver the article in all form and media, including reprints, photographs, microfilms and any other similar reproductions, as well as translations. The reproduction of any part of this journal, its storage in databases and its transmission by any form or media, such as electronic, electrostatic and mechanical copies, photocopies, recordings, magnetic media, etc. , will be allowed only with a written permission from Journal of education for Pure Science (JEPS), University of Thi-Qar.
Journal of education for Pure Science (JEPS), University of Thi-Qar, the Editors and the Advisory International Editorial Board make every effort to ensure that no wrong or misleading data, opinions or statements be published in the journal. In any way, the contents of the articles and advertisements published in the Journal of education for Pure Science (JEPS), University of Thi-Qar are sole and exclusive responsibility of their respective authors and advertisers.
