Cubic Spline Interpolation
Consider
Where
We want
The Coefficient Matrix for this system is:
This gives us
- Interpolation at Left Endpoints: (
equations)
for
for - Interpolation at Right Endpoints: (
equations)
for
for is continuous: ( equations)
for
is continuous: ( equations)
for
The last two equations are generally provided by the problem in the case of the natural cubic spline the equations are:
Example
Go to Find Cubic Spline Interpolation Coefficients to see a worked example of finding cubic spline coefficients given an incomplete coefficient matrix.