1 of 67

UNIT-2

Finite Differences

and

Interpolation

with

Equal Intervals

2 of 67

Differences:

  1. Forward Difference: The forward difference is

denoted as ∆f.

If for given arguments are

and its functional values are

The forward difference is respectively define as:

3 of 67

4 of 67

Calculation of Higher order Difference: (Second order)

In this way one can calculate----------

5 of 67

6 of 67

In this way one can obtain-------

Exm. Construct difference table for following data.

x

0

1

2

3

4

5

F(x)

12

15

20

27

39

52

7 of 67

(2) Back ward Difference: The Back ward difference is denoted as f.

If for given arguments are

and its functional values are

The Backward difference is respectively define as:

8 of 67

Calculation of Higher order Difference: (Second order)

9 of 67

10 of 67

In this way one can obtain-------

x

0

1

2

3

4

F(x)

2

3

12

35

78

Exm. Construct difference table for following data.

11 of 67

In this way one can obtain-------

x

0

1

2

3

4

F(x)

2

3

12

35

78

Exm. Construct difference table for following data.

12 of 67

The Central difference

Define as:

The Shift Operator (E)

Define as:

13 of 67

The Mean or Average Operator

Define as:

In usual notation prove:

14 of 67

15 of 67

16 of 67

17 of 67

18 of 67

19 of 67

20 of 67

21 of 67

Exa. Find the missing term of the following data.

f(1)=8, f (2)=12, f(3)=19, f(4)=29

Sol.: First of all we construct difference table for the given data.

x

F(x)=y

1

8

4

2

12

3

7

0

3

19

3

10

4

29

22 of 67

We have to find out f(6):

First of all we note the following formula

From the given data the difference value of x means

h=1, initial value x0=1 we have to given four values,

So we can obtain expansion up to ∆3----

In calculation of f(6)=f(x5)

23 of 67

24 of 67

In usual notation prove that

Let y=f(x) be a continuous function and the value of x are equally space .

25 of 67

26 of 67

Expression of Polynomial

Let f(x) be a given polynomial of degree n which is to be expressed in terms of factorial notation.

Let

27 of 67

Expression of Polynomial

Let f(x) be a given polynomial of degree n which is to be expressed in terms of factorial notation.

Let

28 of 67

Substituting x=0, in all the above equations, we have

Sub. Ai’s we get

29 of 67

Exa. Express in factorial notation and hence find its differences in factorial notation, the interval of differencing being unity.

Sol. Here given polynomial of degree four is given.

So, we need in our difference table up to fourth difference.

30 of 67

x

f(x)

0

5

-20

1

-15

-10

-30

12

2

-45

2

72

-28

84

3

-73

86

58

4

-15

31 of 67

We have

32 of 67

Find the polynomial f(x), which satisfy the following

data and hence find the value of f(1.5).

x

1

2

3

4

5

y

4

13

34

73

136

Sol. We have to construct a difference table for

Given data.

33 of 67

x

f(x)

1

4

9

2

13

12

21

6

3

34

18

39

6

4

73

24

63

5

136

As the third difference is constant.

So, we have a polynomial of degree three.

We know that

34 of 67

35 of 67

Self-Practice example: Write down the polynomial which satisfy the following data.

x

-1

0

1

2

f(x)

1

1

1

-5

Interpolation:

The method of finding the value of f(x) for a given

Value of x is known as interpolation.

36 of 67

NEWTON’S FORWARD DIFFERENCE INTERPOLATION FORMULA:

Let y=f(x) be a function of x. Given the set of n+1

value

Where x is independent and y dependent variable.

The value of x is at equally spaced.

So, y=f(x) is a polynomial of x degree n.

Such that the value of y agree at the given point

can be written as

37 of 67

(1)

Where are constant to be determine.

Put in equation (1)

Again, put in equ.(1)

38 of 67

Put in equation (1)

39 of 67

Similarly putting

Now

40 of 67

Similarly, we can find remaining terms, using all the above values in equation (1), we get

41 of 67

Exa.: The population of town were as under

Year

1891

1901

1911

1921

1931

Population

(In thousand)

46

66

81

93

101

When Finding is starting of the table than we can apply Newton’s forward formula

Estimate the population for the year 1895.

Solution: We have to find x=1895 which is starting of the table, so we can apply Newton’s forward

interpolation formula.

42 of 67

NOW, NEWTON’S FORWARD DIFFERENCE INTERPOLATION FORMULA:

43 of 67

Difference table:

x

y

1891

46

20

1901

66

-5

15

2

1911

81

-3

-3

12

-1

1921

93

-4

8

1931

101

44 of 67

For given data:

Sub. All these values in N.F..I.F.

45 of 67

Self-Practice Example:

Find f(1.02) having given:

x

1.00

1.10

1.20

1.30

f(x)

0.8415

0.8912

0.9320

0.9636

46 of 67

Stirling ‘s Interpolation Formula

Let y=f(x) is a function of x.

Given set of n+1 value

Of x & y. The value of x is equally spaced.

To find a polynomial of a x of degree n we consider, the following diff. table in which central co-ordinate as , corresponding to

47 of 67

By Gauss’s forward formula, we have

By Gauss’s Backward formula, we have

48 of 67

Adding equation (1) and (2) gives the formula

49 of 67

To find a polynomial of a x of degree n we consider, the following diff. table in which central co-ordinate as , corresponding to

Bessel’s Interpolation Formula

50 of 67

Difference table:

51 of 67

The Bessel’s formula is of the form

Where are constant to be determine.

We know that

52 of 67

53 of 67

54 of 67

Sub. these values of (a), (b),(c) and (d) in equation (1)

55 of 67

56 of 67

Comparing the coefficient of from

Equ. (2) and (3)

57 of 67

Using all these values in equation (1), we get

Bessel’s Formula

58 of 67

To find a polynomial of a x of degree n we consider, the following diff. table in which central co-ordinate as , corresponding to

Everett’s Interpolation Formula

Let y=f(x) is a function of x. Given a set of n+1

values of x and y. The value of x are at equally spaced.

59 of 67

Difference table:

For this formula we can use even order term from

The table.

60 of 67

The Everett’s formula is of the form

Where are constant to be determine.

We know that

61 of 67

62 of 67

63 of 67

Sub. these values of (a), (b),(c) and in equation (1)

Comparing the coefficient of equ. (2) and (3)

64 of 67

65 of 67

Consider

66 of 67

67 of 67

Using the values of In equation (1)

Everett’s Formula