Estimating the Optimal Extrapolation Parameter for Extrapolated Iterative Methods When Solving Sequences of Linear Systems A

Total Page:16

File Type:pdf, Size:1020Kb

Estimating the Optimal Extrapolation Parameter for Extrapolated Iterative Methods When Solving Sequences of Linear Systems A ESTIMATING THE OPTIMAL EXTRAPOLATION PARAMETER FOR EXTRAPOLATED ITERATIVE METHODS WHEN SOLVING SEQUENCES OF LINEAR SYSTEMS A Thesis Presented to The Graduate Faculty of The University of Akron In Partial Fulfillment of the Requirements for the Degree Master of Science Curtis J. Anderson December, 2013 ESTIMATING THE OPTIMAL EXTRAPOLATION PARAMETER FOR EXTRAPOLATED ITERATIVE METHODS WHEN SOLVING SEQUENCES OF LINEAR SYSTEMS Curtis J. Anderson Thesis Approved: Accepted: Advisor Dean of the College Dr. Yingcai Xiao Dr. Chand Midha Co-Advisor Dean of the Graduate School Dr. Zhong-Hui Duan Dr. George Newkome Co-Advisor Date Dr. Ali Hajjafar Department Chair Dr. Yingcai Xiao ii ABSTRACT Extrapolated iterative methods for solving systems of linear equations require the se- lection of an extrapolation parameter which greatly influences the rate of convergence. Some extrapolated iterative methods provide analysis on the optimal extrapolation parameter to use, however, such analysis only exists for specific problems and a gen- eral method for parameter selection does not exist. Additionally, the calculation of the optimal extrapolation parameter can often be too computationally expensive to be of practical use. This thesis presents an algorithm that will adaptively modify the extrap- olation parameter when solving a sequence of linear systems in order to estimate the optimal extrapolation parameter. The result is an algorithm that works for any general problem and requires very little computational overhead. Statistics on the quality of the algorithm's estimation are presented and a case study is given to show practical results. iii TABLE OF CONTENTS Page LIST OF FIGURES . v CHAPTER I. INTRODUCTION . 1 1.1 Stationary Iterative Methods . 2 1.2 Convergence of Iterative Methods . 3 1.3 Well-Known Iterative Methods . 4 1.4 Extrapolated Iterative Methods . 10 1.5 Sequence of Linear Systems . 13 II. AN ALGORITHM FOR ESTIMATING THE OPTIMAL EXTRAP- OLATION PARAMETER . 15 2.1 Spectral Radius Estimation . 15 2.2 Extrapolated Spectral Radius Function Reconstruction . 20 2.3 Parameter Selection . 28 2.4 Solver Integration . 39 III. PERFORMANCE ANALYSIS . 43 IV. CASE STUDY . 48 BIBLIOGRAPHY . 53 iv LIST OF FIGURES Figure Page 1.1 The CR transition disk in relation to the unit disk . 11 2.1 Statistics on the ratio of the estimated average reduction factor (¯σi) to the spectral radius (ρ) as i is varied for randomly generated systems. 17 2.2 Statistics on the ratio of the estimated spectral radius (¯ρ) to the spectral radius (ρ) compared against the number of iterations re- quired for convergence for randomly generated systems. 18 2.3 Example ofρ ¯ estimating points on the extrapolated spectral radius function. 19 2.4 The square of the magnitude of the spectral radius shown as the com- position of the square of the magnitude of the respective eigenvalues for two randomly generated systems (only relevant eigenvalues are shown). 21 2.5 Example of segmentation of samples based upon algorithm 2.2.1. 25 2.6 Constrained regression (left) versus unconstrained regression (right) applied to the same problem. 26 2.7 Example of estimating the extrapolated spectral radius function from samples that are all superior to non-extrapolated iteration (be- low the black dotted line). 30 3.1 Performance results for Gauss-Seidel. 45 3.2 Performance results for SOR w = 1:5. 46 3.3 Performance results for SOR w = 1:8. 47 4.1 Slices of the volume solved in the example problem at particular times. 49 4.2 Sparsity plot of the Crank-Nicholson coefficient matrix for an 8x8x8 discretization (blue entries are nonzero entries of the matrix). 50 v 4.3 Benchmark results for a 'pulsed' source (S(x; y; z; t) = sin(t)). 51 4.4 Benchmark results for a constant source. (S(x; y; z; t) = 0) . 52 vi CHAPTER I INTRODUCTION Many applications in scientific computing require solving a sequence of linear systems Afigxfig = bfig for i = 0; 1; 2; ::: for the exact solution xfig = Afig−1bfig where Afig 2 Rn×n, xfig 2 Rn, and bfig 2 Rn. Several direct methods exist for solving systems such as Gaussian elimination and LU decomposition that do not require explicitly computing Afi}−1, however, such methods may not be the most efficient or accurate methods to use on very large problems. Direct methods often require the full storage of matrices in computer memory as well as O(n3) operations to compute the solution. As matrices become large these drawbacks become increasingly prohibitive. Iterative methods are an alternative class of methods for solving linear systems that alleviate many of the drawbacks of direct methods. Iterative methods start with an initial solution vector x(0) and subsequently { }1 (i) generate a sequence of vectors x i=1 which converge to the solution x. Iteration takes the form of a recursive function x(i+1) = Φ(x(i)); (1.1) 1 which is expected to converge to x, however, convergence for iterative methods is not always guaranteed and is dependent upon both the iterative method and problem. The calculation of each iteration is often achieved with significantly lower computation and memory usage than direct methods. There are several choices for iterative functions, leading to two major classes of iterative methods. Stationary methods have an iteration matrix that determine convergence while non-stationary methods, such as Krylov subspace methods, do not have an iteration matrix and convergence is dependent upon other factors [1, 2]. Throughout this thesis the name iterative method is intended to refer to stationary methods since only stationary methods and their extrapolations are studied. 1.1 Stationary Iterative Methods Let a nonsingular n × n matrix A be given and a system of linear equations, Ax = b, with the exact solution x = A−1b. We consider an arbitrary splitting A = N − P for the matrix A, where N is nonsingular. A stationary iterative method can be found by substituting the splitting into the original problem (N − P )x = b (1.2) and then setting the iteration Nx(i+1) = P x(i) + b (1.3) 2 and solving for x(i+1); x(i+1) = N −1P x(i) + N −1b: (1.4) This method was first developed in this generality by Wittmeyer in 1936 [3]. Conver- gence to the solution is heavily dependent upon the choice of splitting for N and P and is not generally guaranteed for all matrices, however, for certain types of matri- ces some splittings can guarantee convergence. Intelligent choices for splittings rarely require finding the matrix N −1 explicitly and instead computation occurs by solving the system in equation (1.3) for x(i+1). In the following sections the most well-known iterative methods are introduced along with general rules of convergence. 1.2 Convergence of Iterative Methods Convergence is the cornerstone of this thesis since it is required for the method to be of any use. It is well known that convergence occurs if and only if the spectral radius −1 of the iteration matrix, N P , is less than one [4], that is, if λi is an eigenvalue of the matrix N −1P then −1 ρ(N P ) = max jλij < 1: (1.5) 1≤i≤n Additionally, the rate of convergence for an iterative method occurs at the same rate that ρ(N −1P )i ! 0 as i ! 1. Thus, we are not only concerned about hav- ing ρ(N −1P ) within unity, but also making ρ(N −1P ) as small as possible to achieve the fastest convergence possible. The rate of convergence between two iterative meth- ods can be compared through the following method: If ρ1 and ρ2 are the respective 3 spectral radii of two iterative methods then according to n m ρ1 = ρ2 (1.6) iterative method 1 will require n iterations to reach the same level of convergence as iterative method 2 with m iterations. Solving explicitly for the ratio of the number of iterations required results in n ln(ρ ) = 2 : (1.7) m ln(ρ1) Equation (1.7) allows for the iteration requirements for different methods to be easily ln(ρ2) compared. For example, if ρ1 = :99 and ρ2 = :999, then we see = 0:0995, thus, ln(ρ1) method 1 requires only 9:95% the iterations that method 2 requires. Additionally, if ln(ρ2) ρ1 = :4 and ρ2 = :5, then we see = 0:7565, thus, method 1 requires only 75:65% ln(ρ1) the iterations that method 2 requires. The first example shows how important small improvements can be for spectral radii close to 1 while the second example shows that the absolute change in value of a spectral radius is not an accurate predictor of the improvement provided by a method. Thus, for a proper comparison, equation (1.7) should be used when comparing two methods. 1.3 Well-Known Iterative Methods Given a nonsingular n × n matrix A, the matrices L, U, and D are taken as the strictly lower triangular, the strictly upper triangular, and the diagonal part of A, 4 respectively. The following sections detail the most well-known splittings and their convergence properties. 1.3.1 Jacobi Method The Jacobi method is defined by the splitting A = N − P , where N = D and P = −(L + U) [5,6]. Therefore, the Jacobi iterative method can be written in vector form as x(k+1) = −D−1(L + U)x(k) + D−1b: (1.8) In scalar form, the Jacobi method is written as 0 1 1 BXn C x(k+1) = − B a x(k) − b C for i = 1; 2; ··· ; n: (1.9) i a @ ij j iA ii j=1 j=6 i Algorithm 1.3.1 implements a one Jacobi iteration in MATLAB.
Recommended publications
  • Mathematical Construction of Interpolation and Extrapolation Function by Taylor Polynomials Arxiv:2002.11438V1 [Math.NA] 26 Fe
    Mathematical Construction of Interpolation and Extrapolation Function by Taylor Polynomials Nijat Shukurov Department of Engineering Physics, Ankara University, Ankara, Turkey E-mail: [email protected] , [email protected] Abstract: In this present paper, I propose a derivation of unified interpolation and extrapolation function that predicts new values inside and outside the given range by expanding direct Taylor series on the middle point of given data set. Mathemati- cal construction of experimental model derived in general form. Trigonometric and Power functions adopted as test functions in the development of the vital aspects in numerical experiments. Experimental model was interpolated and extrapolated on data set that generated by test functions. The results of the numerical experiments which predicted by derived model compared with analytical values. KEYWORDS: Polynomial Interpolation, Extrapolation, Taylor Series, Expansion arXiv:2002.11438v1 [math.NA] 26 Feb 2020 1 1 Introduction In scientific experiments or engineering applications, collected data are usually discrete in most cases and physical meaning is likely unpredictable. To estimate the outcomes and to understand the phenomena analytically controllable functions are desirable. In the mathematical field of nu- merical analysis those type of functions are called as interpolation and extrapolation functions. Interpolation serves as the prediction tool within range of given discrete set, unlike interpola- tion, extrapolation functions designed to predict values out of the range of given data set. In this scientific paper, direct Taylor expansion is suggested as a instrument which estimates or approximates a new points inside and outside the range by known individual values. Taylor se- ries is one of most beautiful analogies in mathematics, which make it possible to rewrite every smooth function as a infinite series of Taylor polynomials.
    [Show full text]
  • Stable Extrapolation of Analytic Functions
    STABLE EXTRAPOLATION OF ANALYTIC FUNCTIONS LAURENT DEMANET AND ALEX TOWNSEND∗ Abstract. This paper examines the problem of extrapolation of an analytic function for x > 1 given perturbed samples from an equally spaced grid on [−1; 1]. Mathematical folklore states that extrapolation is in general hopelessly ill-conditioned, but we show that a more precise statement carries an interesting nuance. For a function f on [−1; 1] that is analytic in a Bernstein ellipse with parameter ρ > 1, and for a uniform perturbation level " on the function samples, we construct an asymptotically best extrapolant e(x) as a least squares polynomial approximant of degree M ∗ given explicitly. We show that the extrapolant e(x) converges to f(x) pointwise in the interval −1 Iρ 2 [1; (ρ+ρ )=2) as " ! 0, at a rate given by a x-dependent fractional power of ". More precisely, for each x 2 Iρ we have p x + x2 − 1 jf(x) − e(x)j = O "− log r(x)= log ρ ; r(x) = ; ρ up to log factors, provided that the oversampling conditioning is satisfied. That is, 1 p M ∗ ≤ N; 2 which is known to be needed from approximation theory. In short, extrapolation enjoys a weak form of stability, up to a fraction of the characteristic smoothness length. The number of function samples, N + 1, does not bear on the size of the extrapolation error provided that it obeys the oversampling condition. We also show that one cannot construct an asymptotically more accurate extrapolant from N + 1 equally spaced samples than e(x), using any other linear or nonlinear procedure.
    [Show full text]
  • On Sharp Extrapolation Theorems
    ON SHARP EXTRAPOLATION THEOREMS by Dariusz Panek M.Sc., Mathematics, Jagiellonian University in Krak¶ow,Poland, 1995 M.Sc., Applied Mathematics, University of New Mexico, USA, 2004 DISSERTATION Submitted in Partial Ful¯llment of the Requirements for the Degree of Doctor of Philosophy Mathematics The University of New Mexico Albuquerque, New Mexico December, 2008 °c 2008, Dariusz Panek iii Acknowledgments I would like ¯rst to express my gratitude for M. Cristina Pereyra, my advisor, for her unconditional and compact support; her unbounded patience and constant inspi- ration. Also, I would like to thank my committee members Dr. Pedro Embid, Dr Dimiter Vassilev, Dr Jens Lorens, and Dr Wilfredo Urbina for their time and positive feedback. iv ON SHARP EXTRAPOLATION THEOREMS by Dariusz Panek ABSTRACT OF DISSERTATION Submitted in Partial Ful¯llment of the Requirements for the Degree of Doctor of Philosophy Mathematics The University of New Mexico Albuquerque, New Mexico December, 2008 ON SHARP EXTRAPOLATION THEOREMS by Dariusz Panek M.Sc., Mathematics, Jagiellonian University in Krak¶ow,Poland, 1995 M.Sc., Applied Mathematics, University of New Mexico, USA, 2004 Ph.D., Mathematics, University of New Mexico, 2008 Abstract Extrapolation is one of the most signi¯cant and powerful properties of the weighted theory. It basically states that an estimate on a weighted Lpo space for a single expo- p nent po ¸ 1 and all weights in the Muckenhoupt class Apo implies a corresponding L estimate for all p; 1 < p < 1; and all weights in Ap. Sharp Extrapolation Theorems track down the dependence on the Ap characteristic of the weight.
    [Show full text]
  • 3.2 Rational Function Interpolation and Extrapolation
    104 Chapter 3. Interpolation and Extrapolation do 11 i=1,n Here we find the index ns of the closest table entry, dift=abs(x-xa(i)) if (dift.lt.dif) then ns=i dif=dift endif c(i)=ya(i) and initialize the tableau of c’s and d’s. d(i)=ya(i) http://www.nr.com or call 1-800-872-7423 (North America only), or send email to [email protected] (outside North Amer readable files (including this one) to any server computer, is strictly prohibited. To order Numerical Recipes books or CDROMs, v Permission is granted for internet users to make one paper copy their own personal use. Further reproduction, or any copyin Copyright (C) 1986-1992 by Cambridge University Press. Programs Copyright (C) 1986-1992 by Numerical Recipes Software. Sample page from NUMERICAL RECIPES IN FORTRAN 77: THE ART OF SCIENTIFIC COMPUTING (ISBN 0-521-43064-X) enddo 11 y=ya(ns) This is the initial approximation to y. ns=ns-1 do 13 m=1,n-1 For each column of the tableau, do 12 i=1,n-m we loop over the current c’s and d’s and update them. ho=xa(i)-x hp=xa(i+m)-x w=c(i+1)-d(i) den=ho-hp if(den.eq.0.)pause ’failure in polint’ This error can occur only if two input xa’s are (to within roundoff)identical. den=w/den d(i)=hp*den Here the c’s and d’s are updated. c(i)=ho*den enddo 12 if (2*ns.lt.n-m)then After each column in the tableau is completed, we decide dy=c(ns+1) which correction, c or d, we want to add to our accu- else mulating value of y, i.e., which path to take through dy=d(ns) the tableau—forking up or down.
    [Show full text]
  • 3.1 Polynomial Interpolation and Extrapolation
    108 Chapter 3. Interpolation and Extrapolation f(x, y, z). Multidimensional interpolation is often accomplished by a sequence of one-dimensional interpolations. We discuss this in 3.6. § CITED REFERENCES AND FURTHER READING: Abramowitz, M., and Stegun, I.A. 1964, Handbook of Mathematical Functions, Applied Mathe- visit website http://www.nr.com or call 1-800-872-7423 (North America only),or send email to [email protected] (outside North America). readable files (including this one) to any servercomputer, is strictly prohibited. To order Numerical Recipes books,diskettes, or CDROMs Permission is granted for internet users to make one paper copy their own personal use. Further reproduction, or any copying of machine- Copyright (C) 1988-1992 by Cambridge University Press.Programs Numerical Recipes Software. Sample page from NUMERICAL RECIPES IN C: THE ART OF SCIENTIFIC COMPUTING (ISBN 0-521-43108-5) matics Series, Volume 55 (Washington: National Bureau of Standards; reprinted 1968 by Dover Publications, New York), 25.2. § Stoer, J., and Bulirsch, R. 1980, Introduction to Numerical Analysis (New York: Springer-Verlag), Chapter 2. Acton, F.S. 1970, Numerical Methods That Work; 1990, corrected edition (Washington: Mathe- matical Association of America), Chapter 3. Kahaner, D., Moler, C., and Nash, S. 1989, Numerical Methods and Software (Englewood Cliffs, NJ: Prentice Hall), Chapter 4. Johnson, L.W., and Riess, R.D. 1982, Numerical Analysis, 2nd ed. (Reading, MA: Addison- Wesley), Chapter 5. Ralston, A., and Rabinowitz, P. 1978, A First Course in Numerical Analysis, 2nd ed. (New York: McGraw-Hill), Chapter 3. Isaacson, E., and Keller, H.B. 1966, Analysis of Numerical Methods (New York: Wiley), Chapter 6.
    [Show full text]
  • Interpolation and Extrapolation in Statistics
    Interpolation is a useful mathematical and statistical tool used to estimate values between two points. In this lesson, you will learn about this tool, its formula and how to use it. What Is Interpolation? Interpolation is the process of finding a value between two points on a line or curve. To help us remember what it means, we should think of the first part of the word, 'inter,' as meaning 'enter,' which reminds us to look 'inside' the data we originally had. This tool, interpolation, is not only useful in statistics, but is also useful in science, business or any time there is a need to predict values that fall within two existing data points. Interpolation Example Here's an example that will illustrate the concept of interpolation. A gardener planted a tomato plant and she measured and kept track of its growth every other day. This gardener is a curious person, and she would like to estimate how tall her plant was on the fourth day. Her table of observations looked like this: Based on the chart, it's not too difficult to figure out that the plant was probably 6 mm tall on the fourth day. This is because this disciplined tomato plant grew in a linear pattern; there was a linear relationship between the number of days measured and the plant's height growth. Linear pattern means the points created a straight line. We could even estimate by plotting the data on a graph. PDF Created with deskPDF PDF Writer - Trial :: http://www.docudesk.com But what if the plant was not growing with a convenient linear pattern? What if its growth looked more like this? What would the gardener do in order to make an estimation based on the above curve? Well, that is where the interpolation formula would come in handy.
    [Show full text]
  • Interpolation and Extrapolation: Introduction
    Interpolation and Extrapolation: Introduction [Nematrian website page: InterpolationAndExtrapolationIntro, © Nematrian 2015] Suppose we know the value that a function 푓(푥) takes at a set of points {푥0, 푥1, … , 푥푁−1} say, where we have ordered the 푥푖 so that 푥0 < 푥1 < ⋯ < 푥푁−1. However we do not have an analytic expression for 푓(푥) that allows us to calculate it at an arbitrary point. Often the 푥푖’s are equally spaced, but not necessarily. How might we best estimate 푓(푥) for arbitrary 푥 by in some sense drawing a smooth curve through and potentially beyond the 푥푖? If 푥0 < 푥 < 푥푁−1, i.e. within the range spanned by the 푥푖 then this problem is called interpolation, otherwise it is called extrapolation. To do this we need to model 푓(푥), between or beyond the known points, by some plausible functional form. It is relatively easy to find pathological functions that invalidate any given interpolation scheme, so there is no single ‘right’ answer to this problem. Approaches that are often used in practice involve modelling 푓(푥) using polynomials or rational functions (i.e. quotients of polynomials). Trigonometric functions, i.e. sines and cosines, can also be used, giving rise to so- called Fourier methods. The approach used can be ‘global’, in the sense that we fit to all points simultaneously (giving each in some sense ‘equal’ weight in the computation). More commonly, the approach adopted is ‘local’, in the sense that we give greater weight in the curve fitting to points ‘close’ to the value of 푥 in which we are interested.
    [Show full text]
  • Numerical Integration of Ordinary Differential Equations Based on Trigonometric Polynomials
    Numerische Mathematik 3, 381 -- 397 (1961) Numerical integration of ordinary differential equations based on trigonometric polynomials By WALTER GAUTSCHI* There are many numerical methods available for the step-by-step integration of ordinary differential equations. Only few of them, however, take advantage of special properties of the solution that may be known in advance. Examples of such methods are those developed by BROCK and MURRAY [9], and by DENNIS Eg], for exponential type solutions, and a method by URABE and MISE [b~ designed for solutions in whose Taylor expansion the most significant terms are of relatively high order. The present paper is concerned with the case of periodic or oscillatory solutions where the frequency, or some suitable substitute, can be estimated in advance. Our methods will integrate exactly appropriate trigonometric poly- nomials of given order, just as classical methods integrate exactly algebraic polynomials of given degree. The resulting methods depend on a parameter, v=h~o, where h is the step length and ~o the frequency in question, and they reduce to classical methods if v-~0. Our results have also obvious applications to numerical quadrature. They will, however, not be considered in this paper. 1. Linear functionals of algebraic and trigonometric order In this section [a, b~ is a finite closed interval and C~ [a, b~ (s > 0) denotes the linear space of functions x(t) having s continuous derivatives in Fa, b~. We assume C s [a, b~ normed by s (t.tt IIxll = )2 m~x Ix~ (ttt. a=0 a~t~b A linear functional L in C ~[a, bl is said to be of algebraic order p, if (t.2) Lt': o (r : 0, 1 ....
    [Show full text]
  • Forecasting by Extrapolation: Conclusions from Twenty-Five Years of Research
    University of Pennsylvania ScholarlyCommons Marketing Papers Wharton Faculty Research November 1984 Forecasting by Extrapolation: Conclusions from Twenty-five Years of Research J. Scott Armstrong University of Pennsylvania, [email protected] Follow this and additional works at: https://repository.upenn.edu/marketing_papers Recommended Citation Armstrong, J. S. (1984). Forecasting by Extrapolation: Conclusions from Twenty-five Years of Research. Retrieved from https://repository.upenn.edu/marketing_papers/77 Postprint version. Published in Interfaces, Volume 14, Issue 6, November 1984, pages 52-66. Publisher URL: http://www.aaai.org/AITopics/html/interfaces.html The author asserts his right to include this material in ScholarlyCommons@Penn. This paper is posted at ScholarlyCommons. https://repository.upenn.edu/marketing_papers/77 For more information, please contact [email protected]. Forecasting by Extrapolation: Conclusions from Twenty-five Years of Research Abstract Sophisticated extrapolation techniques have had a negligible payoff for accuracy in forecasting. As a result, major changes are proposed for the allocation of the funds for future research on extrapolation. Meanwhile, simple methods and the combination of forecasts are recommended. Comments Postprint version. Published in Interfaces, Volume 14, Issue 6, November 1984, pages 52-66. Publisher URL: http://www.aaai.org/AITopics/html/interfaces.html The author asserts his right to include this material in ScholarlyCommons@Penn. This journal article is available at ScholarlyCommons: https://repository.upenn.edu/marketing_papers/77 Published in Interfaces, 14 (Nov.-Dec. 1984), 52-66, with commentaries and reply. Forecasting by Extrapolation: Conclusions from 25 Years of Research J. Scott Armstrong Wharton School, University of Pennsylvania Sophisticated extrapolation techniques have had a negligible payoff for accuracy in forecasting.
    [Show full text]
  • Interpolation and Extrapolation Schemes Must Model the Function, Between Or Beyond the Known Points, by Some Plausible Functional Form
    ✐ “nr3” — 2007/5/1 — 20:53 — page 110 — #132 ✐ ✐ ✐ Interpolation and CHAPTER 3 Extrapolation 3.0 Introduction We sometimes know the value of a function f.x/at a set of points x0;x1;:::; xN 1 (say, with x0 <:::<xN 1), but we don’t have an analytic expression for ! ! f.x/ that lets us calculate its value at an arbitrary point. For example, the f.xi /’s might result from some physical measurement or from long numerical calculation that cannot be cast into a simple functional form. Often the xi ’s are equally spaced, but not necessarily. The task now is to estimate f.x/ for arbitrary x by, in some sense, drawing a smooth curve through (and perhaps beyond) the xi . If the desired x is in between the largest and smallest of the xi ’s, the problem is called interpolation;ifx is outside that range, it is called extrapolation,whichisconsiderablymorehazardous(asmany former investment analysts can attest). Interpolation and extrapolation schemes must model the function, between or beyond the known points, by some plausible functional form. The form should be sufficiently general so as to be able to approximate large classes of functions that might arise in practice. By far most common among the functional forms used are polynomials (3.2). Rational functions (quotients of polynomials) also turn out to be extremely useful (3.4). Trigonometric functions, sines and cosines, give rise to trigonometric interpolation and related Fourier methods, which we defer to Chapters 12 and 13. There is an extensive mathematical literature devoted to theorems about what sort of functions can be well approximated by which interpolating functions.
    [Show full text]
  • Vector Extrapolation Methods with Applications to Solution of Large Systems of Equations and to Pagerank Computations
    Computers and Mathematics with Applications 56 (2008) 1–24 www.elsevier.com/locate/camwa Vector extrapolation methods with applications to solution of large systems of equations and to PageRank computations Avram Sidi Computer Science Department, Technion - Israel Institute of Technology, Haifa 32000, Israel Received 19 June 2007; accepted 6 November 2007 Dedicated to the memory of Professor Gene H. Golub (1932–2007) Abstract An important problem that arises in different areas of science and engineering is that of computing the limits of sequences of N vectors {xn}, where xn ∈ C with N very large. Such sequences arise, for example, in the solution of systems of linear or nonlinear equations by fixed-point iterative methods, and limn→∞ xn are simply the required solutions. In most cases of interest, however, these sequences converge to their limits extremely slowly. One practical way to make the sequences {xn} converge more quickly is to apply to them vector extrapolation methods. In this work, we review two polynomial-type vector extrapolation methods that have proved to be very efficient convergence accelerators; namely, the minimal polynomial extrapolation (MPE) and the reduced rank extrapolation (RRE). We discuss the derivation of these methods, describe the most accurate and stable algorithms for their implementation along with the effective modes of usage in solving systems of equations, nonlinear as well as linear, and present their convergence and stability theory. We also discuss their close connection with the method of Arnoldi and with GMRES, two well-known Krylov subspace methods for linear systems. We show that they can be used very effectively to obtain the dominant eigenvectors of large sparse matrices when the corresponding eigenvalues are known, and provide the relevant theory as well.
    [Show full text]
  • 3.2 Rational Function Interpolation and Extrapolation 111
    3.2 Rational Function Interpolation and Extrapolation 111 3.2 Rational Function Interpolation and Extrapolation Some functions are not well approximated by polynomials, but are well approximated by rational functions, that is quotients of polynomials. We de- http://www.nr.com or call 1-800-872-7423 (North America only), or send email to [email protected] (outside North Amer readable files (including this one) to any server computer, is strictly prohibited. To order Numerical Recipes books or CDROMs, v Permission is granted for internet users to make one paper copy their own personal use. Further reproduction, or any copyin Copyright (C) 1988-1992 by Cambridge University Press. Programs Copyright (C) 1988-1992 by Numerical Recipes Software. Sample page from NUMERICAL RECIPES IN C: THE ART OF SCIENTIFIC COMPUTING (ISBN 0-521-43108-5) note by Ri(i+1)...(i+m) a rational function passing through the m +1 points (xi,yi) ...(xi+m,yi+m). More explicitly, suppose P (x) p + p x + ···+ p xµ R = µ = 0 1 µ ( ) i(i+1)...(i+m) ν 3.2.1 Qν (x) q0 + q1x + ···+ qν x Since there are µ + ν +1unknown p’s and q’s (q0 being arbitrary), we must have m +1=µ + ν +1 (3.2.2) In specifying a rational function interpolating function, you must give the desired order of both the numerator and the denominator. Rational functions are sometimes superior to polynomials, roughly speaking, because of their ability to model functions with poles, that is, zeros of the denominator of equation (3.2.1).
    [Show full text]