Docsity

Divided Differences-Numerical Analysis-Lecture Handouts, Lecture notes of Mathematical Methods for Numerical Analysis and Optimization

Toggle sidebar
bg1
Numerical Analysis –MTH603 VU
© Copyright Virtual University of Pakistan 1
D
DI
IV
VI
ID
DE
ED
D
D
DI
IF
FF
FE
ER
RE
EN
NC
CE
ES
S
L
Le
et
t
u
us
s
a
as
ss
su
um
me
e
t
th
ha
at
t
t
th
he
e
f
fu
un
nc
ct
ti
io
on
n
y
y
=
=
f
f
(
(x
x)
)
i
is
s
k
kn
no
ow
wn
n
f
fo
or
r
s
se
ev
ve
er
ra
al
l
v
va
al
lu
ue
es
s
o
of
f
x
x,
,
(
(x
xi
i,
,
y
yi
i)
),
,
f
fo
or
r
i
i=
=0
0,
,1
1,
,.
..
.n
n.
.
T
Th
he
e
d
di
iv
vi
id
de
ed
d
d
di
if
ff
fe
er
re
en
nc
ce
es
s
o
of
f
o
or
rd
de
er
rs
s
0
0,
,
1
1,
,
2
2,
,
…
…,
,
n
n
a
ar
re
e
n
no
ow
w
d
de
ef
fi
in
ne
ed
d
r
re
ec
cu
ur
rs
si
iv
ve
el
ly
y
a
as
s:
:
000
[] ()yx yx y
=
=
i
is
s
t
th
he
e
z
ze
er
ro
o-
-t
th
h
o
or
rd
de
er
r
d
di
iv
vi
id
de
ed
d
d
di
if
ff
fe
er
re
en
nc
ce
e
T
Th
he
e
f
fi
ir
rs
st
t
o
or
rd
de
er
r
d
di
iv
vi
id
de
ed
d
d
di
if
ff
fe
er
re
en
nc
ce
e
i
is
s
d
de
ef
fi
in
ne
ed
d
a
as
s
10
01
10
[,] yy
yx x
x
x
−
=
−
S
Si
im
mi
il
la
ar
rl
ly
y,
,
t
th
he
e
h
hi
ig
gh
he
er
r
o
or
rd
de
er
r
d
di
iv
vi
id
de
ed
d
d
di
if
ff
fe
er
re
en
nc
ce
es
s
a
ar
re
e
d
de
ef
fi
in
ne
ed
d
i
in
n
t
te
er
rm
ms
s
o
of
f
l
lo
ow
we
er
r
o
or
rd
de
er
r
d
di
iv
vi
id
de
ed
d
d
di
if
ff
fe
er
re
en
nc
ce
es
s
b
by
y
t
th
he
e
r
re
el
la
at
ti
io
on
ns
s
o
of
f
t
th
he
e
f
fo
or
rm
m
12 01
012
20
[, ] [ , ]
[,, ] yx x yx x
yx x x xx
−
=−
Generally,
[]
0
01 12 01 1
1
[,, , ] [, , ,] [,, , ]
nnn
n
yx x x yx x x yx x x
xx −
=−
−
………
S
St
ta
an
nd
da
ar
rd
d
f
fo
or
rm
ma
at
t
o
of
f
t
th
he
e
D
Di
iv
vi
id
de
ed
d
D
Di
if
ff
fe
er
re
en
nc
ce
es
s
W
We
e
c
ca
an
n
e
ea
as
si
il
ly
y
v
ve
er
ri
if
fy
y
t
th
ha
at
t
t
th
he
e
d
di
iv
vi
id
de
ed
d
d
di
if
ff
fe
er
re
en
nc
ce
e
i
is
s
a
a
s
sy
ym
mm
me
et
tr
ri
ic
c
f
fu
un
nc
ct
ti
io
on
n
o
of
f
i
it
ts
s
a
ar
rg
gu
um
me
en
nt
ts
s.
.
T
Th
ha
at
t
i
is
s,
,
01
10 01
01 10
[, ] [ , ] yy
yx x yx x
x
xxx
==+
−
−
Now
12 01
012
20
10
21
2021 10
[, ] [,]
[,, ]
1
yx x yx x
yx x x xx
yy
yy
x
xxx xx
−
=−

−
−
=−

−−−

docsity.com
pf3
pf4

Partial preview of the text

Download Divided Differences-Numerical Analysis-Lecture Handouts and more Lecture notes Mathematical Methods for Numerical Analysis and Optimization in PDF only on Docsity!

DDIIVVIIDDEEDD DDIIFFFFEERREENNCCEESS

LLeett uuss aassssuummee tthhaatt tthhee ffuunnccttiioonn^ yy^ ==^ ff^ (( xx ) i)iss kknnoowwnn ffoorr sseevveerraall vvaalluueess ooff^ xx,, ((xx ii

,, yy ii

)) , f,foorr

ii==00,,11,,....nn. T.Thhee ddiivviiddeedd ddiiffffeerreenncceess ooff oorrddeerrss 00,, 11,, 22,, ……,,^ nn^ araree nnooww ddeeffiinneedd rreeccuurrssiivveellyy aass::

y x [ 0 (^) ] = y x ( 0 (^) )= y 0

iiss tthhee zzeerroo--tthh oorrddeerr ddiivviiddeedd ddiiffffeerreennccee

TThhee ffiirrsstt oorrddeerr ddiivviiddeedd ddiiffffeerreennccee iiss ddeeffiinneedd aass

1 0 0 1 1 0

[ , ]

y y y x x x x

SSiimmiillaarrllyy,, tthhee hhiigghheerr oorrddeerr ddiivviiddeedd ddiiffffeerreenncceess aarree ddeeffiinneedd iinn tteerrmmss ooff lloowweerr oorrddeerr ddiivviiddeedd

ddiiffffeerreenncceess bbyy tthhee rreellaattiioonnss ooff tthhee ffoorrmm

1 2 0 1 0 1 2 2 0

[ , ] [ , ]

[ , , ]

y x x y x x y x x x x x

Generally,

[ ]

0

0 1 1 2 0 1 1

[ , , , (^) n ] [ , , , (^) n ] [ , , , (^) n ] n

y x x x y x x x y x x x x x

St Staannddaarrdd ffoorrmmaatt ooff tthhee DDiivviiddeedd DDiiffffeerreenncceess

WWee ccaann eeaassiillyy vveerriiffyy tthhaatt tthhee ddiivviiddeedd ddiiffffeerreennccee iiss aa ssyymmmmeettrriicc ffuunnccttiioonn ooff iittss aarrgguummeennttss..

TThhaatt iiss,,

0 1 1 0 0 1 0 1 1 0

[ , ] [ , ]

y y y x x y x x x x x x

Now

1 2 0 1 0 1 2 2 0

2 1 1 0

2 0 2 1 1 0

[ , ] [ , ]

[ , , ]

y x x y x x y x x x x x

y y y y

x x x x x x

Therefore

0 1 2 0 1 2 0 1 0 2 1 0 1 2 2 0 2 1

[ , , ]

y y y y x x x x x x x x x x x x x x x

TThhiiss iiss ssyymmmmeettrriicc ffoorrmm,, hheennccee ssuuggggeessttss tthhee ggeenneerraall rreessuulltt aass

0 1 0 0 1 0 1 0 1 0 1

[ , , ]

k k k k k k k

y (^) y y y x x x x x x x x x x x x x x (^) −

OORR

0 0 0

[ ,..., ]

k i k (^) k i i j i i j

y y x x

x x

= ≠

Ex Exaammppllee::

CCoonnssttrruucctt tthhee NNeewwttoonn’’ss ddiivviiddeedd ddiiffffeerreennccee ttaabbllee ffoorr vvaalluueess ooff xx==11,,22,,33,,44,,55,,6^6

aanndd ff((xx))== --33,,00,,1 15 5,,4 48 8,,1 1005 5,,1 1992 2..

SoSolluuttiioonn::

NE NEWWTTOONN’’SS DDIIVVIIDDEEDD DDIIFFFFEERREENNCCEE IINNTTEERRPPOOLLAATTIIOONN

FFOORRMMUULLAA

LLeett yy == ff (( xx )) bbee aa ffuunnccttiioonn wwhhiicchh ttaakkeess vvaalluueess yy (^00)

, y,y 11

,, ……,, yy nn^

ccoorrrreessppoonnddiinngg ttoo xx == xx ii

,, ii == 00,,

1 1,,……,, nn.. WWee cchhoooossee aann iinntteerrppoollaattiinngg ppoollyynnoommiiaall,, iinntteerrppoollaattiinngg aatt xx == xx ii

,, i =i= 00,, 11,, ……,, nn inin

tthhee ffoolllloowwiinngg ffoorrmm

0 1 0 2 0 1

0 1 1

n (^ )(^ )^ (^ n )

y f x a a x x a x x x x

a x x x x x x (^) −

x F(x) 1

st

difference

nd

difference

rd

difference

1 -3 15-3/3-

1=

2 0 0-(-3)=3 33-15/4-

1 0 0 0 1 1 0

[ , ]

y y y y x x x x h

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

[ , ] [ , ]

[ , , ]

y^ y

y x x y x x (^) h h y y x x x x x h h

BByy iinndduuccttiioonn,, wwee ccaann iinn ggeenneerraall aarrrriivvee aatt tthhee rreessuulltt

0 [ 0 , 1 , , ] !

n

n (^) n

y y x x x n h

SSiimmiillaarrllyy,,

1 0 1 0 1 1 0

[ , ]

y y y y x x x x h

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

[ , ] [ , ]

[ , , ]

y y

y x x y x x (^) h h y y x x x x x h h

IInn GGeenneerraall,,wwee hhaavvee

[ 0 , 1 ,..., ]

n n n (^) n

y y x x x n h

AAllssoo,, iinn tteerrmmss ooff cceennttrraall ddiiffffeerreenncceess,, wwee hhaavvee

1 0 1/ 2 0 1 1 0

[ , ]

y y y y x x x x h

3/ 2 1/ 2 2 1 2 0 1 1 (^0 1 2 ) 2 0

[ , ] [ , ]

[ , , ]

y y

y x x y x x (^) h h y y x x x x x h h

IInn ggeenneerraall,, wwee hhaavvee tthhee ffoolllloowwiinngg ppaatttteerrnn

2

(^0 1 2 )

2 1 (1/ 2) (^0 1 2 1 2 )

[ , ,..., ]

[ , ,..., ]

m m m (^) m

m m m (^) m

y y x x x m h

y y x x x m h

δ

δ

  • (^) +