A cubic spline is a twice continuously differentiable function whose restriction to each knot interval is a polynomial of degree at most three. Its second derivative is continuous and piecewise linear. Natural endpoint conditions are .
Linearity of both the piecewise-polynomial and smoothness conditions, and of the endpoint equations, makes the natural splines a vector space . A continuous piecewise linear second derivative with zero endpoint values is determined freely by its interior nodal values. Integrating twice adds two arbitrary affine constants. HenceThis count includes the case of one interval.
An interpolating spline has at every node. Set , so vanishes at all nodes. On each open knot interval is constant. Two integrations by parts giveThe terms containing vanish at nodes. When summed, the interior terms cancel because and are continuous. The two outer terms vanish by the natural endpoint conditions. ThusIntegrating the given square identity now yields the sharper energy decompositionIn particular the natural interpolating spline minimizes the squared-curvature integral.
If is another natural interpolant, the same minimizing argument in both directions makes the two energies equal. The final nonnegative integral then vanishes, so everywhere by continuity. Their difference is affine and zero at all knots, including the two distinct endpoints, so . This proves uniqueness.
It also supplies existence if needed: nodal evaluation is a linear map from the -dimensional space to . Its kernel is zero by the same argument with zero data and the zero competitor. It is therefore surjective, so every data vector has a natural spline interpolant.
Articles by others on the same topic
There are currently no matching articles.