P T 4 Part 4 Chapter 15

Total Page:16

File Type:pdf, Size:1020Kb

P T 4 Part 4 Chapter 15 Pt4Part 4 Chapter 15 PlPolynomi ilItal Interpol ltiation PowerPoints organized by Dr. Michael R. Gustafson II, Duke University Revised by Prof. Jang, CAU All images copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Chapter Objectives • Recogn iz ing that eval uati ng pol ynomi al coeffi c ien ts with simultaneous equations is an ill-conditioned problem. • Knowinggpy how to evaluate polynomial coefficients and interpolate with MATLAB’s polyfit and polyval functions. • Knowing how to perform an interpolation with Newton’s polynomial. • Knowing how to perform an interpolation with a Lagrange polynomial. • Knowing how to solve an inverse interpolation problem by recasting it as a roots problem. • Appreciating the dangers of extrapolation . • Recognizing that higher-order polynomials can manifest large oscillations. Introduction • Suppose that you desired the density at a temperature not included in the table below. In such a case, you would have to ilThiinterpolate. That is, you would ldhihl have to estimate the values at the desired temperature based on the densities that include it. • The simpppplest approach is to determine the eq uation for the straight line connecting the two adjacent values and use this equation to estimate the density at the desired intermediate temperature. • Although such linear interpolation is perfectly adequate in many cases, error can be introduced when the data exhibit siifiignificant curvature. -> hihigh her ord er i nterpol ati on i s requi red . T (C) (kg/m3) (Ns/m2) v (m2/s) 200 0.746 2.57 10-5 3.45 10-5 250 0.675 2.75 10-5 4.08 10-5 300 0.616 2.93 10-5 4.75 10-5 400 0.525 3.25 10-5 6.20 10-5 500 0.457 3.55 10-5 7.77 10-5 Polynomial Interpolation • You will frequently have occasions to estimate intermediate values between precise data points. • The function you use to interpolate must pass through the actual data points - this makes interppgolation more restrictive than fitting. • The most common method for this purpose is ppyolynomial interp olation,,( where an (n-1)th order polynomial is solved that passes through n data points: 2 n1 f (x) a1 a2 x a3x an x MATLAB version : f (x) p xn1 p xn2 p x p 1 2 n1 n Determining Coefficients • A straightforward way for computing the coefficients is based on the fact that n data points are required to determine the n coefficients. Hence, the polynomial coefficients can be found exactly using linear algebra. • MATLAB’s built in polyfit and polyval commands can also be used - all that is required is making sure the order of the fit for n data points is n-1. Example 15.1 ( 1/2) Q. Determine the coefficients of the parabola that passes through the last three density values from Table 15.1 2 f (x) p1 x p2 x p3 Solution) 2 x1 300 f (x1) 0.616 0.616 p1(300) p2 (300) p3 2 x2 400 f (x2 ) 0.525 0.525 p1(400) p2 (400) p3 x 500 f (x ) 0.457 2 3 3 0.457 p1(500) p2 (500) p3 90,000 300 1 p1 0.616 160,000 400 1 p 0.55525 2 250,000 500 1 p3 0.457 Example 15.1 (2/2) >> format long >> A = [90000 300 1; 160000 400 1; 250000 500 1]; >> b = [0.616 0.525 0.457]'; >> p = A\b p = 0.00000115000000 -0. 00171500000000 1.02700000000000 f (x) 0.00000115x 2 0.001715x 1.027 This polynomial can provide a means to determine intermediate points. For examppyle, the value of density at 350C can be found as f (350) 0.00000115(350)2 0.001715(350) 1.027 0.567625 Polynomial Interpolation Problems n1 n2 f (x) p1x p2 x pn1x pn • One problem that can occur with solving for the coefficients of a polynomial is that the system to be inverted is in the form: n1 n2 x x x 1 p fx 1 1 1 1 1 xn1 xn2 x 1 p f x 2 2 2 2 2 n1 n2 p xn1 xn1 xn1 1 n1 fxn1 n1 n2 pn xn xn xn 1 f xn • Matrices such as that on the left are known as Vandermonde matrices,,y and they are very ill-conditioned - meaning their solutions are very sensitive to round-off errors. • The issue can be minimized by scaling and shifting the data . Newton Interpolating Polynomials • Another way to express a polynomial interpolation is to use Newton’s itinterpol ltiating pol ynomi ilal. • The differences between a simple polynomial and Newton’s interpolating polynomial for first and second order interpolations are: Order Simple Newton 1st (linear) f1(x) a1 a2 x f1(x) b1 b2 (x x1) 2 2nd (dti(quadratic) f2 (x) a1 a2 x a3x f2 (x) b1 b2 (x x1) b3 (x x1)(x x2 ) Newton Interpolating Polynomials (Liiinear interpo lilation) • The first -order Newton interpolating polynomial may be obtained from linear interpolation and similar triangles, as shown. • The resulting formula based on kitknown points x1 and x2 andthd the values of the dependent function at those points is : fx 2 fx 1 f1x fx1 x x1 x2 x1 • In general, the smaller the interval Graphical representation of between the data points, the linear interpolation better the approximation. Newton Interpolating Polynomials (QdiiQuadratic interpo lilation) • The second -order Newton interpolating polynomial introduces some curvature to the line connecting the points, but still goes through the first two points. • The resulting formula based on known points x1, x2, and x3 and the values of the dependent function at those poitints i s: f2 (x) b1 b2 (x x1) b3 (x x1)(x x2 ) fx fx fx fx 3 2 2 1 f x2 f x1 x3 x2 x2 x1 f2 x fx1 x x1 x x1 x x2 x2 x1 x3 x1 Example 15.2 Q. Estimate the natural logarithm of 2 using linear interpolation. First compute it by interpolating between ln 1 0 and ln 6 1 .791759 . Then repeat the procedure using smaller interval from ln1 and ln4 (1.386294). Note: ln 2 0.6931472 Solution) Using x1 = 1 and x2 = 6 1.791759 0 f (2) 0 (2 1) 0.3583519 1 6 1 Using x1 = 1 and x2 = 4, 1.386294 0 f (2) 0 (2 1) 0.4620981 1 4 1 The value εt are 48.3% and 33.3% respectively. Example 15.3 Q. Use a second-order Newton polynomial to estimate ln2 with the same three points used in Ex . 15.2 . Solution) x1 1 f (x1) 0 x2 4 f (x2 ) 1.386294 x3 6 f (x3 ) 1.791759 1.386294 0 b1 0 b 0.4620981 2 4 1 1.791759 1.386294 0.4620981 b 6 4 0.0518731 3 6 1 f2 (x) 0 0.4620981(x 1) 0.0518731(x 1)(x 4) f 2 (2) 0.5658444 The value εt are 18.4% . -> The quadratic formula improves the error. Newton Interpolating Polillynomials (Generalfl form) • In general, an ( n-1)th Newton interpolating polynomial can be fitted to n data points. • The general formula is: f x b b x x b x x x x x x n1 1 2 1 n 1 2 n1 where b1 fx 1 b2 fx2, x1 b3 fx 3, x2, x1 b f x , x , , x , x n n n1 2 1 and the f[…] represent divided differences. Divided Differences • Divided difference are calculated as follows: fx i fx j f xi , x j xi x j fxi , x j fxj , xk fxi , x j , xk xi xk fx, x , , x fx, x , , x fx, x , , x , x n n1 2 n1 n2 1 n n1 2 1 x x n 1 • High er-orddiiddder divided differences are ca lcu la te d us ing divided difference of lower-order terms: Graphical representation of the recursive nature of finite divided differences Example 15.4 (1/2) Q. Estimate ln2 using a third-order Newton’s interpolating polilUthfllifitlynomial. Use the following four points x1 = 1, x2 = 4, x3 = 6, and x4 = 5, [f(x4) = 1.609438]. Solution) f3 (x) b1 b2 (x x1) b3 (x x1)(x x2 ) b4 (x x1)(x x2 )(x x3 ) 1.38629 4 0 1.791759 1.386294 f [x2 , x1 ] 0.4620981 f [x , x ] 0.2027326 4 1 3 2 6 4 1.609438 1.791759 f [x , x ] 0.1823216 4 3 5 6 0.1823216 0.2027326 f [x , x , x ] 0.02041100 4 3 2 5 4 0.2027326 0.4620981 f [x , x , x ] 0.05187311 3 2 1 6 1 0.02041100 (0.05187311) f [x , x , x , x ] 0.007865529 4 3 2 1 5 1 Example 15.4 (2/2) f3 (x) b1 b2 (x x1) b3 (x x1)(x x2 ) b4 (x x1)(x x2 )(x x3 ) xi f(xi) First Second Third 1 0 0.4620981 -0.05187311 0.007865529 4 1. 386294 0. 2027326 -0. 02041100 6 1.791759 0.1823216 5 1.609438 f3 (x) 0 0.4620981(x 1) 0.05187311(x 1)(x 4) f3 (2) 0.6287686 0.007865529(x 1)(x 4)(x 6) MATLAB Implementation Lagrange Interpolating Polillynomials • Another method that uses shifted value to express an interpolating polynomial is the Lagrange interpolating polynomial . • The differences between a simply polynomial and Lagrange interpolating polynomials for first and second order polynomials are: Order Simple Lagrange 1st f1(x) a1 a2 xf1(x) L1 fx1 L2 fx2 2 2nd f2 (x) a1 a2 x a3x f2 (x) L1 f x1 L2 f x2 L3 f x3 where the Li are weighting coefficients that are functions of x.
Recommended publications
  • Coalgebraic Foundations of the Method of Divided Differences
    ADVANCES IN MATHEMATICS 91, 75~135 (1992) Coalgebraic Foundations of the Method of Divided Differences PHILIP S. HIRSCHHORN AND LOUISE ARAKELIAN RAPHAEL* Department qf Muthenmtics, Howard Unhrersity, Washington. D.C. 20059 1. INTRODUCTION 1.1. Zntroductiorz The analogy between properties of the function e’ and the properties of the function l/( 1 -x) has led, in the past two centuries, to much new mathematics. At the most elementary level, it was noticed long ago that the function l/( 1 - x) is (roughly) the Laplace transform of the function e-‘;, and the theory of Laplace transforms, in its heyday, was concerned with drafting a correspondence table between properties of functions and properties of their Laplace transforms. In the development of functional analysis in the forties and fifties, properties of semigroups of linear operators on Banach spaces were thrown back onto properties of their resolvents; the functional equation satisfied by the resolvent of an operator was clearly perceived at that time as an analog-though still a mysterious one-of the Cauchy functional equation satisfied by the exponential function. A far more ancient, though, it must be admitted, still little known instance of this analogy is the Newton expansion of the calculus of divided difference (see, e.g., [lo] ). Although Taylor’s formula can be formally seen as a special case of a Newton expansion (obtained by taking equal arguments), nonetheless, the algebraic properties of the two expansions were radically different. Suitably reinterpreted, Taylor’s formula led in this * Partially supported by National Science Foundation Grant ECS8918050. 75 OOOl-8708/92 $7.50 Copyright ( 1992 by Academic Press.
    [Show full text]
  • Interpolation
    Interpolation 1 What is interpolation? For a certain function f (x) we know only the values y1 = f (x1),. ,yn = f (xn). For a pointx ˜ different from x1;:::;xn we would then like to approximate f (x˜) using the given data x1;:::;xn and y1;:::;yn. This means we are constructing a function p(x) which passes through the given points and hopefully is close to the function f (x). It turns out that it is a good idea to use polynomials as interpolating functions (later we will also consider piecewise polynomial functions). 2 Why are we interested in this? • Efficient evaluation of functions: For functions like f (x) = sin(x) it is possible to find values using a series expansion (e.g. Taylor series), but this takes a lot of operations. If we need to compute f (x) for many values x in an interval [a;b] we can do the following: – pick points x1;:::;xn in the interval – find the interpolating polynomial p(x) – Then: for any given x 2 [a;b] just evaluate the polynomial p(x) (which is cheap) to obtain an approximation for f (x) Before the age of computers and calculators, values of functions like sin(x) were listed in tables for values x j with a certain spacing. Then function values everywhere in between could be obtained by interpolation. A computer or calculator uses the same method to find values of e.g. sin(x): First an interpolating polynomial p(x) for the interval [0;p=2] was constructed and the coefficients are stored in the computer.
    [Show full text]
  • Confluent Vandermonde Matrices, Divided Differences, and Lagrange
    CONFLUENT VANDERMONDE MATRICES, DIVIDED DIFFERENCES, AND LAGRANGE-HERMITE INTERPOLATION OVER QUATERNIONS VLADIMIR BOLOTNIKOV Abstract. We introduce the notion of a confluent Vandermonde matrix with quater- nion entries and discuss its connection with Lagrange-Hermite interpolation over quaternions. Further results include the formula for the rank of a confluent Van- dermonde matrix, the representation formula for divided differences of quaternion polynomials and their extensions to the formal power series setting. 1. Introduction The notion of the Vandermonde matrix arises naturally in the context of the La- grange interpolation problem when one seeks a complex polynomial taking prescribed values at given points. Confluent Vandermonde matrices come up once interpolation conditions on the derivatives of an unknown interpolant are also imposed; we refer to the survey [10] for confluent Vandermonde matrices and their applications. The study of Vandermonde matrices over division rings (with further specialization to the ring of quaternions) was initiated in [11]. In the follow-up paper [12], the Vandermonde ma- trices were studied in the setting of a division ring K endowed with an endomorphism s and an s-derivation D, along with their interactions with skew polynomials from the Ore domain K[z,s,D]. The objective of this paper is to extend the results from [11] in a different direction: to introduce a meaningful notion of a confluent Vandermonde matrix (over quaternions only, for the sake of simplicity) and to discuss its connections with Lagrange-Hermite interpolation problem for quaternion polynomials. Let H denote the skew field of quaternions α = x0+ix1+jx2+kx3 where x0,x1,x2,x3 ∈ arXiv:1505.03574v1 [math.RA] 13 May 2015 R and where i, j, k are the imaginary units commuting with R and satisfying i2 = j2 = k2 = ijk = −1.
    [Show full text]
  • Polynomials, Power Series and Interpolation*
    View metadata, citation and similar papers at core.ac.uk brought to you by CORE provided by Elsevier - Publisher Connector JOURNAL OF MATHEMATlCAL ANALYSIS AND APPLICATIONS 80, 333-371 (1981) Polynomials, Power Series and Interpolation* STEVEN ROMAN Department of Mathematics, University of South Florida. Tampa, Florida 33520 Submitted bJ>Gian-Carlo Rota Contents. I. Introduction. 2. Linear f’unctionals. 3. Linear operators. 4. Associated sequences. 5. The Expansion Theorem. 6. Decentralized geometric sequences. 7. Formal power series. 1. INTRODUCTION In this paper we study the relationship between formal power series, sequences of polynomials and polynomial interpolation. We do this by extending and applying the techniques of the umbra1 calculus. Since our approach is a completely fresh one, no previous knowledge of the umbra1 calculus is required. Our main goals are threefold. Let us begin from the point of view of inter- polation. Let P be the algebra of polynomials in a single variable and let P* be the dual vector space of all linear functionals on P. If L E P* and P(X) E P, we denote the application of L on p(x) by (L I P(X)). If M,, M,, M *,... is a sequence in P* we are interested in studying the polynomials p,(x) satisfying (Mk I P,(X)) = h,,, if indeed they exist, where a,,, is the Kronecker delta function. Let us call the sequencep,(x) an associated sequencefor M,. For a linear functional L we define the order o(L) of L to be the smallest integer k such that (L 1x”) # 0. A sequence M, in P* is triangular if o(M,) = 0 and if o(MJ is a strictly increasing sequenceof integers.
    [Show full text]
  • Computational Divided Differencing and Divided-Difference Arithmetics
    Computational Divided Differencing and Divided-Difference Arithmetics THOMAS W.REPS and LOUIS B.RALL University of Wisconsin Tools for computational differentiation transform a program that computes a numerical function F(x)into a related program that computes F′(x)(the derivative of F). This paper describes howtechniques similar to those used in com- putational-differentiation tools can be used to implement other program transformations—in particular,avariety of transformations for computational divided differencing.Wediscuss howcomputational divided-differencing tech- niques could lead to faster and more robust programs in scientific and graphics applications. We also describe how these ideas relate to the numerical-finite-differencing techniques that motivated Robert Paige’swork on finite differenc- ing of set-valued expressions in SETL programs. Dedicated to the memory of Robert Paige, 1947-1999. 1. INTRODUCTION Avariety of studies in the field of programming languages have led to useful, high-leveltransformations that manipulate programs in semantically meaningful ways. In very general terms, these tools transform a program that performs a computation F(x)into a program that performs a related computation F#(x), for a variety of F#’s ofinterest.1 (In some cases, an appropriate preprocessing operation h needs to be applied to the input; in such cases, the transformed program F# is used to perform a computation of the form F#(h(x)).) Examples of such tools include partial evaluators and programslicers: •Apartial evaluator creates a specialized
    [Show full text]
  • Generalized Leibniz Functional Matrices and Divided Difference Form of the Lagrange–Bürmann Formula ∗ Peipei Tang a , Aimin Xu B
    View metadata, citation and similar papers at core.ac.uk brought to you by CORE provided by Elsevier - Publisher Connector Linear Algebra and its Applications 436 (2012) 618–630 Contents lists available at SciVerse ScienceDirect Linear Algebra and its Applications journal homepage: www.elsevier.com/locate/laa Generalized Leibniz functional matrices and divided difference form of the Lagrange–Bürmann formula ∗ Peipei Tang a , Aimin Xu b, a Department of Mathematics, Hangzhou Normal University, Hangzhou 310036, PR China b Institute of Mathematics, Zhejiang Wanli University, Ningbo 315100, PR China ARTICLE INFO ABSTRACT Article history: In this paper, we derive two versions of divided difference form of the Received 12 May 2011 Lagrange–Bürmann expansion formula. The first version expresses Accepted 14 July 2011 all coefficients by a form of a determinant. By means of the factor- Availableonline30August2011 izations of the generalized Leibniz functional matrices with respect Submitted by R.A. Brualdi to a sequence, we obtain the second version with coefficients repre- sented by a finite sum. Some new matrix inversions are also inves- AMS classification: 05A15 tigated. 15A23 © 2011 Elsevier Inc. All rights reserved. Keywords: Lagrange–Bürmann expansion formula Generalized Leibniz functional matrix Divided difference 1. Introduction In mathematics, particularly matrix theory and combinatorics, the Pascal matrix has played a fun- damental role. The Pascal matrix is a matrix containing the binomial coefficients as its elements and it is defined as follows ⎧ ⎨⎪ i , j if i j (P ) = n ij ⎩⎪ 0otherwise. ∗ Corresponding author. E-mail addresses: [email protected] (P. Tang), [email protected] (A. Xu). 0024-3795/$ - see front matter © 2011 Elsevier Inc.
    [Show full text]
  • A NOTE on DIVIDED DIFFERENCES Ioan Gavrea and Mircea Ivan
    PUBLICATIONS DE L’INSTITUT MATHÉMATIQUE Nouvelle série, tome 98(112) (2015), 147–151 DOI: 10.2298/PIM1512147G A NOTE ON DIVIDED DIFFERENCES Ioan Gavrea and Mircea Ivan Abstract. We obtain a new recurrence formula for sequences of divided dif- ferences. In a particular case, the recurrence formula simplifies the classical Newton–Girard identities relating power sums and elementary symmetric poly- nomials. 1. Introduction and preliminary results Divided differences are a basic tool in numerical analysis often used both in theory and in practice. In the last two decades the classical topic of interpolation has been strongly reinvigorated. A new insight was provided into the study of efficient numerical algorithms for the calculations of divided difference, chain rules, mean value theorems and representations of the divided differences of ordinary and implicit functions. In this context, far from being exhaustive, we briefly mention the papers: [1–17, 20] and the references therein. Throughout the paper n and m denote non-negative integers. Let z0,...,zn be pairwise distinct complex numbers and F be the set of all complex-valued functions defined on a set A ⊇{z0,...,zn}. In most books on numerical analysis, the divided differences of a function f ∈F are defined recursively: [z0; f]= f(z0), ..., [z1,...,zn; f] − [z0,...,zn−1; f] [z0,...,zn; f]= , n =1, 2,.... zn − z0 For the sake of clarity, we will also use the alternative notation [z0,...,zn; f(t)]t to represent the divided difference [z0,...,zn; f]. The divided difference [z0,...,zn; f] can equivalently be defined as the coefficient of zn of the interpolating polynomial L[z0,...,zn; f].
    [Show full text]
  • Interval Divided-Difference Arithmetic
    Interval Divided-Difference Arithmetic∗ Louis B. Rall 5101 Odana Road Madison, WI 53711, U.S.A University of Wisconsin-Madison [email protected] Abstract Divided difference arithmetic computes divided differences of functions defined by algorithms without the error-prone operation of subtraction called for by the standard definition. This arithmetic is reviewed, and certain intrinsic functions are redefined in terms of what are called car- dinal functions, such as the well-known cardinal sine function sinc(x). The extension of divided difference arithmetic to interval values to obtain inclusions of divided differences is introduced. Since division by the in- crement is avoided, increments containing zero are permitted, and a zero increment simply results in inclusion of the function and its derivative values in interval differentiation arithmetic. Keywords: divided differences, divided-difference arithmetic, interval arithmetic, differentiation arithmetic, cardinal functions AMS subject classifications: 65G30, 65G40, 65Y04, 26A06, 33E99, 65D05 1 Computer Arithmetics By a computer arithmetic, we mean a set of elements to which a computer can apply arithmetic operations and specified intrinsic functions to obtain results expressible in terms of the given elements. The simplest example of a computer arithmetic is floating- point arithmetic, whose elements are numbers of finite precision. The arithmetic operations and intrinsic functions applied to these produce finite precision approxi- mations to the exact mathematical results; the goal is to be as accurate as possible. Other arithmetics using the set of floating-point numbers have been created, including the floating-point versions of complex, interval, differentiation and divided-difference arithmetics [4, 5, 8, 10, 11]. One way to implement these arithmetics is by overloading, available in program- ming languages such as C++ [2].
    [Show full text]
  • Fast and Accurate Computation of Divided Differences for Analytic Functions, with an Application to the Exponential Function
    Volume 12 2019 Pages 28–42 · · Fast and accurate computation of divided differences for analytic functions, with an application to the exponential function Franco Zivcovich a Communicated by M. Caliari Abstract In this work we analyze in depth the structure of the matrix representing the operator mapping the coefficients of a polynomial p(x) in the monomial basis M into those in the Newton basis N .A factorization in minimal terms of said matrix has been obtained and as a consequence a factorization of its inverse is available too. As a result, a new high performances routine for the computation of the divided differences of the exponential and the closely related φl functions has been produced with satisfying results. 1 Introduction Given a sequence of n + 1 interpolation points z = (z0, z1,..., zn) and the corresponding function values f (z0), f (z1),..., f (zn) there exists a unique polynomial p(x) of degree n interpolating f (x) in the Hermite sense at z. There are many polynomial basis under which p(x) can be written, in particular we are going to focus on the monomial and the Newton basis. The monomial basis n M = 1, x,..., x is such that the n + 1 scalars a0, a1,..., an identify p(x) in M as f g n X k p(x) = ak x k=0 or, in vector form, as T p(x) = m(x, n) a(n) n T where m(x, n) = (1, x,..., x ) and a(n) is the vector having on its kth component the coefficient ak.
    [Show full text]
  • Accurate Computation of Divided Differences of the Exponential Function
    mathematics of computation volume 43, number 168 october 1984,pages 501-528 Accurate Computation of Divided Differences of the Exponential Function By A. McCurdy, K. C. Ng and B. N. Parle«1 Abstract. The traditional recurrence for the computation of exponential divided differences, along with a new method based on the properties of the exponential function, are studied in detail in this paper. Our results show that it is possible to combine these two methods to compute exponential divided differences accurately. A hybrid algorithm is presented for which our error bound grows quite slowly with the order of the divided difference. Introduction. We need accurate divided differences for computing certain func- tions of matrices f(A) by means of the Newton interpolating polynomial (cf. Section 6): n_x k f(A)-A\f-I+nt*\f-Tl(A-Xjl), k=\ 7=1 where A* stand for the divided differences of/ on the eigenvalues of A. One can evaluate f(A) by computing first the divided differences and then accumulating the polynomial. The divided differences must be of high relative accuracy because they are the coefficients of products of matrices which, in some cases, have very large norms. What makes such accuracy possible is that the divided differences are not for arbitrary smooth functions / but for well-known analytic functions such as exp, sin and cos. Thus we can exploit their properties in the computation. In this paper we restrict our attention to exponential divided differences. A new technique, namely argument reduction for matrix exponentials, makes it realistic to consider data sets with imaginary parts bounded by ir in magnitude.
    [Show full text]
  • Section 1 Polynomial Interpolation
    Section 1 Polynomial interpolation 1.1 The interpolation problem and an application to rootfinding Polynomials of degree n simultaneously play the important roles of the simplest nonlin- ear functions, and the simplest linear space of functions. In this section we will consider the problem of finding the simplest polynomial, that is, the one of smallest degree, whose value at x = xi agrees with given numerical data yi for the n+1 distinct points xi, i = 0; 1; : : : ; n. We usually think of the yi as values of an existing function f(xi) which we are trying to approximate, even if a function f is not explicitly given. Calling right hand sides f(xi); yi, or pn(xi) is a matter of context and connotation. The xi's are known as nodes of the interpolation, or centers when they appear in a certain representaion of the polynomial discussed below. They are also, by definition, roots of f(x) − pn(x). The reasons for the existence and uniqueness of such a polynomial of degree ≤ n will become apparent shortly. We will see some ways in which this situation arises in rootfinding problems, and later how it is extremely useful in integrating functions and differential equations numerically. We will also observe how it sits at one end of a spectrum of polynomial approximation problems with Taylor approximation at the other, though there is more variety among interpolation polynomials which depend upon many points, as opposed to just one. We will investigate good choices of these points in the later context of an even more general range of polynomial approximation problems.
    [Show full text]
  • Fast Computation of Divided Differences and Parallel Hermite Interpolation
    View metadata, citation and similar papers at core.ac.uk brought to you by CORE provided by Elsevier - Publisher Connector JOURNAL OF COMPLEXITY 5, 417-437 (1989) Fast Computation of Divided Differences and Parallel Hermite Interpolation Department of Computer Science, University of California, Santa Barbara, California 93106 E. GALLOPOULOS? Center for Supercomputing Research and Development and Department of Computer Science, University of Illinois, Urbana-Champaign, Illinois 61801 AND CETIN K. KOC Department of Electrical Engineering, University of Houston, Houston, Texas 77204 Received January 16, 1989 We present parallel algorithms for fast polynomial interpolation. These algo- rithms can be used for constructing and evaluating polynomials interpolating the function values and its derivatives of arbitrary order (Hermite interpolation). For interpolation, the parallel arithmetic complexity is 0(log2 M + log N) for large M and N, where M - 1 is the order of the highest derivative information and N is the number of distinct points used. Unlike alternate approaches which use the La- grange representation, the algorithms described in this paper are based on the fast parallel evaluation of a closed formula for the generalized divided differences. Applications to the solution of dual Vandermonde and confluent Vandermonde systems are described. This work extends previous results in polynomial interpo- lation and improves the parallel time complexity of existing algorithms. B 1989 Academic Press, Inc. * Supported in part by the National Science Foundation under Grant NSF DCR-8603722. t Supported by the National Science Foundation under Grants US NSF MIP-8410110, US NSF DCR8509970, and US NSF CCR-8717942, and by AT&T under Grant AT&T AFFL67Sameh.
    [Show full text]