Beruflich Dokumente
Kultur Dokumente
u (u 1) 2 u (u 1)(u 2) 3
y f ( x) f ( x0 ) u f ( x0 ) f ( x0 ) f ( x0 )
2! 3!
u (u 1)...(u (n 1)) n x x0
... f ( x0 ) , where u .
n! h
u (u 1) 2 u (u 1)(u 2) 3
y f ( x) f ( xn ) u f ( xn ) f ( xn ) f ( xn )
2! 3!
u (u 1)...(u (n 1)) n
... f ( xn ) ,
n!
x xn
where u .
h
Construction of the forward difference table:
x f ( x) f ( x) 2 f ( x) 3 f ( x) 4 f ( x)
x0 f ( x0 )
f ( x0 )
x1 x0 h f ( x1 ) 2 f ( x0 )
f ( x1 ) 3 f ( x0 )
x2 x0 2h f ( x2 ) 2 f ( x1 ) 4 f ( x0 )
f ( x2 ) 3 f ( x1 )
x3 x0 3h f ( x3 ) 2 f ( x2 )
f ( x3 )
x4 x0 4h f ( x4 )
x f ( x) f ( x) 2 f ( x) 3 f ( x) 4 f ( x)
x0 f ( x0 )
f ( x1 )
x1 x0 h f ( x1 ) 2 f ( x2 )
f ( x2 ) 3 f ( x3 )
x2 x0 2h f ( x2 ) 2 f ( x3 ) 4 f ( x4 )
f ( x3 ) 3 f ( x4 )
x3 x0 3h f ( x3 ) 2 f ( x4 )
f ( x4 )
x4 x0 4h f ( x4 )
1. Construct the forward difference table for the following data
x 0 1 2 3 4 5 6
Solution: Construction of the forward difference table for the given data is
x f ( x) f ( x) 2 f ( x) 3 f ( x) 4 f ( x) 5 f ( x) 6 f ( x)
0 176
9
1 185 0
9 0
2 194 0 0
9 0 1
3 203 0 1 5
9 1 4
4 212 1 3
8 2
5 220 1
9
6 229
x 0 1 2 3
y 1 2 1 10
x f ( x) f ( x) 2 f ( x) 3 f ( x)
0 1
1
1 2 -2
-1 12
2 1 10
9
3 10
x x0 x 0
Here x0 0, h 1 . Therefore u x.
h 1
u (u 1) 2 u (u 1)(u 2) 3
y f ( x) f ( x0 ) u f ( x0 ) f ( x0 ) f ( x0 )
2! 3!
x( x 1) x( x 1)( x 2)
1 x (1) (2) (12)
2! 3!
x 20 25 30 35 40 45
4. Find the curve y f ( x) which passes through the points (0, 1), (1, 1), (2, 1) and
(3, 2)
Using Newton’s forward formula and hence find its slope at x 3.5
5. Find the value of y at x 2.65 using Newton’s backward formula, given that
x -1 0 1 2 3
y -21 6 15 12 3
Solution: Let y f ( x) . To find f (2.65)
x f ( x) f ( x) 2 f ( x) 3 f ( x) 4 f ( x)
-1 -21
27
0 6 -18
9 6
1 15 -12 0
-3 6
2 12 -6
-9
3 3
x xn 2.65 3
Here x 2.65, x0 3 and h 1 . Therefore u 0.35 .
h 1
u (u 1) 2 u (u 1)(u 2) 3
y f ( x) f ( xn ) u f ( xn ) f ( xn ) f ( xn )
2! 3!
6. From the following table estimate the number of persons whose daily wage is
between Rs.150 and Rs.175
Central Differences:
u (u 1) 2 (u 1)u (u 1) 3
yu f (u ) f (0) u f (0) f (1) f (1)
2! 3!
x x0
where u .
h
(u 1)u 2 (u 1)u (u 1) 3
yu f (u ) f (0) u f (1) f (1) f (2)
2! 3!
x x0
where u .
h
u 2 (u 2 12 ) 4 x x0
f (2) …, where u .
4! h
Construction of the central difference table:
x x x0 f (u) f (u ) 2 f (u ) 3 f (u ) 4 f (u )
u
h
x0 2h 2 f (2)
f (2)
x0 h 1 f (1) 2 f (2)
f (1) 3 f (2)
f (0) 3 f (1)
x0 h 1 f (1) 2 f (0)
f (1)
x0 2h 2 f (2)
0 0 5 10 15 20 25 30
2. The following table gives the specific heat of the ethyl alcohol at different
temperatures.
0 0 10 20 30 40 50
Temperature ( x C )
x 21 25 29 33 37
x x0 30 29
Here h 4 and x 30 . Therefore u 0.25
h 4
x x x0 f (u) f (u ) 2 f (u ) 3 f (u ) 4 f (u )
u
h
21 2 18.4708
-0.6564
25 1 17.8144 -0.0510
-0.7074 -0.0054
-0.7638 -0.0076
33 1 -0.0640
16.3432
-0.8278
37 2 15.5154
u 2 (u 2 12 ) 4
f (2)
4!
Therefore,
0.7638 0.7074 (0.25)2
f (0.25) 17.1070 0.25 2! 0.0564
2
16.9217
4. Using Stirling’s formula compute y35 given that y10 600, y20 512, y30 439,
Divided differences: The first divided difference of f ( x) for the arguments x0 , x1 is denoted
by f ( x0 , x1 ) or [ x0 , x1 ] and defined as
f ( x1 ) f ( x0 )
[ x0 , x1 ] .
x1 x0
[ x1 , x2 ] [ x0 , x1 ]
[ x0 , x1 , x2 ] .
x2 x0
[ x1 , x2 , x3 ] [ x0 , x1 , x2 ]
[ x0 , x1 , x2 , x3 ] .
x3 x0
And so on the nth divided difference of f ( x) for the arguments x0 , x1 ,..., xn is denoted by
f ( x0 , x1 ,..., xn ) or [ x0 , x1 ,..., xn ] and defined as
[ x1 , x2 ,..., xn ] [ x0 , x1 ,..., xn 1 ]
[ x0 , x1 ,..., xn ] .
xn x0
Construction of the divided difference table:
[ x0 , x1 ]
x1 f ( x1 ) [ x0 , x1 , x2 ]
[ x1 , x2 ] [ x0 , x1, x2 , x3 ]
x2 f ( x2 ) [ x1 , x2 , x3 ]
[ x2 , x3 ]
x3 f ( x3 )
10 5
5
2 1
2 10 85
1
4 1
11
0
26 10 7 1
8
42
00
0
10 1
4 26 13 8
1
72
65 26 1 1
13 0
74 10 2
7 65 19 13
1
10 4
122 65
19
10 7
10 122
Newton’s divided difference formula:
f ( x) f ( x0 ) ( x x0 )[ x0 , x1 ] ( x x0 )( x x1 )[ x0 , x1, x2 ] ( x x0 )( x x1 )( x x2 )[ x0 , x1 , x2 , x3 ]
. . . ( x x0 )( x x1)...( x xn1)[ x0 , x1,..., xn ] .
1. Find the value of y at x 9 using Newton’s divided difference formula, given that
x 5 7 11 13 17
Solution: Let y f ( x ) .
f ( x) f ( x0 ) ( x x0 )[ x0 , x1 ] ( x x0 )( x x1 )[ x0 , x1, x2 ] ( x x0 )( x x1 )( x x2 )[ x0 , x1 , x2 , x3 ]
( x x0 )( x x1)( x x2 )( x x3 )[ x0 , x1, x2 , x3 , x4 ]
f (9) 150 (9 5)(121) (9 5)(9 7)(24) (9 5)(9 7)(9 11)(1)
( x x1 )( x x2 )( x x3 )...( x xn ) ( x x0 )( x x2 )( x x3 )...( x xn )
f ( x) f ( x0 ) f ( x1 )
( x0 x1 )( x0 x2 )( x0 x3 )...( x0 xn ) ( x1 x0 )( x1 x2 )( x1 x3 )...( x1 xn )
( x x0 )( x x1 )( x x2 )...( x xn 1 )
. . . f ( xn ) .
( xn x0 )( xn x1 )( xn x2 )...( xn xn 1 )
1. Find the form of the function y f ( x ) for the following data. Hence find y at x 3 .
x 0 1 2 5
y 2 3 12 147
Solution: Given x0 0; x1 1; x2 2; x3 5
( x x1 )( x x2 )( x x3 ) ( x x0 )( x x2 )( x x3 )
f ( x) f ( x0 ) f ( x1 )
( x0 x1 )( x0 x2 )( x0 x3 ) ( x1 x0 )( x1 x2 )( x1 x3 )
( x x0 )( x x1 )( x x3 ) ( x x0 )( x x1 )( x x2 )
f ( x2 ) f ( x3 )
( x2 x0 )( x2 x1 )( x2 x3 ) ( x3 x0 )( x3 x1 )( x1 x2 )
x3 x 2 x 2
Therefore, f (3) 35.
x 0 1 2 5
y 2 3 12 147