Docsity

Interpolation: Newton's Forward/Backward Difference & Lagrange's Method, Slides of Mathematical Methods for Numerical Analysis and Optimization

Partial preview of the text

Download Interpolation: Newton's Forward/Backward Difference & Lagrange's Method and more Slides Mathematical Methods for Numerical Analysis and Optimization in PDF only on Docsity!

Chapter 5Chapter 5InterpolationInterpolation

For given a table of values,^ (^ ,

),

0,1, 2,

,^

;

x^ y^ k^ k

k^

n ^

the process of estimatingthe value of

y , for any

intermediate value of

x , is

called interpolation.

Method of computing thevalue of

y , for a given value of

x , lying outside the table of values of

x^ is

known as extrapolation.

Thus

(^

)^

( )

x^

x^ h^

x

y^

y^

y^

f^ x^

h^

f^ x

 ^

^

^

^

^

2 x

x^ h^

x

y^

y^

y 

^

 

 ^ ( )

(

)

x^

x^

x^ h y^

y^

y^

f^ x^

f^ x^

h

^

^

^

^

^

(^ / 2)^

(^ / 2)^

2

2

x^ x

h^

x^ h

h^

h

y^ y

y^

f^ x^

f^ x

^

^

^

^ 

^

^

^

^ 

 ^

^ 

^

^ 

Similarly

Shift operator, E

( )^

(^

)

E^ f

x^

f^ x

h ^

 ( )^

(^

)

n E f^ x^

f^ x^

nh ^

 n x

x^ nh

E y

y^ 

Average Operator,

(^ / 2)^

(^ / 2) 1 ( )^

2

2

2

1 2

x^ h^

h^ x h

h

f^ x^

f^ x

f^ x

y^

y

^

 ^

^

^

^

^

^

^

^

^

^

^

^

^

^

^

^

^

 ^

2 2

2 ( )^

( )^

( )

( )^

( )^

n ( )

d Df^

x^

f^ x

f^ x

dx d D f

x^

f^ x^

f^ x

dx

 

^

^

  

^

^



Differential Operator,

D

Newton’s Forward

DifferenceInterpolationFormula Newton’s Forward

DifferenceInterpolationFormula

Let^ y

=^ f^ (

x ) be a function which

takes values

f ( x ),^0

f ( x +^0

h ),^ f

( x +2^0

h ),

…, corresponding to various equi-spaced values of

x^ with spacing

h ,

say^ x

,^ x 00 +^ h ,^ x + 2^0

h , ….

Suppose, we wish to evaluate thefunction

f^ ( x ) for a value

x +^0

ph ,

where

p^ is any real number, then for any real number

p , we have the

operator

E^ such that Let^ y

=^ f^ (

x ) be a function which

takes values

f ( x ),^0

f ( x +^0

h ),^ f

( x +2^0

h ),

…, corresponding to various equi-spaced values of

x^ with spacing

h ,

say^ x

,^ x 00 +^ h ,^ x + 2^0

h , ….

Suppose, we wish to evaluate thefunction

f^ ( x ) for a value

x +^0

ph ,

where

p^ is any real number, then for any real number

p , we have the

operator

E^ such that

0

0

0 2

3

0

0 0

(^

)^ (^

)^

(^ )

(^ 1)

(^ 1)(

(^ )^

(^ )

2!^

3!

(^ 1)

(^

1)^

(^ )^

Error

!

n

f^ x^

ph^

f^ x^

p^ f^ x

p p^

p p^

p f^ x^

f^ x

p p^

p^ n^

f^ x n ^ ^

^ 

^

^

^

^

^

^

^ 

^ ^

^

 This is known as Newton’sforward difference formula forinterpolation, which gives thevalue of

f ( x^0

+^ ph

) in terms of

f ( x^0

and its leading differences.

docsity.com

2

0

0

0 3 0

0 (^ 1) 2! (^ 1)(

  1. 3! (^ 1)(

1)^

Error

! x

p^ p n

y^ y

p^

y^

y

p^ p^

p^

y

p^ p^

p^ n^

y n

^ 

^

^

^

 ^

^

^

^  ^

^  

This formula is also known asNewton-Gregory forwarddifference interpolation formula.Here p=(x-x

)/h. 0

An alternate expression is