About B-splines. Twenty answers to one question: What is the cubic B-spline for the knots -2,-1,0,1,2?
February 9, 2016.
This article by the late Ewald Quak is published with the consent of his wife Riina and upon the initiative of a member of the editorial board of this journal. It is followed by some comments of Carl de Boor on early Bulgarian and Romanian contributions to B-splines.
In this composition an attempt is made to answer one simple question only: What is the cubic B-spline for the knots -2,-1,0,1,2? The note will take you on a most interesting trip through various fields of Mathematics and finally convince you on how little we know.
MSC. 41-XX, 65-XX, 60-XX
Keywords. cubic B-spline, curves and surfaces, CAD-CAM, Approximation Theory, Numerical Analysis, Probability.
1 Introduction
Polynomial splines are real-valued functions which consist of polynomial pieces that are glued together at given breakpoints with prescribed smoothness. To name just a few applications of these powerful tools within applied and computational mathematics: splines are a de-facto standard in the mathematical description of curves and surfaces for industrial computer-aided design and manufacture (CAD-CAM). Spline surfaces and their offspring subdivision surfaces are at the heart of professional animation systems for the production of movies like Toy Story or Monsters, Inc. Splines are also used to solve ordinary differential equations and in the multivariate form of finite elements they form the cornerstone for the numerical treatment of partial differential equations. The approximation of scattered data, be it in geometric modelling or statistics, can be carried out with splines. Wavelet theory and multiresolution analysis owe a lot to spline functions as well.
![\includegraphics[scale=0.5]{bspline.png}](https://ictp.acad.ro/jnaat/journal/article/download/1099/version/1021/1378/3078/img-0001.png)
So both faculty and students are bound to encounter splines in very different settings and basic spline material is to some extent incorporated in undergraduate numerical analysis text books. In this paper I would like to give some examples how a certain B-spline basis function can be characterized. Some of these examples are well-known and at the heart of important theory or applications, other disguises are rather far-fetched, and could be considered as dragged from mathematical oblivion. I do not claim that this list is in any way complete, and I invite all readers to supply me with other approaches they have encountered.
In this text, I have deliberately chosen to focus on cubic splines and consequently not formulated any statements in the highest possible generality. In this way I hope to generate more questions rather than give complete answers, stimulating the reader’s interest to take a closer look –for example at other spline degrees or different choices of breakpoints. Some remarks in this direction are given in the final section of the paper. I tried to hold the proofs as elementary as possible, but still giving a flavor of what is happening in more general situations, avoiding - if possible - straightforward calculations just valid for the cubic case. As for the sources that inspired my twenty answers, I tried to quote early original papers, but are not in a position to claim absolute historical accuracy concerning who did what first. Instead the reader is invited to consult on his or her own more detailed spline monographs, or study books dealing with a specific application area using splines. Be aware, however, that it was of course necessary to change original notations and also proofs to generate a consistent presentation.
The twenty choices are listed in Section 2, including the references that inspired them. The first answer is discussed in Section 3 and allows to say a bit where the name spline originated. Using yet another definition we are able to address in Section 4 some basic properties in items 2, 3 and 4, including the basis property that motivated the term B-spline as in basis spline. In the subsequent Section 5, divided differences of truncated power functions allow us to come up with a closed formula expression, point out connections to Green’s functions and Peano kernels, and give a geometric interpretation in items 5-8. Fourier transforms are employed in Section 6 for items 9-11. Subdivision concepts, important in wavelet theory and geometric modeling, are then showcased in Section 7 for items 12 and 13. Section 8 is devoted to probability interpretations in items 14-17, including the historic reference from 1904, where the graph of a cubic B-spline (probably) appears for the first time, years before the term B-spline was coined. Also the last items 18-20 covered in Section 9 stem from roots in probability, but are singled out because they originated in the author’s country of residence. The final Section 10 tries to give some information how the general spline theory can be developed from the cubic approach in this elementary paper and where to find the relevant information. Enjoy!
2 Twenty choices
[ 44 , 27 ] The function
which minimizes the integralwhen considering all functions
, whose second derivatives are square integrable over the interval and which interpolate the following data:[ 38 ] The function
defined by the pieces[ 13 ] The function
of smallest support such that is a cubic polynomial on each interval for each , twice continuously differentiable everywhere, even and for which[ 2 , 12 ] The function
built from characteristic functions aswhere for
[ 38 ] The function
given bywhere the truncated power functions are defined as
and[ 5 ] The function
obtained by taking the divided difference with respect to t in the points of Green’s function associated with the differential operator and multiplying the result by 24? This meanswhere for any given function
which is integrable on and any real numbers the functionsolves the initial value problem
[ 13 ] The function
for whichfor all functions
, which are four times continuously differentiable on , and where is the fourth order central difference defined as[ 13 ] The function
so that represents the 3-dimensional volume of the intersection of a hyperplane in that is orthogonal to the -axis and goes through the point with a 4-simplex of volume 1, which is placed in , so that its five vertices project orthogonally onto the points on the -axis ?[ 38 ] The function
whose Fourier transform is the power of a dilated sinc function, i.e., using the inverse Fourier transform[ 38 ] The function
which results when taking the convolution of the hat functionwith itself, i.e.,
[ 36 , 28 ] The function
generated in the following way?In
a unit square is placed with its lower edge on the -axis and then moved along this axis. Assuming the square’s center at time to be the point , we obtain a function such that is the area of the region cut out of the square by the graph of the hat function (see item 10) and the -axis. Repeating this process one more time, we obtain as the area of the region cut out of the square by the graph of the function and the -axis.[ 8 ] The continuous function
which has the values and in all other integers and satisfies the functional equation[ 34 , 9 ] The continuous function
which results from the following limit process?We start with the polygon in
that connects the initial points . Then we generate new polygons successively by setting for and anyThe resulting polygons converge to
in the sense that for and any[ 25 ] The function
describing the discrete probability distribution for the following urn model?Consider an urn initially containing w white balls and b black balls. One ball at a time is drawn at random from the urn and its color is inspected. Then it is returned to the urn and
balls of the opposite color are added to the urn. A total of three such draws are carried out. With as the probability of selecting a white ball on the first trial, the probability of selecting exactly 3 white balls in the three trials is , of selecting exactly 2 white balls in the three trials is , of selecting exactly 1 white ball in the three trials is and of selecting exactly white balls in the three trials is .[ 38 , 43 ] The function
that is the density distribution of the error committed in the sum of 4 independent real random variables , if each variable is replaced by its nearest integer value?[ 43 ] The function
, such that is the 3-dimensional volume of the section of the 4-dimensional unit cube cut out by the hyperplane , which lies normal to the cube’s main diagonal (connecting to )?[ 43 ] The function
whose graph appears in the contribution of A. Sommerfeld to the Festschrift Ludwig Boltzmann gewidmet zum 60. Geburtstage, the monograph dedicated to the 60th birthday of Ludwig Boltzmann, February 20th 1904?[ 6 ] The function
so thatwhere
[ 23 ] The function
given by the real part of a complex integral in the following way:[ 23 ] The function
represented as
3 Prelude: why is a spline called a spline?
One of the most important and straightforward things one wishes to do in numerical analysis is to interpolate given values using some simple basic functions, for example algebraic or trigonometric polynomials. Concerning interpolation by algebraic polynomials, however, it has been known for over a hundred years [ 35 ] that an interpolant can display enormous oscillations, even if the data is taken from a smooth well-behaved function. One of the ideas used to counter this effect is to consider functions that consist of various simple pieces which are glued together with a given smoothness.
3.1 The complete cubic spline interpolant
Here we will try cubic polynomial pieces connected in such a way that they form a function that is twice continuously differentiable everywhere. The places where different pieces meet are typically called breakpoints or knots. In this sense let us consider the following example.
(Interpolation) Given the five abscissae
for prescribed real values
Is this problem even well-posed in the sense that there exists a unique solution amongst all the piecewise cubic
yielding what is called a complete cubic spline interpolant
To show properly the existence and uniqueness of the complete spline interpolant, we can proceed as in the early days of splines and set directly
We get from the interpolation conditions (3.1) and the continuity in the break-points, with
The continuity of the first derivatives then yields
and the continuity of the second derivative
Using as principal unknowns the
Then (3.4) yields
Finally, the equations (3.8) and (3.7) substituted into (3.5) yield the linear system
with the right hand side
The two additional Hermite conditions (3.2) in the endpoints mean that
resulting in the final tridiagonal
with
The coefficient matrix is diagonally dominant, and so there exists a unique solution of
3.2 An extremal property
The complete cubic spline interpolant
because integration by parts yields
as the remaining terms vanish due to the derivative interpolation (3.2) in the interval endpoints. Since
due to the interpolation conditions (3.1), establishing (3.10). This relation, however, implies for any such interpolatory
so that
with equality only if
So
Note that the integral relation (3.10) and thus the extremal property (3.11) also hold in the case, where the Hermite boundary interpolation conditions (3.2) are replaced by the conditions
3.3 This why a spline is called a spline
Finally, we can address the title question of this section. From differential geometry we know that the curvature of a curve, which is given as the graph
Instead of minimizing the strain energy
Certain instruments used in naval architecture for the construction of a smooth curve through given points were called splines, and it is for this reason the name spline was introduced in the pioneering work of I. J. Schoenberg
[
38
]
, p. 48: For
Note that the use of polynomial order instead of degree has some advantages which we will come back to in later sections. Figure 2 shows the reconstruction of a mechanical spline instrument, produced by the Norwegian Maritime Museum for the University of Oslo.

3.4 A special case (Item 2.1)
Using the function values and first derivatives given in item 2.1, we obtain from the general case (3.9) the specific tridiagonal system of conditions
yielding the solution
As the piecewise representation of the complete cubic spline interpolant
Note that we actually get here
4 One possible definition and some properties
Somehow the introduction in the previous section is not exactly to the point. Although it shows clearly why cubic splines as a class of functions are distinguished for certain interpolation problems through the extremal property (3.11), it does not really single out one specific function amongst all splines. Why should the function values and endpoint derivatives in item 2.1 lead to any kind of special spline function? Shouldn’t we rather think of a spline that is equal to one in one breakpoint and zero in all others? We see that if we add more break-points and corresponding interpolation conditions, we increase the size of the system of equations (3.9), though it will still be tridiagonal and uniquely solvable. As a consequence, however, the complete cubic spline interpolant will generally consist of many pieces and be globally supported from endpoint to endpoint. Thus in total item 2.1 does not seem like such a good way to define spline basis functions. In fact, what happened is the following: I wanted to introduce the general extremal property of splines and thus explain the name in the beginning, but also had to get exactly the answer (3.16). So in a way I still owe you a proper definition of a cubic B-spline for the knots
4.1 A definition of a cubic B-spline
At the end of the previous section, we have already seen that the function
(Cubic B-spline) We introduce the cubic B-spline B for the knots (or breakpoints)
is a real-valued function defined for all . has only local support, namely the interval .On each subinterval
for the function is a cubic polynomial: .The six polynomial pieces, i.e., including the two identically zero ones on
and are fitted together so that the function is twice continuously differentiable everywhere: .Finally we impose that the function
attains a specific value in the center of its support, namely .
Ignoring the results of the previous section, we would just naively register that we have a total of sixteen free parameters, since we have the four cubic polynomial pieces over
4.2 An explicit formula (Item 2.2)
Starting from scratch, we determine the polynomial pieces of
for some factors
for some
Thus the cubic B-spline
Item 2.2 can be found in formula (4.2) on page 71 of [ 38 ] , but there it is derived in a completely different way, which we will come back to later in Section 6.
4.3 The basis property
Next we see that for
is a real-valued piecewise cubic
Do we cover all real-valued piecewise cubic
Let us start by looking at the interval
An instructive way to check that the four polynomials
This means that we can write the restriction of any polynomial over
The
As the support of
and we can proceed inductively interval by interval for the positive x-axis and repeat the procedure for the negative
4.4 Local reproduction of polynomials
As a special case, since all cubic polynomials can of course be seen as piecewise polynomials, where the breakpoints are just not active, we know that we can represent them as a spline series of the form (4.1). In fact, the extension of the local representation of the monomials can be derived inductively for all
Note that the normalization condition
Recalling that
4.5 Minimal support (Item 2.3)
Since we have now established that each
series form (4.1), we can show that the function
According to the basis property, we know that the function
We are now able to address item 2.3. A function, which is in
As mentioned before, our argument for the basis property of spline functions is derived from
[
13
]
, where it is actually carried out for any degree and any kind of knot sequence, i.e., the breakpoints are no longer equally spaced and thus the basis functions no longer translates of just one function like our
4.6 A recursion formula (Item 2.4)
Although I have stated in the introduction that we will restrict ourselves to polynomial degree 3, it is actually essential to see how minimally supported splines of given degree can be recursively put together using minimally supported splines of lower degree. So I am going to introduce a specific piecewise quadratic, linear and constant function now, but without much of an explanation. Find out for yourself about their properties such as the relation of the polynomial degree to the number of nontrivial pieces, positioning of breakpoints and the order of smoothness in these breakpoints. Once you have reached the last section and thus the general definition of a B-spline, you will be able to put things into perspective. Just to confuse you I will index these piecewise polynomial functions by the order of the polynomial pieces, and not by their degree.
We start by setting
and the piecewise linear
Finally, for piecewise constants we take
Now the functions
It is easily verified using item 2.1, (4.8), (4.12) and (4.15), that the following recursion holds for
This recursion formula can be illustrated in the form of a triangle
For
Having a recursion available is very important, for instance, to handle B-splines in practical computations in a numerically stable way. The recursion, as found independently in [ 2 ] and [ 12 ] , is typically considered as the starting point for splines as a practical numerical tool. We will not dwell on this too much here, but give one example, namely the evaluation of the series (4.1).
For
where the
with the initialization
Again, we can illustrate this using a triangular scheme:
For a thorough look at triangular schemes for polynomials and splines consult [ 26 ] .
5 Enter: truncated power functions
To derive a closed formula, especially one allowing also the use of nonuniform knots, we start with a different approach. The most straightforward piecewise polynomial functions are the following:
For all
and for fixed
These functions consist of just two polynomial pieces glued together at the breakpoint
5.1 A closed formula for B-splines (Item 2.5)
It is possible that a linear combination of truncated power functions with different breakpoints, which are of infinite support, can be combined to generate a compactly supported function. In fact, using the definition and investigating the different cases for the respective intervals, we can show that representation 2.5 holds, i.e.,
At this point it is time to remember a fundamental tool in numerical analysis, typically introduced when studying the Newton form of interpolation polynomials, namely the divided differences.
For a function
where
As is well known, we can compute divided differences for points
and
Defining the function
so that the cubic B-spline
5.2 Green’s functions (Item 2.6)
Now we proceed to investigate other settings, where the truncated power functions and thus B-splines as their divided differences are of importance.
For the linear differential operator
and initial conditions
a bivariate function
for any right hand side function
where
We can now compute directly that for the simple operator of fourth order differentiation
Differentiating under the integral sign yields
and thus according to Definition 4
yielding as the solution of the IVP on
This holds true also for other spline degrees n, the differential operator
and since the fourth order divided difference annihilates polynomials up to degree 3
and thus item 2.6, if we choose specifically
5.3 Peano kernels (Item 2.7)
The annihilation property of divided differences comes again into play in a special case of a remainder theorem originally established by Peano (see [ 15 ] ). In my opinion this a really powerful theorem as it yields remainder terms for various types of interpolation, numerical integration and differencing. For cubic polynomials this allows – for example – to state remainder formulae for Lagrange interpolation in four points, for the cubic Taylor polynomial in one given point, or for Simpson’s rule for numerical quadrature (try and see what you obtain).
Let a linear functional on the function space
where the functions
then we have for
with
meaning that the functional
This remainder theorem also covers our divided differences of fourth order, since they annihilate cubics, and we obtain for all
so the cubic B-spline
Note that we obtain from here the definite integral of the cubic B-spline By choosing
Finally, we point out that for equally spaced points, there is of course a direct correspondence between divided differences and central differences. Over the integers we define the central difference
and iteratively
We thus compute that
On the other hand according to the recursive computation of the divided differences (5.2), we have
and thus (recalling (5.8) we obtain item 2.7
5.4 A geometric interpretation (Item 2.8)
The Peano kernel property of the B-spline
where the domain of integration is the simplex
A straightforward proof for general order divided differences is of course done by induction over the number of points
We now position a unit-volume simplex
Regardless of the actual choice of
The determinant of the Jacobian
The interior triple integral is now indeed the 3-dimensional volume of the intersection of the hyperplane given by
and thus item 2.8. Note how the volume is always the same, regardless of how the simplex is chosen, provided the first coordinate of each
6 Fourier transforms
We will now look at situations, where the function
Recall first that the Fourier transform of a function
and the inverse Fourier transform of
Next recall that, provided both
Let
For the Fourier transform of a convolution we have
Recall now that the sinc function is defined as
It turns out that the sinc function is closely related to piecewise polynomials through the Fourier transform.
A fundamental result for practical applications is the Sampling Theorem. The theorem deals with functions that are bandlimited, i.e. whose Fourier transform is nonzero only on an interval of finite length, say
Compare (6.5), where a bandlimited function is represented using the sinc function and its translates, to (4.1), where a piecewise polynomial over the integers is represented by the B-spline
6.1 The Fourier transform of the B-spline (Item 2.9)
Let us start by computing the Fourier transform of our cubic B-spline
We have
and thus
and
This way we obtain that the Fourier transform of
Since
6.2 Convolutions (Item 2.10)
The occurrence of the 4-th power of the sinc-function for a cubic B-spline (order = 4) is of course no accident. Starting with piecewise constants, namely the characteristic function
we define recursively for
Check that this recursive definition is actually consistent with the piecewise definitions in (4.12) and (4.8).
Since the Fourier transform of
the Fourier transforms of
While
implying of course
Since the sinc-function is even, we can remove the complex exponential in the integrand and write
Integrals of this form have been investigated for a long time by a lot of mathematicians independent of spline theory, see [ 7 ] for a historical review.
We have already seen in (4.12) that for the hat function
producing item 2.10.
6.3 A moving unit impulse (Item 2.11)
In [ 28 ] it is described how B-splines can be generated recursively by intersecting the graph of a lower order B-spline with a unit impulse moving along the coordinate axis, as derived in [ 36 ] . In more explicit terms this would mean the following.
Moving a unit square along the
Thus a repetition of the process using
7 Subdivision
7.1 The refinement equation (Item 2.12)
A simple dilation of the B-spline series (4.1) by a factor of 2 yields that any piecewise cubic polynomial function over the half integers
Clearly the B-spline
The specific functional equation for the refinement of
Note that in 2.12 we can compute the values of any solution function
So we take the Fourier transforms in (7.1) to obtain
A dilation by the factor 2 in the function results in a factor of 1/2 in the Fourier transform, the translation by an integer
Denoting
is called the symbol of the refinable function and its investigation is one of the cornerstones in subdivision theory (see for example [ 8 ] and the tutorial [ 20 ] ) and wavelet analysis (see for example [ 14 ] , [ 11 ] ) to derive properties of the function obeying a refinement equation with given two-scale coefficients.
Our task here is much easier since we have already computed the Fourier transform of
Thus the two-scale coefficients for
Note that the famous Daubechies functions
[
14
]
are derived from splines by starting from the spline symbol
7.2 Subdivision curves (Item 2.13)
How are the coefficients related when going from the piecewise cubics over the integers
we know that
so the question is what the relationship is between the coefficients
Since the representations are unique, we obtain
Splitting up in even and odd indices and using the fact that only five coefficients
Clearly we can iterate this procedure and obtain
with
A straightforward way to approximate the graph of the function, i.e. the set of pairs
A finer polygon and hopefully better approximation is then obtained by connecting the points
Using the
and thus
Using the difference operator for biinfinite sequences
It now suffices to investigate how the differences of consecutive levels are related. We have
and
obtaining
and thus by iteration
We have thus established that for a given fraction
The study of subdivision curves in Computer Aided Geometric Design started with Chaikin
[
9
]
, but the idea dates back to de Rham in 1947
[
34
]
. In the original process, called corner cutting, the rules for the coefficients, and thus the corresponding rules for the control points
Compute for a given initial polygon a few steps of the algorithm and draw the resulting polygons to see why the procedure is called corner cutting.
While in our notation and terminology it is fairly easy to see that the coefficients involved are in fact the two-scale coefficients of the piecewise quadratic B-spline
Subdivision procedures are also available for surfaces, and even more important there. I would like to refer those who are interested to find out more to the tutorials by Sabin [ 37 ] . At this point let me just mention that these surfaces are now the state of the art in computer animation movies [ 16 ] .
8 Probability
8.1 An urn model (Item 2.14)
In Subsection 7.1 we have encountered binomial coefficients in the two-scale coefficients of B-splines. Binomial coefficients can be derived from Pascal’s triangle, which is related to urn models in probability. So it should not come as a great surprise that we can link the B-spline to urn models as well.
We consider an urn model introduced in very general form already by Friedman
[
24
]
. Initially the urn contains
The aim is to study the probability of selecting exactly
Using the notation
for the probability of selecting a white ball on the first trial, we use the term
For the simplest case of
The case
The urn models for the cases
We introduce two more probabilities (dependent on
We can now set up a recursion for the terms
if we already have drawn
white balls after trial and we draw a black ball in the last trial,if we have
white balls after trial and draw a white ball in the last trial.
In probability terms this means
In case i) the number of black balls after the first
and the specific recursion for
The initial conditions are
and we see that we get hat function as
By induction we can derive a closed formula for the functions
We see that the formula is correct for
with
establishing the desired formula (8.2).
We now define a piecewise polynomial function
Invoking the truncated power function
yielding
8.2 A probability density function (Item 2.15)
In subsection 4.2 and 5.3 we have observed the following two properties of the spline
Thus the function
Let us look a little bit more into this. Note first that
and thus can be interpreted as well as a probability density function of a real random variable
The convolution property (6.2) yields that
In fact, when rounding, let for any
This implies of course that
is the error when replacing the value
8.3 Sommerfeld’s approach in 1904 (Items 2.16 and 2.17)
Starting from the sum

We have already covered
The width of the strip
where
We obtain therefore that
Thus our task is now reduced to finding a formula for
For
For
so that we obtain, just as we should,
We proceed now to
where
![\includegraphics[scale=1.2]{figpage38.jpg}](https://ictp.acad.ro/jnaat/journal/article/download/1099/version/1021/1378/3081/img-0004.jpg)
For
For
For
Finally, we consider
where
For
For
Finally, for
A quick check shows that the function derived as
Sommerfeld was the first one (as far as I know) to present a graph of
Note also that the formulae given for the pieces of the function
yielding also
We will not sketch here how Sommerfeld pursued his original goal of investigating the limit behaviour, let it suffice to remark that indeed properly normalized B-splines tend to Gaussian (i.e., exponential) functions, if we let the polynomial degree go to infinity. Since Sommerfeld did not give a closed formula expression for his probability density functions
![\includegraphics[scale=0.38]{fig_4_5.jpg}](https://ictp.acad.ro/jnaat/journal/article/download/1099/version/1021/1378/3086/img-0009.jpg)
9 And something from Norway, too !
9.1 Brun 1932 (Item 2.18)
This section is devoted to the efforts of two Norwegian mathematicians, whose contributions and biographies are described in [ 7 ] . The first one is V. Brun, who is also the man who rediscovered Abel’s long lost original manuscript on transcendental functions, which Abel had submitted to the Academy in Paris in 1826. The text was finally printed in 1841, but the original was considered lost until Brun rediscovered it in Firenze in 1952. There were 8 pages missing, however, but that is another story, so back to our subject.
In his paper
[
6
]
in 1932, Brun had another look at the problem of the density functions
we have
so that
and thus by iteration
i.e. representation 2.18. Brun then used
9.2 Fjelstaad 1937 (Items 2.19 and 2.20)
In his paper
[
6
]
, Brun stated: Vi ser herav det hpløse i fremstille
Replacing
Integration by parts yields then formula
so we obtain the double integral formula
We compute that for the integral
we have
One integration by parts yields
and yet another one
Thus we obtain
establishing item 2.19.
From here we want to proceed by using partial fractions. The zeros in the denominator are
where the factors
Since
we have
Integration from
Earlier we have already used limit properties of
so we finally establish
and
or
establishing item 2.20. In the general case - which is of course the one considered in [ 23 ] , the signum function appears for odd polynomial orders (even degrees) in the sense that
10 An Outlook
A good way to wrap up our treatment now is to consider the general definition of a B-spline of arbitrary degree and make some comments in light of the 20 representations we have covered. For a more detailed introduction with examples and references I would like to refer to a recent tutorial [ 33 ] , standard spline monographs such as [ 3 ] , [ 42 ] and for the cardinal setting [ 40 ] , and specifically for CAGD [ 22 ] , [ 28 ] .
Schoenberg wrote his book [ 40 ] mainly about interpolation of infinite data by spline series of the form (4.1) for arbitrary polynomial degree. Still, in practical applications we regularly need to address situations with finitely many data points given over some finite interval, introducing the nontrivial problem of handling boundaries.
At first, let us check that divided differences can be defined recursively not just for simple distinct knots, but also for coalescing knots in the following way.
(Divided differences) Provided that a function
difference of order
and
We now start from a knot sequence
To define B(asis)-splines of a given degree
(B-spline) For a given knot sequence
B-spline of degree
At this point we have to say a bit more about knot sequences. There are two main settings. One is a biinfinite sequence of simple knots
The other main setting is a finite knot sequence for a closed and bounded interval
It must be strongly emphasized – although here we have mostly looked at just one spline function
Based on Leibniz’ formula for divided differences
one can establish a general recursion for B-splines (see item 2.4). With the B-splines of the initial level
we have the following recursion for
and thus triangular schemes for the evaluation of splines of the form
analogous to the one introduced in subsection 3.6.
The continuity of a function of the form (10.2) is more tricky to describe. If all knots are simple, the polynomial pieces are glued together with continuity
The divided difference formulation (see item 2.5) shows that each B-spline is a piecewise polynomial as a linear combination of truncated powers. One can establish by induction, using the recursion (10.1), that
Using Peano’s theorem as in item 2.7, we can derive that the integral of a B-spline is given as
Note that the normalization factor in the B-spline definition is chosen to achieve a partition of unity, and we must change it to
As for item 2.2, we can show the basis property of the set of B-splines, namely that all piecewise polynomials of degree
General multivariate splines are often defined by considering polynomials pieces over polyhedral domains (in two dimensions typically triangles or quadrilaterals) and gluing these pieces together at common facets with a given order of smoothness [ 10 ] , [ 4 ] . The geometric interpretation in item 2.18 is considered as the starting point for the investigation of so-called box splines [ 4 ] as multivariate piecewise polynomials, see Chapter 4 of [ 32 ] for a historical account including some reprints of Schoenberg’s letters from the early days.
Alternatively to the approach of gluing polynomial pieces, an extremal property generalizing (3.11) from item 2.1 has been used to define multivariate spline functions as those functions interpolating given data in some points and minimizing among all such interpolants an integral expression involving second order derivatives. These so-called thin-plate splines, introduced by Duchon [ 17 ] , however, are no longer piecewise polynomials for higher dimensions. For introductions to this subject see for example [ 18 ] , [ 19 ] .
Another really interesting topic, related to item 2.1, is the placing of interpolation conditions in some
Your mission, if you decide to accept it, is to find out much more about splines and their applications. Good Luck !
Bibliography
- 1
- 2
C. de Boor, On calculating with B-splines, J. Approx. Theory 6 (1972), pp. 50–62.
- 3
C. de Boor, A practical guide to splines, Springer, New York, 1978.
- 4
C. de Boor, K. Höllig, and S. Riemenschneider, Box splines, Springer, New York, 1993.
- 5
- 6
V. Brun, Gauss’ fordelingslov, Norsk Matematisk Tidsskrift, 14 (1932), pp. 81–92.
- 7
- 8
A.S. Cavaretta, W. Dahmen and C.A. Micchelli, Stationary subdivision, Memoirs of AMS 93, 1991.
- 9
- 10
C.K. Chui, Multivariate Splines, CBMS 54, SIAM, Philadelphia, 1988.
- 11
C.K. Chui, An Introduction to Wavelets, Academic Press, Boston, 1992.
- 12
M.G. Cox, The numerical evaluation of B-splines. J. Inst. Math. Applics. 10 (1972), pp. 134–139.
- 13
- 14
I. Daubechies, Ten Lectures on Wavelets, CBMS 61, SIAM, Philadelphia, 1992.
- 15
P. J. Davis, Interpolation and Approximation 2nd edition, Dover, New York, 1975 (originally published 1963).
- 16
- 17
J. Duchon, J., Interpolation des fonctions de deux variables suivant le principe de la flexion des plaques minces, RAIRO Analyse numérique, 10 (1976), pp. 5–12.
- 18
N. Dyn, Interpolation of scattered data by radial functions, in Topics in Multivariate Approximation, C.K. Chui, L.L. Schumaker, and F.I. Utreras (eds), Academic Press, New York, 1987, pp. 47–61.
- 19
N. Dyn, Interpolation and approximation by radial and related functions, in Approximation Theory VI, Vol. 1, C.K. Chui, L.L. Schumaker, and J.D. Ward (eds.), Academic Press, New York, 1989, pp. 211–234.
- 20
- 21
- 22
G. Farin, Curves and Surfaces for Computer-Aided Geometric Design, 4th edition, Academic Press, San Diego, 1998.
- 23
J.E. Fjelstaad, Bemerking til Viggo Brun: Gauss’ fordelingslov, Norsk Matematisk Tidsskrift 19 (1937), pp. 69–71.
- 24
B. Friedman, A simple urn model, Comm. Pure Appl. Math. 2 (1949), pp. 59–70.
- 25
R.N. Goldman, Urn models, approximations, and splines. J. Approx. Theory 54 (1988), pp. 1–66.
- 26
- 27
J.C. Holladay, A smoothest curve approximation, Math. Tables Aid. Comput. 11 (1957), pp. 233–243.
- 28
J. Hoschek, and D. Lasser, Fundamentals of Computer Aided Geometric Design, AKPeters, Wellesley, 1993.
- 29
S. Karlin, and Z. Ziegler, Chebyshevian spline functions, SIAM J. Numer. Anal. 3(1966), pp. 514–543.
- 30
M.G. Krein, and G. Finkelstein, Sur les fonctions de Green completement non-negatives des operateurs differentiels ordinaires, Doklady Akad. Nauk. SSSR 24 (1939), pp. 202–223.
- 31
- 32
C.A. Micchelli, Mathematical Aspects of Geometric Modelling, CBMS 65, SIAM, Philadelphia, 1995.
- 33
- 34
G. de Rham, Un peu de mathématique à propos d’une courbe plane, Elemente der Mathematik 2 (1947), pp. 73–76, pp. 89–97.
- 35
C. Runge, Über empirische Funktionen und die Interpolation zwischen äquidistanten Ordinaten, Z. f. Math. u. Phys. 46 (1901), pp. 224–243.
- 36
M.A. Sabin, The use of piecewise forms for the numerical representation of shape, Dissertation, Hungarian Academy of Sciences, 1977.
- 37
- 38
I.J. Schoenberg, Contributions to the problem of approximation of equidistant data by analytic functions, Part A: On the problem of smoothing or graduation. A first class of analytic approximation formulae. Part B: On the second problem of osculatory interpolation. A second class of analytic approximation formulae. Quart. Appl. Math. 4 (1946), pp. 45–99 and pp. 112–141.
- 39
I.J. Schoenberg, On spline functions, in Inequalities I, O. Shisha (ed.), Academic Press, New York, 1967.
- 40
I.J. Schoenberg, Cardinal Spline Interpolation, CBMS 12, SIAM, Philadelphia,
1973.- 41
I.J. Schoenberg, and A. Whitney, On Pólya frequency functions III. The positivity of translation determinants with an application to the interpolation problem by spline curves, Trans. Amer. Math. Soc. 74 (1953), pp. 246–259.
- 42
L.L. Schumaker, Spline Functions: Basic Theory, Wiley, New York, 1981.
- 43
A. Sommerfeld, Eine besonders anschauliche Ableitung des Gaussischen Fehlergesetzes, in Festschrift Ludwig Boltzmann gewidmet zum 60.Geburtstage, 20. Februar 1904, Barth, Leipzig, 1904, pp. 848–859.
- 44