Convergence rates of derivatives of a family of barycentric rational interpolants
|
|
- Colin Horton
- 5 years ago
- Views:
Transcription
1 Convergence rates of derivatives of a family of barycentric rational interpolants J.-P. Berrut, M. S. Floater and G. Klein University of Fribourg (Switzerland) CMA / IFI, University of Oslo jean-paul.berrut@unifr.ch michaelf@ifi.uio.no georges.klein@unifr.ch Avignon, June 29, 2010 Berrut-Floater-Klein Convergence rates of r (k) (x) 1/28
2 Outline 1 Interpolation 2 3 Berrut-Floater-Klein Convergence rates of r (k) (x) 2/28
3 Introduction and notation Interpolation Berrut-Floater-Klein Convergence rates of r (k) (x) 3/28
4 One-dimensional interpolation problem Given: a x 0 < x 1 <... < x n b, f (x 0 ),f (x 1 ),...,f (x n ), n + 1 distinct nodes and corresponding values. There exists a unique polynomial of degree n that interpolates the data, i.e. p n [f ](x i ) = f i, i = 0,1,...,n. The Lagrange form of the polynomial interpolant is given by p n [f ](x) := n f j l j (x), l j (x) := k j (x x k ) (x j x k ). Berrut-Floater-Klein Convergence rates of r (k) (x) 4/28
5 One-dimensional interpolation problem Given: a x 0 < x 1 <... < x n b, f (x 0 ),f (x 1 ),...,f (x n ), n + 1 distinct nodes and corresponding values. There exists a unique polynomial of degree n that interpolates the data, i.e. p n [f ](x i ) = f i, i = 0,1,...,n. The Lagrange form of the polynomial interpolant is given by p n [f ](x) := n f j l j (x), l j (x) := k j (x x k ) (x j x k ). Berrut-Floater-Klein Convergence rates of r (k) (x) 4/28
6 The first barycentric form Denote the leading factors of the l j s by λ j := k j(x j x k ) 1, j = 0,1,...,n, which may be computed in advance. Rewrite the polynomial in its first barycentric form p n [f ](x) = L(x) n λ j x x j f j, where n L(x) := (x x k ). k=0 Berrut-Floater-Klein Convergence rates of r (k) (x) 5/28
7 The first barycentric form Denote the leading factors of the l j s by λ j := k j(x j x k ) 1, j = 0,1,...,n, which may be computed in advance. Rewrite the polynomial in its first barycentric form p n [f ](x) = L(x) n λ j x x j f j, where n L(x) := (x x k ). k=0 Berrut-Floater-Klein Convergence rates of r (k) (x) 5/28
8 Advantages evaluation in O(n) operations, ease of adding new data (x n+1,f n+1 ), numerically best for the evaluation. Berrut-Floater-Klein Convergence rates of r (k) (x) 6/28
9 Advantages evaluation in O(n) operations, ease of adding new data (x n+1,f n+1 ), numerically best for the evaluation. Berrut-Floater-Klein Convergence rates of r (k) (x) 6/28
10 Advantages evaluation in O(n) operations, ease of adding new data (x n+1,f n+1 ), numerically best for the evaluation. Berrut-Floater-Klein Convergence rates of r (k) (x) 6/28
11 The barycentric formula The constant f 1 is represented exactly by its polynomial interpolant: n λ j 1 = L(x) = p n [1](x). x x j Dividing p n [f ] by 1 and cancelling L(x) gives the barycentric form of the polynomial interpolant n λ j f j x x j p n [f ](x) =. n λ j x x j Berrut-Floater-Klein Convergence rates of r (k) (x) 7/28
12 The barycentric formula The constant f 1 is represented exactly by its polynomial interpolant: n λ j 1 = L(x) = p n [1](x). x x j Dividing p n [f ] by 1 and cancelling L(x) gives the barycentric form of the polynomial interpolant n λ j f j x x j p n [f ](x) =. n λ j x x j Berrut-Floater-Klein Convergence rates of r (k) (x) 7/28
13 Advantages Interpolation is guaranteed: lim p n [f ](x) = lim x x k x x k λ k x x k f k λ k x x k = f k. Simplification of the weights: Cancellation of common factor leads to simplified weights. For equidistant nodes, ( ) n λ j = ( 1) j. j Berrut-Floater-Klein Convergence rates of r (k) (x) 8/28
14 Advantages Interpolation is guaranteed: lim p n [f ](x) = lim x x k x x k λ k x x k f k λ k x x k = f k. Simplification of the weights: Cancellation of common factor leads to simplified weights. For equidistant nodes, ( ) n λ j = ( 1) j. j Berrut-Floater-Klein Convergence rates of r (k) (x) 8/28
15 Form polynomial to rational interpolation In the barycentric form of the polynomial interpolant p n [f ](x) = n n λ j x x j f j λ j x x j, the weights are defined in such a way that L(x) n λ j x x j = 1. Modification of these weights rational interpolant. Berrut-Floater-Klein Convergence rates of r (k) (x) 9/28
16 Form polynomial to rational interpolation In the barycentric form of the polynomial interpolant p n [f ](x) = n n λ j x x j f j λ j x x j, the weights are defined in such a way that L(x) n λ j x x j = 1. Modification of these weights rational interpolant. Berrut-Floater-Klein Convergence rates of r (k) (x) 9/28
17 Lemma Let {(x j,f j )}, j = 0,1,...,n be n + 1 pairs of distinct real numbers and let {u j } be any nonzero real numbers. Then (a) the rational function r n [f ](x) = n n u j x x j f j u j x x j, interpolates f k at x k : lim x xk r n [f ](x) = f k ; (b) conversely, every rational interpolant of the f j may be written in barycentric form for some weights u j. Berrut-Floater-Klein Convergence rates of r (k) (x) 10/28
18 Floater and Hormann interpolants Weights suggested by Berrut: ( 1) j ; 1/2,1,1,...,1,1,1/2 with oscillating sign. Floater and Hormann in 2007: new choice for the weights family of barycentric rational interpolants. Berrut-Floater-Klein Convergence rates of r (k) (x) 11/28
19 Floater and Hormann interpolants Weights suggested by Berrut: ( 1) j ; 1/2,1,1,...,1,1,1/2 with oscillating sign. Floater and Hormann in 2007: new choice for the weights family of barycentric rational interpolants. Berrut-Floater-Klein Convergence rates of r (k) (x) 11/28
20 Construction presented by Floater and Hormann - Choose an integer d {0,1,...,n}, - define p j (x), the polynomial of degree d interpolating f j,f j+1,...,f j+d, for j = 0,...,n d. The d-th interpolant is given by r n [f ](x) = n d λ j (x)p j (x) n d λ j (x), where λ j (x) = ( 1) j (x x j )... (x x j+d ). Berrut-Floater-Klein Convergence rates of r (k) (x) 12/28
21 Construction presented by Floater and Hormann - Choose an integer d {0,1,...,n}, - define p j (x), the polynomial of degree d interpolating f j,f j+1,...,f j+d, for j = 0,...,n d. The d-th interpolant is given by r n [f ](x) = n d λ j (x)p j (x) n d λ j (x), where λ j (x) = ( 1) j (x x j )... (x x j+d ). Berrut-Floater-Klein Convergence rates of r (k) (x) 12/28
22 Construction presented by Floater and Hormann - Choose an integer d {0,1,...,n}, - define p j (x), the polynomial of degree d interpolating f j,f j+1,...,f j+d, for j = 0,...,n d. The d-th interpolant is given by r n [f ](x) = n d λ j (x)p j (x) n d λ j (x), where λ j (x) = ( 1) j (x x j )... (x x j+d ). Berrut-Floater-Klein Convergence rates of r (k) (x) 12/28
23 Barycentric weights Write r n [f ] in barycentric form r n [f ](x) = n n w j x x j f j w j x x j For equidistant nodes, the weights oscillate in sign with absolute values 1,1,...,1,1, d = 0, (Berrut) 1 2,1,1,...,1,1, 1 2, d = 1, (Berrut) 1 4, 3 4,1,1,...,1,1, 3 4, 1 4, d = 2, (Floater Hormann) 1 8, 4 8, 7 8,1,1,...,1,1, 7 8, 4 8, 1 8, d = 3. (Floater Hormann). Berrut-Floater-Klein Convergence rates of r (k) (x) 13/28
24 Theorem Let 0 d n and f C d+2 [a,b], then the rational function r n [f ] has no poles in lr, if n d is odd, then r n [f ] f h d+1 (b a) f (d+2) d+2 if d 1, r n [f ] f h(1 + β)(b a) f 2 if d = 0; if n d is even, then r n [f ] f h d+1( (b a) f (d+2) d+2 + f (d+1) ) d+1 if d 1, r n [f ] f h(1 + β) ( (b a) f 2 + f ) if d = 0. β := { max min xi x i+1 1 i n 2 x i x i 1, x i+1 x i } x i+1 x i+2 Berrut-Floater-Klein Convergence rates of r (k) (x) 14/28
25 Differentiation of barycentric rational interpolants Berrut-Floater-Klein Convergence rates of r (k) (x) 15/28
26 Proposition (Schneider and Werner (1986)) Let r n [f ] be a rational function given in its barycentric form with non vanishing weights. Assume that x is not a pole of r n [f ]. Then for k 1 1 k! r(k) n [f ](x) = 1 k! r(k) n n w j x x j r n [f ][(x) k,x j ] n w j, x not a node, x x j ( n / [f ](x i ) = w j r n [f ][(x i ) k,x j ]) w i, i = 0,...,n. j i Berrut-Floater-Klein Convergence rates of r (k) (x) 16/28
27 Differentiation matrices Define the matrices D (1) and D (2) : w j 1, w i x i x j D (1) ij := n D (1) ik ; D (2) ij := k=0 k i ( 2D (1) ij D (1) ii 1 ), i j, x i x j n D (2) ik, i = j. k=0 k i If f := (f 0,...,f n ) T, then D (1) f, respectively D (2) f, returns the vector of the first, respectively second, derivative of r n [f ] at the nodes. Berrut-Floater-Klein Convergence rates of r (k) (x) 17/28
28 Differentiation matrices Define the matrices D (1) and D (2) : w j 1, w i x i x j D (1) ij := n D (1) ik ; D (2) ij := k=0 k i ( 2D (1) ij D (1) ii 1 ), i j, x i x j n D (2) ik, i = j. k=0 k i If f := (f 0,...,f n ) T, then D (1) f, respectively D (2) f, returns the vector of the first, respectively second, derivative of r n [f ] at the nodes. Berrut-Floater-Klein Convergence rates of r (k) (x) 17/28
29 Convergence rates for the derivatives For x [a,b], we call the error e(x) := f (x) r n [f ](x). Theorem At the nodes, we have if d 0 and if f C d+2 [a,b], then e (x j ) Ch d, j = 0,1,...,n; if d 1 and if f C d+3 [a,b], then e (x j ) Ch d 1, j = 0,1,...,n. Berrut-Floater-Klein Convergence rates of r (k) (x) 18/28
30 Convergence rates for the derivatives For x [a,b], we call the error e(x) := f (x) r n [f ](x). Theorem At the nodes, we have if d 0 and if f C d+2 [a,b], then e (x j ) Ch d, j = 0,1,...,n; if d 1 and if f C d+3 [a,b], then e (x j ) Ch d 1, j = 0,1,...,n. Berrut-Floater-Klein Convergence rates of r (k) (x) 18/28
31 Theorem (continued) At intermediate points, we have if d 1 and if f C d+3 [a,b], then e Ch d if d 2, e C(β + 1)h if d = 1; if d 2 and if f C d+4 [a,b], then Mesh ratio { β := max e C(β + 1)h d 1 if d 3, e C(β 2 + β + 1)h if d = 2. max 1 i n 1 x i x i+1 x i x i 1, max 0 i n 2 x i+1 x i }. x i+1 x i+2 Berrut-Floater-Klein Convergence rates of r (k) (x) 19/28
32 Remarks In the important cases k = 1,2 the convergence rate of the k-th derivative is O(h d+1 k ) as h 0: In short: Loss of one order per differentiation. Stricter conditions on the differentiability of f compared to the interpolant. Berrut-Floater-Klein Convergence rates of r (k) (x) 20/28
33 Remarks In the important cases k = 1,2 the convergence rate of the k-th derivative is O(h d+1 k ) as h 0: In short: Loss of one order per differentiation. Stricter conditions on the differentiability of f compared to the interpolant. Berrut-Floater-Klein Convergence rates of r (k) (x) 20/28
34 Remarks In the important cases k = 1,2 the convergence rate of the k-th derivative is O(h d+1 k ) as h 0: In short: Loss of one order per differentiation. Stricter conditions on the differentiability of f compared to the interpolant. Berrut-Floater-Klein Convergence rates of r (k) (x) 20/28
35 Proof for the first derivative at the nodes The Newton error formula f (x) p i (x) = (x x i ) (x x i+d )[x i,x i+1,...,x i+d,x]f leads to e(x) = where after cancellation and n d i=0 λ i(x)(f (x) p i (x)) n d i=0 λ = A(x) i(x) B(x), n d A(x) := ( 1) i [x i,...,x i+d,x]f i=0 n d B(x) := λ i (x). i=0 Berrut-Floater-Klein Convergence rates of r (k) (x) 21/28
36 Proof for the first derivative at the nodes The Newton error formula f (x) p i (x) = (x x i ) (x x i+d )[x i,x i+1,...,x i+d,x]f leads to e(x) = where after cancellation and n d i=0 λ i(x)(f (x) p i (x)) n d i=0 λ = A(x) i(x) B(x), n d A(x) := ( 1) i [x i,...,x i+d,x]f i=0 n d B(x) := λ i (x). i=0 Berrut-Floater-Klein Convergence rates of r (k) (x) 21/28
37 Proof for the first derivative at the nodes The Newton error formula f (x) p i (x) = (x x i ) (x x i+d )[x i,x i+1,...,x i+d,x]f leads to e(x) = where after cancellation and n d i=0 λ i(x)(f (x) p i (x)) n d i=0 λ = A(x) i(x) B(x), n d A(x) := ( 1) i [x i,...,x i+d,x]f i=0 n d B(x) := λ i (x). i=0 Berrut-Floater-Klein Convergence rates of r (k) (x) 21/28
38 By definition and from the fact that e(x j ) = 0, we have Defining the functions where we see that e e(x) (x j ) = lim. x xj x x j B j (x) := i+d ( 1) i 1, x x k i I j C j (x) := i I \I j ( 1) i k=i k j i+d k=i 1 x x k, I = {0,1,...,n d} and I j = {i I : j d i j}, (x x j )B(x) = B j (x) + (x x j )C j (x). Berrut-Floater-Klein Convergence rates of r (k) (x) 22/28
39 By definition and from the fact that e(x j ) = 0, we have Defining the functions where we see that e e(x) (x j ) = lim. x xj x x j B j (x) := i+d ( 1) i 1, x x k i I j C j (x) := i I \I j ( 1) i k=i k j i+d k=i 1 x x k, I = {0,1,...,n d} and I j = {i I : j d i j}, (x x j )B(x) = B j (x) + (x x j )C j (x). Berrut-Floater-Klein Convergence rates of r (k) (x) 22/28
40 By definition and from the fact that e(x j ) = 0, we have Defining the functions where we see that e e(x) (x j ) = lim. x xj x x j B j (x) := i+d ( 1) i 1, x x k i I j C j (x) := i I \I j ( 1) i k=i k j i+d k=i 1 x x k, I = {0,1,...,n d} and I j = {i I : j d i j}, (x x j )B(x) = B j (x) + (x x j )C j (x). Berrut-Floater-Klein Convergence rates of r (k) (x) 22/28
41 We have now e(x) x x j = A(x) B j (x) + (x x j )C j (x), and taking the limit of both sides as x x j gives e (x j ) = A(x j) B j (x j ). Berrut-Floater-Klein Convergence rates of r (k) (x) 23/28
42 We have now e(x) x x j = A(x) B j (x) + (x x j )C j (x), and taking the limit of both sides as x x j gives e (x j ) = A(x j) B j (x j ). Berrut-Floater-Klein Convergence rates of r (k) (x) 23/28
43 With x = x j in B j (x), the products alternate in sign as ( 1) i does, so that all the terms in the sum have the same sign and B j (x j ) = i+d x j x k 1. i I j k=i k j Therefore, by choosing any i I j, we deduce that i+d 1 B j (x j ) k=i k j x j x k Ch d, i I j. On the other hand Floater and Hormann had already shown that A(x) C, x [a,b], whence the bound follows. Berrut-Floater-Klein Convergence rates of r (k) (x) 24/28
44 With x = x j in B j (x), the products alternate in sign as ( 1) i does, so that all the terms in the sum have the same sign and B j (x j ) = i+d x j x k 1. i I j k=i k j Therefore, by choosing any i I j, we deduce that i+d 1 B j (x j ) k=i k j x j x k Ch d, i I j. On the other hand Floater and Hormann had already shown that A(x) C, x [a,b], whence the bound follows. Berrut-Floater-Klein Convergence rates of r (k) (x) 24/28
45 With x = x j in B j (x), the products alternate in sign as ( 1) i does, so that all the terms in the sum have the same sign and B j (x j ) = i+d x j x k 1. i I j k=i k j Therefore, by choosing any i I j, we deduce that i+d 1 B j (x j ) k=i k j x j x k Ch d, i I j. On the other hand Floater and Hormann had already shown that A(x) C, x [a,b], whence the bound follows. Berrut-Floater-Klein Convergence rates of r (k) (x) 24/28
46 Numerical Berrut-Floater-Klein Convergence rates of r (k) (x) 25/28
47 Runge s function Table: Error in the interpolation and the derivatives of the rational interpolant of 1/(1 + x 2 ) for d = 3 Interpolation First derivative Second derivative n error order error order error order e e e e e e e e e e e e e e e e e e e e e Berrut-Floater-Klein Convergence rates of r (k) (x) 26/28
48 Runge s function Table: Error in the interpolation and the derivatives of the rational interpolant of 1/(1 + x 2 ) for d = 3 Interpolation First derivative Second derivative n error order error order error order e e e e e e e e e e e e e e e e e e e e e Berrut-Floater-Klein Convergence rates of r (k) (x) 26/28
49 Runge s function Table: Error in the interpolation and the derivatives of the rational interpolant of 1/(1 + x 2 ) for d = 3 Interpolation First derivative Second derivative n error order error order error order e e e e e e e e e e e e e e e e e e e e e Berrut-Floater-Klein Convergence rates of r (k) (x) 26/28
50 Comparison with cubic spline 10 0 FH d=3, cubic spline (spline toolbox) log(error) FH interpolant Cubic spline 1st derivative FH 1st derivative spline 2nd derivative FH 2nd derivative spline log(n) Berrut-Floater-Klein Convergence rates of r (k) (x) 27/28
51 Thank you for your attention! Berrut-Floater-Klein Convergence rates of r (k) (x) 28/28
The Condition of Linear Barycentric Rational Interpolation from Equispaced Samples
The Condition of Linear Barycentric Rational Interpolation from Equispaced Samples Georges Klein University of Fribourg (Switzerland) georges.klein@unifr.ch homeweb.unifr.ch/kleing/pub Vancouver, ICIAM,
More informationBarycentric rational interpolation with no poles and high rates of approximation
Barycentric rational interpolation with no poles and high rates of approximation Michael S. Floater Kai Hormann Abstract It is well known that rational interpolation sometimes gives better approximations
More informationOn the Lebesgue constant of barycentric rational interpolation at equidistant nodes
On the Lebesgue constant of barycentric rational interpolation at equidistant nodes by Len Bos, Stefano De Marchi, Kai Hormann and Georges Klein Report No. 0- May 0 Université de Fribourg (Suisse Département
More informationChebfun and equispaced data
Chebfun and equispaced data Georges Klein University of Oxford SIAM Annual Meeting, San Diego, July 12, 2013 Outline 1 1D Interpolation, Chebfun and equispaced data 2 3 (joint work with R. Platte) G. Klein
More informationChapter 2 Interpolation
Chapter 2 Interpolation Experiments usually produce a discrete set of data points (x i, f i ) which represent the value of a function f (x) for a finite set of arguments {x 0...x n }. If additional data
More informationJim Lambers MAT 460/560 Fall Semester Practice Final Exam
Jim Lambers MAT 460/560 Fall Semester 2009-10 Practice Final Exam 1. Let f(x) = sin 2x + cos 2x. (a) Write down the 2nd Taylor polynomial P 2 (x) of f(x) centered around x 0 = 0. (b) Write down the corresponding
More informationLecture 10 Polynomial interpolation
Lecture 10 Polynomial interpolation Weinan E 1,2 and Tiejun Li 2 1 Department of Mathematics, Princeton University, weinan@princeton.edu 2 School of Mathematical Sciences, Peking University, tieli@pku.edu.cn
More informationChapter 4: Interpolation and Approximation. October 28, 2005
Chapter 4: Interpolation and Approximation October 28, 2005 Outline 1 2.4 Linear Interpolation 2 4.1 Lagrange Interpolation 3 4.2 Newton Interpolation and Divided Differences 4 4.3 Interpolation Error
More informationScientific Computing
2301678 Scientific Computing Chapter 2 Interpolation and Approximation Paisan Nakmahachalasint Paisan.N@chula.ac.th Chapter 2 Interpolation and Approximation p. 1/66 Contents 1. Polynomial interpolation
More informationA first order divided difference
A first order divided difference For a given function f (x) and two distinct points x 0 and x 1, define f [x 0, x 1 ] = f (x 1) f (x 0 ) x 1 x 0 This is called the first order divided difference of f (x).
More information(0, 0), (1, ), (2, ), (3, ), (4, ), (5, ), (6, ).
1 Interpolation: The method of constructing new data points within the range of a finite set of known data points That is if (x i, y i ), i = 1, N are known, with y i the dependent variable and x i [x
More informationNovember 20, Interpolation, Extrapolation & Polynomial Approximation
Interpolation, Extrapolation & Polynomial Approximation November 20, 2016 Introduction In many cases we know the values of a function f (x) at a set of points x 1, x 2,..., x N, but we don t have the analytic
More informationLectures 9-10: Polynomial and piecewise polynomial interpolation
Lectures 9-1: Polynomial and piecewise polynomial interpolation Let f be a function, which is only known at the nodes x 1, x,, x n, ie, all we know about the function f are its values y j = f(x j ), j
More informationInverses. Stephen Boyd. EE103 Stanford University. October 28, 2017
Inverses Stephen Boyd EE103 Stanford University October 28, 2017 Outline Left and right inverses Inverse Solving linear equations Examples Pseudo-inverse Left and right inverses 2 Left inverses a number
More informationChordal cubic spline interpolation is fourth order accurate
Chordal cubic spline interpolation is fourth order accurate Michael S. Floater Abstract: It is well known that complete cubic spline interpolation of functions with four continuous derivatives is fourth
More informationInput: A set (x i -yy i ) data. Output: Function value at arbitrary point x. What for x = 1.2?
Applied Numerical Analysis Interpolation Lecturer: Emad Fatemizadeh Interpolation Input: A set (x i -yy i ) data. Output: Function value at arbitrary point x. 0 1 4 1-3 3 9 What for x = 1.? Interpolation
More informationFinite Elements. Colin Cotter. January 18, Colin Cotter FEM
Finite Elements January 18, 2019 The finite element Given a triangulation T of a domain Ω, finite element spaces are defined according to 1. the form the functions take (usually polynomial) when restricted
More informationChapter 3 Interpolation and Polynomial Approximation
Chapter 3 Interpolation and Polynomial Approximation Per-Olof Persson persson@berkeley.edu Department of Mathematics University of California, Berkeley Math 128A Numerical Analysis Polynomial Interpolation
More informationWe consider the problem of finding a polynomial that interpolates a given set of values:
Chapter 5 Interpolation 5. Polynomial Interpolation We consider the problem of finding a polynomial that interpolates a given set of values: x x 0 x... x n y y 0 y... y n where the x i are all distinct.
More information2
1 Notes for Numerical Analysis Math 54 by S. Adjerid Virginia Polytechnic Institute and State University (A Rough Draft) 2 Contents 1 Polynomial Interpolation 5 1.1 Review...............................
More informationMTH5112 Linear Algebra I MTH5212 Applied Linear Algebra (2017/2018)
MTH5112 Linear Algebra I MTH5212 Applied Linear Algebra (2017/2018) COURSEWORK 3 SOLUTIONS Exercise ( ) 1. (a) Write A = (a ij ) n n and B = (b ij ) n n. Since A and B are diagonal, we have a ij = 0 and
More informationBSM510 Numerical Analysis
BSM510 Numerical Analysis Polynomial Interpolation Prof. Manar Mohaisen Department of EEC Engineering Review of Precedent Lecture Polynomial Regression Multiple Linear Regression Nonlinear Regression Lecture
More informationNumerical Analysis: Interpolation Part 1
Numerical Analysis: Interpolation Part 1 Computer Science, Ben-Gurion University (slides based mostly on Prof. Ben-Shahar s notes) 2018/2019, Fall Semester BGU CS Interpolation (ver. 1.00) AY 2018/2019,
More informationHermite Interpolation
Jim Lambers MAT 77 Fall Semester 010-11 Lecture Notes These notes correspond to Sections 4 and 5 in the text Hermite Interpolation Suppose that the interpolation points are perturbed so that two neighboring
More informationyou expect to encounter difficulties when trying to solve A x = b? 4. A composite quadrature rule has error associated with it in the following form
Qualifying exam for numerical analysis (Spring 2017) Show your work for full credit. If you are unable to solve some part, attempt the subsequent parts. 1. Consider the following finite difference: f (0)
More informationLegendre s Equation. PHYS Southern Illinois University. October 18, 2016
Legendre s Equation PHYS 500 - Southern Illinois University October 18, 2016 PHYS 500 - Southern Illinois University Legendre s Equation October 18, 2016 1 / 11 Legendre s Equation Recall We are trying
More informationCOURSE Numerical integration of functions
COURSE 6 3. Numerical integration of functions The need: for evaluating definite integrals of functions that has no explicit antiderivatives or whose antiderivatives are not easy to obtain. Let f : [a,
More informationInterpolation. Escuela de Ingeniería Informática de Oviedo. (Dpto. de Matemáticas-UniOvi) Numerical Computation Interpolation 1 / 34
Interpolation Escuela de Ingeniería Informática de Oviedo (Dpto. de Matemáticas-UniOvi) Numerical Computation Interpolation 1 / 34 Outline 1 Introduction 2 Lagrange interpolation 3 Piecewise polynomial
More informationThe numerical stability of barycentric Lagrange interpolation
IMA Journal of Numerical Analysis (2004) 24, 547 556 The numerical stability of barycentric Lagrange interpolation NICHOLAS J. HIGHAM Department of Mathematics, University of Manchester, Manchester M13
More informationLecture Note 3: Interpolation and Polynomial Approximation. Xiaoqun Zhang Shanghai Jiao Tong University
Lecture Note 3: Interpolation and Polynomial Approximation Xiaoqun Zhang Shanghai Jiao Tong University Last updated: October 10, 2015 2 Contents 1.1 Introduction................................ 3 1.1.1
More informationInterpolation Theory
Numerical Analysis Massoud Malek Interpolation Theory The concept of interpolation is to select a function P (x) from a given class of functions in such a way that the graph of y P (x) passes through the
More informationMath 4310 Solutions to homework 7 Due 10/27/16
Math 4310 Solutions to homework 7 Due 10/27/16 1. Find the gcd of x 3 + x 2 + x + 1 and x 5 + 2x 3 + x 2 + x + 1 in Rx. Use the Euclidean algorithm: x 5 + 2x 3 + x 2 + x + 1 = (x 3 + x 2 + x + 1)(x 2 x
More informationLecture 1 INF-MAT3350/ : Some Tridiagonal Matrix Problems
Lecture 1 INF-MAT3350/4350 2007: Some Tridiagonal Matrix Problems Tom Lyche University of Oslo Norway Lecture 1 INF-MAT3350/4350 2007: Some Tridiagonal Matrix Problems p.1/33 Plan for the day 1. Notation
More informationGeometric Interpolation by Planar Cubic Polynomials
1 / 20 Geometric Interpolation by Planar Cubic Polynomials Jernej Kozak, Marjeta Krajnc Faculty of Mathematics and Physics University of Ljubljana Institute of Mathematics, Physics and Mechanics Avignon,
More informationEmpirical Models Interpolation Polynomial Models
Mathematical Modeling Lia Vas Empirical Models Interpolation Polynomial Models Lagrange Polynomial. Recall that two points (x 1, y 1 ) and (x 2, y 2 ) determine a unique line y = ax + b passing them (obtained
More informationCOMMUTATIVE PRESEMIFIELDS AND SEMIFIELDS
COMMUTATIVE PRESEMIFIELDS AND SEMIFIELDS ROBERT S. COULTER AND MARIE HENDERSON Abstract. Strong conditions are derived for when two commutative presemifields are isotopic. It is then shown that any commutative
More information1. Nonlinear Equations. This lecture note excerpted parts from Michael Heath and Max Gunzburger. f(x) = 0
Numerical Analysis 1 1. Nonlinear Equations This lecture note excerpted parts from Michael Heath and Max Gunzburger. Given function f, we seek value x for which where f : D R n R n is nonlinear. f(x) =
More informationTwo hours. To be provided by Examinations Office: Mathematical Formula Tables. THE UNIVERSITY OF MANCHESTER. 29 May :45 11:45
Two hours MATH20602 To be provided by Examinations Office: Mathematical Formula Tables. THE UNIVERSITY OF MANCHESTER NUMERICAL ANALYSIS 1 29 May 2015 9:45 11:45 Answer THREE of the FOUR questions. If more
More informationLecture Note 3: Polynomial Interpolation. Xiaoqun Zhang Shanghai Jiao Tong University
Lecture Note 3: Polynomial Interpolation Xiaoqun Zhang Shanghai Jiao Tong University Last updated: October 24, 2013 1.1 Introduction We first look at some examples. Lookup table for f(x) = 2 π x 0 e x2
More informationApplied Math for Engineers
Applied Math for Engineers Ming Zhong Lecture 15 March 28, 2018 Ming Zhong (JHU) AMS Spring 2018 1 / 28 Recap Table of Contents 1 Recap 2 Numerical ODEs: Single Step Methods 3 Multistep Methods 4 Method
More informationNote on Newton Interpolation Formula
Int. Journal of Math. Analysis, Vol. 6, 2012, no. 50, 2459-2465 Note on Newton Interpolation Formula Ramesh Kumar Muthumalai Department of Mathematics D.G. Vaishnav College, Arumbaam Chennai-600106, Tamilnadu,
More informationA chain rule for multivariate divided differences
A chain rule for multivariate divided differences Michael S. Floater Abstract In this paper we derive a formula for divided differences of composite functions of several variables with respect to rectangular
More informationFourth Order RK-Method
Fourth Order RK-Method The most commonly used method is Runge-Kutta fourth order method. The fourth order RK-method is y i+1 = y i + 1 6 (k 1 + 2k 2 + 2k 3 + k 4 ), Ordinary Differential Equations (ODE)
More informationOn the positivity of linear weights in WENO approximations. Abstract
On the positivity of linear weights in WENO approximations Yuanyuan Liu, Chi-Wang Shu and Mengping Zhang 3 Abstract High order accurate weighted essentially non-oscillatory (WENO) schemes have been used
More information3.1 Interpolation and the Lagrange Polynomial
MATH 4073 Chapter 3 Interpolation and Polynomial Approximation Fall 2003 1 Consider a sample x x 0 x 1 x n y y 0 y 1 y n. Can we get a function out of discrete data above that gives a reasonable estimate
More informationSome notes on Chapter 8: Polynomial and Piecewise-polynomial Interpolation
Some notes on Chapter 8: Polynomial and Piecewise-polynomial Interpolation See your notes. 1. Lagrange Interpolation (8.2) 1 2. Newton Interpolation (8.3) different form of the same polynomial as Lagrange
More informationCubic Splines MATH 375. J. Robert Buchanan. Fall Department of Mathematics. J. Robert Buchanan Cubic Splines
Cubic Splines MATH 375 J. Robert Buchanan Department of Mathematics Fall 2006 Introduction Given data {(x 0, f(x 0 )), (x 1, f(x 1 )),...,(x n, f(x n ))} which we wish to interpolate using a polynomial...
More information1 Review of Interpolation using Cubic Splines
cs412: introduction to numerical analysis 10/10/06 Lecture 12: Instructor: Professor Amos Ron Cubic Hermite Spline Interpolation Scribes: Yunpeng Li, Mark Cowlishaw 1 Review of Interpolation using Cubic
More information8.3 Numerical Quadrature, Continued
8.3 Numerical Quadrature, Continued Ulrich Hoensch Friday, October 31, 008 Newton-Cotes Quadrature General Idea: to approximate the integral I (f ) of a function f : [a, b] R, use equally spaced nodes
More informationx x2 2 + x3 3 x4 3. Use the divided-difference method to find a polynomial of least degree that fits the values shown: (b)
Numerical Methods - PROBLEMS. The Taylor series, about the origin, for log( + x) is x x2 2 + x3 3 x4 4 + Find an upper bound on the magnitude of the truncation error on the interval x.5 when log( + x)
More informationNonlinear Stationary Subdivision
Nonlinear Stationary Subdivision Michael S. Floater SINTEF P. O. Box 4 Blindern, 034 Oslo, Norway E-mail: michael.floater@math.sintef.no Charles A. Micchelli IBM Corporation T.J. Watson Research Center
More informationQ1. Discuss, compare and contrast various curve fitting and interpolation methods
Q1. Discuss, compare and contrast various curve fitting and interpolation methods McMaster University 1 Curve Fitting Problem statement: Given a set of (n + 1) point-pairs {x i,y i }, i = 0,1,... n, find
More information1 Lecture 8: Interpolating polynomials.
1 Lecture 8: Interpolating polynomials. 1.1 Horner s method Before turning to the main idea of this part of the course, we consider how to evaluate a polynomial. Recall that a polynomial is an expression
More informationA rational interpolation scheme with super-polynomial rate of convergence
Center for Turbulence Research Annual Research Briefs 2008 31 A rational interpolation scheme with super-polynomial rate of convergence By Q. Wang, P. Moin AND G. Iaccarino 1. Motivation and objectives
More informationPreliminary Examination in Numerical Analysis
Department of Applied Mathematics Preliminary Examination in Numerical Analysis August 7, 06, 0 am pm. Submit solutions to four (and no more) of the following six problems. Show all your work, and justify
More informationLecture 1 INF-MAT : Chapter 2. Examples of Linear Systems
Lecture 1 INF-MAT 4350 2010: Chapter 2. Examples of Linear Systems Tom Lyche Centre of Mathematics for Applications, Department of Informatics, University of Oslo August 26, 2010 Notation The set of natural
More informationOn the usage of lines in GC n sets
On the usage of lines in GC n sets Hakop Hakopian, Vahagn Vardanyan arxiv:1807.08182v3 [math.co] 16 Aug 2018 Abstract A planar node set X, with X = ( ) n+2 2 is called GCn set if each node possesses fundamental
More informationMath /Foundations of Algebra/Fall 2017 Numbers at the Foundations: Real Numbers In calculus, the derivative of a function f(x) is defined
Math 400-001/Foundations of Algebra/Fall 2017 Numbers at the Foundations: Real Numbers In calculus, the derivative of a function f(x) is defined using limits. As a particular case, the derivative of f(x)
More informationSPLINE INTERPOLATION
Spline Background SPLINE INTERPOLATION Problem: high degree interpolating polynomials often have extra oscillations. Example: Runge function f(x = 1 1+4x 2, x [ 1, 1]. 1 1/(1+4x 2 and P 8 (x and P 16 (x
More informationS56 (5.1) Polynomials.notebook August 25, 2016
Q1. Simplify Daily Practice 28.6.2016 Q2. Evaluate Today we will be learning about Polynomials. Q3. Write in completed square form x 2 + 4x + 7 Q4. State the equation of the line joining (0, 3) and (4,
More informationGauss s Theorem. Theorem: Suppose R is a U.F.D.. Then R[x] is a U.F.D. To show this we need to constuct some discrete valuations of R.
Gauss s Theorem Theorem: Suppose R is a U.F.D.. Then R[x] is a U.F.D. To show this we need to constuct some discrete valuations of R. Proposition: Suppose R is a U.F.D. and that π is an irreducible element
More informationPolynomials. p n (x) = a n x n + a n 1 x n 1 + a 1 x + a 0, where
Polynomials Polynomials Evaluation of polynomials involve only arithmetic operations, which can be done on today s digital computers. We consider polynomials with real coefficients and real variable. p
More informationCOURSE Iterative methods for solving linear systems
COURSE 0 4.3. Iterative methods for solving linear systems Because of round-off errors, direct methods become less efficient than iterative methods for large systems (>00 000 variables). An iterative scheme
More informationIntroduction Linear system Nonlinear equation Interpolation
Interpolation Interpolation is the process of estimating an intermediate value from a set of discrete or tabulated values. Suppose we have the following tabulated values: y y 0 y 1 y 2?? y 3 y 4 y 5 x
More informationMathematical Olympiad Training Polynomials
Mathematical Olympiad Training Polynomials Definition A polynomial over a ring R(Z, Q, R, C) in x is an expression of the form p(x) = a n x n + a n 1 x n 1 + + a 1 x + a 0, a i R, for 0 i n. If a n 0,
More informationData Analysis-I. Interpolation. Soon-Hyung Yook. December 4, Soon-Hyung Yook Data Analysis-I December 4, / 1
Data Analysis-I Interpolation Soon-Hyung Yook December 4, 2015 Soon-Hyung Yook Data Analysis-I December 4, 2015 1 / 1 Table of Contents Soon-Hyung Yook Data Analysis-I December 4, 2015 2 / 1 Introduction
More informationSOLVED PROBLEMS ON TAYLOR AND MACLAURIN SERIES
SOLVED PROBLEMS ON TAYLOR AND MACLAURIN SERIES TAYLOR AND MACLAURIN SERIES Taylor Series of a function f at x = a is ( f k )( a) ( x a) k k! It is a Power Series centered at a. Maclaurin Series of a function
More informationLECTURE 16 GAUSS QUADRATURE In general for Newton-Cotes (equispaced interpolation points/ data points/ integration points/ nodes).
CE 025 - Lecture 6 LECTURE 6 GAUSS QUADRATURE In general for ewton-cotes (equispaced interpolation points/ data points/ integration points/ nodes). x E x S fx dx hw' o f o + w' f + + w' f + E 84 f 0 f
More informationUNIT-II INTERPOLATION & APPROXIMATION
UNIT-II INTERPOLATION & APPROXIMATION LAGRANGE POLYNAMIAL 1. Find the polynomial by using Lagrange s formula and hence find for : 0 1 2 5 : 2 3 12 147 : 0 1 2 5 : 0 3 12 147 Lagrange s interpolation formula,
More informationis equal to = 3 2 x, if x < 0 f (0) = lim h = 0. Therefore f exists and is continuous at 0.
Madhava Mathematics Competition January 6, 2013 Solutions and scheme of marking Part I N.B. Each question in Part I carries 2 marks. p(k + 1) 1. If p(x) is a non-constant polynomial, then lim k p(k) (a)
More informationSMOOTH APPROXIMATION OF DATA WITH APPLICATIONS TO INTERPOLATING AND SMOOTHING. Karel Segeth Institute of Mathematics, Academy of Sciences, Prague
SMOOTH APPROXIMATION OF DATA WITH APPLICATIONS TO INTERPOLATING AND SMOOTHING Karel Segeth Institute of Mathematics, Academy of Sciences, Prague CONTENTS The problem of interpolating and smoothing Smooth
More informationMath 489AB Exercises for Chapter 2 Fall Section 2.3
Math 489AB Exercises for Chapter 2 Fall 2008 Section 2.3 2.3.3. Let A M n (R). Then the eigenvalues of A are the roots of the characteristic polynomial p A (t). Since A is real, p A (t) is a polynomial
More informationComputational Physics
Interpolation, Extrapolation & Polynomial Approximation Lectures based on course notes by Pablo Laguna and Kostas Kokkotas revamped by Deirdre Shoemaker Spring 2014 Introduction In many cases, a function
More informationSolutions to Assignment 1
Solutions to Assignment 1 Question 1. [Exercises 1.1, # 6] Use the division algorithm to prove that every odd integer is either of the form 4k + 1 or of the form 4k + 3 for some integer k. For each positive
More informationNew algebraic decoding method for the (41, 21,9) quadratic residue code
New algebraic decoding method for the (41, 21,9) quadratic residue code Mohammed M. Al-Ashker a, Ramez Al.Shorbassi b a Department of Mathematics Islamic University of Gaza, Palestine b Ministry of education,
More informationPolynomial evaluation and interpolation on special sets of points
Polynomial evaluation and interpolation on special sets of points Alin Bostan and Éric Schost Laboratoire STIX, École polytechnique, 91128 Palaiseau, France Abstract We give complexity estimates for the
More informationCubic Splines. Antony Jameson. Department of Aeronautics and Astronautics, Stanford University, Stanford, California, 94305
Cubic Splines Antony Jameson Department of Aeronautics and Astronautics, Stanford University, Stanford, California, 94305 1 References on splines 1. J. H. Ahlberg, E. N. Nilson, J. H. Walsh. Theory of
More informationIntroductory Numerical Analysis
Introductory Numerical Analysis Lecture Notes December 16, 017 Contents 1 Introduction to 1 11 Floating Point Numbers 1 1 Computational Errors 13 Algorithm 3 14 Calculus Review 3 Root Finding 5 1 Bisection
More informationIn practice one often meets a situation where the function of interest, f(x), is only represented by a discrete set of tabulated points,
1 Interpolation 11 Introduction In practice one often meets a situation where the function of interest, f(x), is only represented by a discrete set of tabulated points, {x i, y i = f(x i ) i = 1 n, obtained,
More informationMath 312/ AMS 351 (Fall 17) Sample Questions for Final
Math 312/ AMS 351 (Fall 17) Sample Questions for Final 1. Solve the system of equations 2x 1 mod 3 x 2 mod 7 x 7 mod 8 First note that the inverse of 2 is 2 mod 3. Thus, the first equation becomes (multiply
More informationCurve Fitting and Interpolation
Chapter 5 Curve Fitting and Interpolation 5.1 Basic Concepts Consider a set of (x, y) data pairs (points) collected during an experiment, Curve fitting: is a procedure to develop or evaluate mathematical
More informationApproximation theory
Approximation theory Xiaojing Ye, Math & Stat, Georgia State University Spring 2019 Numerical Analysis II Xiaojing Ye, Math & Stat, Georgia State University 1 1 1.3 6 8.8 2 3.5 7 10.1 Least 3squares 4.2
More informationMath 473: Practice Problems for Test 1, Fall 2011, SOLUTIONS
Math 473: Practice Problems for Test 1, Fall 011, SOLUTIONS Show your work: 1. (a) Compute the Taylor polynomials P n (x) for f(x) = sin x and x 0 = 0. Solution: Compute f(x) = sin x, f (x) = cos x, f
More informationHILBERT FUNCTIONS. 1. Introduction
HILBERT FUCTIOS JORDA SCHETTLER 1. Introduction A Hilbert function (so far as we will discuss) is a map from the nonnegative integers to themselves which records the lengths of composition series of each
More informationInterpolation. Chapter Interpolation. 7.2 Existence, Uniqueness and conditioning
76 Chapter 7 Interpolation 7.1 Interpolation Definition 7.1.1. Interpolation of a given function f defined on an interval [a,b] by a polynomial p: Given a set of specified points {(t i,y i } n with {t
More informationMathematics for Engineers. Numerical mathematics
Mathematics for Engineers Numerical mathematics Integers Determine the largest representable integer with the intmax command. intmax ans = int32 2147483647 2147483647+1 ans = 2.1475e+09 Remark The set
More informationInterpolation via Barycentric Coordinates
Interpolation via Barycentric Coordinates Pierre Alliez Inria Some material from D. Anisimov Outline Barycenter Convexity Barycentric coordinates For Simplices For point sets Inverse distance (Shepard)
More informationMath 201C Homework. Edward Burkard. g 1 (u) v + f 2(u) g 2 (u) v2 + + f n(u) a 2,k u k v a 1,k u k v + k=0. k=0 d
Math 201C Homework Edward Burkard 5.1. Field Extensions. 5. Fields and Galois Theory Exercise 5.1.7. If v is algebraic over K(u) for some u F and v is transcendental over K, then u is algebraic over K(v).
More informationUniversity of Houston, Department of Mathematics Numerical Analysis, Fall 2005
4 Interpolation 4.1 Polynomial interpolation Problem: LetP n (I), n ln, I := [a,b] lr, be the linear space of polynomials of degree n on I, P n (I) := { p n : I lr p n (x) = n i=0 a i x i, a i lr, 0 i
More informationCHAPTER 4. Interpolation
CHAPTER 4 Interpolation 4.1. Introduction We will cover sections 4.1 through 4.12 in the book. Read section 4.1 in the book on your own. The basic problem of one-dimensional interpolation is this: Given
More informationNewton s Method and Linear Approximations
Newton s Method and Linear Approximations Curves are tricky. Lines aren t. Newton s Method and Linear Approximations Newton s Method for finding roots Goal: Where is f (x) = 0? f (x) = x 7 + 3x 3 + 7x
More informationThe Kernel Trick. Robert M. Haralick. Computer Science, Graduate Center City University of New York
The Kernel Trick Robert M. Haralick Computer Science, Graduate Center City University of New York Outline SVM Classification < (x 1, c 1 ),..., (x Z, c Z ) > is the training data c 1,..., c Z { 1, 1} specifies
More informationCHAPTER 3 Further properties of splines and B-splines
CHAPTER 3 Further properties of splines and B-splines In Chapter 2 we established some of the most elementary properties of B-splines. In this chapter our focus is on the question What kind of functions
More informationExam 2. Average: 85.6 Median: 87.0 Maximum: Minimum: 55.0 Standard Deviation: Numerical Methods Fall 2011 Lecture 20
Exam 2 Average: 85.6 Median: 87.0 Maximum: 100.0 Minimum: 55.0 Standard Deviation: 10.42 Fall 2011 1 Today s class Multiple Variable Linear Regression Polynomial Interpolation Lagrange Interpolation Newton
More informationMA2501 Numerical Methods Spring 2015
Norwegian University of Science and Technology Department of Mathematics MA5 Numerical Methods Spring 5 Solutions to exercise set 9 Find approximate values of the following integrals using the adaptive
More informationH 2, Numerical Algorithms 5 (1993)
List of publications Jean Paul Berrut Refereed: [1] Baryzentrische Formeln zur trigonometrischen Interpolation (I), J. Appl. Math. Phys. (ZAMP) 35 (1984) 91 105. [2] Baryzentrische Formeln zur trigonometrischen
More informationCS 257: Numerical Methods
CS 57: Numerical Methods Final Exam Study Guide Version 1.00 Created by Charles Feng http://www.fenguin.net CS 57: Numerical Methods Final Exam Study Guide 1 Contents 1 Introductory Matter 3 1.1 Calculus
More informationNonparametric Regression. Badr Missaoui
Badr Missaoui Outline Kernel and local polynomial regression. Penalized regression. We are given n pairs of observations (X 1, Y 1 ),...,(X n, Y n ) where Y i = r(x i ) + ε i, i = 1,..., n and r(x) = E(Y
More informationSelected Math 553 Homework Solutions
Selected Math 553 Homework Solutions HW6, 1. Let α and β be rational numbers, with α 1/2, and let m > 0 be an integer such that α 2 mβ 2 = 1 δ where 0 δ < 1. Set ǫ:= 1 if α 0 and 1 if α < 0. Show that
More informationSymmetric functions and the Vandermonde matrix
J ournal of Computational and Applied Mathematics 172 (2004) 49-64 Symmetric functions and the Vandermonde matrix Halil Oruç, Hakan K. Akmaz Department of Mathematics, Dokuz Eylül University Fen Edebiyat
More information