Minimum roughness property of a clamped cubic spline

ID: minimum-roughness-property-of-a-clamped-cubic-spline

Let be a clamped cubic spline interpolant and let have the same values at all spline knots and the same endpoint slopes. For , or more generally an absolutely continuous function with square-integrable second derivative, the exact displayed identity holds. In particular uniquely minimizes the second derivative roughness penalty among these competitors.
To prove the identity, put . On each knot interval, two applications of integration by parts give , since the cubic piece has zero fourth derivative. Terms containing vanish at the spline knots; terms containing cancel at interior spline knots because and are continuous. The endpoint terms vanish because is zero there. Thus , and expanding proves the identity. Equality makes , so is an affine function; a prescribed endpoint value and slope force .
If also matches the first derivative of at every spline knot, both and vanish at the ends of each knot interval. For a sufficiently differentiable , integration by parts separately on that interval gives the stronger local identity .

New to topics? Read the docs here!