X0 value for Newton's forward interpolation formula

Click For Summary

Discussion Overview

The discussion revolves around the appropriate choice of the base value (x0) for Newton's forward interpolation formula when estimating the y value at x=25, given a set of x and y values. Participants explore the implications of choosing different base values on the accuracy of the interpolation, as well as the potential use of alternative interpolation methods.

Discussion Character

  • Debate/contested
  • Mathematical reasoning

Main Points Raised

  • Some participants argue for using x0 as 10, suggesting it is the correct application of the formula regardless of proximity to the interpolation point.
  • Others propose using x0 as 20, claiming it is closer to the interpolation point and thus expected to yield a more accurate result.
  • A participant mentions that using 10 as the base would allow for the use of the 4th difference in the difference table, which could be beneficial.
  • Another participant explains that the higher powers of the difference operator are intended to compensate for curvature in the function, and moving the base closer to the interpolation point may improve accuracy.
  • There is a suggestion that if the polynomial is computed in terms of x, substituting x=25 should yield a different y value depending on the base used.
  • One participant questions whether the Central difference formula might be more appropriate than Newton's interpolation formula for this problem.

Areas of Agreement / Disagreement

Participants do not reach a consensus on the best choice for x0, with multiple competing views on the implications of using either 10 or 20 as the base value. The discussion remains unresolved regarding the optimal approach for this interpolation problem.

Contextual Notes

Participants express uncertainty about the accuracy of their chosen base values and the impact of different interpolation methods. There is also mention of the limitations of the approximation when using finite powers of the difference operator.

Raghav Gupta
Messages
1,010
Reaction score
76
If x values are: 10, 20, 30, 40, 50
corresponding y values are:20, 65, 180, 390, 505
then what is y value at x=25.
I was having an argument with maths sir. I was saying to take x0 as 10 to get the answer as 107.14, which is correct application of formula,
but our maths sir said that we should take x0 as 20, since it is closest value to 25.
According to me in formula we should take first value incase if it is not backward interpolation formula as otherwise then we are missing then the 4th difference in difference table.
 
Physics news on Phys.org
According to Wolfram, you should use 20 as your base, because the interpolation point should not be more than one step away from the base. That is, you are trying to estimate ##f(x_0+a)## and it is required that ##a\in[0,1]##. Dividing the x values by 10 to give steps of 1, we find that the only value of ##x_0## that can give ##a## in that range is ##x_0=2, a=0.5##, which corresponds to using the original value of 20 as a base.

You are right that doing that loses the ability to use the 4th diff. But that is more than made up for by the fact that your first difference will be more accurate because you start three times closer to the interpolation point.
 
But when we will compute the interpolating polynomial, and then give value as 25, definitely the answer would come taking 10 as the base.
 
Raghav Gupta said:
But when we will compute the interpolating polynomial, and then give value as 25, definitely the answer would come taking 10 as the base.
I'm afraid I don't understand what you are saying.

If you are saying that it's possible to do the problem using 10 as the base, you're right.

It's just that in general it will be expected to be more accurate if you use a base that's as close as possible to, but not greater than, the interpolation point. In this case that base is x=20.
 
andrewkirk said:
I'm afraid I don't understand what you are saying.

If you are saying that it's possible to do the problem using 10 as the base, you're right.

It's just that in general it will be expected to be more accurate if you use a base that's as close as possible to, but not greater than, the interpolation point. In this case that base is x=20.
Can you explain why to take base as 20 and why it would be more accurate?
Can you give a graph or equation related to these data points?
 
Raghav Gupta said:
Can you explain why to take base as 20 and why it would be more accurate?
The higher powers of ##\Delta## in the formula are used to compensate for curvature in the function. They correct for the fact that, the further one moves away from the base point, the less accurate the linear approximation, which only uses the first power of ##\Delta##, becomes.

If the function can be expressed as a power series (this is called being an 'analytic' function), the formula will give an exactly correct answer, no matter how far we are away from the base point, provided we use all of the infinitely many powers of ##\Delta##. Since we can't do that, the approximation will be imperfect, so the curvature adjustment will never be complete.

If we use 10 as base point we have four powers of ##\Delta## to use, compared to three powers if we use 20 as base. That extra power needs to compensate for the curvature that occurs between points 10 and 20. But it's only partial compensation. To fully compensate we'd need all the infinitely many terms. So instead we take all of that curvature out of the equation by moving the base point closer to the interpolation point.

This is a verbal explanation, intended to give intuition. I'm confident a formal mathematical explanation could be given, but it would be long to write and long to read, so I haven't done one.
 
Suppose we initially don't know for what value of x we have to find y value
and we find y in terms of x by the given data points.
Now put x=25 in equation, then definitely a different value would come for y, isn't it? Since we have taken base as 10.
 
If you don't know what your interpolation value will be then, other things being equal, you should choose the base to be the one that gives you the greatest number of available powers of ##\Delta##. But that's a different question from the one posed in the OP.
 
Yes,suppose now we have calculated the polynomial in terms of x. Now we give the x value as 25. Is this correct application or not?

Also in this problem instead of Newton interpolation formula should we apply Central difference formula?
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 4 ·
Replies
4
Views
1K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 65 ·
3
Replies
65
Views
9K
  • · Replies 22 ·
Replies
22
Views
4K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
3
Views
2K
Replies
1
Views
3K
  • · Replies 4 ·
Replies
4
Views
3K