![]()
MATH566 Lesson 7: Piecewise polynomial interpolation -
Splines
|
Interval partition and approaches to piecewise interpolation
Spline interpolation:
Constant splines
Linear splines
Quadratic splines
Cubic splines
Spline bases
![]()
Interval partition, piecewise interpolation
|
Numerical experiments: high-degree polynomial interpolants can diverge
Idea: for , break up interval into smaller pieces
Definition. is a partition of the interval if , , satisfy
Definition. The norm of partition of the interval is
Define , polynomial of degree
Approaches to piecewise polynomials interpolation:
Splines: enforce (continuity up to derivative of order )
Piecewise Lagrange: further divide into intervals, no derivatives
![]()
Piecewise constant interpolation
|
Simplest case: constant functions
Apply polynomial error formula over each subinterval
Overall
For equidistant (uniform) partition ,
The interpolant converges to linearly (order of convergence is 1)
Type of approximation used analytically in construction of integrals from Riemann sums
![]()
Linear splines
|
A piecewise linear interpolant is obtained by
Interpolation error is bounded by
Converges as (“quadratic convergence”, more properly algebraic convergence as )
![]()
Quadratic splines
|
Piecewise quadratic interpolant,
Interpolation condition at left already satisfied
Enforce interpolation condition at right
Only conditions for parameters. Enforce continuity of derivative in interior
Still one condition left to choose. Examples:
(known end slope)
(constant end-slope)
To compute a linear system is formed and solved for
![]()
Quadratic spline bidiagonal system
|
The interpolation error is bounded by
for an equidistant partition, exhibiting algebraic “quadratic” convergence.
![]()
Cubic splines
|
Approach similar to quadratic, but with continuity up to second derivative
Continuity of curvature (second derivative) important in applications
The second derivative is linear
Obtain tridiagonal system
End conditions are required to close the system:
Zero end-curvature, “natural end conditions”:
Curvature extrapolation: ,
Known curvature: , .