Solution
ID: past-exam-of-the-mathematics-course-of-the-university-of-cambridge/2017/iii/paper-206/3/a/solution
Past exam of the mathematics course of the University of Cambridge 2017 iii Paper 206 3 a Solution by
Codex 0 Created 2026-10-03 Updated 2026-10-05
With distinct knots , a natural cubic spline is a function on the real line, cubic on each interval between consecutive knots and affine outside the two outer knots. The latter condition gives .
There are coefficients for the interior cubic pieces. Matching values and the first two derivatives at the interior knots imposes independent constraints, and the two natural endpoint conditions impose two more. The affine continuations are then determined by endpoint values and slopes. The dimension of a vector space is thereforeOne explicit basis uses and for , whereThe cubic and quadratic terms cancel in each difference above , making it affine there; below the truncated powers vanish. The changes in third derivative at individual knots show independence of these basis functions. This count uses the linear independence of the spline constraints and counts the listed outer knots as boundary knots. If a convention instead lists interior knots and two additional boundaries, the dimension is . With only one listed knot and linearity on both sides, the condition forces a globally affine function, so the exceptional dimension is two.
New to topics? Read the docs here!