



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!




Wee kknnooww,, iiff yy ((xx)) iiss aapppprrooxxiimmaatteedd bbyy aa ppoollyynnoommiiaall PP
n
n
(xx)) ooff ddeeggrreeee nn tthheenn tthhee eerrrroorr iiss
g
giivveenn bbyy
n
Where
0 1 0
n n
AAlltteerrnnaattiivveellyy iitt iiss aallssoo eexxpprreesssseedd aass
0
n
Nooww,, ccoonnssiiddeerr aa ffuunnccttiioonn F
x
x )
),, ssuucchh tthhaatt
n
F x = y x − P x − K ∏ x
Deetteerrmmiinnee tthhee ccoonnssttaanntt K
i
inn ssuucchh aa wwaayy tthhaatt F
x
x )
) vvaanniisshheess ffoorr x
x
x
x
x
x
x
nn
a
anndd aallssoo
ffoorr aann aarrbbiittrraarriillyy cchhoosseenn ppooiinntt x , w,whhiicchh iiss ddiiffffeerreenntt ffrroomm tthhee ggiivveenn (( nn ++ 11)) ppooiinnttss..
Leett I
d
deennootteess tthhee cclloosseedd iinntteerrvvaall ssppaannnneedd bbyy tthhee vvaalluueess
0
n
x x x T
Thheenn F
x
x )
) vvaanniisshheess
(( nn ++ 22)) ttiimmeess iinn tthhee iinntteerrvvaall II ..
BByy RRoollllee’’ss tthheeoorreemm F ( ) x
vavanniisshheess aatt lleeaasstt (( nn + 1+1)) ttiimmeess iinn tthhee iinntteerrvvaall II ,, F ( ) x
atat
lleeaasstt nn ttiimmeess,, aanndd ssoo oonn..
Evveennttuuaallllyy,, wwee ccaann sshhooww tthhaatt
( 1)
n
F x
v
vaanniisshheess aatt lleeaasstt oonnccee iinn tthhee iinntteerrvvaall I
, ssaayy aatt
x = ξ TThhuuss,, wwee oobbttaaiinn
( 1) ( 1) ( 1)
n n n
n
SSiinnccee PP
nn
(( xx ) i)iss aa ppoollyynnoommiiaall ooff ddeeggrreeee nn,, iittss ((nn ++ 11))tthh ddeerriivvaattiivvee iiss zzeerroo.. AAllssoo,, ffrroomm tthhee
ddeeffiinniittiioonn ooff Π( ) x
( 1)
n
x n
TThheerreeffoorree wwee ggeett
( 1)
n
y
n
Heennccee
( 1)
n
n
y
x y x P x x
n
ffoorr ssoommee iinn tthhee iinntteerrvvaall II ..
TThhuuss tthhee eerrrroorr ccoommmmiitttteedd iinn rreeppllaacciinngg yy (( xx )) bbyy eeiitthheerr NNeewwttoonn’’ss ddiivviiddeedd ddiiffffeerreennccee
ffoorrmmuullaa oorr bbyy aann iiddeennttiiccaall LLaaggrraannggee’’ss ffoorrmmuullaa iiss
( 1)
0
n
n
y
x x y x x x x
n
Leett u
u b
bee aa ppoollyynnoommiiaall ffuunnccttiioonn iinn ttwwoo vvaarriiaabblleess,, ssaayy x
x a
anndd y
y ,
, iinn ppaarrttiiccuullaarr qquuaaddrraattiicc iinn x
x
a
anndd ccuubbiicc iinn y
y ,
, wwhhiicchh iinn ggeenneerraall ccaann bbee wwrriitttteenn aass
2
0 1 2 3
2 3 2 2
4 5 6 7 8
3 2 2 3 2
9 10 11
u f ( , x y ) a a x a y a x
a xy a y a y a y x a yx
a y x a y x a y x
TThhiiss rreellaattiioonn iinnvvoollvveess mmaannyy tteerrmmss.. IIff wwee hhaavvee ttoo wwrriittee aa rreellaattiioonn iinnvvoollvviinngg tthhrreeee oorr mmoorree
vvaarriiaabblleess,, eevveenn llooww ddeeggrreeee ppoollyynnoommiiaallss ggiivvee rriissee ttoo lloonngg eexxpprreessssiioonnss.. IIff nneecceessssaarryy,, wwee
ccaann cceerrttaaiinnllyy wwrriittee,, bbuutt ssuucchh ccoommpplliiccaattiioonnss ccaann bbee aavvooiiddeedd bbyy hhaannddlliinngg eeaacchh vvaarriiaabbllee
s
seeppaarraatteellyy..
Iff wwee lleett xx,, aa ccoonnssttaanntt,, ssaayy x
x == cc ,
, tthhee eeqquuaattiioonn ssiimmpplliiffiieess ttoo tthhee ffoorrmm
2 3
x c 0 1 2 3
u b b y b y b y
=
NNooww wwee aaddoopptt tthhee ffoolllloowwiinngg pprroocceedduurree ttoo iinntteerrppoollaattee aatt aa ppooiinntt ((11,, mm ) i)inn aa ttaabbllee ooff ttwwoo
vvaarriiaabblleess,, bbyy ttrreeaattiinngg oonnee vvaarriiaabbllee aa ccoonnssttaanntt ssaayy xx == xx
.. TThhee pprroobblleemm rreedduucceess ttoo tthhaatt ooff aa
ssiinnggllee vvaarriiaabbllee iinntteerrppoollaattiioonn..
Annyy oonnee ooff tthhee mmeetthhooddss ddiissccuusssseedd iinn pprreecceeddiinngg sseeccttiioonnss ccaann tthheenn bbee aapppplliieedd ttoo ggeett
f
f (
x
x
m
m )
).. TThheenn wwee rreeppeeaatt tthhiiss pprroocceedduurree ffoorr vvaarriioouuss vvaalluueess ooff x
x s
saayy x
x
x
x
x
x
x
nn
k
keeeeppiinngg y
y c
coonnssttaanntt.. TThhuuss,, wwee ggeett aa nneeww ttaabbllee wwiitthh y
y c
coonnssttaanntt aatt tthhee vvaalluuee y
y == mm a
anndd wwiitthh
x
x v
vaarryyiinngg.. WWee ccaann tthheenn iinntteerrppoollaattee aatt x
Taabbuullaattee tthhee vvaalluueess ooff tthhee ffuunnccttiioonn f
f ((xx)) == xx
+yy
-yy
ffoorr xx == 00,,11,,22,,33,,4 4 anandd yy == 00,,11,,22,,33,,4 4 ..
UUssiinngg tthhee ttaabbllee ooff tthhee vvaalluueess,, ccoommppuuttee ff((22..55,, 33..55)) bbyy nnuummeerriiccaall ddoouubbllee iinntteerrppoollaattiioonn
TThhee vvaalluueess ooff tthhee ffuunnccttiioonn ffoorr tthhee ggiivveenn vvaalluueess ooff tthhee ggiivveenn vvaalluueess ooff xx aanndd yy aarree ggiivveenn iinn
tthhee ffoolllloowwiinngg ttaabbllee
SSiimmiillaarrllyy
AAtt xx==3 3
YY ff ∆ f
2
∆ f
0
y y
with p
h
0
y y
with p
h
2
0 0 0
p p
f f p f f
f
f
Thheerreeffoorree wwee aarrrriivvee aatt tthhee ffoolllloowwiinngg rreessuulltt
Att xx==33..5 5
f
f ∆ f
2
∆ f
Now defining p
f = + + =
FFrroomm tthhee ffuunnccttiioonnaall rreellaattiioonn,, wwee aallssoo ffiinndd tthhaatt
2 2
f (2.5,3.5) = (2.5) + (3.5) − 3.5 = 15
And hence no error in interpolation!!!