Uniform approximation minimizes the supremum norm of the difference between a target function and an approximant.
The error is measured uniformly over the domain using the supremum norm. A sequence of approximants whose uniform error tends to zero converges by uniform convergence; the optimization problem and the convergence notion are distinct.
If interpolation at distinct sites in a finite-dimensional space of continuous functions is unique, its cardinal functions satisfy . The interpolation linear map is and has operator norm in the supremum norm. The upper bound is the triangle inequality. For the reverse bound choose node values to be the signs of the cardinal functions at a point maximizing their absolute sum, and extend those values by a continuous function of norm one. The polynomial reproduction error bound gives .
For a real -dimensional vector space of continuous functions on a compact interval, choose sites maximizing the absolute evaluation determinant in any basis. Linear independence ensures some nonzero evaluation determinant, so a maximizer exists and has distinct sites. Replacing row by evaluation at multiplies the determinant by the cardinal function . Maximality implies , hence the Lebesgue constant of interpolation is at most . This gives a useful interpolation set without asserting that determinant maximization minimizes the Lebesgue constant of interpolation.
A Chebyshev system on a nondegenerate real interval is a family of real continuous functions such that every linear combination with coefficients not all zero has at most distinct zeros. The condition entails linear independence and unique interpolation at any distinct points. It is a zero-counting hypothesis, not a requirement to count multiplicities.
A Chebyshev system of real continuous functions on a circle has odd dimension. If its dimension is , take cyclically ordered evaluation points and move them continuously to the next cyclic permutation without letting points collide. The evaluation determinant stays nonzero, so cannot change sign. The final cyclic row permutation multiplies it by ; consequently must be odd. For example, has dimension and the required zero bound.
Exponentials with distinct real exponents form a Chebyshev system on every nondegenerate real interval. For an inductive proof, multiply a candidate combination by . If it has zeros, Rolle's theorem gives at least zeros of its derivative, a combination of the exponentials with exponents , . The inductive zero bound forces all those coefficients to vanish. The remaining constant also vanishes, a contradiction.
A family of real continuous functions is a Chebyshev system exactly when every evaluation matrix at distinct points is invertible. A singular evaluation matrix supplies a nonzero coefficient vector whose function vanishes at those points; conversely, a violation of the zero bound supplies such a vector in the kernel. This also gives the existence and uniqueness of interpolation from its span.
For an algebra on a compact space, its uniform closure consists of functions that are uniform limits of sequences from . It is a closed algebra in the uniform norm, because addition and multiplication preserve uniform convergence for bounded functions. If it contains every constant and separates points, the Stone-Weierstrass theorem makes the closure all of .
On , the uniform closure of integer-coefficient polynomials contains , since uniformly. This closure is a ring, so it contains all dyadic constants and then all real constants. It contains and therefore every real-coefficient polynomial. The Stone-Weierstrass theorem makes it all of . On an interval including zero this fails, since the value of an integer-coefficient polynomial at zero is an integer.
Polynomial approximation represents a function by polynomials of bounded polynomial degree. On a compact real interval, the Weierstrass approximation theorem guarantees uniform approximation of every continuous function by such polynomials. The displayed best error quantifies the accuracy available at degree at most .
For a positive-definite weighted inner product on a compact interval, a least-squares polynomial is the orthogonal projection of a function onto the finite-dimensional space of polynomials of degree at most . In a basis , its coefficients solve the normal equations , where and . The Gram matrix is positive definite: for . Thus the coefficients exist and are unique. The residual is orthogonal to every candidate polynomial, giving and proving optimality. An orthogonal basis makes these equations diagonal, as in a least-squares polynomial in an orthogonal-polynomial basis.
For the weight on , the normal equations for projecting onto have Gram matrix and right side . Its determinant is , and inversion gives the displayed polynomial. orthogonality of the residual to both basis functions proves best approximation in the weighted norm.
On a symmetric interval with an even positive weight, the best least-squares polynomial approximation to an odd function is odd, and the approximation to an even function is even. Indeed, the even and odd polynomial subspaces are orthogonal. For odd , write a candidate as . Then
Deleting a nonzero even component strictly reduces the error, so the minimizer has . The same argument exchanges the parities for even . This reduces the normal equations to the matching parity block and avoids computing coefficients known in advance to vanish.
If , is real and on an interval, and is nowhere zero there, the displayed inequality holds. If the errors were equal, a best degree-at-most- polynomial would also be best at degree . The Chebyshev alternation theorem and intermediate value theorem would give zeros of the error. Applying Rolle's theorem times would force a zero of , a contradiction. The zero-error case already contradicts . In particular this proves strict improvement for the exponential function at every positive degree step.
For a polynomial of degree at most , this derivative estimate holds for . It controls the derivative away from the endpoints. Sampling it at Chebyshev polynomial roots supplies the hypotheses of the Chebyshev nodal derivative comparison, which controls the missing endpoint regions. The norm is taken on the entire interval, although the displayed pointwise bound concerns its interior.
Apply the Bernstein inequality for algebraic polynomials to the central interval , using . On the remaining regions apply the Chebyshev nodal derivative comparison to . Since , the identity expressing as a sum of unit complex phases gives . The endpoint limit is , so the constant is sharp.
If a real degree-at-most- polynomial has absolute value at most one at every extremum of the Chebyshev polynomial , its th derivative on is bounded by , for . This strengthens the Markov inequality for polynomial derivatives by replacing a bound on the whole interval with these finitely many samples. The node set is rigid, as quantified by uniqueness of Chebyshev derivative-norming nodes.
For , any distinct node set in different from the Chebyshev polynomial extrema admits one degree- polynomial , bounded by one at all those nodes, whose every nonconstant derivative violates the corresponding sharp endpoint bound. In decreasing order set . The endpoint derivative signs of Lagrange cardinal polynomials give . Interpolating on the same nodes shows
Each term is nonnegative and at least one is positive, because the other node set includes a nonextremal point. Uniqueness is a claim about node sets: permuting the same nodes does not change their norming property.
Suppose linear operators on a normed vector space satisfy uniformly and on a dense subspace. The displayed triangle inequality for any element of that subspace first permits to approximate , then lets increase, proving for every . Applied to the Bernstein polynomial, the Weierstrass approximation theorem supplies the dense polynomial subspace and .
Every real continuous function on a compact square can be represented as , with continuous one-variable functions and fixed inner functions independent of the represented function. Grid-separated additive coordinates give the inner functions. For a residual of norm , assign at a sample point divided by three to each separated rectangle image, and continuously interpolate between images. Each point lies in at least three rectangles, so if summands are accurate, the error is at most . Choose oscillation to obtain contraction . Iteration gives outer functions by uniform convergence of corrections bounded by . Whole-plane reduction for continuous superposition removes compactness of the original domain without assuming boundedness of the original function.
For , choose a positive continuous function with for . Such an is obtained by piecewise linear interpolation of a sufficiently large increasing sequence. Then tends uniformly to zero at infinity. Transport to by and extend it by zero on the boundary; the extension is continuous. Apply the compact Kolmogorov-Arnold representation theorem, then multiply by . Multiplication introduces no additional primitive operation because uses only addition and continuous one-variable squaring and scaling.
For five pairs of continuous functions on , one can arrange that at every arbitrarily fine scale there are closed interval families whose product rectangles cover each point at least three times, and within each family the images under are mutually disjoint. To see this, put gaps near five shifted fine grids; gap sets for different shifts are disjoint. Each coordinate misses at most one family, so a pair misses at most two. Approximate any prescribed pair of functions by constants on the complementary intervals, interpolating across gaps. Perturb the finitely many constants to avoid all equalities between distinct pair sums. The rectangle images are then separated by a positive distance, a property preserved under sufficiently small uniform perturbations. For each required mesh size this property defines a dense open subset of . The Baire category theorem gives a tuple satisfying every scale simultaneously.
For a compact convex set and , strict separation gives a unit vector with . Taking for large makes . The polynomial
has uniform error at most . This elementary geometric series argument proves exterior-pole approximation without a general complex approximation theorem.
Let be a boundary point of a compact convex set and choose exterior points . Approximate uniformly on the compact set by a polynomial with error at most . At each fixed , the reciprocal converges and so does the approximating polynomial. On a boundary accumulating at , uniform convergence to the singular reciprocal is impossible because each polynomial is bounded there. This distinguishes pointwise convergence from uniform convergence without confusing the two norms.
The uniform approximation closure of the integer-coefficient polynomials on consists precisely of the continuous functions taking integer values at both endpoints. Necessity follows because evaluations at zero and one are integers and convergent integer sequences are eventually constant. For sufficiency, the rounded Bernstein polynomial has integer monomial coefficients and differs uniformly by a vanishing amount from the Bernstein polynomial, which converges uniformly to the target.
For a continuous periodic function set
It measures smoothness through second differences without requiring a derivative. For , factoring the translation difference gives . The second-difference integral formula gives for twice continuously differentiable functions.
For a twice continuously differentiable function and , the fundamental theorem of calculus gives
The nonnegative triangular weight has integral , so its supremum norm estimate directly controls the second modulus of smoothness.
A uniformly continuous real function on a closed bounded interval can be approximated uniformly by finite step functions. Given , choose a mesh smaller than the uniform-continuity distance and set the approximant equal to a sampled value on each interval. Then the supremum norm of the approximation error is at most . If the function has a Lipschitz bound , a mesh of maximum length gives the explicit error bound .
Given a family of approximating functions, a best uniform approximation to is an element satisfying
For , is nonnegative on and has its maximum at . Shifting the chord upwards by half this maximum creates three alternating errors of equal magnitude. The equioscillation theorem proves that the displayed line is the unique best uniform linear approximation, with error equal to its constant shift.
The Remez algorithm searches for a best uniform approximation by solving alternation equations on a reference set, finding extrema of the error, and exchanging reference points. For real degree-at-most- polynomials, the equioscillation theorem characterizes success by ordered alternating maximal errors. The alternating-reference error bound supplies a certified lower bound at each step, while the largest absolute error supplies an upper bound. Their gap measures how close the current polynomial is to optimal, provided the upper bound is established globally rather than only on a finite grid.
Suppose a reference polynomial has nonzero alternating errors of magnitude , and another point has error magnitude . Insert and delete a reference point so that the retained errors, in spatial order, still alternate. Solving the new alternation equations gives the displayed strict increase in reference height, with on the new ordered set. To prove this, apply the order- divided difference to the old and new degree-at-most- polynomials. Both vanish, so the new signed height is the sum of the old errors times , divided by . All these signed weight products have one sign. Its absolute value is therefore the positive weighted average of one value and values .
For an interior , replace the endpoint of its containing reference interval with the same error sign. If is exterior, replace the nearest endpoint when the signs agree; if they disagree, insert and drop the farthest endpoint. These rules preserve ordered alternation. The nearest point with the same sign need not be an adjacent point on an irregular grid, and an unqualified nearest-same-sign replacement does not ensure the strict increase.
Cosine substitution is an isometry from continuous functions on to even continuous -periodic functions. It satisfies because cosine is Lipschitz continuous with constant one. Even degree-at-most- trigonometric polynomials correspond exactly to algebraic polynomials via . Averaging a periodic approximant with its reflection cannot increase its error against an even target, so the algebraic and periodic best errors are equal.
If a bounded linear map reproduces every element of an approximating polynomial space , then for every . The triangle inequality and infimum over prove the displayed error bound. The same argument works for any linear approximating space, and applies in particular to de la Vallée Poussin sums.
For a fixed degree bound, two best approximating polynomials have a best approximating average. At each active point of that average their errors agree, hence the two polynomials agree. There must be at least two more active points than the degree: otherwise polynomial interpolation constructs a strictly improving sign-matching perturbation. The difference has too many zeros and must vanish. Finite-dimensional coefficient compactness also gives existence.
For real , a candidate , and active set , the candidate is best precisely when every has some with . A direction with strictly matching error signs on the whole active set gives a uniformly improving small perturbation by compactness. Conversely one oppositely signed active value already prevents improvement. This criterion yields the Chebyshev alternation theorem.
A degree-at-most- polynomial is a best uniform approximation precisely when its error attains alternating extrema of equal magnitude at at least ordered points.
On , the chord of is . Its nonnegative gap has maximum at , as differentiation shows. Shifting the chord upward by gives error at . The Chebyshev alternation theorem therefore proves that is the unique best linear uniform approximation, with error . Endpoint differentiability is unnecessary.
Let a polynomial of degree at most have errors at ordered distinct points. Then bounds below the error of the best uniform approximation. Otherwise an improved polynomial with error strictly below would make alternate strictly in sign at all those points, giving at least distinct roots of a polynomial by the intermediate value theorem. Its degree is at most , a contradiction. Moreover, if is not optimal, . In the equality case, an optimal gives weak alternating signs of ; its vanishing order- divided difference has same-sign summands, forcing every nodal value to vanish and hence .
For real with positive st derivative, equality of consecutive best uniform approximation errors would make a best degree-at-most- polynomial also best at degree . The Chebyshev alternation theorem then supplies alternating extrema of its nonzero error, hence distinct zeros. Repeated Rolle's theorem forces a zero of the st derivative of that error, contradicting the assumed sign. The same conclusion holds for a strictly negative derivative by replacing with .
For real continuous -periodic , a degree-at-most- real trigonometric polynomial is its unique best uniform approximation exactly when has alternating extrema of magnitude at distinct ordered points in one period. The closing interval around the circle also counts. A strictly improving approximant would force its difference from to have at least zeros, whereas a nonzero degree- trigonometric polynomial has at most .
For an odd integer and positive summable coefficients , the Weierstrass M-test makes continuous. Its partial sum over is the unique best uniform approximation by degree-at-most- trigonometric polynomials, for . If is the first omitted frequency, at every omitted cosine equals because all frequency ratios are odd. Thus the tail attains alternating extrema equal to its coefficient sum at points. The trigonometric Chebyshev alternation theorem proves the formula. For , , the largest decay exponent is .
A standard Weierstrass function is a uniformly convergent lacunary cosine series, here parameterized by and an integer frequency multiplier . Its continuity follows from the Weierstrass M-test. In the range , its modulus of continuity has the fractional-power scale for the positive odd-frequency model; the critical case can have the larger scale . These examples distinguish small approximation error from ordinary Lipschitz continuity.
For , all frequencies satisfy . At , the increment is . If , the first terms have and contribute at least , while the remaining tail has magnitude at most . This proves a lower modulus of continuity bound of order for small . The inverse theorem for trigonometric approximation supplies the matching upper bound because the positive lacunary trigonometric series has .
For positive summable coefficients, the Weierstrass M-test gives a continuous uniform sum. The partial sum over is the unique best uniform approximation of degree at most . If is the first omitted frequency, every tail term equals at because its frequency ratio is odd. The entire tail therefore attains alternating extrema equal in magnitude to its coefficient sum at more than points. The Chebyshev alternation theorem proves the assertion, including the empty partial sum at .
Bernstein's lethargy theorem says that best approximation errors in nested approximation spaces can tend to zero arbitrarily slowly. For algebraic polynomials on , given any decreasing positive sequence , there is a continuous function whose best degree- uniform-approximation error is at least for every .
For a strictly decreasing positive sequence , put and for . These are positive with sum . The positive lacunary Chebyshev series has error at degree zero and error whenever . This proves the lower-bound form of Bernstein's lethargy theorem with an explicit continuous function.
A Jackson-type estimate bounds an approximation error by a smoothness quantity such as a modulus of continuity, with the smoothness evaluated at a scale comparable to the reciprocal of the approximating degree.
For and , there is a real trigonometric polynomial with coordinate frequencies whose uniform error is at most . One obtains the multivariable statement by applying bounded one-dimensional Jackson approximation operators successively in each coordinate and telescoping their errors. Each operator commutes with differentiation in the other coordinates, and its uniform operator norm is bounded independently of ; the total error is bounded by a constant times .
Every continuous -periodic function admits degree-at-most- trigonometric polynomials with supremum norm error bounded by a universal constant times its modulus of continuity at scale , for . This first-order Jackson-type estimate transfers to algebraic polynomials through cosine substitution for polynomial approximation.
The normalized even kernel
is nonnegative, has integral one, and is a trigonometric polynomial of degree . Its mass is concentrated on a scale : for . This controls a weighted second moment and produces the Jackson operator estimate.
For , evenness and unit mass reduce the error to an integral of second differences. The Jackson kernel bound and the scaling inequality for the second modulus of smoothness yield . Since the degree is , a degree- estimate uses . For this gives .
For periodic uniform approximation,
Define on , set , and extend periodically. Concavity and monotonicity on give for . Its cosine Fourier coefficients are
One integration by parts gives the formula; the remaining integral is by the Dirichlet test. All these coefficients are nonpositive. The de la Vallée Poussin sum reproduces degree-at-most- trigonometric polynomials and has operator norm at most three. Hence has norm at most four and annihilates those polynomials. Its weights on coefficients are zero up to , nonnegative thereafter, and one from onwards, so . Thus ; the first Jackson theorem for periodic approximation proves the matching upper bound. This cusp and the critical Weierstrass modulus have the same first-modulus order but different best-approximation rates.
The first Jackson theorem for periodic approximation applied to gives algebraic best error for . Its ordinary interval modulus of continuity at is at least . Substituting that error rate into the unmodified inverse theorem for trigonometric approximation would instead bound the modulus by , a contradiction. Algebraic inverse estimates must incorporate the endpoint compression of cosine substitution for polynomial approximation.
For positive linear operators on continuous functions on , put . Uniform continuity supplies the barriers . Applying positivity and evaluating at gives the displayed estimate because . The constant is independent of and . Thus uniform reproduction of proves Korovkin theorem convergence on every continuous function; exact reproduction forces the operator to be the identity.
Let be a compact Hausdorff space. A test subspace containing a strictly positive function is sufficient for uniform convergence of positive linear operators on continuous functions if, for each , the only positive linear functional agreeing with point evaluation on is that evaluation itself. By the Riesz-Markov-Kakutani representation theorem, this is uniqueness of the positive measure with the prescribed moments. Boundedness from the positive test function and the Banach-Alaoglu theorem prove the assertion by compactness. When , nonnegative tests with a unique zero at each prescribed give a convenient sufficient condition.
For -periodic continuous functions, convergence of positive linear operators on continuous functions to the identity on implies uniform convergence on every function. Indeed is nonnegative and has just one zero on the circle, so the compact Korovkin test space criterion applies.
A spline is a piecewise polynomial function whose polynomial pieces obey specified smoothness conditions at their joins, called spline knots. For example, a cubic spline is cubic on each interval and commonly has two continuous derivatives across interior knots. Spline approximation and spline interpolation use these finite-dimensional function spaces to represent data or approximate functions.
A linear spline is a continuous piecewise linear function on a specified spline knot sequence. For uniform integer spline knots, the hat basis in the displayed representation interpolates the data . The derivative is constant on each open span and can jump at a knot. Coinciding neighboring slopes remove a particular jump, but generic data give only regularity.
For nodes and prescribed real node values, let be the linear spline joining them. Among all absolutely continuous functions with the same node values and square-integrable derivative, uniquely minimizes the Dirichlet energy .
On each node interval, is constant and vanishes at both endpoints. The fundamental theorem of calculus therefore gives . Expanding the square and summing proves the displayed energy decomposition. Its final term is nonnegative; equality forces almost everywhere and the endpoint values fix the additive constant, proving uniqueness. In particular, the minimum is . If all interior node values are zero and there is at least one interior node, only the two endpoint intervals contribute to this minimum.
A spline quasi-interpolant synthesizes a B-spline expansion from local bounded linear functionals, instead of solving a global interpolation system. Suppose each functional is bounded by and the operator reproduces every spline. On a knot cell , only indices contribute. Their supports lie in , and subpartition of unity for B-splines proves local operator norm at most . Reproduction of degree- polynomials and a local Taylor theorem remainder then give error at most , on the basic knot domain with the usual completed boundary basis.
For a spanning direction matrix in , the box spline is the density of the pushforward of uniform measure on under . Equivalently,
Its support is the zonotope . It is piecewise polynomial of total degree at most . For integer directions, splitting each integration interval in half yields its binary refinement symbol
up to the monomial specifying the choice of origin. If is the smallest number of directions whose removal leaves a nonspanning set, the usual box spline smoothness criterion gives regularity. Repeated directions increase smoothness while enlarging support.
The unit-direction univariate box spline is the density of the sum of independent uniform unit-interval coordinates. It is the order- Cardinal B-spline: its closed support is , it is strictly positive on the interior, and its polynomial degree is . For it is , generally not . The recurrence proves its support and positivity. Starting with a half-open unit interval, integrating the translate partition recursively proves . Orthogonal projection onto the unit diagonal rescales support width from to .
This box spline is the density of the image of the uniform unit four-cube under the indicated direction matrix. Its polynomial pieces have total degree . Removing three directions is necessary to leave a nonspanning set, giving continuity. Its knot arrangement is a criss-cross triangulation of a square lattice. Its refinement mask is , up to the monomial that fixes the origin.
Take two copies of each direction . The resulting box spline has total polynomial degree six and continuity: there are eight directions and a rank-deficient remaining set has at most two, so the removal number is six. With a centred origin its support is the zonotope
Its centred binary symbol is
This symbol factors as with , giving an efficient quincunx subdivision implementation. The box spline criterion is also described in the primary research paper 4–8 Subdivision by Velho and Zorin.
A quadratic spline with simple knots is a continuously differentiable function that is a polynomial of degree at most two between successive knots. Its first derivative is continuous and piecewise linear, while its second derivative is piecewise constant and can jump at knots. Constant tails impose vanishing first derivatives at the outermost knots. Such a spline arises from first-derivative roughness penalization when observations are interval averages, as in the quadratic smoothing spline for interval averages.
Spline interpolation matches prescribed function values at distinct sites by an element of a finite-dimensional spline space. In a B-spline basis its existence and uniqueness for all data are equivalent to invertibility of the B-spline collocation matrix. Distinct ordered sites satisfying the Schoenberg–Whitney theorem give this condition.
For a fixed spline space and admissible interpolation sites, this linear operator sends a continuous function to its unique interpolating spline. Here is the vector of sampled values and is the B-spline collocation matrix. It reproduces every spline in its range. Its sensitivity to perturbing the data is quantified by the B-spline interpolation operator norm.
For unit-spaced order-three B-splines sampled at support midpoints , the B-spline collocation matrix has diagonal and neighboring entries . Conjugating by alternating diagonal signs reduces its inverse absolute values to the nonnegative inverse of . With , the absolute row sums are . This follows by solving with . The maximum occurs at the middle row or rows and tends to two as grows. Nonnegativity and subpartition of unity of the B-splines transfer this bound to the spline interpolation operator.
For distinct interpolation sites and an invertible B-spline collocation matrix, the interpolant is , where samples data and . Sampling and basis synthesis have operator norms at most one in the supremum norm. For the reverse inequality, realize the signs of a maximal absolute row sum of as values of a continuous function of norm one, and apply uniform-norm stability of a B-spline basis. This yields both displayed bounds.
For the degree-two Cardinal B-spline basis on knots , sampling at gives the upper-bidiagonal B-spline collocation matrix , where is the one-step upper shift. Since , and its maximum absolute row sum is . The B-spline interpolation operator norm estimate with the order-three stability constant gives the displayed linear upper and lower bounds. The lower bound proves failure of uniform boundedness.
For the orthogonal B-spline projector , the normal equations in the mixed-normalization spline Gram matrix give , with . Positivity and unit integral of imply . Nonnegativity and subpartition of unity of give . Hence , where the matrix norm is maximum absolute row sum. The range is the spline space, which lies in only for continuous splines.
A regression spline fits a regression function in a finite-dimensional spline approximation space with selected knots. Evaluating its basis at predictor values gives a design matrix, reducing fitting to regression on basis coefficients.
A cubic regression spline represents a mean function in a finite-dimensional space of piecewise cubic functions, with continuity of the function and its first two derivatives at chosen knots. A penalized fit minimizes a residual criterion plus , using . Unlike a full cubic smoothing spline with knots at every distinct observation, its knot set can be much smaller. The mgcv basis bs="cr" uses a penalized natural cubic regression-spline basis with linear tails.
A penalized regression spline estimates basis coefficients by minimizing a residual or likelihood criterion plus a curvature penalty. Basis size limits the available complexity; the penalty controls how much of that complexity is used.
The nonnegative functional . Its null space on consists of affine functions. The natural cubic spline interpolant uniquely minimizes this penalty among functions matching at least two prescribed knot values. It is a squared second derivative penalty, not the exact geometric curvature energy of a graph.
A junction between adjacent polynomial pieces of a cubic spline or other spline. Continuity conditions at these junctions determine which piecewise polynomial functions are splines.
A spline knot sequence is a nondecreasing list of spline knots, including their multiplicities, that specifies the junctions and smoothness constraints of a spline space. An order- B-spline uses consecutive knot entries. Its support must have positive width, and repeated knots are interpreted by confluent divided differences or their limiting convention.
A cubic spline is a twice continuously differentiable piecewise polynomial of degree at most three whose polynomial pieces meet at specified knots.
A clamped cubic spline is a cubic spline whose endpoint first derivatives are prescribed. A clamped cubic spline interpolant additionally matches prescribed values at its spline knots. Distinct spline knots, arbitrary nodal values and arbitrary endpoint slopes determine one such interpolant. The minimum roughness property of a clamped cubic spline proves uniqueness. Unlike the natural cubic spline, this construction prescribes endpoint slopes rather than zero endpoint second derivatives.
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 .
A natural cubic spline is linear beyond its two outer knots, equivalently its second derivative vanishes at those knots.
If is the natural cubic spline interpolating data at fixed distinct knots , then is the natural cubic spline interpolating .
The transformed function is piecewise cubic, preserves continuity of the first two derivatives, and has endpoint second derivatives . It takes exactly the transformed nodal values. Uniqueness of the natural spline therefore proves the claim. This permits affine changes in data or the addition of a linear trend without solving a new spline system.
For at least two distinct knots and values , the unique natural cubic spline matching those values and linear beyond . Its interpolation map is a linear map by uniqueness. Over a larger domain , the two exterior pieces remain linear. With only one knot, arbitrary slopes of affine functions make uniqueness false.
Let be the interpolating cardinal basis and set . Linearity gives , and this Gram matrix is a positive semidefinite matrix. Its null space consists precisely of vectors , by the null-space statement for the second derivative roughness penalty. Thus its rank is , including the zero matrix when .
For and any taking the same values at at least two distinct knots, . To prove it, set , integrate by parts on each polynomial interval and use , , continuous and linear exterior pieces. Boundary terms cancel. Expanding the square proves the identity. Equality forces , so is an affine function and its two prescribed zeros make it identically zero.
The minimum roughness property of the natural cubic spline interpolant extends to interpolants with an absolutely continuous first derivative and square-integrable second derivative. For vanishing at the knots, integration by parts on each cubic interval gives : the knot boundary terms cancel by continuity, the exterior terms vanish by natural boundary conditions, and the remaining constant-third-derivative term vanishes because is zero at the interval endpoints. Expanding the square proves minimality. Equality makes affine; its zeros at two distinct knots force , proving uniqueness. Competitors with infinite roughness cannot improve the finite spline penalty.
A B-spline is a compactly supported piecewise polynomial basis function determined by consecutive knots.
A de Boor point is a control point in a B-spline representation. For a degree-two uniform segment with three active de Boor points , the equivalent Bézier curve handles are . The next segment shares and introduces one new handle. This formula assumes simple equally spaced spline knots; clamped or repeated spline knots have different endpoint conversions.
For the partition-of-unity normalization, the derivative of a degree- B-spline is the displayed difference of two overlapping degree- B-splines. A zero denominator denotes a term with collapsed support, assigned zero. For simple knots the divided-difference representation has the required support, smoothness and integral normalization. Differentiate the truncated power and apply the last-step divided difference recursion to obtain the formula. Repeated-knot versions follow by confluent limits, with one-sided interpretation where necessary.
The order- B-splines active on a simple-knot cell form a basis of its degree- polynomials. To see this from Marsden's identity, use the dual polynomials . On the identity is . Evaluation of the dual polynomials at gives a triangular coefficient matrix with nonzero diagonal. They are independent, and comparison of coefficients of in the identity gives independence of the active splines. Consequently a spline vanishes on a whole open cell exactly when all its active coefficients vanish.
Let the real spline have distinct knots, order , nonzero endpoint coefficients, and no identically zero knot cell in its support. It and its first derivatives vanish at both support endpoints. If is its number of interior distinct zeros, there are initially zero components. Each differentiation through order increases this count by at least one: a nonzero gap between zero components has an interior extremum, and the two endpoint zeros remain separate. The final derivative is continuous piecewise linear on cells, and each cell can meet at most one zero component unless it is identically zero, in which case all its zeros belong to the same component. It therefore has at most zero components. Thus , proving the bound.
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 when
To 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.
A non-uniform rational B-spline surface is
Here the and are B-spline basis functions for possibly nonuniform spline knot sequences, and the are weights. Positive weights make each evaluated point a convex combination of the active control points, supplying bounding volumes for geometric searches. The denominator must remain nonzero for the parametrization to be defined.
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
For degree , knots and span , initialize for . At level , update by , where . The point is . This evaluates a B-spline by local affine combinations.
// Target: analysis.bigb
For strictly increasing spline knots, is a nonnegative integral-normalized B-spline. Integrating the truncated power function over its support replaces its spline knot value by . The order- divided difference of this degree- polynomial is its leading coefficient . Multiplying by the prefactor in gives integral one. The corresponding partition-normalized B-spline is .
For a linearly independent partition-normalized B-spline basis, equivalence of norms gives a lower coefficient-stability constant. The upper bound follows from the subpartition of unity for B-splines. A knot-independent stability bound can be chosen depending on spline order. This norm comparison transfers matrix estimates to the B-spline interpolation operator norm.
Articles were limited to the first 100 out of 134 total.

Articles by others on the same topic (0)

There are currently no matching articles.