0% found this document useful (0 votes)
348 views5 pages

Newton's Forward Difference Formula

1. Newton's forward difference formula provides a convenient way to find polynomial approximations of functions using forward difference tables when the function values are known at equally spaced points. 2. The n-th degree polynomial approximation of a function f(x) can be written in terms of forward difference operators as a summation involving binomial coefficients. 3. Forward difference tables allow the efficient calculation of higher order forward differences needed in Newton's formula from the initially known function values.

Uploaded by

ahmad hauwau
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
348 views5 pages

Newton's Forward Difference Formula

1. Newton's forward difference formula provides a convenient way to find polynomial approximations of functions using forward difference tables when the function values are known at equally spaced points. 2. The n-th degree polynomial approximation of a function f(x) can be written in terms of forward difference operators as a summation involving binomial coefficients. 3. Forward difference tables allow the efficient calculation of higher order forward differences needed in Newton's formula from the initially known function values.

Uploaded by

ahmad hauwau
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 5

Newton's Forward Difference Formula https://math.iitm.ac.in/public_html/sryedida/caimna/interpolation/nfdf...

NEWTON'S FORWARD DIFFERENCE FORMULA


Making use of forward difference operator and forward difference table ( will be defined a
little later) this scheme simplifies the calculations involved in the polynomial approximation
of fuctons which are known at equally spaced data points.
Consider the equation of the linear interpolation optained in the earlier section :

f1 - f 0 f0x1 - f1x0
f(x) @ P1(x) = ax-1b = x+
x1 - x0 x1 - x0

1
= [(x - x)f0 + (x-x0)f1]
(x1 - x0) 1

x1 - x x - x0 x - x0
f0 + (f1- f0) + f0
x1 - x 0 x1 - x0 x1 - x0
x - x0
= f0 + (f1- f0)
x1 - x 0

= f0 + r Df0 [ r = (x - x0) / (x1 - x0) Df0 = f1 - f0 ]

since x1 - x0 is the step lenght h, r can be written as (x - x0)/h and will be between (0, 1).

Error in the linear interpolation :

If e(x) is the error in the linear interpolation then

e(x) = P1(x) - f(x) = f0 + r(f1 - f0) - f(x)

By Taylor's theorem

f(x) = f(x0 + r h) = f0 + r h f0' + 1/2 r2 h2 f0'' (f), x 0 < f < x1

f1 = f(x1) = f(x0 + h) = f0 + h f0' + 1/2 h2 f0''(u), x 0 < u < x1

Þe(x) = f0 + r ( f0 + h f0' + 1/2 h2 f0'' (u) - f0 ) - ( f0 + r h f0' + 1/2 s2 h2 f0''(t) )

= 1/2 h2 ( r f0''(u) - r2 f0''(t) )

Let us assume that the second derivative of the function is bounded such that | f ''(x) | < M2
and since r < 1 we have | e(x) | < 1/2 h2 ( M2+M2) = h2M2

The general formula is very convenient to find the function value at various points if
forward difference at various points are avilable. Similarly the polynomial approximations
of functions of higher degree also can be expressed in terms of r and forward differences
of higher order. Instead of using the method of solving the system as we did earlier it is

1 of 5 2021-11-25, 11:08 a.m.


Newton's Forward Difference Formula https://math.iitm.ac.in/public_html/sryedida/caimna/interpolation/nfdf...

convenient to use binomial formulae involving the difference operators to generate the
higher order interpolation formuale.

Newton's forward difference formulae :

Let the function f is known at n+1 equally spaced data points a = x0 < x1 < ... < = xn =
b in the interval [a,b] as f0, f1, . . . fn. Then the n the degree polynomial approximation of
f(x) can be given as

n
r
f(x) @ Pn(x) = S ( i ) Di f0
i=0

where r = (x-x0 ) / n Þ x = x0 + r h Þ 0 <r <n

r(r - 1) . . . (r - i +
( 1,) =
r are the binomial coefficients defined r r for any integer i >
and ( )as ( )= 1)
0
i 0 i i!

Proof :

To prove that the given result is the n the degree polynomial approximation of f(x) it is
sufficeint to prove that at the node i i.e., at x = xi the polynomial approximation Pn(x) gives
fi for any tabulated value xi since the curve f(x) passes through the node points xi, i = 0, 1, .
. ., n

Take r = k

Þ x = x0 + r h = x0 + k h = xk

k
k
Þ fk = S ( i ) = f0 + k Df0 + . . . + ( kk ) Dk f0
i=0

(i )0,=
the terms after k need not be considered n for n <
since i

we can prove this result by mathematical induction.

consider k = 0

0
Þ f0 Di = hence the result is true for k = 0 and assume that the result is also true upto k = 1, 2,
= S f0 f0 . . . p
i=0

p
fp = f0 + rDf0 + . . . + ( ) Dp f0
p

consider

2 of 5 2021-11-25, 11:08 a.m.


Newton's Forward Difference Formula https://math.iitm.ac.in/public_html/sryedida/caimna/interpolation/nfdf...

fp+1 = fp + Dfp

p p p p p p
= ( 0 )Df0 +(
1 )Df0
+...+ ( p )Dpf0 + ( 0 )Df0 +...+ (p-1)Dpf0 + (p)Dp+1f0
k+1
k+1
S ( i )Di f0
i=0
p p p+1
since (
i ) ( i-1 )
=(
i )
+

i.e., the nth degree polynomial approximation for f(x) can be written as

r(r-1) 2 r(r-1) . . . (r - n +1) n


f(x) @ Pn(x) = f0 + rDf0 + D f0 + . . . + D f0
2! n!

The formula is called Newton's (Newton-Gregory) forward interpolation formula.

So if we know the forward difference values of f at x0 until order n then the above formula
is very easy to use to find the function values of f at any non-tabulated value of x in the
internal [a,b].The higher order forward differences can be obtained by making use of
forward difference table.

Forward difference table : Consider the function value (xi, fi) i = 0,1,2,--5 then the
forward difference table is

xi f i Dfi D2fi D3fi D4fi D5fi

x0 f0
Df0 = f1- f0
x1 f1 D2f0 = Df1- Df0
Df1 = f2 - f1 D3f0 = D2f1- D2f0
x2 f2 D2f1 = Df2 - Df1 D4f0 = D3f1- D3f0
Df2 = f3 - f2 D3f1 = D2f2 - D2f1 D5f0 = D4f1- D4f0
x3 f3 D2f2 = Df3 - Df2 D4f1 = D3f2 - D3f1
Df3 = f4 - f3 D3f2 = D2f3 - D2f2
x4 f4 D2f3 = Df4 - Df3
Df4 = f5 - f4
x5 f5

Example : If f(x) is known at the following data points

xi 0 1 2 3 4
fi 1 7 23 55 109

then find f(0.5) and f(1.5) using Newton's forward difference formula.

Solution :

Forward difference table

3 of 5 2021-11-25, 11:08 a.m.


Newton's Forward Difference Formula https://math.iitm.ac.in/public_html/sryedida/caimna/interpolation/nfdf...

xi fi Dfi D2fi D3fi D4fi

0 1
6
1 7 10
16 6
2 23 16 0
32 6
3 55 22
54
4 109

(Note : The given data satifies f(x) = x3 + 2x2 + 3x +1, i.e the function is a third degree
polynomial and hence third forward differences are constant by the result).

By Newton's forward difference formula

r(r-1) 2 r(r-1)(r-2) 3
f(x) = f0 + rDf0 + D f0 + D f0
2! 3!

at x = 0.5, r = (x - x0) / h = (0.5 - 0) / 1 = 0.5

f(0.5) = 1 + 0.5 x 6 + 0.5(0.5 - 1) x 10 5 + 0.5(0.5 - 1)(0.5 - 2) x 6


2 6

= 1 + 3 + 2.5 x (-0.5) + (-0.25)(-1.5)

= 3.125

Exact value is
f(0.5) = (0.5)3 + 2(0.5)2 + 3(0.5) + 1
= 0.125 + 0.5 + 1.5 + 1
= 3.125

Error in the Interpolation :

ÞEn(x) = (x - x0)(x - x1) . . .(x - xn) f(n+1)(x) / (n+1)! x0 < x < xn

So for the Newton's method where the nodel points xi, i = 0, 1, . . . n are equally spaced,
the error is En(x) = (x - x0)(x - x0 - h) . . .(x - x0 - nh) f(n+1)(x) / (n+1)!

r(r-1). . .(r-n) (n+1) (n+1)


= h f (x)
(n+1)!

r
= ( n+1 ) h(n+1)f(n+1)(x)

Solution of Transcendental Equations | Solution of Linear System of Algebraic Equations | Interpolation & Curve Fitting

4 of 5 2021-11-25, 11:08 a.m.


Newton's Forward Difference Formula https://math.iitm.ac.in/public_html/sryedida/caimna/interpolation/nfdf...

Numerical Differentiation & Integration | Numerical Solution of Ordinary Differential Equations


Numerical Solution of Partial Differential Equations
search

5 of 5 2021-11-25, 11:08 a.m.

You might also like