Loading
When your data points are unequally spaced, standard forward/backward difference tables break down. Newton's Divided Difference Method solves this by dividing each difference by its corresponding interval span!
Given the unequally spaced dataset:
| x | 0 | 1 | 3 | 4 | 7 |
|---|---|---|---|---|---|
| y | 1 | 3 | 49 | 129 | 813 |
Let's estimate the value of at !
| x | y | 1st Order | 2nd Order | 3rd Order | 4th Order |
|---|---|---|---|---|---|
| 0 (x_0) | 1 (y_0) | 2 (f[x_0,x_1]) | 7 (f[x_0,x_1,x_2]) | 3 (f[x_0..x_3]) | 0 |
| 1 | 3 | 23 | 19 | 3 | - |
| 3 | 49 | 80 | 37 | - | - |
| 4 | 129 | 228 | - | - | - |
| 7 | 813 | - | - | - | - |
How each entry is worked out: (lower − upper) ÷ (the x-span it covers).
Newton Divided Difference Formula:
Substituting values ():
Using Newton's divided differences for unequal spacing, the estimated functional value at is 1.831!
Dividing by the gap between neighbouring x values.
Subtracting the wrong way.
Using the wrong diagonal.
Missing factors in the products.
Thinking the points must be in order or equally spaced.
Writing only the final answer.
Add this calculator to a new note, next to your own working. It stays live: change the numbers there any time.