Solveeit Logo

Question

Question: Using Newton's backward difference formula find the value of y at x=3.5 for following data: | x | 0...

Using Newton's backward difference formula find the value of y at x=3.5 for following data:

x01234
y323611
Answer

8.25

Explanation

Solution

The given data is:

x01234
y323611

We need to find the value of y at x = 3.5 using Newton's backward difference formula. The points are equally spaced with interval h=1h = 1.

Newton's backward difference formula is given by:

y(x)=yn+pyn+p(p+1)2!2yn+p(p+1)(p+2)3!3yn+y(x) = y_n + p \nabla y_n + \frac{p(p+1)}{2!} \nabla^2 y_n + \frac{p(p+1)(p+2)}{3!} \nabla^3 y_n + \dots

where x=xn+phx = x_n + ph.

We choose the last point as the reference point, so xn=4x_n = 4 and yn=y4=11y_n = y_4 = 11. The value of x at which we want to find y is 3.5. h=1h = 1

Calculate pp:

p=xxnh=3.541=0.5p = \frac{x - x_n}{h} = \frac{3.5 - 4}{1} = -0.5

Construct the backward difference table:

xyy\nabla y2y\nabla^2 y3y\nabla^3 y4y\nabla^4 y
03
122 - 3 = -1
233 - 2 = 11 - (-1) = 2
366 - 3 = 33 - 1 = 22 - 2 = 0
41111 - 6 = 55 - 3 = 22 - 2 = 00 - 0 = 0

The backward differences at xn=x4=4x_n=x_4=4 are the last values in each column:

y4=11y_4 = 11 y4=5\nabla y_4 = 5 2y4=2\nabla^2 y_4 = 2 3y4=0\nabla^3 y_4 = 0 4y4=0\nabla^4 y_4 = 0

Since the third and fourth differences are zero, the polynomial is of degree 2, and the formula truncates after the second difference term.

Substitute the values of y4y_4, pp, y4\nabla y_4, and 2y4\nabla^2 y_4 into Newton's backward difference formula:

y(3.5)=y4+py4+p(p+1)2!2y4+y(3.5) = y_4 + p \nabla y_4 + \frac{p(p+1)}{2!} \nabla^2 y_4 + \dots y(3.5)=11+(0.5)(5)+(0.5)(0.5+1)2(2)y(3.5) = 11 + (-0.5)(5) + \frac{(-0.5)(-0.5+1)}{2} (2) y(3.5)=112.5+(0.5)(0.5)2(2)y(3.5) = 11 - 2.5 + \frac{(-0.5)(0.5)}{2} (2) y(3.5)=112.5+0.252(2)y(3.5) = 11 - 2.5 + \frac{-0.25}{2} (2) y(3.5)=112.50.25y(3.5) = 11 - 2.5 - 0.25 y(3.5)=8.50.25y(3.5) = 8.5 - 0.25 y(3.5)=8.25y(3.5) = 8.25

Thus, the value of y at x = 3.5 is 8.25.