Example 9.  What is the nature of the  "spline fit"  constructed by Mathematica ?

Solution 9.

Let's look at  [Graphics:../Images/BezierCurveMod_gr_296.gif].  

[Graphics:../Images/BezierCurveMod_gr_297.gif]
[Graphics:../Images/BezierCurveMod_gr_298.gif] [Graphics:../Images/BezierCurveMod_gr_299.gif]
[Graphics:../Images/BezierCurveMod_gr_300.gif] [Graphics:../Images/BezierCurveMod_gr_301.gif]
[Graphics:../Images/BezierCurveMod_gr_302.gif]

Let's look at  [Graphics:../Images/BezierCurveMod_gr_303.gif].  

[Graphics:../Images/BezierCurveMod_gr_304.gif]

[Graphics:../Images/BezierCurveMod_gr_305.gif]
[Graphics:../Images/BezierCurveMod_gr_306.gif]


Observe that the second through fourth elements of  [Graphics:../Images/BezierCurveMod_gr_307.gif] agree with the first through third elements of  [Graphics:../Images/BezierCurveMod_gr_308.gif].  
Hence the spline is a continuous curve.  

[Graphics:../Images/BezierCurveMod_gr_309.gif]

[Graphics:../Images/BezierCurveMod_gr_310.gif]

[Graphics:../Images/BezierCurveMod_gr_311.gif]


Observe that the second through fourth elements of  [Graphics:../Images/BezierCurveMod_gr_312.gif] agree with the first through third elements of  [Graphics:../Images/BezierCurveMod_gr_313.gif].  
Hence the spline is a smooth curve.  

[Graphics:../Images/BezierCurveMod_gr_314.gif]

[Graphics:../Images/BezierCurveMod_gr_315.gif]

[Graphics:../Images/BezierCurveMod_gr_316.gif]


Observe that the second through fourth elements of  [Graphics:../Images/BezierCurveMod_gr_317.gif] agree with the first through third elements of  [Graphics:../Images/BezierCurveMod_gr_318.gif].   
Hence the second derivatives agree at all of the interpolation knots.  Also, the second derivative is zero in both coordinates at both endpoints.   

Thus, Mathematica is using a "Natural Bézier curve" which is a "natural cubic spline" in each coordinate.

 

 

 

 

 

 

 

 

 

 

 

 

(c) John H. Mathews 2003