skip to main content

Algorithm 919: A Krylov Subspace Algorithm for Evaluating the ϕ-Functions Appearing in Exponential Integrators

Published:01 April 2012Publication History
Skip Abstract Section

Abstract

We develop an algorithm for computing the solution of a large system of linear ordinary differential equations (ODEs) with polynomial inhomogeneity. This is equivalent to computing the action of a certain matrix function on the vector representing the initial condition. The matrix function is a linear combination of the matrix exponential and other functions related to the exponential (the so-called ϕ-functions). Such computations are the major computational burden in the implementation of exponential integrators, which can solve general ODEs. Our approach is to compute the action of the matrix function by constructing a Krylov subspace using Arnoldi or Lanczos iteration and projecting the function on this subspace. This is combined with time-stepping to prevent the Krylov subspace from growing too large. The algorithm is fully adaptive: it varies both the size of the time steps and the dimension of the Krylov subspace to reach the required accuracy. We implement this algorithm in the matlab function phipm and we give instructions on how to obtain and use this function. Various numerical experiments show that the phipm function is often significantly more efficient than the state-of-the-art.

Skip Supplemental Material Section

Supplemental Material

References

  1. Al-Mohy, A. H. and Higham, N. J. 2011. Computing the action of the matrix exponential, with an application to exponential integrators. SIAM J. Sci. Comput. 33, 488--511. Google ScholarGoogle ScholarDigital LibraryDigital Library
  2. Butcher, J. C. 2008. Numerical Methods for Ordinary Differential Equations 2nd Ed. John Wiley & Sons Ltd., Chichester.Google ScholarGoogle Scholar
  3. Caliari, M. and Ostermann, A. 2009. Implementation of exponential Rosenbrock-type integrators. Appl. Numer. Math. 59, 568--581. Google ScholarGoogle ScholarDigital LibraryDigital Library
  4. Crank, J. and Nicolson, P. 1947. A practical method for numerical evaluation of solutions of partial differential equations of the heat-conduction type. Proc. Cambridge Philos. Soc. 43, 50--67.Google ScholarGoogle ScholarCross RefCross Ref
  5. Davis, T. A. 2007. The University of Florida sparse matrix collection. Tech. rep. REP-2007-298, CISE Department, University of Florida.Google ScholarGoogle Scholar
  6. Douglas Jr., J. and Rachford Jr., H. H. 1956. On the numerical solution of heat conduction problems in two and three space variables. Trans. Amer. Math. Soc. 82, 421--439.Google ScholarGoogle ScholarCross RefCross Ref
  7. Duff, I. S., Grimes, R. G., and Lewis, J. G. 1989. Sparse matrix test problems. ACM Trans. Math. Softw. 15, 1, 1--14. Google ScholarGoogle ScholarDigital LibraryDigital Library
  8. Friesner, R. A., Tuckerman, L. S., Dornblaser, B. C., and Russo, T. V. 1989. A method for the exponential propagation of large stiff nonlinear differential equations. J. Sci. Comput. 4, 4, 327--354. Google ScholarGoogle ScholarDigital LibraryDigital Library
  9. Gallopoulos, E. and Saad, Y. 1992. Efficient solution of parabolic equations by Krylov approximation methods. SIAM J. Sci. Statist. Comput. 13, 1236--1264. Google ScholarGoogle ScholarDigital LibraryDigital Library
  10. Hairer, E., Nørsett, S. P., and Wanner, G. 1993. Solving Ordinary Differential Equations. I 2nd Ed. Springer Series in Computational Mathematics, vol. 8, Springer-Verlag, Berlin. Google ScholarGoogle ScholarDigital LibraryDigital Library
  11. Heston, S. L. 1993. A closed-form solution for options with stochastic volatility with applications to bond and currency options. Rev. Finan. Stud. 6, 2, 327--43.Google ScholarGoogle ScholarCross RefCross Ref
  12. Higham, N. J. 2005. The scaling and squaring method for the matrix exponential revisited. SIAM J. Matrix Anal. Appl. 26, 4, 1179--1193. Google ScholarGoogle ScholarDigital LibraryDigital Library
  13. Higham, N. J. 2008. Functions of Matrices. Society for Industrial and Applied Mathematics (SIAM), Philadelphia, PA. Google ScholarGoogle ScholarDigital LibraryDigital Library
  14. Hochbruck, M. and Lubich, C. 1997. On Krylov subspace approximations to the matrix exponential operator. SIAM J. Numer. Anal. 34, 5, 1911--1925. Google ScholarGoogle ScholarDigital LibraryDigital Library
  15. Hochbruck, M., Lubich, C., and Selhofer, H. 1998. Exponential integrators for large systems of differential equations. SIAM J. Sci. Comput. 19, 5, 1552--1574. Google ScholarGoogle ScholarDigital LibraryDigital Library
  16. Horn, R. A. and Johnson, C. R. 1991. Topics in Matrix Analysis. Cambridge University Press, Cambridge, UK. Google ScholarGoogle ScholarDigital LibraryDigital Library
  17. Hundsdorfer, W. and Verwer, J. 2003. Numerical Solution of Time-Dependent Advection-Diffusion-Reaction Equations. Springer Series in Computational Mathematics, vol. 33, Springer-Verlag, Berlin.Google ScholarGoogle Scholar
  18. In ’t Hout, K. J. 2007. ADI schemes in the numerical solution of the Heston PDE. Numer. Anal. Appl. Math. 936, 10--14.Google ScholarGoogle ScholarCross RefCross Ref
  19. In ’t Hout, K. J. and Foulon, S. 2010. ADI finite difference schemes for option pricing in the Heston model with correlation. Int. J. Numer. Anal. Model. 7, 2, 303--320.Google ScholarGoogle Scholar
  20. In ’t Hout, K. J. and Welfert, B. D. 2009. Unconditional stability of second-order ADI schemes applied to multi-dimensional diffusion equations with mixed derivative terms. Appl. Numer. Math. 59, 4, 677--692. Google ScholarGoogle ScholarDigital LibraryDigital Library
  21. Koikari, S. 2007. An error analysis of the modified scaling and squaring method. Computers Math. Applic. 53, 8, 1293--1305. Google ScholarGoogle ScholarDigital LibraryDigital Library
  22. Koikari, S. 2009. On a block Schur--Parlett algorithm for ϕ-functions based on the sep-inverse estimate. ACM Trans. on Math. Soft. 38, 2, Article 12. Google ScholarGoogle ScholarDigital LibraryDigital Library
  23. López-Fernández, M. 2010. A quadrature based method for evaluating exponential-type functions for exponential methods. BIT 50, 3, 631--655.Google ScholarGoogle ScholarCross RefCross Ref
  24. Minchev, B. and Wright, W. M . 2005. A review of exponential integrators for semilinear problems. Tech. rep. 2/05, Department of Mathematical Sciences, NTNU, Norway. http://www.math.ntnu.no/preprint/.Google ScholarGoogle Scholar
  25. Moler, C. B. and Van Loan, C. F. 2003. Nineteen dubious ways to compute the exponential of a matrix, twenty-five years later. SIAM Review 45, 1, 3--49.Google ScholarGoogle ScholarDigital LibraryDigital Library
  26. Moret, I. 2007. On RD-rational Krylov approximations to the core-functions of exponential integrators. Numer. Linear Algebra Appl. 14, 5, 445--457.Google ScholarGoogle ScholarCross RefCross Ref
  27. Niesen, J. and Wright, W. M. 2011. A Krylov subspace method for option pricing. http://ssrn.com/abstract=1799124.Google ScholarGoogle Scholar
  28. Saad, Y. 1992. Analysis of some Krylov subspace approximations to the matrix exponential operator. SIAM J. Numer. Anal. 29, 1, 209--228. Google ScholarGoogle ScholarDigital LibraryDigital Library
  29. Schmelzer, T. and Trefethen, L. N. 2007. Evaluating matrix functions for exponential integrators via Carathéodory-Fejér approximation and contour integrals. Electron. Trans. Numer. Anal. 29, 1--18.Google ScholarGoogle Scholar
  30. Sidje, R. 1998. EXPOKIT: Software package for computing matrix exponentials. ACM Trans. Math. Soft. 24, 1, 130--156. http://www.maths.uq.edu.au/expokit/ for latest software. Google ScholarGoogle ScholarDigital LibraryDigital Library
  31. Skaflestad, B. and Wright, W. M. 2009. The scaling and modified squaring method for matrix functions related to the exponential. Appl. Numer. Math. 59, 3--4, 783--799. Google ScholarGoogle ScholarDigital LibraryDigital Library
  32. Sofroniou, M. and Spaletta, G. 2007. Efficient computation of Krylov approximations to the matrix exponential and related functions. Personal communication.Google ScholarGoogle Scholar
  33. Tavella, D. and Randall, C. 2000. Pricing Financial Instruments. John Wiley & Sons Ltd., New York.Google ScholarGoogle Scholar
  34. Trefethen, L. N. and Bau III, D. 1997. Numerical Linear Algebra. SIAM, Philadelphia, PA.Google ScholarGoogle Scholar

Index Terms

  1. Algorithm 919: A Krylov Subspace Algorithm for Evaluating the ϕ-Functions Appearing in Exponential Integrators

              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 38, Issue 3
                April 2012
                157 pages
                ISSN:0098-3500
                EISSN:1557-7295
                DOI:10.1145/2168773
                Issue’s Table of Contents

                Copyright © 2012 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: 1 April 2012
                • Accepted: 1 March 2011
                • Revised: 1 November 2010
                • Received: 1 July 2009
                Published in toms Volume 38, 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