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

Solution 9.

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

 

[Graphics:../Images/BezierCurveMod_gr_249.gif]
[Graphics:../Images/BezierCurveMod_gr_250.gif]


[Graphics:../Images/BezierCurveMod_gr_251.gif]
[Graphics:../Images/BezierCurveMod_gr_252.gif]


[Graphics:../Images/BezierCurveMod_gr_253.gif]
[Graphics:../Images/BezierCurveMod_gr_254.gif]

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

 

[Graphics:../Images/BezierCurveMod_gr_256.gif]
[Graphics:../Images/BezierCurveMod_gr_257.gif]
[Graphics:../Images/BezierCurveMod_gr_258.gif]

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

 

[Graphics:../Images/BezierCurveMod_gr_261.gif]
[Graphics:../Images/BezierCurveMod_gr_262.gif]
[Graphics:../Images/BezierCurveMod_gr_263.gif]

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

 

[Graphics:../Images/BezierCurveMod_gr_266.gif]
[Graphics:../Images/BezierCurveMod_gr_267.gif]
[Graphics:../Images/BezierCurveMod_gr_268.gif]

Observe that the second through fourth elements of  [Graphics:../Images/BezierCurveMod_gr_269.gif] agree with the first through third elements of  [Graphics:../Images/BezierCurveMod_gr_270.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 2004