3.4 Hermite Interpolation 3.5 Cubic Spline Interpolation

Total Page:16

File Type:pdf, Size:1020Kb

3.4 Hermite Interpolation 3.5 Cubic Spline Interpolation 3.4 Hermite Interpolation 3.5 Cubic Spline Interpolation 1 Hermite Polynomial 1 Definition. Suppose 푓 ∈ 퐶 [푎, 푏]. Let 푥0, … , 푥푛 be distinct numbers in [푎, 푏], the Hermite polynomial 푃(푥) approximating 푓 is that: 1. 푃 푥푖 = 푓 푥푖 , for 푖 = 0, … , 푛 푑푃 푥푖 푑푓 푥푖 2. = , for 푖 = 0, … , 푛 푑푥 푑푥 Remark: 푃(푥) and 푓(푥) agree not only function values but st also 1 derivative values at 푥푖, 푖 = 0, … , 푛. 2 1 Theorem. If 푓 ∈ 퐶 푎, 푏 and 푥0, … , 푥푛 ∈ 푎, 푏 distinct numbers, the Hermite polynomial is: 푛 푛 퐻2푛+1 푥 = 푓 푥푗 퐻푛,푗(푥) + 푓′ 푥푗 퐻 푛,푗(푥) 푗=0 푗=0 Where ′ 2 퐻푛,푗 푥 = [1 − 2(푥 − 푥푗)퐿 푛,푗(푥푗)]퐿푛,푗(푥) 2 퐻푛,푗 푥 = 푥 − 푥푗 퐿푛,푗 푥 Moreover, if 푓 ∈ 퐶2푛+2 푎, 푏 , then 2 2 푥 − 푥 … 푥 − 푥푛 푓 푥 = 퐻 푥 + 0 푓 2푛+2 (휉(푥)) 2푛+1 2푛 + 2 ! for some 휉 푥 ∈ 푎, 푏 . Remark: 1. 퐻2푛+1 푥 is a polynomial of degree at most 2푛 + 1. 2. 퐿푛,푗(푥) is jth Lagrange basis polynomial of degree 푛. 2 2 푥−푥0 … 푥−푥푛 2푛+2 3. 푓 (휉(푥)) is the error term. 2푛+2 ! 3 3rd Degree Hermite Polynomial • Given distinct 푥0, 푥1 and values of 푓 and 푓′ at these numbers. 2 푥 − 푥0 푥1 − 푥 퐻3 푥 = 1 + 2 푓 푥0 푥1 − 푥0 푥1 − 푥0 2 푥1 − 푥 ′ + 푥 − 푥0 푓 푥0 푥1 − 푥0 2 푥1 − 푥 푥0 − 푥 + 1 + 2 푓 푥1 푥1 − 푥0 푥0 − 푥1 2 푥0 − 푥 ′ + 푥 − 푥1 푓 푥1 푥0 − 푥1 4 Hermite Polynomial by Divided Differences Suppose 푥0, … , 푥푛 and 푓, 푓′ are given at these numbers. Define 푧0, … , 푧2푛+1 by 푧2푖 = 푧2푖+1 = 푥푖, for 푖 = 0, … , 푛 Construct divided difference table, but use ′ ′ ′ 푓 푥0 , 푓 푥1 , . , 푓 푥푛 to set the following undefined divided difference: 푓 푧0, 푧1 , 푓 푧2, 푧3 , … , 푓 푧2푛, 푧2푛+1 . The Hermite polynomial is 2푛+1 퐻2푛+1 푥 = 푓 푧0 + 푓 푧0, … , 푧푘 푥 − 푧0 … (푥 − 푧푘−1) 푘=1 5 Divided Difference Notation for Hermite Interpolation • Divided difference notation: 퐻3 푥 ′ = 푓 푥0 + 푓 푥0 푥 − 푥0 2 + 푓 푥0, 푥0, 푥1 푥 − 푥0 2 + 푓[푥0, 푥0, 푥1, 푥1] 푥 − 푥0 (푥 − 푥1) 6 Problems with High Order Polynomial Interpolation • 21 equal-spaced numbers to interpolate 1 푓 푥 = . The interpolating polynomial 1+16푥2 oscillates between interpolation points. 7 Cubic Splines • Idea: Use piecewise polynomial interpolation, i.e, divide the interval into smaller sub-intervals, and construct different low degree polynomial approximations (with small oscillations) on the sub-intervals. • Challenge: If 푓′(푥푖) are not known, can we still generate interpolating polynomial with continuous derivatives? 8 Definition: Given a function 푓 on [푎, 푏] and nodes 푎 = 푥0 < ⋯ < 푥푛 = 푏, a cubic spline interpolant 푆 for 푓 satisfies: (a) 푆(푥) is a cubic polynomial 푆푗(푥) on [푥푗, 푥푗+1], ∀푗 = 0,1, … , 푛 − 1. (b) 푆푗 푥푗 = 푓(푥푗) and 푆푗 푥푗+1 = 푓 푥푗+1 , ∀푗 = 0,1, … , 푛 − 1. (c) 푆푗 푥푗+1 = 푆푗+1 푥푗+1 , ∀푗 = 0,1, … , 푛 − 2. ′ ′ (d) 푆 푗 푥푗+1 = 푆 푗+1 푥푗+1 , ∀푗 = 0,1, … , 푛 − 2. ′′ ′′ (e) 푆 푗 푥푗+1 = 푆 푗+1 푥푗+1 , ∀푗 = 0,1, … , 푛 − 2. (f) One of the following boundary conditions: ′′ ′′ (i) 푆 푥0 = 푆 푥푛 = 0 (called free or natural boundary) ′ ′ (ii) 푆 푥0 = 푓′(푥0) and 푆 푥푛 = 푓′(푥푛) (called clamped boundary) 9 Things to match at interior point 푥푗+1: • The spline segment 푆푗(푥) is on 푥푗, 푥푗+1 . • The spline segment 푆푗+1(푥) is on 푥푗+1, 푥푗+2 . • Their function values: 푆푗 푥푗+1 = 푆푗+1 푥푗+1 = 푓 푥푗+1 ′ ′ • First derivative values: 푆 푗 푥푗+1 = 푆 푗+1 푥푗+1 ′′ ′′ • Second derivative values: 푆 푗 푥푗+1 = 푆 푗+1 푥푗+1 10 Building Cubic Splines • Define: 2 3 푆푗 푥 = 푎푗 + 푏푗 푥 − 푥푗 + 푐푗(푥 − 푥푗) +푑푗(푥 − 푥푗) and ℎ푗 = 푥푗+1 − 푥푗, ∀푗 = 0,1, … , 푛 − 1. Solve for coefficients 푎푗, 푏푗, 푐푗, 푑푗 by: 1. 푆푗 푥푗 = 푎푗 = 푓(푥푗) 2 3 2. 푆푗+1 푥푗+1 = 푎푗+1 = 푎푗 + 푏푗ℎ푗 + 푐푗(ℎ푗) +푑푗(ℎ푗) ′ 2 3. 푆 푗 푥푗 = 푏푗, also 푏푗+1 = 푏푗 + 2푐푗ℎ푗 + 3푑푗(ℎ푗) ′′ 4. 푆 푗 푥푗 = 2푐푗, also 푐푗+1 = 푐푗 + 3푑푗ℎ푗 5. Natural or clamped boundary conditions 11 Solving the Resulting Equations ∀푗 = 1, … , 푛 − 1 ℎ푗−1푐푗−1 + 2 ℎ푗−1 + ℎ푗 푐푗 + ℎ푗푐푗+1 3 3 = 푎푗+1 − 푎푗 − 푎푗 − 푎푗−1 ℎ푗 ℎ푗−1 푛 Remark: (n-1) equations for (n+1) unknowns {푐푗}푗=0. Once compute 푐푗, we then compute: 푎푗+1−푎푗 ℎ푗 2푐푗+푐푗+1 푏푗 = − ℎ푗 3 푐푗+1 − 푐푗 푑푗 = 3ℎ푗 12 Completing the System • Natural boundary condition: ′′ 1. 0 = 푆 0 푥0 = 2푐0 → 푐0 = 0 ′′ 2. 0 = 푆 푛 푥푛 = 2푐푛 → 푐푛 = 0 • Clamped boundary condition: ′ a) 푆 0 푥0 = 푏0 = 푓′(푥0) ′ b) 푆 푛−1 푥푛 = 푏푛 = 푏푛−1 + ℎ푛−1(푐푛−1 + 푐푛) = 푓′(푥푛) Remark: a) and b) gives additional equations: 3 2ℎ0푐0 + ℎ0푐1 = (푎1 − 푎0) − 3푓′(푥0) ℎ0 3 ℎ푛−1푐푛−1 + 2ℎ푛−1푐푛 = − 푎푛 − 푎푛−1 + 3푓′(푥푛) ℎ0 13 Error Bound If 푓 ∈ 퐶4[푎, 푏], let 푀 = max |푓4(푥)|. If 푆 is the 푎≤푥≤푏 unique clamped cubic spline interpolant to 푓 with respect to the nodes: 푎 = 푥0 < ⋯ < 푥푛 = 푏, then with ℎ = max 푥푗+1 − 푥푗 0≤푗≤푛−1 5푀ℎ4 max |푓 푥 − 푆(푥)| ≤ . 푎≤푥≤푏 384 14 .
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]
  • On Multivariate Interpolation
    On Multivariate Interpolation Peter J. Olver† School of Mathematics University of Minnesota Minneapolis, MN 55455 U.S.A. [email protected] http://www.math.umn.edu/∼olver Abstract. A new approach to interpolation theory for functions of several variables is proposed. We develop a multivariate divided difference calculus based on the theory of non-commutative quasi-determinants. In addition, intriguing explicit formulae that connect the classical finite difference interpolation coefficients for univariate curves with multivariate interpolation coefficients for higher dimensional submanifolds are established. † Supported in part by NSF Grant DMS 11–08894. April 6, 2016 1 1. Introduction. Interpolation theory for functions of a single variable has a long and distinguished his- tory, dating back to Newton’s fundamental interpolation formula and the classical calculus of finite differences, [7, 47, 58, 64]. Standard numerical approximations to derivatives and many numerical integration methods for differential equations are based on the finite dif- ference calculus. However, historically, no comparable calculus was developed for functions of more than one variable. If one looks up multivariate interpolation in the classical books, one is essentially restricted to rectangular, or, slightly more generally, separable grids, over which the formulae are a simple adaptation of the univariate divided difference calculus. See [19] for historical details. Starting with G. Birkhoff, [2] (who was, coincidentally, my thesis advisor), recent years have seen a renewed level of interest in multivariate interpolation among both pure and applied researchers; see [18] for a fairly recent survey containing an extensive bibli- ography. De Boor and Ron, [8, 12, 13], and Sauer and Xu, [61, 10, 65], have systemati- cally studied the polynomial case.
    [Show full text]
  • Easy Way to Find Multivariate Interpolation
    IJETST- Vol.||04||Issue||05||Pages 5189-5193||May||ISSN 2348-9480 2017 International Journal of Emerging Trends in Science and Technology IC Value: 76.89 (Index Copernicus) Impact Factor: 4.219 DOI: https://dx.doi.org/10.18535/ijetst/v4i5.11 Easy way to Find Multivariate Interpolation Author Yimesgen Mehari Faculty of Natural and Computational Science, Department of Mathematics Adigrat University, Ethiopia Email: [email protected] Abstract We derive explicit interpolation formula using non-singular vandermonde matrix for constructing multi dimensional function which interpolates at a set of distinct abscissas. We also provide examples to show how the formula is used in practices. Introduction Engineers and scientists commonly assume that past and currently. But there is no theoretical relationships between variables in physical difficulty in setting up a frame work for problem can be approximately reproduced from discussing interpolation of multivariate function f data given by the problem. The ultimate goal whose values are known.[1] might be to determine the values at intermediate Interpolation function of more than one variable points, to approximate the integral or to simply has become increasingly important in the past few give a smooth or continuous representation of the years. These days, application ranges over many variables in the problem different field of pure and applied mathematics. Interpolation is the method of estimating unknown For example interpolation finds applications in the values with the help of given set of observations. numerical integrations of differential equations, According to Theile Interpolation is, “The art of topography, and the computer aided geometric reading between the lines of the table” and design of cars, ships, airplanes.[1] According to W.M.
    [Show full text]
  • Math 541 - Numerical Analysis Interpolation and Polynomial Approximation — Piecewise Polynomial Approximation; Cubic Splines
    Polynomial Interpolation Cubic Splines Cubic Splines... Math 541 - Numerical Analysis Interpolation and Polynomial Approximation — Piecewise Polynomial Approximation; Cubic Splines Joseph M. Mahaffy, [email protected] Department of Mathematics and Statistics Dynamical Systems Group Computational Sciences Research Center San Diego State University San Diego, CA 92182-7720 http://jmahaffy.sdsu.edu Spring 2018 Piecewise Poly. Approx.; Cubic Splines — Joseph M. Mahaffy, [email protected] (1/48) Polynomial Interpolation Cubic Splines Cubic Splines... Outline 1 Polynomial Interpolation Checking the Roadmap Undesirable Side-effects New Ideas... 2 Cubic Splines Introduction Building the Spline Segments Associated Linear Systems 3 Cubic Splines... Error Bound Solving the Linear Systems Piecewise Poly. Approx.; Cubic Splines — Joseph M. Mahaffy, [email protected] (2/48) Polynomial Interpolation Checking the Roadmap Cubic Splines Undesirable Side-effects Cubic Splines... New Ideas... An n-degree polynomial passing through n + 1 points Polynomial Interpolation Construct a polynomial passing through the points (x0,f(x0)), (x1,f(x1)), (x2,f(x2)), ... , (xN ,f(xn)). Define Ln,k(x), the Lagrange coefficients: n x − xi x − x0 x − xk−1 x − xk+1 x − xn Ln,k(x)= = ··· · ··· , Y xk − xi xk − x0 xk − xk−1 xk − xk+1 xk − xn i=0, i=6 k which have the properties Ln,k(xk) = 1; Ln,k(xi)=0, for all i 6= k. Piecewise Poly. Approx.; Cubic Splines — Joseph M. Mahaffy, [email protected] (3/48) Polynomial Interpolation Checking the Roadmap Cubic Splines Undesirable Side-effects Cubic Splines... New Ideas... The nth Lagrange Interpolating Polynomial We use Ln,k(x), k =0,...,n as building blocks for the Lagrange interpolating polynomial: n P (x)= f(x )L (x), X k n,k k=0 which has the property P (xi)= f(xi), for all i =0, .
    [Show full text]
  • CHAPTER 6 Parametric Spline Curves
    CHAPTER 6 Parametric Spline Curves When we introduced splines in Chapter 1 we focused on spline curves, or more precisely, vector valued spline functions. In Chapters 2 and 4 we then established the basic theory of spline functions and B-splines, and in Chapter 5 we studied a number of methods for constructing spline functions that approximate given data. In this chapter we return to spline curves and show how the approximation methods in Chapter 5 can be adapted to this more general situation. We start by giving a formal definition of parametric curves in Section 6.1, and introduce parametric spline curves in Section 6.2.1. In the rest of Section 6.2 we then generalise the approximation methods in Chapter 5 to curves. 6.1 Definition of Parametric Curves In Section 1.2 we gave an intuitive introduction to parametric curves and discussed the significance of different parameterisations. In this section we will give a more formal definition of parametric curves, but the reader is encouraged to first go back and reread Section 1.2 in Chapter 1. 6.1.1 Regular parametric representations A parametric curve will be defined in terms of parametric representations. s Definition 6.1. A vector function or mapping f :[a, b] 7→ R of the interval [a, b] into s m R for s ≥ 2 is called a parametric representation of class C for m ≥ 1 if each of the s components of f has continuous derivatives up to order m. If, in addition, the first derivative of f does not vanish in [a, b], Df(t) = f 0(t) 6= 0, for t ∈ [a, b], then f is called a regular parametric representation of class Cm.
    [Show full text]
  • Spatial Interpolation Methods
    Page | 0 of 0 SPATIAL INTERPOLATION METHODS 2018 Page | 1 of 1 1. Introduction Spatial interpolation is the procedure to predict the value of attributes at unobserved points within a study region using existing observations (Waters, 1989). Lam (1983) definition of spatial interpolation is “given a set of spatial data either in the form of discrete points or for subareas, find the function that will best represent the whole surface and that will predict values at points or for other subareas”. Predicting the values of a variable at points outside the region covered by existing observations is called extrapolation (Burrough and McDonnell, 1998). All spatial interpolation methods can be used to generate an extrapolation (Li and Heap 2008). Spatial Interpolation is the process of using points with known values to estimate values at other points. Through Spatial Interpolation, We can estimate the precipitation value at a location with no recorded data by using known precipitation readings at nearby weather stations. Rationale behind spatial interpolation is the observation that points close together in space are more likely to have similar values than points far apart (Tobler’s Law of Geography). Spatial Interpolation covers a variety of method including trend surface models, thiessen polygons, kernel density estimation, inverse distance weighted, splines, and Kriging. Spatial Interpolation requires two basic inputs: · Sample Points · Spatial Interpolation Method Sample Points Sample Points are points with known values. Sample points provide the data necessary for the development of interpolator for spatial interpolation. The number and distribution of sample points can greatly influence the accuracy of spatial interpolation.
    [Show full text]
  • Comparison of Gap Interpolation Methodologies for Water Level Time Series Using Perl/Pdl
    Revista de Matematica:´ Teor´ıa y Aplicaciones 2005 12(1 & 2) : 157–164 cimpa – ucr – ccss issn: 1409-2433 comparison of gap interpolation methodologies for water level time series using perl/pdl Aimee Mostella∗ Alexey Sadovksi† Scott Duff‡ Patrick Michaud§ Philippe Tissot¶ Carl Steidleyk Received/Recibido: 13 Feb 2004 Abstract Extensive time series of measurements are often essential to evaluate long term changes and averages such as tidal datums and sea level rises. As such, gaps in time series data restrict the type and extent of modeling and research which may be accomplished. The Texas A&M University Corpus Christi Division of Nearshore Research (TAMUCC-DNR) has developed and compared various methods based on forward and backward linear regression to interpolate gaps in time series of water level data. We have developed a software system that retrieves actual and harmonic water level data based upon user provided parameters. The actual water level data is searched for missing data points and the location of these gaps are recorded. Forward and backward linear regression are applied in relation to the location of missing data or gaps in the remaining data. After this process is complete, one of three combinations of the forward and backward regression is used to fit the results. Finally, the harmonic component is added back into the newly supplemented time series and the results are graphed. The software created to implement this process of linear regression is written in Perl along with a Perl module called PDL (Perl Data Language). Generally, this process has demonstrated excellent results in filling gaps in our water level time series.
    [Show full text]
  • Automatic Constraint-Based Synthesis of Non-Uniform Rational B-Spline Surfaces " (1994)
    Iowa State University Capstones, Theses and Retrospective Theses and Dissertations Dissertations 1994 Automatic constraint-based synthesis of non- uniform rational B-spline surfaces Philip Chacko Theruvakattil Iowa State University Follow this and additional works at: https://lib.dr.iastate.edu/rtd Part of the Mechanical Engineering Commons Recommended Citation Theruvakattil, Philip Chacko, "Automatic constraint-based synthesis of non-uniform rational B-spline surfaces " (1994). Retrospective Theses and Dissertations. 10515. https://lib.dr.iastate.edu/rtd/10515 This Dissertation is brought to you for free and open access by the Iowa State University Capstones, Theses and Dissertations at Iowa State University Digital Repository. It has been accepted for inclusion in Retrospective Theses and Dissertations by an authorized administrator of Iowa State University Digital Repository. For more information, please contact [email protected]. INFORMATION TO USERS This manuscript has been reproduced from the microSlm master. UMI films the text directly from the original or copy submitted. Thus, some thesis and dissertation copies are in typewriter face, while others may be from any type of computer printer. The quality of this reproduction is dependent upon the quality of the copy submitted. Broken or indistinct print, colored or poor quality illustrations and photographs, print bleedthrough, substandard margins, and improper alignment can adversely affect reproduction. In the unlikely event that the author did not send UMI a complete manuscript and there are missing pages, these will be noted. Also, if unauthorized copyright material had to be removed, a note will indicate the deletion. Oversize materials (e.g., maps, drawings, charts) are reproduced by sectioning the original, beginning at the upper left-hand comer and continuing from left to right in equal sections with small overlaps.
    [Show full text]
  • Bayesian Interpolation of Unequally Spaced Time Series
    Bayesian interpolation of unequally spaced time series Luis E. Nieto-Barajas and Tapen Sinha Department of Statistics and Department of Actuarial Sciences, ITAM, Mexico [email protected] and [email protected] Abstract A comparative analysis of time series is not feasible if the observation times are different. Not even a simple dispersion diagram is possible. In this article we propose a Gaussian process model to interpolate an unequally spaced time series and produce predictions for equally spaced observation times. The dependence between two obser- vations is assumed a function of the time differences. The novelty of the proposal relies on parametrizing the correlation function in terms of Weibull and Log-logistic survival functions. We further allow the correlation to be positive or negative. Inference on the model is made under a Bayesian approach and interpolation is done via the posterior predictive conditional distributions given the closest m observed times. Performance of the model is illustrated via a simulation study as well as with real data sets of temperature and CO2 observed over 800,000 years before the present. Key words: Bayesian inference, EPICA, Gaussian process, kriging, survival functions. 1 Introduction The majority of the literature on time series analysis assumes that the variable of interest, say Xt, is observed on a regular or equally spaced sequence of times, say t 2 f1; 2;:::g (e.g. Box et al. 2004; Chatfield 1989). Often, time series are observed at uneven times. Unequally spaced (also called unevenly or irregularly spaced) time series data occur naturally in many fields. For instance, natural disasters, such as earthquakes, floods and volcanic eruptions, occur at uneven intervals.
    [Show full text]
  • Interpolation & Polynomial Approximation Cubic Spline
    Interpolation & Polynomial Approximation Cubic Spline Interpolation I Numerical Analysis (9th Edition) R L Burden & J D Faires Beamer Presentation Slides prepared by John Carroll Dublin City University c 2011 Brooks/Cole, Cengage Learning Piecewise-Polynomials Spline Conditions Spline Construction Outline 1 Piecewise-Polynomial Approximation 2 Conditions for a Cubic Spline Interpolant 3 Construction of a Cubic Spline Numerical Analysis (Chapter 3) Cubic Spline Interpolation I R L Burden & J D Faires 2 / 31 Piecewise-Polynomials Spline Conditions Spline Construction Outline 1 Piecewise-Polynomial Approximation 2 Conditions for a Cubic Spline Interpolant 3 Construction of a Cubic Spline Numerical Analysis (Chapter 3) Cubic Spline Interpolation I R L Burden & J D Faires 3 / 31 Piecewise-Polynomials Spline Conditions Spline Construction Piecewise-Polynomial Approximation Piecewise-linear interpolation This is the simplest piecewise-polynomial approximation and which consists of joining a set of data points {(x0, f (x0)), (x1, f (x1)),..., (xn, f (xn))} by a series of straight lines: y y 5 f (x) x0 x1 x2 . .xj xj11 xj12 . xn21 xn x Numerical Analysis (Chapter 3) Cubic Spline Interpolation I R L Burden & J D Faires 4 / 31 Piecewise-Polynomials Spline Conditions Spline Construction Piecewise-Polynomial Approximation Disadvantage of piecewise-linear interpolation There is likely no differentiability at the endpoints of the subintervals, which, in a geometrical context, means that the interpolating function is not “smooth.” Often it is clear from physical conditions that smoothness is required, so the approximating function must be continuously differentiable. We will next consider approximation using piecewise polynomials that require no specific derivative information, except perhaps at the endpoints of the interval on which the function is being approximated.
    [Show full text]
  • Multivariate Lagrange Interpolation 1 Introduction 2 Polynomial
    Alex Lewis Final Project Multivariate Lagrange Interpolation Abstract. Explain how the standard linear Lagrange interpolation can be generalized to construct a formula that interpolates a set of points in . We will also provide examples to show how the formula is used in practice. 1 Introduction Interpolation is a fundamental topic in Numerical Analysis. It is the practice of creating a function that fits a finite sampled data set. These sampled values can be used to construct an interpolant, which must fit the interpolated function at each date point. 2 Polynomial Interpolation “The Problem of determining a polynomial of degree one that passes through the distinct points and is the same as approximating a function for which and by means of a first degree polynomial interpolating, or agreeing with, the values of f at the given points. We define the functions and , And then define We can generalize this concept of linear interpolation and consider a polynomial of degree n that passes through n+1 points. In this case we can construct, for each , a function with the property that when and . To satisfy for each requires that the numerator of contains the term To satisfy , the denominator of must be equal to this term evaluated at . Thus, This is called the Th Lagrange Interpolating Polynomial The polynomial is given once again as, Example 1 If and , then is the polynomial that agrees with at , and ; that is, 3 Multivariate Interpolation First we define a function be an -variable multinomial function of degree . In other words, the , could, in our case be ; in this case it would be a 3 variable function of some degree .
    [Show full text]
  • B-Spline Basics
    B(asic)-Spline Basics Carl de Bo or 1. Intro duction This essay reviews those basic facts ab out (univariate) B-splines which are of interest in CAGD. The intent is to give a self-contained and complete development of the material in as simple and direct a way as p ossible. For this reason, the B-splines are de ned via the recurrence relations, thus avoiding the discussion of divided di erences which the traditional de nition of a B-spline as a divided di erence of a truncated power function requires. This do es not force more elab orate derivations than are available to those who feel at ease with divided di erences. It do es force a change in the order in which facts are derived and brings more prominence to such things as Marsden's Identity or the Dual Functionals than they currently have in CAGD. In addition, it highlights the following point: The consideration of a single B-spline is not very fruitful when proving facts ab out B-splines, even if these facts (such as the smo othness of a B-spline) can be stated in terms of just one B-spline. Rather, simple arguments and real understanding of B-splines are available only if one is willing to consider al l the B-splines of a given order for a given knot sequence. Thus it fo cuses attention on splines, i.e., on the linear combination of B-splines. In this connection, it is worthwhile to stress that this essay (as do es its author) maintains that the term `B-spline' refers to a certain spline of minimal supp ort and, contrary to usage unhappily current in CAGD, do es not refer to a curve which happ ens to b e written in terms of B-splines.
    [Show full text]