skip to main content
research-article

On Roundoff Error Growth in Elliptic Problems

Authors Info & Claims
Published:23 March 2018Publication History
Skip Abstract Section

Abstract

Large-scale linear systems arise in finite-difference and finite-element discretizations of elliptic problems. With increasing computer performance, ever larger systems are solved using direct methods. How large can such systems be without roundoff compromising accuracy?

Here we model roundoff dynamics in standard LU and LDLT decompositions with respect to problem size N. For the one-dimensional (1D) Poisson equation with Dirichlet boundary conditions on an equidistant grid, we show that the relative error in the factorized matrix grows like O(ε √ N) if roundoffs are modeled as independent, expectation zero random variables. With bias, the growth rate changes to O(ε N).

Subsequent back substitution results in typical error growths of O(ε NN) and O(ε N2), respectively. Error growth is governed by the dynamics of the computational process and by the structure of the boundary conditions rather than by the condition number. Computational results are demonstrated in several examples, including a few fourth-order 1D problems and second-order 2D problems, showing that error accumulation depends strongly on the solution method. Thus, the same LU solver may exhibit different growth rates for the same 2D Poisson problem, depending on whether the five-point or nine-point FDM operator is used.

References

  1. P. R. Amestoy, I. S. Duff, J.-Y. L’Excellent, and X. S. Li. 2001. Analysis and comparison of two general sparse solvers for distributed memory computers. ACM Transactions on Mathematical Software (TOMS’01) 27, 4 (2001), 388--421. Google ScholarGoogle ScholarDigital LibraryDigital Library
  2. I. Babuška and U. Banerjee. 2012. Stable generalized finite element method (SGFEM). Comput. Methods Appl. Mech. Engg. 201--204 (2012), 91--111.Google ScholarGoogle Scholar
  3. J. L. Barlow and E. H. Bareiss. 1985. Probabilistic error analysis of gaussian elimination in floating point and logarithmic arithmetic. Computing 34, 4 (1985), 349--364. Google ScholarGoogle ScholarDigital LibraryDigital Library
  4. F. Chaitin-Chatelin and V. Frayssé. 1996. Lectures on Finite Precision Computations. SIAM, Philadelphia, PA.Google ScholarGoogle Scholar
  5. G. Forsythe and C. B. Moler. 1967. Computer Solution of Linear Algebraic Systems. Prentice Hall, Englewood Cliffs, NJ.Google ScholarGoogle Scholar
  6. D. Goldberg. 1991. What every computer scientist should know about floating-point arithmetic. Computing Surveys. Retrieved from http://www.validlab.com/goldberg/paper.pdf. Google ScholarGoogle ScholarDigital LibraryDigital Library
  7. G. H. Golub and C. F. van Loan. 1996. Matrix Computations (3rd. ed.). Johns Hopkins University Press, Baltimore, MD. Google ScholarGoogle ScholarDigital LibraryDigital Library
  8. N. J. Higham. 1996. Accuracy and Stability of Numerical Algorithms. SIAM, Philadelphia, PA. Google ScholarGoogle Scholar
  9. A. J. Jerri. 1993. Advanced Topics in Sampling and Interpolation Theory. R. J. Marks II, editor. Springer Verlag, New York, NY.Google ScholarGoogle Scholar
  10. W. Kahan. 2013. Floating-point Tricks to Solve Boundary-Value Problems Faster. Mathematics and Computer Science Departments, UC Berkeley. Retrieved from https://www.cs.berkeley.edu/wkahan/Math128/FloTrik.pdf.Google ScholarGoogle Scholar
  11. W. Kahan and M. Y. Ivory. 1997. Roundoff Degrades an Idealized Cantilever. Mathematics and Computer Science Departments, UC Berkeley. Retrieved from https://www.cs.berkeley.edu/wkahan/Cantilever.ps.Google ScholarGoogle Scholar
  12. Z.-C. Li, H.-T. Huang, Y. Wei, and A. H.-D. Cheng. 2013. Effective Conition Number for Partial Differential Equations. Number 55 in Series in Information and Computational Science. Science Press, Beijing.Google ScholarGoogle Scholar
  13. M. L. Overton. 2001. Numerical Computing with IEEE Floating Poimnt Arithmetic. SIAM, Philadelphia, PA. Google ScholarGoogle ScholarDigital LibraryDigital Library
  14. S. Pissanetzky. 1984. Sparse Matrix Technology. Academic Press, London.Google ScholarGoogle Scholar
  15. J. Sun. 1992. Rounding-error and perturbation bounds for the Cholesky and L D LT Factorizations. Lin. Alg. Appl. 173 (1992), 77--97.Google ScholarGoogle ScholarCross RefCross Ref
  16. M. Svärd and J. Nordström. 2014. Review of summation-by-parts schemes for initial-boundary value problems. J. Comp. Phys. 268 (2014), 17--38.Google ScholarGoogle ScholarCross RefCross Ref
  17. Wikipedia. 2016. Preferred number. Retrieved from https://en.wikipedia.org/wiki/Preferred_number.Google ScholarGoogle Scholar
  18. J. H. Wilkinson. 1963. Rounding Errors in Algebraic Processes. Her Majesty’s Stationery Office, London.Google ScholarGoogle Scholar

Index Terms

  1. On Roundoff Error Growth in Elliptic Problems

      Recommendations

      Comments

      Login options

      Check if you have access through your login credentials or your institution to get full access on this article.

      Sign in

      Full Access

      • Published in

        cover image ACM Transactions on Mathematical Software
        ACM Transactions on Mathematical Software  Volume 44, Issue 3
        September 2018
        291 pages
        ISSN:0098-3500
        EISSN:1557-7295
        DOI:10.1145/3175005
        Issue’s Table of Contents

        Copyright © 2018 ACM

        Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

        Publisher

        Association for Computing Machinery

        New York, NY, United States

        Publication History

        • Published: 23 March 2018
        • Accepted: 1 August 2017
        • Revised: 1 July 2017
        • Received: 1 July 2016
        Published in toms Volume 44, Issue 3

        Permissions

        Request permissions about this article.

        Request Permissions

        Check for updates

        Qualifiers

        • research-article
        • Research
        • Refereed

      PDF Format

      View or Download as a PDF file.

      PDF

      eReader

      View online with eReader.

      eReader