



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!




WrWriittee ffiirrsstt ddeerriivvaattiivvee ooff (^) ff ((xx)) aatt xx == 00..11,, 00..22,, 00..3 3
whwheerree ff ((xx)) iiss ggiivveenn bbyy
FF((xx)) 0 0..4 42255 0. 0 .4 47755 0 0..4 40000 0. 0 .4 45522 0 0..5 52255 0 0..5 57755
UUssiinngg tthhee ttwwoo ppooiinntt eeqquuaattiioonn wwee hhaavvee
f f f h
f f f h
f f f h
FFiinndd tthhee 2^2
ndnd ddeerriivvaattiivvee^ atat 00..33,, 00..44,, 00..55 ffoorr tthhee ffuunnccttiioonn ggiivveenn iinn tthhee
eexxaammppllee aabboovvee..
2
f f f f h
2
f f f f h
f f f f
IIff tthhee ggiivveenn ttaabbuullaarr ffuunnccttiioonn yy((xx)) iiss rreeaassoonnaabbllyy wweellll aapppprrooxxiimmaatteedd bbyy aa ppoollyynnoommiiaall PP nn
((xx))
ooff ddeeggrreeee nn,, iitt iiss hhooppeedd tthhaatt tthhee rreessuulltt ooff^ Pn^ ′( )^ x wiwillll aallssoo ssaattiissffaaccttoorriillyy aapppprrooxxiimmaattee tthhee
ccoorrrreessppoonnddiinngg ddeerriivvaattiivvee ooff yy((xx))..
However, even if P n
( x ) and y ( x ) coincide at the tabular points, their derivatives or slopes
may substantially differ at these points as is illustrated in the Figure below:
FFoorr hhiigghheerr oorrddeerr ddeerriivvaattiivveess,, tthhee ddeevviiaattiioonnss mmaayy bbee ssttiillll wwoorrsstt.. HHoowweevveerr,, wwee ccaann eessttiimmaattee
tthhee eerrrroorr iinnvvoollvveedd iinn ssuucchh aann aapppprrooxxiimmaattiioonn..
FFoorr nnoonn--eeqquuiiddiissttaanntt ttaabbuullaarr ppaaiirrss ((xx ii
,, yy ii
),), ii == 00,, ……,, nn wwee ccaann ffiitt tthhee ddaattaa bbyy uussiinngg eeiitthheerr
LLaaggrraannggee’’ss inintteerrppoollaattiinngg ppoollyynnoommiiaall oorr byby uussiinngg NNeewwttoonn’’ss ddiivviiddeedd didiffffeerreennccee
iinntteerrppoollaattiinngg ppoollyynnoommiiaall.. IInn vviieeww ooff eeccoonnoommyy ooff ccoommppuuttaattiioonn,, wwee pprreeffeerr tthhee uussee ooff tthhee
llaatttteerr ppoollyynnoommiiaall..
TThhuuss,, rreeccaalllliinngg tthhee NNeewwttoonn’’ss ddiivviiddeedd ddiiffffeerreennccee iinntteerrppoollaattiinngg ppoollyynnoommiiaall ffoorr ffiittttiinngg tthhiiss
ddaattaa aass
0 0 0 1 0 1 0 1 2 1
0 1 0
n n
i n i
P x y x x x y x x x x x x y x x x
x x y x x x
−
=
AAssssuummiinngg tthhaatt PP nn
(x(x)) iiss aa ggoooodd aapppprrooxxiimmaattiioonn ttoo yy((xx)),, tthhee ppoollyynnoommiiaall aapppprrooxxiimmaattiioonn ttoo
ccaann bbee y ′( )^ x oobbttaaiinneedd bbyy ddiiffffeerreennttiiaattiinngg PP nn
((xx)).. UUssiinngg pprroodduucctt rruullee ooff ddiiffffeerreennttiiaattiioonn,,
tthhee ddeerriivvaattiivvee ooff tthhee pprroodduuccttss iinn PP nn
((xx)) ccaann bbee sseeeenn aass ffoolllloowwss::
Y( Y(xx))
OO XX^ ii^ XX
DeDevviiaattiioonn ooff ddeerriivvaattiivveess
PP (^) nn (x(x))
FFiinndd^ f^ ′(0.25)^ aanndd^ f^ ′(0.22)^ frfroomm tthhee ffoolllloowwiinngg ddaattaa uussiinngg tthhee mmeetthhoodd bbaasseedd oonn ddiivviiddeedd
ddiiffffeerreenncceess::
YY==ff((xx))^0 0..1^1776611 0 0..3^3222222 0 0..3^3661177
YY==ff((xx)) 0 0..4 4331144 0. 0 .5 5005511 0. 0 .5 5444411
bbeellooww::
X Y 1
st D.D 2
nd D.D 3
rd D.D
UUssiinngg ddiivviiddeedd ddiiffffeerreennccee ffoorrmmuullaa
1 0 1 1
0
0 1
n n
i (^) i
n
x x x x x x
x x
y x x x
= −
=
ffrroomm aa qquuaaddrraattiicc ppoollyynnoommiiaall,, wwee hhaavvee
y ( ) x P 3 (^) ( ) x y x [ 0 (^) , x 1 (^) ] {( x x 1 (^) ) ( x x 0 (^) )} [ y x 0 (^) , x 1 (^) , x 2 ]
TThhuuss,, uussiinngg ffiirrsstt,, sseeccoonndd aanndd tthhiirrdd ddiiffffeerreenncceess ffrroomm tthhee ttaabbllee,, tthhee aabboovvee eeqquuaattiioonn yyiieellddss
y ′(0.25) = 2.4350 + (0.25 − 0.21) + (0.25 − 0.15)−
[(0.25 0.21)(0.25 0.23) (0.25 0.15)(0.25 0.23)
TThheerreeffoorree
(0.25) 2.4350 0.805 0.
f ′ = − +
SSiimmiillaarrllyy wwee ccaann sshhooww tthhaatt
f ′(0.22)^ =1.
The following divided difference table is for y=1/x.use it to find
/ y (0.75) from a
quadratic polynomial
Fit.
Using divided difference formula
1 0 1 1
0
0 1
n n
i (^) i
n
x x x x x x
x x
y x x x
= −
=
If we find the values for quadratic fit then we use the following formula,
3
0 1 1 0 0 1 2
1 2 0 2 0 1 0 1 2 3
Thus, using first, second, third differences from the table, we get
3
3
3
3
3
3
x Y=1/x 1
st divided
difference
nd divided
difference
rd divided
difference
.25 4.0000 -8.
.50 2.0000 -2.6668 10.
.75 1.3333 -1.3332 2.6672 (^) -14.
1.00 1.0000 -.8000 1.0664 -2.
1.25 .8000 -.5332 0.5336 -0.
1.50.