Docsity

Backward 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
B
Ba
ac
ck
kw
wa
ar
rd
d
D
Di
if
ff
fe
er
re
en
nc
ce
es
s
F
Fo
or
r
a
a
g
gi
iv
ve
en
n
t
ta
ab
bl
le
e
o
of
f
v
va
al
lu
ue
es
s
( , ), 0,1, 2,...,
kk
x
yk n
=
o
of
f
a
a
f
fu
un
nc
ct
ti
io
on
n
y
y
=
=
f
f
(
(x
x)
)
w
wi
it
th
h
e
eq
qu
ua
al
ll
ly
y
s
sp
pa
ac
ce
ed
d
a
ab
bs
sc
ci
is
ss
sa
as
s,
,
t
th
he
e
f
fi
ir
rs
st
t
b
ba
ac
ck
kw
wa
ar
rd
d
d
di
if
ff
fe
er
re
en
nc
ce
es
s
a
ar
re
e
u
us
su
ua
al
ll
ly
y
e
ex
xp
pr
re
es
ss
se
ed
d
i
in
n
t
te
er
rm
ms
s
o
of
f
t
th
he
e
b
ba
ac
ck
kw
wa
ar
rd
d
d
di
if
ff
fe
er
re
en
nc
ce
e
o
op
pe
er
ra
at
to
or
r
∇
a
as
s
1,( 1), ,1
iii
yyyinn
−
∇= − = − …
T
To
o
b
be
e
e
ex
xp
pl
li
ic
ci
it
t,
,
w
we
e
w
wr
ri
it
te
e
OR
110
221
1nnn
yyy
yyy
yyy
−
∇
=−
∇= −
∇= −

The differences of these differences are called second differences and they are denoted by
22 2
23
,,,.
n
yy y∇∇ ∇…
That is
2
121
2
232
2
1nnn
yyy
yyy
yyy
−
∇=∇−∇
∇=∇−∇
∇=∇−∇

T
Th
hu
us
s,
,
i
in
n
g
ge
en
ne
er
ra
al
l,
,
t
th
he
e
s
se
ec
co
on
nd
d
b
ba
ac
ck
kw
wa
ar
rd
d
d
di
if
ff
fe
er
re
en
nc
ce
es
s
a
ar
re
e
2
1, , ( 1),..., 2
iii
yyyinn
−
∇=∇−∇ = −
W
Wh
hi
il
le
e
t
th
he
e
k
k-
-t
th
h
b
ba
ac
ck
kw
wa
ar
rd
d
d
di
if
ff
fe
er
re
en
nc
ce
es
s
a
ar
re
e
g
gi
iv
ve
en
n
a
as
s
11
1, ,( 1),...,
kk k
iii
yyyinnk
−−
−
∇=∇ −∇ = −
T
Th
he
es
se
e
b
ba
ac
ck
kw
wa
ar
rd
d
d
di
if
ff
fe
er
re
en
nc
ce
es
s
c
ca
an
n
b
be
e
s
sy
ys
st
te
em
ma
at
ti
ic
ca
al
ll
ly
y
a
ar
rr
ra
an
ng
ge
ed
d
f
fo
or
r
a
a
t
ta
ab
bl
le
e
o
of
f
v
va
al
lu
ue
es
s
( , ), 0,1, ..., 6
kk
xy k= shown below.
B
Ba
ac
ck
kw
wa
ar
rd
d
D
Di
if
ff
fe
er
re
en
nc
ce
e
T
Ta
ab
bl
le
e
docsity.com
pf3
pf4

Partial preview of the text

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

B

Baacckkwwaarrdd DDiiffffeerreenncceess

F

Foorr aa ggiivveenn ttaabbllee ooff vvaalluueess ( , ), 0,1, 2,...,

k k

x y k = n o

off aa ffuunnccttiioonn y

y

f

f (

x

x )

) wwiitthh eeqquuaallllyy

s

sppaacceedd aabbsscciissssaass,, tthhee ffiirrsstt bbaacckkwwaarrdd ddiiffffeerreenncceess aarree uussuuaallllyy eexxpprreesssseedd iinn tteerrmmss ooff tthhee

b

baacckkwwaarrdd ddiiffffeerreennccee ooppeerraattoorr ∇ a

ass

1

i i i

y y y i n n

−

T

Too bbee eexxpplliicciitt,, wwee wwrriittee

OR

1 1 0

2 2 1

n n n 1

y y y

y y y

y y y

−

The differences of these differences are called second differences and they are denoted by

2 2 2

2 3

n

∇ y ∇ y …∇ y

That is

2

1 2 1

2

2 3 2

2

n n n 1

y y y

y y y

y y y

−

TThhuuss,, iinn ggeenneerraall,, tthhee sseeccoonndd bbaacckkwwaarrdd ddiiffffeerreenncceess aarree

2

1

i i i

y y y i n n

−

W

Whhiillee tthhee k

k--tthh b

baacckkwwaarrdd ddiiffffeerreenncceess aarree ggiivveenn aass

1 1

1

k k k

i i i

y y y i n n k

− −

−

T

Thheessee bbaacckkwwaarrdd ddiiffffeerreenncceess ccaann bbee ssyysstteemmaattiiccaallllyy aarrrraannggeedd ffoorr aa ttaabbllee ooff vvaalluueess

k k

x y k = shown below.

B

Baacckkwwaarrdd DDiiffffeerreennccee TTaabbllee

FFrroomm tthhiiss ttaabbllee,, iitt ccaann bbee oobbsseerrvveedd tthhaatt tthhee ssuubbssccrriipptt rreemmaaiinnss ccoonnssttaanntt aalloonngg eevveerryy

babacckkwwaarrdd ddiiaaggoonnaall..

Ex Exaammppllee

SShhooww tthhaatt aannyy vvaalluuee ooff yy ccaann bbee eexxpprreesssseedd iinn tteerrmmss ooff yy

nn

aanndd iittss bbaacckkwwaarrdd ddiiffffeerreenncceess..

S

Soolluuttiioonn::

FFrroomm

1

i i i

y y y i n n

−

We get

n 1 n n

y y y

−

n 2 n 1 n 1

y y y

− − −

From

2

1

i i i

y y y i n n

−

We get

2

n 1 n n

y y y

−

F

Frroomm tthheessee eeqquuaattiioonnss,, wwee oobbttaaiinn

2

2

n n n n

y y y y

−

SSiimmiillaarrllyy,, wwee ccaann sshhooww tthhaatt

2 3

3

n n n n n

y y y y y

−

S

Syymmbboolliiccaallllyy,, tthheessee rreessuullttss ccaann bbee rreewwrriitttteenn aass ffoolllloowwss::

1

2

2

3

3

n n

n n

n n

r

n r n

y y

y y

y y

y y

−

−

−

−

2

1 2

n n r r

n r n n n n

y y C y C y y

−

Ce Cennttrraall DDiiffffeerreenncceess

IInn ssoommee aapppplliiccaattiioonnss,, cceennttrraall ddiiffffeerreennccee nnoottaattiioonn iiss ffoouunndd ttoo bbee mmoorree coconnvveenniieenntt ttoo

rreepprreesseenntt tthhee ssuucccceessssiivvee ddiiffffeerreenncceess ooff aa ffuunnccttiioonn.. HHeerree,, wwee uussee tthhee ssyymmbbooll δ toto

r

reepprreesseenntt cceennttrraall ddiiffffeerreennccee ooppeerraattoorr aanndd tthhee ssuubbssccrriipptt ooff δ y b

bbb ffoorr aannyy ddiiffffeerreennccee aass

t

thhee aavveerraaggee ooff tthhee ssuubbssccrriippttss

1 2 1 0 3 2 2 1

δ y = y − y , δ y = y − y ,

In General,

i i (1 2) i (1 2)

δ y y y

  • −

0 1 0

1 2 1

n 1 n n 1

y y y

y y y

y y y

− −

1

i i i

y y y i n n

−

OR

1 1 0

2 2 1

n n n 1

y y y

y y y

y y y

−

1 2 1 0 3 2 2 1

δ y = y − y , δ y = y − y ,

In General,

i i (1 2) i (1 2)

δ y y y

  • −

HHiigghheerr oorrddeerr ddiiffffeerreenncceess aarree ddeeffiinneedd aass ffoolllloowwss::

2

i i (1 2) i (1 2)

δ y δ y δ y

  • −

1 1

(1 2) (1 2)

n n n

i i i

δ y δ y δ y

− −

  • −