Professional Documents
Culture Documents
2.3.1. Forward Differences (Cont.) : y y y y y y y
2.3.1. Forward Differences (Cont.) : y y y y y y y
Thus, we have
∆y0 = y1 − y 0
∆3 y0 = ∆(∆2 y0 ) = ∆2 y1 − ∆2 y0 = y3 − 3 y2 + 3 y1 − y0
∆4 y0 = ∆(∆3 y0 ) = ∆3 y1 − ∆3 y0 = y4 − 4 y3 + 6 y2 − 4 y1 + y0
and so on.
In general,
rk
k
∆k yi = ∑ (−1) r y
r =0
i+ k −r , (2.3.1.5)
We can calculate the above forward differences very easily with the help of the following table
1
x y ∆y ∆2 y ∆3 y ∆4 y ∆5 y
x0 y0
∆y 0
x1 y1 ∆2 y0
∆ y1 ∆3 y0
x2 y2 ∆2 y1 ∆4 y0
∆3 y1
2
∆5 y0
∆y 2 ∆ y2
x3 y3 ∆4 y1
3
∆ y2
∆y 3 2
∆ y3
x4 y4
∆y 4
x5 y5
2
2.4 The Shift, differentiation and averaging operators
Ef ( x) = f ( x + h ) (2.4.1.1)
∆f ( x) = f ( x + h) − f ( x)
= Ef ( x) − f ( x)
∆= E−I (2.4.1.2)
The eq. (2.4.1.2) represents a relation between the shift operator and the forward difference
operator ∆ .
Now, we have
Ef ( x) = f ( x + h)
E 2 f ( x ) = E .Ef ( x ) = Ef ( x + h ) = f ( x + 2 h )
E 3 f ( x ) = E . E 2 f ( x ) = Ef ( x + 2 h ) = f ( x + 3h )
3
By the method of induction, it may be easily proved that
E n f ( x ) = f ( x + nh ) , (2.4.1.3)
1 h h
µf ( x ) = f x + + f x − (2.4.3.1)
2 2 2
1 1/ 2
=
2
[
E f ( x ) + E −1 / 2 f ( x ) ]
1 1/ 2
=
2
[
E + E −1/ 2 f ( x)]
This implies that
1 1/ 2
µ=
2
[
E + E −1 / 2 ] (2.4.3.2)
The eq. (2.4.3.2) represents a relation between the averaging operator and the shift operator E .
∆2 4
Exercise 1: Prove that x = 12x 2 + 2 , where the interval of differencing being unity.
E
x 0 1 2 3 4 5
f(x) 0 − 8 15 − 35
4
2.6. Backward differences
Let y0 , y1 ,..., yn be a given set of values of y corresponding to the equidistant values x0 , x1 ,..., xn of
∇f (x) = f ( x) − f ( x − h) (2.6.2)
= f ( x ) − E −1 f ( x )
∇ = I − E −1 (2.6.2)
The eq. (2.6.2) represents a relation between the shift operator and the backward difference
operator ∇ .