X0 value for Newton's forward interpolation formula

In summary, the conversation discusses the appropriate base value to use in the interpolation formula to determine the corresponding y value for a given x value. The speaker argues for using 10 as the base, while the mathematician suggests using 20 as it is closer to the interpolation point. The speaker questions the accuracy and discusses the use of higher powers in the formula to compensate for curvature in the function. The mathematician suggests using the base value that allows for the most available powers of Delta. Ultimately, the conversation ends with a question about the correct application of the formula and whether the central difference formula should be used instead.
  • #1
Raghav Gupta
1,011
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
  • #2
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.
 
  • #3
But when we will compute the interpolating polynomial, and then give value as 25, definitely the answer would come taking 10 as the base.
 
  • #4
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.
 
  • #5
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?
 
  • #6
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.
 
  • #7
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.
 
  • #8
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.
 
  • #9
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?
 

1. What is the "X0" value in Newton's forward interpolation formula?

The "X0" value in Newton's forward interpolation formula represents the starting point or reference point from which the interpolation will be calculated. It is the first known value of the independent variable in the data set.

2. How is the "X0" value determined in Newton's forward interpolation formula?

The "X0" value is typically chosen based on the data set being used for interpolation. It should be a value that is close to the middle of the data set and is known or easily calculated. In some cases, it may be chosen as the first or last value in the data set.

3. Can the "X0" value be changed in Newton's forward interpolation formula?

Yes, the "X0" value can be changed in Newton's forward interpolation formula. However, it may affect the accuracy of the interpolation if the new value is not appropriately chosen. It is important to choose a value that is close to the middle of the data set and is known or easily calculated.

4. What happens if the "X0" value is not included in the data set for Newton's forward interpolation formula?

If the "X0" value is not included in the data set, it cannot be used as the starting point for the interpolation. In this case, another value from the data set should be chosen as the reference point, and the interpolation formula should be adjusted accordingly.

5. How does the "X0" value affect the accuracy of Newton's forward interpolation formula?

The "X0" value plays a crucial role in determining the accuracy of Newton's forward interpolation formula. If the chosen value is far from the middle of the data set or is not known accurately, it may result in a less accurate interpolation. Therefore, it is important to choose the "X0" value carefully for better accuracy.

Similar threads

  • Precalculus Mathematics Homework Help
Replies
4
Views
643
Replies
5
Views
845
  • MATLAB, Maple, Mathematica, LaTeX
Replies
2
Views
2K
Replies
22
Views
2K
Replies
1
Views
812
  • Programming and Computer Science
Replies
1
Views
1K
  • Electrical Engineering
Replies
4
Views
834
  • General Math
Replies
2
Views
814
  • Nuclear Engineering
Replies
0
Views
486
  • MATLAB, Maple, Mathematica, LaTeX
Replies
2
Views
1K
Back
Top