Interpolation & Polynomial Approximation [0.125in]3.625in0 ... · IntroductionNotationNewton’s...
Transcript of Interpolation & Polynomial Approximation [0.125in]3.625in0 ... · IntroductionNotationNewton’s...
![Page 1: Interpolation & Polynomial Approximation [0.125in]3.625in0 ... · IntroductionNotationNewton’s Polynomial Outline 1 Introduction to Divided Differences 2 The Divided Difference](https://reader033.fdocuments.in/reader033/viewer/2022042709/5f5234d7ff877a36963dc70c/html5/thumbnails/1.jpg)
Interpolation & Polynomial Approximation
Divided Differences: A Brief Introduction
Numerical Analysis (9th Edition)R L Burden & J D Faires
Beamer Presentation Slidesprepared byJohn Carroll
Dublin City University
c© 2011 Brooks/Cole, Cengage Learning
![Page 2: Interpolation & Polynomial Approximation [0.125in]3.625in0 ... · IntroductionNotationNewton’s Polynomial Outline 1 Introduction to Divided Differences 2 The Divided Difference](https://reader033.fdocuments.in/reader033/viewer/2022042709/5f5234d7ff877a36963dc70c/html5/thumbnails/2.jpg)
Introduction Notation Newton’s Polynomial
Outline
1 Introduction to Divided Differences
2 The Divided Difference Notation
3 Newton’s Divided Difference Interpolating Polynomial
Numerical Analysis 9 (Chapter 3) Divided Differences: A Brief Introduction John Carroll, DCU 2 / 16
![Page 3: Interpolation & Polynomial Approximation [0.125in]3.625in0 ... · IntroductionNotationNewton’s Polynomial Outline 1 Introduction to Divided Differences 2 The Divided Difference](https://reader033.fdocuments.in/reader033/viewer/2022042709/5f5234d7ff877a36963dc70c/html5/thumbnails/3.jpg)
Introduction Notation Newton’s Polynomial
Outline
1 Introduction to Divided Differences
2 The Divided Difference Notation
3 Newton’s Divided Difference Interpolating Polynomial
Numerical Analysis 9 (Chapter 3) Divided Differences: A Brief Introduction John Carroll, DCU 2 / 16
![Page 4: Interpolation & Polynomial Approximation [0.125in]3.625in0 ... · IntroductionNotationNewton’s Polynomial Outline 1 Introduction to Divided Differences 2 The Divided Difference](https://reader033.fdocuments.in/reader033/viewer/2022042709/5f5234d7ff877a36963dc70c/html5/thumbnails/4.jpg)
Introduction Notation Newton’s Polynomial
Outline
1 Introduction to Divided Differences
2 The Divided Difference Notation
3 Newton’s Divided Difference Interpolating Polynomial
Numerical Analysis 9 (Chapter 3) Divided Differences: A Brief Introduction John Carroll, DCU 2 / 16
![Page 5: Interpolation & Polynomial Approximation [0.125in]3.625in0 ... · IntroductionNotationNewton’s Polynomial Outline 1 Introduction to Divided Differences 2 The Divided Difference](https://reader033.fdocuments.in/reader033/viewer/2022042709/5f5234d7ff877a36963dc70c/html5/thumbnails/5.jpg)
Introduction Notation Newton’s Polynomial
Outline
1 Introduction to Divided Differences
2 The Divided Difference Notation
3 Newton’s Divided Difference Interpolating Polynomial
Numerical Analysis 9 (Chapter 3) Divided Differences: A Brief Introduction John Carroll, DCU 3 / 16
![Page 6: Interpolation & Polynomial Approximation [0.125in]3.625in0 ... · IntroductionNotationNewton’s Polynomial Outline 1 Introduction to Divided Differences 2 The Divided Difference](https://reader033.fdocuments.in/reader033/viewer/2022042709/5f5234d7ff877a36963dc70c/html5/thumbnails/6.jpg)
Introduction Notation Newton’s Polynomial
Introduction to Divided Differences
A new algebraic representation for Pn(x)
Suppose that Pn(x) is the nth Lagrange polynomial that agreeswith the function f at the distinct numbers x0, x1, . . . , xn.Although this polynomial is unique, there are alternate algebraicrepresentations that are useful in certain situations.The divided differences of f with respect to x0, x1, . . . , xn are usedto express Pn(x) in the form
Pn(x) = a0+a1(x−x0)+a2(x−x0)(x−x1)+· · ·+an(x−x0) · · · (x−xn−1)
for appropriate constants a0,a1, . . . ,an.
Numerical Analysis 9 (Chapter 3) Divided Differences: A Brief Introduction John Carroll, DCU 4 / 16
![Page 7: Interpolation & Polynomial Approximation [0.125in]3.625in0 ... · IntroductionNotationNewton’s Polynomial Outline 1 Introduction to Divided Differences 2 The Divided Difference](https://reader033.fdocuments.in/reader033/viewer/2022042709/5f5234d7ff877a36963dc70c/html5/thumbnails/7.jpg)
Introduction Notation Newton’s Polynomial
Introduction to Divided Differences
A new algebraic representation for Pn(x)
Suppose that Pn(x) is the nth Lagrange polynomial that agreeswith the function f at the distinct numbers x0, x1, . . . , xn.
Although this polynomial is unique, there are alternate algebraicrepresentations that are useful in certain situations.The divided differences of f with respect to x0, x1, . . . , xn are usedto express Pn(x) in the form
Pn(x) = a0+a1(x−x0)+a2(x−x0)(x−x1)+· · ·+an(x−x0) · · · (x−xn−1)
for appropriate constants a0,a1, . . . ,an.
Numerical Analysis 9 (Chapter 3) Divided Differences: A Brief Introduction John Carroll, DCU 4 / 16
![Page 8: Interpolation & Polynomial Approximation [0.125in]3.625in0 ... · IntroductionNotationNewton’s Polynomial Outline 1 Introduction to Divided Differences 2 The Divided Difference](https://reader033.fdocuments.in/reader033/viewer/2022042709/5f5234d7ff877a36963dc70c/html5/thumbnails/8.jpg)
Introduction Notation Newton’s Polynomial
Introduction to Divided Differences
A new algebraic representation for Pn(x)
Suppose that Pn(x) is the nth Lagrange polynomial that agreeswith the function f at the distinct numbers x0, x1, . . . , xn.Although this polynomial is unique, there are alternate algebraicrepresentations that are useful in certain situations.
The divided differences of f with respect to x0, x1, . . . , xn are usedto express Pn(x) in the form
Pn(x) = a0+a1(x−x0)+a2(x−x0)(x−x1)+· · ·+an(x−x0) · · · (x−xn−1)
for appropriate constants a0,a1, . . . ,an.
Numerical Analysis 9 (Chapter 3) Divided Differences: A Brief Introduction John Carroll, DCU 4 / 16
![Page 9: Interpolation & Polynomial Approximation [0.125in]3.625in0 ... · IntroductionNotationNewton’s Polynomial Outline 1 Introduction to Divided Differences 2 The Divided Difference](https://reader033.fdocuments.in/reader033/viewer/2022042709/5f5234d7ff877a36963dc70c/html5/thumbnails/9.jpg)
Introduction Notation Newton’s Polynomial
Introduction to Divided Differences
A new algebraic representation for Pn(x)
Suppose that Pn(x) is the nth Lagrange polynomial that agreeswith the function f at the distinct numbers x0, x1, . . . , xn.Although this polynomial is unique, there are alternate algebraicrepresentations that are useful in certain situations.The divided differences of f with respect to x0, x1, . . . , xn are usedto express Pn(x) in the form
Pn(x) = a0+a1(x−x0)+a2(x−x0)(x−x1)+· · ·+an(x−x0) · · · (x−xn−1)
for appropriate constants a0,a1, . . . ,an.
Numerical Analysis 9 (Chapter 3) Divided Differences: A Brief Introduction John Carroll, DCU 4 / 16
![Page 10: Interpolation & Polynomial Approximation [0.125in]3.625in0 ... · IntroductionNotationNewton’s Polynomial Outline 1 Introduction to Divided Differences 2 The Divided Difference](https://reader033.fdocuments.in/reader033/viewer/2022042709/5f5234d7ff877a36963dc70c/html5/thumbnails/10.jpg)
Introduction Notation Newton’s Polynomial
Introduction to Divided Differences
Pn(x) = a0+a1(x−x0)+a2(x−x0)(x−x1)+· · ·+an(x−x0) · · · (x−xn−1)
To determine the first of these constants, a0, note that if Pn(x) iswritten in the form of the above equation, then evaluating Pn(x) atx0 leaves only the constant term a0; that is,
a0 = Pn(x0) = f (x0)
Similarly, when P(x) is evaluated at x1, the only nonzero terms inthe evaluation of Pn(x1) are the constant and linear terms,
f (x0) + a1(x1 − x0) = Pn(x1) = f (x1)
⇒ a1 =f (x1)− f (x0)
x1 − x0
Numerical Analysis 9 (Chapter 3) Divided Differences: A Brief Introduction John Carroll, DCU 5 / 16
![Page 11: Interpolation & Polynomial Approximation [0.125in]3.625in0 ... · IntroductionNotationNewton’s Polynomial Outline 1 Introduction to Divided Differences 2 The Divided Difference](https://reader033.fdocuments.in/reader033/viewer/2022042709/5f5234d7ff877a36963dc70c/html5/thumbnails/11.jpg)
Introduction Notation Newton’s Polynomial
Introduction to Divided Differences
Pn(x) = a0+a1(x−x0)+a2(x−x0)(x−x1)+· · ·+an(x−x0) · · · (x−xn−1)
To determine the first of these constants, a0, note that if Pn(x) iswritten in the form of the above equation, then evaluating Pn(x) atx0 leaves only the constant term a0; that is,
a0 = Pn(x0) = f (x0)
Similarly, when P(x) is evaluated at x1, the only nonzero terms inthe evaluation of Pn(x1) are the constant and linear terms,
f (x0) + a1(x1 − x0) = Pn(x1) = f (x1)
⇒ a1 =f (x1)− f (x0)
x1 − x0
Numerical Analysis 9 (Chapter 3) Divided Differences: A Brief Introduction John Carroll, DCU 5 / 16
![Page 12: Interpolation & Polynomial Approximation [0.125in]3.625in0 ... · IntroductionNotationNewton’s Polynomial Outline 1 Introduction to Divided Differences 2 The Divided Difference](https://reader033.fdocuments.in/reader033/viewer/2022042709/5f5234d7ff877a36963dc70c/html5/thumbnails/12.jpg)
Introduction Notation Newton’s Polynomial
Introduction to Divided Differences
Pn(x) = a0+a1(x−x0)+a2(x−x0)(x−x1)+· · ·+an(x−x0) · · · (x−xn−1)
To determine the first of these constants, a0, note that if Pn(x) iswritten in the form of the above equation, then evaluating Pn(x) atx0 leaves only the constant term a0; that is,
a0 = Pn(x0) = f (x0)
Similarly, when P(x) is evaluated at x1, the only nonzero terms inthe evaluation of Pn(x1) are the constant and linear terms,
f (x0) + a1(x1 − x0) = Pn(x1) = f (x1)
⇒ a1 =f (x1)− f (x0)
x1 − x0Numerical Analysis 9 (Chapter 3) Divided Differences: A Brief Introduction John Carroll, DCU 5 / 16
![Page 13: Interpolation & Polynomial Approximation [0.125in]3.625in0 ... · IntroductionNotationNewton’s Polynomial Outline 1 Introduction to Divided Differences 2 The Divided Difference](https://reader033.fdocuments.in/reader033/viewer/2022042709/5f5234d7ff877a36963dc70c/html5/thumbnails/13.jpg)
Introduction Notation Newton’s Polynomial
Outline
1 Introduction to Divided Differences
2 The Divided Difference Notation
3 Newton’s Divided Difference Interpolating Polynomial
Numerical Analysis 9 (Chapter 3) Divided Differences: A Brief Introduction John Carroll, DCU 6 / 16
![Page 14: Interpolation & Polynomial Approximation [0.125in]3.625in0 ... · IntroductionNotationNewton’s Polynomial Outline 1 Introduction to Divided Differences 2 The Divided Difference](https://reader033.fdocuments.in/reader033/viewer/2022042709/5f5234d7ff877a36963dc70c/html5/thumbnails/14.jpg)
Introduction Notation Newton’s Polynomial
The Divided Difference Notation
We now introduce the divided-difference notation, which is relatedto Aitken’s ∆2 notation ∆ Definition
The zeroth divided difference of the function f with respect to xi ,denoted f [xi ], is simply the value of f at xi :
f [xi ] = f (xi)
The remaining divided differences are defined recursively.
Numerical Analysis 9 (Chapter 3) Divided Differences: A Brief Introduction John Carroll, DCU 7 / 16
![Page 15: Interpolation & Polynomial Approximation [0.125in]3.625in0 ... · IntroductionNotationNewton’s Polynomial Outline 1 Introduction to Divided Differences 2 The Divided Difference](https://reader033.fdocuments.in/reader033/viewer/2022042709/5f5234d7ff877a36963dc70c/html5/thumbnails/15.jpg)
Introduction Notation Newton’s Polynomial
The Divided Difference Notation
We now introduce the divided-difference notation, which is relatedto Aitken’s ∆2 notation ∆ Definition
The zeroth divided difference of the function f with respect to xi ,denoted f [xi ], is simply the value of f at xi :
f [xi ] = f (xi)
The remaining divided differences are defined recursively.
Numerical Analysis 9 (Chapter 3) Divided Differences: A Brief Introduction John Carroll, DCU 7 / 16
![Page 16: Interpolation & Polynomial Approximation [0.125in]3.625in0 ... · IntroductionNotationNewton’s Polynomial Outline 1 Introduction to Divided Differences 2 The Divided Difference](https://reader033.fdocuments.in/reader033/viewer/2022042709/5f5234d7ff877a36963dc70c/html5/thumbnails/16.jpg)
Introduction Notation Newton’s Polynomial
The Divided Difference Notation
We now introduce the divided-difference notation, which is relatedto Aitken’s ∆2 notation ∆ Definition
The zeroth divided difference of the function f with respect to xi ,denoted f [xi ], is simply the value of f at xi :
f [xi ] = f (xi)
The remaining divided differences are defined recursively.
Numerical Analysis 9 (Chapter 3) Divided Differences: A Brief Introduction John Carroll, DCU 7 / 16
![Page 17: Interpolation & Polynomial Approximation [0.125in]3.625in0 ... · IntroductionNotationNewton’s Polynomial Outline 1 Introduction to Divided Differences 2 The Divided Difference](https://reader033.fdocuments.in/reader033/viewer/2022042709/5f5234d7ff877a36963dc70c/html5/thumbnails/17.jpg)
Introduction Notation Newton’s Polynomial
The Divided Difference Notation
The first divided difference of f with respect to xi and xi+1 isdenoted f [xi , xi+1] and defined as
f [xi , xi+1] =f [xi+1]− f [xi ]
xi+1 − xi
The second divided difference, f [xi , xi+1, xi+2], is defined as
f [xi , xi+1, xi+2] =f [xi+1, xi+2]− f [xi , xi+1]
xi+2 − xi
Numerical Analysis 9 (Chapter 3) Divided Differences: A Brief Introduction John Carroll, DCU 8 / 16
![Page 18: Interpolation & Polynomial Approximation [0.125in]3.625in0 ... · IntroductionNotationNewton’s Polynomial Outline 1 Introduction to Divided Differences 2 The Divided Difference](https://reader033.fdocuments.in/reader033/viewer/2022042709/5f5234d7ff877a36963dc70c/html5/thumbnails/18.jpg)
Introduction Notation Newton’s Polynomial
The Divided Difference Notation
The first divided difference of f with respect to xi and xi+1 isdenoted f [xi , xi+1] and defined as
f [xi , xi+1] =f [xi+1]− f [xi ]
xi+1 − xi
The second divided difference, f [xi , xi+1, xi+2], is defined as
f [xi , xi+1, xi+2] =f [xi+1, xi+2]− f [xi , xi+1]
xi+2 − xi
Numerical Analysis 9 (Chapter 3) Divided Differences: A Brief Introduction John Carroll, DCU 8 / 16
![Page 19: Interpolation & Polynomial Approximation [0.125in]3.625in0 ... · IntroductionNotationNewton’s Polynomial Outline 1 Introduction to Divided Differences 2 The Divided Difference](https://reader033.fdocuments.in/reader033/viewer/2022042709/5f5234d7ff877a36963dc70c/html5/thumbnails/19.jpg)
Introduction Notation Newton’s Polynomial
The Divided Difference Notation
Similarly, after the (k − 1)st divided differences,
f [xi , xi+1, xi+2, . . . , xi+k−1] and f [xi+1, xi+2, . . . , xi+k−1, xi+k ]
have been determined,
the k th divided difference relative toxi , xi+1, xi+2, . . . , xi+k is
f [xi , xi+1, . . . , xi+k−1, xi+k ]
=f [xi+1, xi+2, . . . , xi+k ]− f [xi , xi+1, . . . , xi+k−1]
xi+k − xi
The process ends with the single nth divided difference,
f [x0, x1, . . . , xn] =f [x1, x2, . . . , xn]− f [x0, x1, . . . , xn−1]
xn − x0
Numerical Analysis 9 (Chapter 3) Divided Differences: A Brief Introduction John Carroll, DCU 9 / 16
![Page 20: Interpolation & Polynomial Approximation [0.125in]3.625in0 ... · IntroductionNotationNewton’s Polynomial Outline 1 Introduction to Divided Differences 2 The Divided Difference](https://reader033.fdocuments.in/reader033/viewer/2022042709/5f5234d7ff877a36963dc70c/html5/thumbnails/20.jpg)
Introduction Notation Newton’s Polynomial
The Divided Difference Notation
Similarly, after the (k − 1)st divided differences,
f [xi , xi+1, xi+2, . . . , xi+k−1] and f [xi+1, xi+2, . . . , xi+k−1, xi+k ]
have been determined, the k th divided difference relative toxi , xi+1, xi+2, . . . , xi+k is
f [xi , xi+1, . . . , xi+k−1, xi+k ]
=f [xi+1, xi+2, . . . , xi+k ]− f [xi , xi+1, . . . , xi+k−1]
xi+k − xi
The process ends with the single nth divided difference,
f [x0, x1, . . . , xn] =f [x1, x2, . . . , xn]− f [x0, x1, . . . , xn−1]
xn − x0
Numerical Analysis 9 (Chapter 3) Divided Differences: A Brief Introduction John Carroll, DCU 9 / 16
![Page 21: Interpolation & Polynomial Approximation [0.125in]3.625in0 ... · IntroductionNotationNewton’s Polynomial Outline 1 Introduction to Divided Differences 2 The Divided Difference](https://reader033.fdocuments.in/reader033/viewer/2022042709/5f5234d7ff877a36963dc70c/html5/thumbnails/21.jpg)
Introduction Notation Newton’s Polynomial
The Divided Difference Notation
Similarly, after the (k − 1)st divided differences,
f [xi , xi+1, xi+2, . . . , xi+k−1] and f [xi+1, xi+2, . . . , xi+k−1, xi+k ]
have been determined, the k th divided difference relative toxi , xi+1, xi+2, . . . , xi+k is
f [xi , xi+1, . . . , xi+k−1, xi+k ]
=f [xi+1, xi+2, . . . , xi+k ]− f [xi , xi+1, . . . , xi+k−1]
xi+k − xi
The process ends with the single nth divided difference,
f [x0, x1, . . . , xn] =f [x1, x2, . . . , xn]− f [x0, x1, . . . , xn−1]
xn − x0
Numerical Analysis 9 (Chapter 3) Divided Differences: A Brief Introduction John Carroll, DCU 9 / 16
![Page 22: Interpolation & Polynomial Approximation [0.125in]3.625in0 ... · IntroductionNotationNewton’s Polynomial Outline 1 Introduction to Divided Differences 2 The Divided Difference](https://reader033.fdocuments.in/reader033/viewer/2022042709/5f5234d7ff877a36963dc70c/html5/thumbnails/22.jpg)
Introduction Notation Newton’s Polynomial
Generating the Divided Difference Table
First Second Thirdx f(x) divided differences divided differences divided differences
x0 f [x0]
f [x0, x1] =f [x1]− f [x0]
x1 − x0
x1 f [x1] f [x0, x1, x2] =f [x1, x2]− f [x0, x1]
x2 − x0
f [x1, x2] =f [x2]− f [x1]
x2 − x1f [x0, x1, x2, x3] =
f [x1, x2, x3]− f [x0, x1, x2]
x3 − x0
x2 f [x2] f [x1, x2, x3] =f [x2, x3]− f [x1, x2]
x3 − x1
f [x2, x3] =f [x3]− f [x2]
x3 − x2f [x1, x2, x3, x4] =
f [x2, x3, x4]− f [x1, x2, x3]
x4 − x1
x3 f [x3] f [x2, x3, x4] =f [x3, x4]− f [x2, x3]
x4 − x2
f [x3, x4] =f [x4]− f [x3]
x4 − x3f [x2, x3, x4, x5] =
f [x3, x4, x5]− f [x2, x3, x4]
x5 − x2
x4 f [x4] f [x3, x4, x5] =f [x4, x5]− f [x3, x4]
x5 − x3
f [x4, x5] =f [x5]− f [x4]
x5 − x4x5 f [x5]
Numerical Analysis 9 (Chapter 3) Divided Differences: A Brief Introduction John Carroll, DCU 10 / 16
![Page 23: Interpolation & Polynomial Approximation [0.125in]3.625in0 ... · IntroductionNotationNewton’s Polynomial Outline 1 Introduction to Divided Differences 2 The Divided Difference](https://reader033.fdocuments.in/reader033/viewer/2022042709/5f5234d7ff877a36963dc70c/html5/thumbnails/23.jpg)
Introduction Notation Newton’s Polynomial
Outline
1 Introduction to Divided Differences
2 The Divided Difference Notation
3 Newton’s Divided Difference Interpolating Polynomial
Numerical Analysis 9 (Chapter 3) Divided Differences: A Brief Introduction John Carroll, DCU 11 / 16
![Page 24: Interpolation & Polynomial Approximation [0.125in]3.625in0 ... · IntroductionNotationNewton’s Polynomial Outline 1 Introduction to Divided Differences 2 The Divided Difference](https://reader033.fdocuments.in/reader033/viewer/2022042709/5f5234d7ff877a36963dc70c/html5/thumbnails/24.jpg)
Introduction Notation Newton’s Polynomial
Newton’s Divided Difference Interpolating Polynomial
Pn(x) = a0+a1(x−x0)+a2(x−x0)(x−x1)+· · ·+an(x−x0) · · · (x−xn−1)
Using the Divided Difference Notation
Returning to the interpolating polynomial, we can now use thedivided difference notation to write:
a0 = f (x0) = f [x0]
a1 =f (x1)− f (x0)
x1 − x0= f [x0, x1]
Hence, the interpolating polynomial is
Pn(x) = f [x0] + f [x0, x1](x − x0) + a2(x − x0)(x − x1)
+ · · ·+ an(x − x0)(x − x1) · · · (x − xn−1)
Numerical Analysis 9 (Chapter 3) Divided Differences: A Brief Introduction John Carroll, DCU 12 / 16
![Page 25: Interpolation & Polynomial Approximation [0.125in]3.625in0 ... · IntroductionNotationNewton’s Polynomial Outline 1 Introduction to Divided Differences 2 The Divided Difference](https://reader033.fdocuments.in/reader033/viewer/2022042709/5f5234d7ff877a36963dc70c/html5/thumbnails/25.jpg)
Introduction Notation Newton’s Polynomial
Newton’s Divided Difference Interpolating Polynomial
Pn(x) = a0+a1(x−x0)+a2(x−x0)(x−x1)+· · ·+an(x−x0) · · · (x−xn−1)
Using the Divided Difference NotationReturning to the interpolating polynomial, we can now use thedivided difference notation to write:
a0 = f (x0) = f [x0]
a1 =f (x1)− f (x0)
x1 − x0= f [x0, x1]
Hence, the interpolating polynomial is
Pn(x) = f [x0] + f [x0, x1](x − x0) + a2(x − x0)(x − x1)
+ · · ·+ an(x − x0)(x − x1) · · · (x − xn−1)
Numerical Analysis 9 (Chapter 3) Divided Differences: A Brief Introduction John Carroll, DCU 12 / 16
![Page 26: Interpolation & Polynomial Approximation [0.125in]3.625in0 ... · IntroductionNotationNewton’s Polynomial Outline 1 Introduction to Divided Differences 2 The Divided Difference](https://reader033.fdocuments.in/reader033/viewer/2022042709/5f5234d7ff877a36963dc70c/html5/thumbnails/26.jpg)
Introduction Notation Newton’s Polynomial
Newton’s Divided Difference Interpolating Polynomial
Pn(x) = a0+a1(x−x0)+a2(x−x0)(x−x1)+· · ·+an(x−x0) · · · (x−xn−1)
Using the Divided Difference NotationReturning to the interpolating polynomial, we can now use thedivided difference notation to write:
a0 = f (x0) = f [x0]
a1 =f (x1)− f (x0)
x1 − x0= f [x0, x1]
Hence, the interpolating polynomial is
Pn(x) = f [x0] + f [x0, x1](x − x0) + a2(x − x0)(x − x1)
+ · · ·+ an(x − x0)(x − x1) · · · (x − xn−1)
Numerical Analysis 9 (Chapter 3) Divided Differences: A Brief Introduction John Carroll, DCU 12 / 16
![Page 27: Interpolation & Polynomial Approximation [0.125in]3.625in0 ... · IntroductionNotationNewton’s Polynomial Outline 1 Introduction to Divided Differences 2 The Divided Difference](https://reader033.fdocuments.in/reader033/viewer/2022042709/5f5234d7ff877a36963dc70c/html5/thumbnails/27.jpg)
Introduction Notation Newton’s Polynomial
Newton’s Divided Difference Interpolating Polynomial
Pn(x) = a0+a1(x−x0)+a2(x−x0)(x−x1)+· · ·+an(x−x0) · · · (x−xn−1)
Using the Divided Difference NotationReturning to the interpolating polynomial, we can now use thedivided difference notation to write:
a0 = f (x0) = f [x0]
a1 =f (x1)− f (x0)
x1 − x0= f [x0, x1]
Hence, the interpolating polynomial is
Pn(x) = f [x0] + f [x0, x1](x − x0) + a2(x − x0)(x − x1)
+ · · ·+ an(x − x0)(x − x1) · · · (x − xn−1)
Numerical Analysis 9 (Chapter 3) Divided Differences: A Brief Introduction John Carroll, DCU 12 / 16
![Page 28: Interpolation & Polynomial Approximation [0.125in]3.625in0 ... · IntroductionNotationNewton’s Polynomial Outline 1 Introduction to Divided Differences 2 The Divided Difference](https://reader033.fdocuments.in/reader033/viewer/2022042709/5f5234d7ff877a36963dc70c/html5/thumbnails/28.jpg)
Introduction Notation Newton’s Polynomial
Newton’s Divided Difference Interpolating Polynomial
Pn(x) = f [x0] + f [x0, x1](x − x0) + a2(x − x0)(x − x1)
+ · · ·+ an(x − x0)(x − x1) · · · (x − xn−1).
As might be expected from the evaluation of a0 and a1, therequired constants are
ak = f [x0, x1, x2, . . . , xk ],
for each k = 0,1, . . . ,n.
So Pn(x) can be rewritten in a form called Newton’sDivided-Difference:
Pn(x) = f [x0] +n∑
k=1
f [x0, x1, . . . , xk ](x − x0) · · · (x − xk−1)
Numerical Analysis 9 (Chapter 3) Divided Differences: A Brief Introduction John Carroll, DCU 13 / 16
![Page 29: Interpolation & Polynomial Approximation [0.125in]3.625in0 ... · IntroductionNotationNewton’s Polynomial Outline 1 Introduction to Divided Differences 2 The Divided Difference](https://reader033.fdocuments.in/reader033/viewer/2022042709/5f5234d7ff877a36963dc70c/html5/thumbnails/29.jpg)
Introduction Notation Newton’s Polynomial
Newton’s Divided Difference Interpolating Polynomial
Pn(x) = f [x0] + f [x0, x1](x − x0) + a2(x − x0)(x − x1)
+ · · ·+ an(x − x0)(x − x1) · · · (x − xn−1).
As might be expected from the evaluation of a0 and a1, therequired constants are
ak = f [x0, x1, x2, . . . , xk ],
for each k = 0,1, . . . ,n.So Pn(x) can be rewritten in a form called Newton’sDivided-Difference:
Pn(x) = f [x0] +n∑
k=1
f [x0, x1, . . . , xk ](x − x0) · · · (x − xk−1)
Numerical Analysis 9 (Chapter 3) Divided Differences: A Brief Introduction John Carroll, DCU 13 / 16
![Page 30: Interpolation & Polynomial Approximation [0.125in]3.625in0 ... · IntroductionNotationNewton’s Polynomial Outline 1 Introduction to Divided Differences 2 The Divided Difference](https://reader033.fdocuments.in/reader033/viewer/2022042709/5f5234d7ff877a36963dc70c/html5/thumbnails/30.jpg)
Questions?
![Page 31: Interpolation & Polynomial Approximation [0.125in]3.625in0 ... · IntroductionNotationNewton’s Polynomial Outline 1 Introduction to Divided Differences 2 The Divided Difference](https://reader033.fdocuments.in/reader033/viewer/2022042709/5f5234d7ff877a36963dc70c/html5/thumbnails/31.jpg)
Reference Material
![Page 32: Interpolation & Polynomial Approximation [0.125in]3.625in0 ... · IntroductionNotationNewton’s Polynomial Outline 1 Introduction to Divided Differences 2 The Divided Difference](https://reader033.fdocuments.in/reader033/viewer/2022042709/5f5234d7ff877a36963dc70c/html5/thumbnails/32.jpg)
Forward Difference Operator ∆
For a given sequence {pn}∞n=0, the forward difference ∆pn (read “deltapn”) is defined by
∆pn = pn+1 − pn, for n ≥ 0.
Higher powers of the operator ∆ are defined recursively by
∆kpn = ∆(∆k−1pn), for k ≥ 2.
Return to the Divided Difference Notation