Theoretical Result from Fritsch and Carlson - and a Modified Harmonic Mean Method
I remember wondering why Judy Butland's method always preserved monotonicity. I came across work by Fritsch and Carlson which provided the answer (Fritsch, F.N. and Carlson, R.E. (1980) Monotone Piecewise Cubic Interpolation, SIAM J Numer Anal, Vol 17, No 2, pp 238 - 246). They showed that a sufficient condition for monotonicity was that the estimate of the slopes at the end-points of a cubic piece should be limited by the size of the slopes of the straight lines joining adjacent points. Specifically, at a data point, if m 1 and m 2 be the slopes of the chords, then the estimated slope, m, must satisfy 0<=m/m 1 <3 and 0<=m/m 2 <3 (this is a weaker result than they derived, but it is more usable) For Butland's harmonic mean method, we have 0<=m/m 1 <2 and 0<=m/m 2 <2 - so the Fritsch-Carlson conditions are satisfied with a bit to spare. It worried me a bit that the harmonic mean did not make any allowance for the spacing of the da...