Example 4.3.1.
Construct a Newton Divided Differences Table for the data in the table:
| \(x\) | \(0\) | \(1\) | \(3\) | \(6\) |
| \(y\) | \(0\) | \(1\) | \(2\) | \(5\) |
Solution.
| \(x_{0}=0\) | \(f[x_{0}]=0\) | |||
| \(f[x_{0},x_{1}]=1\) | ||||
| \(\boxed{x_1=1}\) | \(f[x_{1}]=1\) | \(f[x_{0},x_{1},x_{2}]=-1/6\) | ||
| \(f[x_{1},x_{2}]=1/2\) | \(f[x_{0},x_{1},x_{2},x_{3}]=2/45\) | |||
| \(x_{2}=3\) | \(f[x_{2}]=2\) | \(f[x_{1},x_{2},x_{3}]=1/10\) | ||
| \(f[x_{2},x_{3}]=1\) | ||||
| \(\boxed{x_3=6}\) | \(f[x_{3}]=5\) |
The table is built up from left to right. The second column is the \(y\) values in the table. The third column is from (4.3.3) and so on. For example, using (4.3.4),
\begin{equation*}
f[x_{1},x_{2},x_{3}] = \frac{f[x_{2},x_{3}]-f[x_{1},x_{2}]}{x_{3}-x_{1}}= \frac{1 - \frac{1}{2}}{6-1} = - \frac{1}{10}.
\end{equation*}
where the numerator is the difference of the two adjacent numbers, and the denominator are the first-column values followed back (see the boxed values above).
