


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!



Introduction Finite differences play an important role in numerical techniques, where tabulated values of the functions are available. For instance, consider a function y = f ( ). x As x takes values x 0 (^) , x 1 (^) , x 2 , โฆ, xn , Let the corresponding values of y be y 0 (^) , y 1 (^) , y 2 , โฆ, yn. That is, for given a table of values, ( xk , yk ), k = 0,1, 2, โฆ, n ; The process of estimating the value of y , for any intermediate value of x , is called interpolation. The method of computing the value of y , for a given value of x , lying outside the table of values of x is known as extrapolation. If the function f ( x ) is known, the value of y corresponding to any x can be readily computed to the desired accuracy. For interpolation of a tabulated function, the concept of finite differences is important. The knowledge about various finite difference operators and their symbolic relations are very much needed to establish various interpolation formulae.
Forward Differences For a given table of values ( xk , yk ), k = 0,1, 2,..., n with equally spaced abscissas of a function y = f ( ), x we define the forward difference operator โ as follows โ y (^) i = yi (^) + 1 โ yi , i = 0,1,..., ( n โ1) To be explicit, we write 0 1 0 1 2 1
n 1 n n 1
y y y y y y
y (^) โ y y โ
These differences are called first differences of the function y and are denoted by the symbol โ y (^) i Here, โ^ is called the first difference operator Similarly, the differences of the first differences are called second differences, defined by โ 2 y 0 (^) = โ y 1 (^) โ โ y 0 (^) , โ 2 y 1 (^) = โ y 2 (^) โ โ y 1 Thus, in general โ 2 yi = โ y (^) i (^) + 1 โ โ yi Here โ 2 is called the second difference operator. Thus, continuing, we can define, r-th difference of y , as โ^ r^ yi = โ r^ โ^1 yi (^) + 1 โ โ r โ^1 yi By defining a difference table as a convenient device for displaying various differences, the above defined differences can be written down systematically by constructing a difference table for values ( xk , yk ), k =0,1,..., 6 Forward Difference Table
This difference table is called forward difference table or diagonal difference table. Here, each difference is located in its appropriate column, midway between the elements of the previous column. Please note that the subscript remains constant along each diagonal of the table. The first term in the table, that is y 0 is called the leading term, while the differences โ y 0 (^) , โ 2 y 0 (^) , โ 3 y 0 ,...are called leading differences Example Construct a forward difference table for the following values of x and y :
Solution
1 0 0 1 0 0 2 1 1 2 1 1 3 2 2 3 2 2
or or or
y y y y y y y y y y y y y y y y y y
Similarly,
1 0 2 0 1 0 2 0 2 1 2 1 2 1 2 1
or or
y y y y y y y y y y y y
SSiimmiillaarrllyy,, wwee ccaann aallssoo wwrriittee
(^2 1 2 0 3 0 2 1 2 0 ) (^2 2 2 1 3 1 2 2 2 1 )
or or
y y y y y y y y y y y y
โ y (^) 2 = โ( y 0 (^) + โ 2 y 0 (^) ) + โ( 2 y 0 (^) + โ^3 y 0 )
= โ y 0 (^) + 2 โ^2 y 0 (^) + โ^3 y 0
3 2 2 1 1 1 2 1 0 0 2 0 3 0
y y y y y y y y y y y
= (1 + โ) 3 y 0 SSiimmiillaarrllyy,, wwee ccaann ssyymmbboolliiccaallllyy wwrriittee 1 0 2 2 0 3 3 0
0
n (1^ ) n
y y y y y y
y y
HHeennccee,, wwee oobbttaaiinn yn = y 0 (^) +^ n^ C 1 (^) โ y 0 (^) + n^ C 2 (^) โ 2 y 0 (^) + n^ C 3 (^) โ^3 y 0 (^) + "+ โ ny 0 OR
0 0
n (^) n i