Subtract the two finite sums. In the shifted sum replace the summation index by . For every interior index the new coefficient isby Pascal's identity; the two endpoint coefficients agree as well. ThereforeFor a degree- polynomial with leading coefficient , the backward difference has leading termSince , this coefficient is nonzero for . Starting with , iteration gives degree and leading coefficient for . The next difference of the resulting constant is zero:
A natural cubic spline with the given knots is a function that is polynomial of degree at most three on each interval between consecutive knots and has . With the usual whole-line convention, it extends affinely outside the extreme knots. The word natural refers to these endpoint second-derivative conditions; the interpolation values must be specified separately.
For , direct differentiation on either side of the knot givesBoth one-sided limits of the function and its first two derivatives at are zero, so these formulas are continuous there andIts third derivative jumps from zero to six, which is permitted for a cubic spline.
The finite sum of truncated cubes is by part (b) and is cubic on each knot interval. For , every term vanishes. For , every truncated power equals its ordinary polynomial, so part (a) applied to givesIt is therefore zero on both exterior intervals. Its regularity makes the endpoint second derivatives zero too, proving naturality.
Evaluation at the five knots givesFor example the three interior values in units of are , , and . At the cancellation is .
For an explicit graph description isIt is symmetric about , increases from zero to its maximum four at the centre, and decreases symmetrically back to zero. It joins the zero tails with zero first and second derivatives.
Articles by others on the same topic
There are currently no matching articles.
