Академический Документы
Профессиональный Документы
Культура Документы
Newton’s Interpolation
Established the Newtons forward difference interpolation formula.
Solution: Give the set of (n+1) values, viz.( x 0 , y 0 ) , ( x 1 , y 1 ) , ( x 2 , y 2 ) , … … … . ( x n , y n ) , of x and y ,
it is required to find y n ( x ) , a polynomial of the nth degree such that y and y n ( x ) agree at the
tabulated points. Let the values of x be equidistant.
i.e., Let x i=x 0 +ih for i=1,2,3 , … … … … . n
Since y (x ) is a polynomial of the nth degree, it may be written as
y n ( x ) =a0 +a 1 ( x−x 0 ) + a2 ( x−x 0 ) ( x−x 1 ) +a 3 ( x−x 0 ) ( x−x 1 ) ( x−x 2 )+ … … … … … ..+an ( x−x 0 ) ( x−x 1 )( x −x2 ) … … … ( x−
………(1)
Imposing now the condition that y and y n ( x ) should agree at the set of tabulated values.
When x=x 0 then y 0=a 0
When x=x 1 then y 1=a0 +a1 ( x−x 0 )
y1 = a0 + a1h
a 1 h= y 1 - a 0
a 1 h= y 1− y 0
a 1 h=∆ y 0
∆ y0
a 1=¿
h
When x=x 2 then y 2= a 0+ a1 ( x 2−x 0 ) + a2 ( x 2−x 0)( x 2−x 1)
y 2= y 0 + a1 2 h+a 2 2 h . h
y 2= y 0 +2 a1 h+2 a2 h
2
y 2= y 0 + 2∆ y 0 +2 a2 h2
2 a2 h = y 2− y 0−2 ∆ y 0
2
= y 2− y 0 −2( y 1− y 0 )
= y 2− y 1−( y 1− y 0 )
= ∆ y 1−∆ y o
= ∆ 2 y0
∆ 2 y 0 ∆2 y 0
a 2 = =
2 h2 2! h 2
Similarly we get
∆3 y 0
a 3=
3 ! h3
…………….
…………….
∆n y 0
a n=
n! hn
Putting the value of a 0 , a1 , a2 … … … … … … .. an ∈ (1 ) we get
∆ y0 ∆2 y0
y n(x) = y 0 + ( x−x 0) + ( x −x0 ) ( x−x 1 )
h 2 ! h2
Newton’s Interpolation 10
3
+ ∆ y0
( x−x 0 ) ( x−x 1 ) ( x−x 2 )+ … … … … … …
3! h3
∆n y 0
+ n ( x−x 0 ) ( x−x 1 ) ( x−x 2 ) … … … …..( x −xn −1 ) ……. (2)
n!h
Sitting x=x 0 + ph
x−x 0
Then =p
h
x−x 1 x−( x0 +h) x−x 0 h
= = − =p−1
h h h h
x−x 2 x−( x 0 +2 h ) x−x 0 2 h
= = − = p−2
h h h h
Similarly,
x−x n−1 x−( x 0 + ( n−1 ) h ) x −x0 ( n−1 ) h
= = − = p−( n−1 )
h h h h
Putting this value’s in (2) we get
p ( p−1 ) 2 p ( p−1 ) ( p−2 ) 3 p ( p−1 )( p−2 ) … .( p−n+1) n
y n ( x ) = y 0 + p ∆ y 0+ ∆ y 0+ ∆ y 0+ …+ ∆ y0
2! 3! n!
x−x 0
Where p =
h
Which is the Newton’s forward difference interpolation formula and is useful for
interpolation near the beginning of a set of tabulated value.
x y ∆ ∆2 ∆3 ∆4
1891 46
20
1901 66 -5
15 2
1911 81 -3 -3
12 -1
1921 93 -4
8
1931 101
3. Given,
sin 45 °=0.7071
sin 50° =0.7660
sin 55° =0.8192
sin 60° =0.8660
Newton’s Interpolation 12
Find sin 52 by using Newton’s forward interpolation formula.
°
Solution: We know that the Newton’s forward difference interpolation formula is,
p (p−1) 2 p ( p−1 ) ( p−2) 3
y n(x)= y 0+p∆ y 0 + ∆ y 0+ ∆ y 0+… … …+
2! 3!
p ( p−1 )( p−2 )+ … …+( p−n+1) n
∆ y0
n!
… ...(1)
x−x 0
[Where, p= ]
h
We have,
x 45 ° 50° 55° 60°
y 0.7071 0.7660 0.8192 0.8660
x y ∆ ∆2 ∆3
45° 0.7071
0.0589
50° 0.7660 -0.0057
0.0532 -0.0007
55° 0.8192 -0.0064
0.0468
60° 0.8660
52 °−45 °
Here, h=5° , x0 =45 ° , x=52° , p= =1.4
5°
So, from (1) we get,
1.4 ( 1.4−1 ) 1.4 ( 1.4−1 ) (1.4−2)
y (52 °)=0.7071+ 1.4(0.0589)+ (−0.0057)+ (−0.0007)
2! 3!
¿ 0.7071+0.08246−0.001567+0.0000392
¿ 0.7880032
Thus , sin 52° =0.788 ( approximately ).
2 a2 h = y n−2 +2 a1 h− y n
2
= y n−2−2( y n− y n−1)− y n
= y n−2 +2 y n−2 y n−1− y n
= y n−2 + y n−2 y n−1
= y n− y n−1 − y n−1+¿ y ¿n−2
4. The population of a country in the decennial census where as under .Estimate the
population for the year 1925.
Year : x 1891 1901 1911 1921 1931
Population : y (In thousands ) 46 66 81 93 101
Solution: Here the interpolation is desired at the end of the table and so we use Newton’s
backward differences interpolation formula.
We know that the Newton’s backward difference interpolation formula is,
p ( p+1 ) 2 p ( p +1 )( p+2 ) 3 p ( p+ 1 )( p+2 ) … .( p+n−1) n
yn ( x) = yn + p ∇ yn + ∇ y n+ ∇ y 0 +… … …+ ∇ yn
2! 3! n!
Now, put
h=10 , x 0= 1931 , x=1925
1931−1925
p= = -0.6
10
The difference table is :
x y ∇ ∇2 ∇3 ∇4
1891 46
20
1901 66 -5
15 2
1911 81 -3 -3
12 -1
1921 93 -4
8
1931 101
x Y ∇ ∇2 ∇3 ∇4
0.10 0.1003
0.0508
0.15 0.1511 0.0008
0.0516 0.0002
0.20 0.2027 0.0010 0.0002
0.0526 0.0004
0.25 0.25553 0.0014
0.0540
0.30 0.3093
Here(1) gives
−0.8 (−0.8+1 ) −0.8 (−0.8+1 ) (−0.8+2 ) −0.8 (−0.8+1 ) (−0.8+2
y ( 0.26 )=0.3093−0.8 ( 0.0540 ) + ( 0.0014 ) + ( 0.0004 ) +
2! 3! 4!
= 0.2662