Interpolation 6-Numerical Analysis-Lecture Slides, Slides of Mathematical Methods for Numerical Analysis and Optimization

This course contains solution of non linear equations and linear system of equations, approximation of eigen values, interpolation and polynomial approximation, numerical differentiation, integration, numerical solution of ordinary differential equations. This lecture includes: Interpolation, Finite, Difference, Operators, Newton, Forward, Interpolation, Backward, Lagrange, Cubic, Spline

Typology: Slides

2011/2012

Uploaded on 08/05/2012

saruy
saruy šŸ‡®šŸ‡³

4.5

(120)

130 documents

1 / 39

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
docsity.com
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23
pf24
pf25
pf26
pf27

Partial preview of the text

Download Interpolation 6-Numerical Analysis-Lecture Slides and more Slides Mathematical Methods for Numerical Analysis and Optimization in PDF only on Docsity!

Chapter 5Chapter 5InterpolationInterpolation

r^

r^

r

i^

i^

i

y^

y^

y

^

^

 ^

  1

1 ,^1

k^ k^ , (^ 1),...,

k i^

i^

i

y^

y^

y

i^ n^

n^

k ^

 

ļƒ‘^

 ļƒ‘^

 ļƒ‘ ^

^1

1 (1 2)^

(1 2)

n^

n^

n

i^

i^

i

y^

y^

y

^



 ^

 ^



^



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)^

x^ x^ h

x^

h

h^
h
y^ y^
y^
f^ x^
f^ x

^

^



^ 
^
^
^
^ 
^
^ 
^
^ 
^

Similarly

The inverse operator

-1 E

is defined as

1 ( )

(^

)

E^ f

x^

f^ x^

h

^

^



Similarly,

( )^

(^

)

n E f^

x^

f^ x

nh

^

^



Average Operator,

(^ / 2)^

(^ / 2) 1 ( )^

2

2

2

1 x^2

h^

h^ x h

h

f^ x^

f^ x^

f^ x

y^

y

^

 ^



^

^ 



^

^ 

 ^

^ 



^



^

^ 



^



^



^

 ^



Important Results

(^1) E  ^

^

1

1 1

E  (^) E E ļƒ‘ ^ ^



1/ 2^

1/ 2 E^

E ^

 ^

^ 1/ 2^

1/ 2 1 (^

) E^2

E ^

 ^



log hD^

E 

Newton’sNewton’sForwardForwardDifferenceDifferenceInterpolationInterpolationFormulaFormula

2

0

0

0 3 0

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

  1. 3! (^ 1)^

(^

1)^

Error ! x

n p^ p y^ y^

p^ y^

y

p^ p^

p^

y p^ p^

p^ n^

y n

 ^ ^

^ ^

 ^ 

^  ^

^  ^

 ^  

This is also known as Newton-Gregory forward differenceinterpolation formula.Here p=(x-x

)/h. 0

An alternate expression is

NEWTON’SBACKWARDDIFFERENCE INTERPOLATION

FORMULA

Alternatively, this formula can alsobe written as

2 (^ 1) 2!^3 (^ 1)(^

  1. 3! (^ 1)(^

2)^ (^

1)^

Error ! x^ n^

n^

n n

n n p p y^ y^

p^ y^

y

p p^

p^

y p p^

p^

p^ n^

y  n ^ ^ ļƒ‘^ ^

ļƒ‘ ^ 

ļƒ‘^  ^ ^

^  ^

 ļƒ‘^  

x^ x^ ^ np  h

Here

LAGRANGE’SINTERPOLATIONFORMULA

If the values of theindependent variable arenot given at equidistantintervals, then we have thebasic formula associatedwith the name of Lagrangewhich will be derived now.

Let^ y

=^ f^ ( x

) be a function

which takes the values, y, y^0

,…yn^

corresponding to x^ , x^0

, …x^ n

. Since there are ( n^ + 1) values of

y

corresponding to (

n^ + 1)

values of

x , we can represent the function

f^ ( x ) by a polynomial of degree

n****.