Knot insertion 2026-10-14
Knot insertion refines the spline knot sequence and changes the control points without changing the represented B-spline. Repeated insertion exposes local Bézier curves and provides subdivision-based evaluation.
// Target: analysis.bigb
Past exam of the mathematics course of the University of Cambridge 2001 iii Paper 58 7 Solution Created 2026-10-03 Updated 2026-10-14
Fix a clamped nondecreasing spline knot sequence on , with and . For continuous splines assume interior multiplicities at most , and assume . An order- spline has degree at most on each nonempty knot interval; at a knot of multiplicity it has continuous derivatives. Its dimension is , and a normalized B-spline basis has local support, nonnegative values and sum one on .
These properties are visible in the Cox-de Boor recurrence. Starting with interval indicators at order one, setwith a term of zero denominator defined to be zero. On each contributing support the weights are nonnegative, and summing the recurrence makes the coefficients of each lower-order B-spline add to one. This gives partition of unity and , with endpoint values defined by limits.
At distinct ordered sites , interpolation is the linear systemIt has a unique solution for every data vector exactly when the B-spline collocation matrix is invertible. The Schoenberg–Whitney theorem characterizes this by for every ; away from clamped endpoints this is . At the clamped endpoints the first and last B-splines have value one, so the endpoint version uses this positive-value formulation rather than the strict inequalities. Both ordering and the support conditions matter. A spline space with interior knots is generally not a Chebyshev system on the entire interval: a locally supported B-spline vanishes on an interval. Thus arbitrary distinct nodes need not permit interpolation. Merely specifying all data sites as knots also need not fix the remaining freedom; for example, cubic interpolation with simple interior knots at data sites has dimension , and two extra boundary conditions are needed to interpolate values uniquely.
The positivity governing this existence theorem is total nonnegativity of B-spline collocation matrices: every square minor with increasing row and column indices is nonnegative. In spline terminology this is often called total positivity, but it permits zero minors caused by disjoint supports. It is not the stronger assertion that every minor is strictly positive. A useful proof uses knot insertion. Each refinement step changes coefficients bywith the unchanged endpoint pieces. The refinement matrix is nonnegative bidiagonal, and its minors are nonnegative: any nonzero determinant has its allowed diagonal matching and is a product of nonnegative entries. Products preserve this property by the Cauchy–Binet formula. Insert each sampling site to full multiplicity, so evaluation at that site becomes selection of an ordered refined coefficient. The collocation matrix is then an ordered row submatrix of the refinement product, proving total nonnegativity. The strict support criterion is the strict part of this argument: an ordered path through the consecutive support intervals exists exactly when every diagonal B-spline value is positive, giving the Schoenberg–Whitney theorem determinant criterion.
If is invertible, its determinant is positive and the adjugate identity yieldsThis checkerboard inverse of a totally nonnegative matrix is the central stability fact. With alternating data , the absolute row sums satisfyFor general data, the cardinal splines are . The spline interpolation operator and its exact Lebesgue constant of interpolation areThe equality for the operator norm follows by extending the signs at distinct sites to a continuous unit-norm data function, as in Solution 2. That solution also shows the last inequality can be very strict. Stability concerns the range function as well as its coefficients.
An optimal interpolation set must be specified relative to an objective. For the normalized B-spline coefficients, every admissible sampling set satisfiessince and sampling cannot increase the supremum norm. If a unit-norm spline has ordered alternating extrema at admissible sites, the checkerboard identity givesTaking the largest row shows , so equality holds. This proves the optimal spline coefficient interpolation sites property and the Chebyshev spline coefficient and dual norm equality. In particular, for the cubic space of Solution 1 the alternating extrema satisfy the support conditions. Its coefficients have maximum magnitude , so these sites are optimal for coefficient recovery andThe argument proves optimality whenever this admissible equioscillating spline is available; it does not identify extrema of an arbitrary spline as optimal sites, or transfer coefficient optimality automatically to the Lebesgue constant of interpolation.
For the intrinsic interpolation objective, minimize itself. There is a minimizer for a fixed finite-dimensional continuous spline space. Indeed the sites lie in a compact ordered simplex. On admissible sets, inverse entries and hence vary continuously. As a collocation matrix tends to a singular one, its inverse norm diverges. The uniform-norm stability of a B-spline basis gives the complementary boundchoose sample signs attaining a largest inverse row, extend them to a continuous unit-norm function, and use . Thus a minimizing sequence with bounded Lebesgue constants of interpolation cannot approach a singular site set. A convergent subsequence has an admissible limit attaining the minimum.
Fekete interpolation sites for a continuous function space offer another useful, constructive criterion: maximize the absolute evaluation determinant. A nonzero maximum exists by compactness and linear independence. Replacing one row by evaluation at multiplies the determinant by the corresponding cardinal function, so maximality gives , and therefore . These sites are determinant-optimal, with a proven interpolation bound; one should not claim without further argument that they minimize . Greville abscissae provide inexpensive admissible sites for the usual continuous clamped spline spaces of order at least two. Admissibility alone does not give the best stability bound.
Finally, the coefficient condition number of a normalized B-spline basis is bounded by a constant depending only on order. To see the mechanism, for each coefficient choose a longest nonempty knot cell in that B-spline's support. If its length is and the support width is , then . On that cell the spline is a degree-at-most- polynomial; repeated Markov polynomial inequalities bound its th derivative by . In the De Boor–Fix spline coefficient functional, the accompanying derivative of the knot polynomial is bounded by . Each term is consequently at most , yielding independently of the number and spacing of knots. This is basis stability; it does not bound at arbitrarily poor sampling sites.
For approximation, reproduction gives the Lebesgue inequality for approximation projectorsAs the maximum knot gap tends to zero with fixed order, spline quasi-interpolation gives an approximant with error at most , so the infimum tends to zero. A sequence of uniformly bounded interpolation linear operators therefore converges to every continuous target. Local support and a stable choice of sites make spline interpolation effective; mesh refinement without control of the interpolation operator norm is not by itself a convergence proof.
Past exam of the mathematics course of the University of Cambridge 2005 iii Paper 68 5 a Solution Created 2026-10-03 Updated 2026-10-14
There are basis splines for the stated knots; the upper limit in the printed basis list is an indexing slip. LetThe strictly increasing sites and give invertibility by the Schoenberg–Whitney theorem. The needed additional matrix property is total nonnegativity of B-spline collocation matrices: every ordered minor of is nonnegative.
Here is a structural justification of that sign property. Knot insertion refines spline coefficients by rules of the form , , with the usual unchanged coefficients before the insertion and shifted coefficients after it. Each coefficient map is a nonnegative rectangular bidiagonal matrix; all its ordered minors are nonnegative, as its nonzero terms preserve row/column order. Products preserve this property by the Cauchy–Binet formula. Insert each ordered sampling site until it has full knot multiplicity. Evaluation at such a break is one of the refined coefficients, with a consistent one-sided convention. Consequently the B-spline collocation matrix is an ordered row submatrix of the product of refinement matrices, proving its nonnegative minors. This also applies to repeated admissible original knots.
Since is invertible and totally nonnegative, . The adjugate identity gives the checkerboard inverse of a totally nonnegative matrix:Now for any spline , its sampled-value vector is . Hence the coefficient linear functional in the dual basis is exactlyIn particular , verifying the hinted formula rather than assuming it. The operator norm of this linear functional is taken for the uniform norm on the spline's interval, containing all sampling sites. Evaluation at a sampling site has norm at most one, soFor the given unit-norm alternating spline, , and the checkerboard signs make all terms in a fixed inverse row align:Since , this supplies the reverse operator norm inequality and proves the Chebyshev spline coefficient and dual norm equalityThis spline attains the operator norm of each coefficient linear functional.
Past exam of the mathematics course of the University of Cambridge 2006 iii Paper 66 6 c Solution Created 2026-10-03 Updated 2026-10-14
Use the quartic treble-knot representation of a quadratic B-spline. Specify the indexing as well as the controls: for the interior of the long curve, take the quartic spline knot sequenceWith the standard B-spline convention that control multiplies supported on , the answer isIn other words, keep the three interior quartic Bézier curve controls for each span in that order. The offset matters for the stated knot indexing; shifting all indices together gives an equivalent convention.
To prove the representation, insert each integer interior knot once, changing multiplicity three to four. A degree-four knot of multiplicity four separates Bézier curve spans while leaving their shared endpoint common. The three interior controls remain, and knot insertion constructs the shared endpoint from its neighboring controls with weights , since adjacent knot intervals have equal length. In fact,The right endpoint is obtained in the same way. Hence every extracted quartic span has exactly the five controls proved in part (b). Knot insertion leaves the curve unchanged, so the assembled quartic B-spline is identical to the original quadratic one on every span.
There is also a derivative check at each join:This is why treble knots are appropriate: degree four with interior knot multiplicity three permits continuity, exactly the generic continuity of the uniform quadratic B-spline. For a finite clamped curve, include its endpoint controls and endpoint knot multiplicities using the same degree elevation of Bernstein coefficients and knot insertion; the displayed formulas describe the long interior requested here, without imposing an unstated end condition.
Past exam of the mathematics course of the University of Cambridge 2008 iii Paper 77 3 i Solution Created 2026-10-03 Updated 2026-10-14
Write a degree- B-spline as and locate its spline knot span. There are several equivalent exact evaluation methods.
Evaluate the at most nonzero basis functions by the Cox-de Boor recurrence, then form their weighted sum of control points. Alternatively apply De Boor's algorithm directly to the active control points. In a span , initialize and repeatedly interpolate:for and . The last point is ; zero knot intervals are handled by the standard limiting convention or an appropriate neighboring nonempty span.
A third method precomputes the local polynomial coefficients on each span and evaluates them by Horner's method. For a uniform cubic B-spline, a fixed four-by-four basis matrix gives these coefficients. A fourth method uses knot insertion to express the relevant span as a Bézier curve, followed by De Casteljau's algorithm. Both interpolation algorithms also split the curve at the requested parameter. Repeated subdivision supplies arbitrarily accurate polygonal evaluation, although a finite subdivision mesh is generally an approximation rather than the exact requested point. Basis summation, de Boor interpolation, local polynomial evaluation and Bézier extraction are equivalent exact representations.
For a uniform quadratic B-spline with interior control points , label its th span . A quartic B-spline with interior spline knot sequence represents the identical curve whenTo verify this, raise each quadratic Bézier curve span twice by degree elevation of Bernstein coefficients. The three interior quartic controls are the displayed points. One additional knot insertion at each interior knot supplies the shared endpoint as the mean of its two neighboring controls, recovering all five quartic Bézier curve controls. Thus the knot multiplicity is three, giving joins rather than imposing unwanted extra smoothness.
For increasing sites and an ordered nonnegative normalized B-spline basis, the matrix is a totally nonnegative matrix. One way to see the minors' signs is knot insertion. Each inserted knot changes coefficients by with , using the standard constant endpoint pieces. This is a nonnegative rectangular bidiagonal map, whose minors are nonnegative. Products preserve that property by the Cauchy–Binet formula. Insert each site to full knot multiplicity; a suitable refined coefficient is then the value . Thus collocation is an ordered row submatrix of the refinement map, and has nonnegative minors. The strict support conditions give invertibility by the Schoenberg–Whitney theorem; its inverse has the checkerboard inverse of a totally nonnegative matrix sign pattern.