6.2 Subdivision for Natural Cubic Splines 169
cubic function that has continuous second derivatives at the knots (i.e., p[x ] ∈ C
2
)
and whose second derivative is zero at the endpoints of the interval
(the natural
boundary conditions).
In the differential approach to subdivision, we discretized equation 6.10 over
a sequence of uniform grids
1
2
k
Z and constructed an associated sequence of finite
difference equations. In the variational approach to subdivision, we construct an
inner product matrix
E
k
corresponding to the functional of equation 6.9 taken on
the restriction of the grid
1
2
k
Z to the interval . As we shall see, the minimizers
of this functional are captured by a matrix equation analogous to the finite dif-
ference equation
d
k
[x] s [x] == 2d
k−1
[x
2
]. The authors first published this method for
constructing minimizers of variational problems in [160].
6.2.2 A Finite Element Scheme for Natural Cubic Splines
One standard approach to solving variational problems of this type is the finite
element method. Given an interval
, the finite element method first constructs a
set of finite element basis functions
N
k
[x] defined on this interval whose members
are indexed by points on the
1
2
k
Z grid. The basis functions comprising the vector
N
k
[x] are chosen to be sufficiently smooth so that the variational functional E is
well defined for any function
p
k
[x] in the span of
N
k
[x]. Next, the finite element
method computes the function
p
k
[x] of the form
N
k
[x]p
k
that minimizes the varia-
tional functional
E while satisfying the interpolation constraints p
k
[i] == b[[ i ]] for all
integers
i ∈ . For functionals such as equation 6.9 that are quadratic in the func-
tion
p[x] and its derivatives, this minimization problem reduces to solving a system
of linear equations involving
p
k
. These linear equations can be viewed as a discrete
approximation to the partial differential equation associated with the variational
functional
E by the Euler-Lagrange theorem.
The payoff from this construction is that under fairly weak conditions on the
finite element basis
N
k
[x] the limit of the minimizing functions p
k
[x] as k →∞is
the function
p
∞
[x] that minimizes E over the space of all functions for which E is
well defined. Thus, the finite element method is simply a multilevel method for
computing a sequence of vectors
p
k
that converge to the minimizer of the variational
functional
E. For those readers interested in a more rigorous treatment of the finite
element method, we recommend Oden and Reddy [113].
In the finite element method, the key step in constructing the linear equa-
tions that characterize the minimizing vector
p
k
is building the inner product ma-
trix
E
k
associated with the variational functional E. For natural cubic splines, the