Question 4 of 7: Newton's Divided-Difference Interpolating Polynomial
Nivaar worked solution (AI-drafted; not reviewed by a licensed engineer)
Notes on this paper
Paper format. National Examinations, 04-BS-5 Advanced Mathematics — three-hour closed-book paper; one approved Casio or Sharp calculator and one 8.5″×11″ two-sided aid sheet are permitted. Seven questions are printed and any five constitute a complete paper, all questions being of equal value (20 marks each). All seven questions are solved below, because the set is a study resource rather than an examination attempt.
Reference texts for 04-BS-5 Advanced Mathematics. E. Kreyszig, Advanced Engineering Mathematics, 10th ed. — Ch. 5 (series solutions of ODEs), Ch. 11 (Fourier series and Fourier transforms), Ch. 19 (numerics: root finding, interpolation, integration), Ch. 20 (numeric linear algebra); R. L. Burden and J. D. Faires, Numerical Analysis, 9th ed. — Ch. 2 (bisection, Newton, fixed-point iteration), Ch. 3 (divided-difference interpolation), Ch. 4 (Romberg integration); G. Strang, Introduction to Linear Algebra, 6th ed. — Ch. 6 (eigenvalues, Cayley–Hamilton).
Reading of the paper. Where a printed symbol is unclear, the reading adopted is stated explicitly and justified from the paper's own internal evidence (for example Question 7's matrix, which is recovered exactly from the characteristic equation the question prints).
Given. Seven tabulated ordinates of an unknown polynomial $P$ at seven distinct, unequally spaced nodes.
Given data — seven nodes
$x$
$-5$
$-4$
$-2$
$-1$
$1$
$2$
$3$
$P(x)$
$256$
$66$
$-8$
$0$
$16$
$60$
$192$
Find. The full divided-difference table, the Newton form of the interpolating polynomial, its highest attainable degree and expanded form, and the values $P(-3)$ and $P(0)$ at the two abscissae that are not tabulated.
Approach. Build the divided-difference table column by column; the first column that is identically zero reveals the true degree. Assemble Newton's forward form from the top diagonal, expand it, and substitute the two required abscissae.
Definition of the divided differences. With $f[x_{i}] = P(x_{i})$, higher orders follow from
$$f[x_{i},\dots,x_{i+k}] = \frac{f[x_{i+1},\dots,x_{i+k}] - f[x_{i},\dots,x_{i+k-1}]}{x_{i+k}-x_{i}} .$$
Unequal spacing is no obstacle: the denominator carries the actual node separation.
Build the table. Working left to right, for example $f[x_{0},x_{1}] = (66-256)/(-4+5) = -190$ and $f[x_{0},x_{1},x_{2}] = (-37-(-190))/(-2+5) = 51$:
Divided-difference table
$x_{i}$
$f[\,]$
1st
2nd
3rd
4th
5th
6th
$-5$
$256$
$-190$
$51$
$-9$
$1$
$0$
$0$
$-4$
$66$
$-37$
$15$
$-3$
$1$
$0$
$-2$
$-8$
$8$
$0$
$3$
$1$
$-1$
$0$
$8$
$12$
$8$
$1$
$16$
$44$
$44$
$2$
$60$
$132$
$3$
$192$
The fourth differences are constant at $1$ and the fifth and sixth differences are identically zero.
Interpret the vanishing columns. A constant $k$-th divided difference is the signature of a degree-$k$ polynomial, because for $P(x)=c_{k}x^{k}+\cdots$ the $k$-th divided difference equals the leading coefficient $c_{k}$ exactly. Here the fourth column is constant at $1$ and everything beyond it vanishes, so although seven nodes would in principle support a degree-six interpolant, the data are consistent with
$$\boxed{\;\deg P = 4,\qquad c_{4} = 1\;}$$
and that quartic is the polynomial of highest possible degree the data genuinely determine.
Assemble Newton's form from the top diagonal.
$$P(x) = 256 - 190(x+5) + 51(x+5)(x+4) - 9(x+5)(x+4)(x+2) + (x+5)(x+4)(x+2)(x+1) .$$
This is already the answer to the first part of the question; the zero fifth and sixth terms are simply omitted.
Expand into standard form. Multiplying out the products,
$$(x+5)(x+4)(x+2)(x+1) = x^{4}+12x^{3}+49x^{2}+78x+40 ,$$
and collecting all four contributions term by term gives
$$\boxed{\;P(x) = x^{4} + 3x^{3} + x^{2} + 5x + 6\;}$$
This reproduces all seven tabulated ordinates exactly, which is the natural check on the expansion.
Evaluate at the two requested abscissae. Substituting directly,
$$P(-3) = 81 - 81 + 9 - 15 + 6 = \boxed{\,0\,},\qquad P(0) = 0 + 0 + 0 + 0 + 6 = \boxed{\,6\,} .$$
Both are interpolations rather than extrapolations, since $-3$ and $0$ lie inside the node range $[-5,3]$; the quartic accordingly gives them with no loss of reliability. That $x=-3$ turns out to be a root of $P$ is a genuine feature of the data, not a coincidence of the arithmetic: $P(x) = (x+3)(x^{3}+x-2) \cdot 1 + 0$ upon division.
The quartic recovered from the divided-difference table, with the seven tabulated nodes marked and the two requested values $P(-3)=0$ and $P(0)=6$ highlighted. Both lie inside the tabulated range.