3

In Fritsch and Carlson's paper on monotone interpolation, they identify numerous conditions under which a cubic Hermite interpolator will be monotone. For example: On the subinterval $[t_i, t_{i+1}]$ where $p(t_i) = y_i$ and $p(t_{i+1}) = y_{i+1}$, if we choose endpoint derivatives $d_i = d_{i+1} = 0$, then the interpolator is monotone. There are other conditions. Let $h_i := t_{i+1}-t_i$ and $\Delta_i := (y_{i+1} - y_{i})/h_i$. The condition $$ d_i + d_{i+1} - 2\Delta_i \le 0 $$ is sufficient to ensure monotonicity. If $y_i' + y_{i+1}' - 2\Delta_i > 0$ then we could either have $x^{*} := \frac{1}{3} \frac{2d_{i} + d_{i+1} - 3\Delta_i}{d_{i} + d_{i+1} - 2 \Delta_i}$ not in the interval $[0, 1]$, or if it is in the interval $[0,1]$, then $\mathrm{sgn}(p(x^{*})) = \mathrm{sgn}(\Delta_i)$ will again guarantee monotonicity.

This is somewhat complicated, but there is quite a bit of freedom on a single interval. However, $d_i$ is constrained by data to both its right and left. It's clear that if $\Delta_{i-1}$ and $\Delta_i$ do not have the same sign, that $d_i = 0$ is the only solution. However, when $\Delta_{i-1}$ and $\Delta_i$ have the same sign, we need to find a choice of $d_i$ that satisfies the constraints listed above on both the intervals $[t_{i-1}, t_i]$ and $[t_i, t_{i+1}]$. Matlab solves this problem by setting $d_i$ to the "weighted harmonic mean" \begin{align} \frac{w_1 + w_2}{d_i} = \frac{w_1}{\Delta_{i-1}} + \frac{w_2}{\Delta_i}, w_1 :=2h_k + h_{k-1}, w_2 := h_k + 2h_{k-1} \end{align} I am unfamiliar with the properties of weighted harmonic means, and hence I cannot see why this choice for the derivatives satisfied the constraints for monotonicity listed in Fritsch and Carlson's paper.

How do we prove that the weighted harmonic mean leads to a monotone interpolator?

Partial solution: Using @MPIchael's suggestion, I was at least able to split of some cases. For example, if $d_{i+1}$ must be zero, then $$ d_i - 2\Delta_i \le \max(\Delta_i, \Delta_{i-1}) - 2\Delta_i. $$ And if $\max(\Delta_i, \Delta_{i-1}) = \Delta_i$, we satisfy $d_i + d_{i+1} - 2\Delta_i \le 0$. Otherwise, use $d_i \le \sqrt{\Delta_i \Delta_{i-1}}$, whereupon $$ d_i - 2\Delta_i \le \Delta_i(\sqrt{\Delta_{i-1}/\Delta_i }-2) $$ which is non-positive whenever $\Delta_{i-1} \le 4\Delta_i$. I suspect to get the more general case, I need the inequality $H_{w}(\Delta_i, \Delta_{i-1}) \le 2\min(\Delta_i, \Delta_{i-1})$, which I know to be true for the standard harmonic mean, but I can't find a proof for the weighted harmonic mean.

user14717
  • 2,155
  • 13
  • 14
  • I can't really comment on how to provide a proof, but want to point out, that the weighted harmonic mean is a special case of the https://en.wikipedia.org/wiki/Generalized_mean, also called Hölder mean. It might be easier to find references with this search term. – MPIchael May 08 '23 at 06:27
  • If not already known, for the general case it holds $H_{w}(a, b) \le \min(a/w_a, b/w_b)$, see https://link.springer.com/article/10.1007/s13226-023-00409-y. – ConvexHull May 09 '23 at 23:35
  • I had worked this inequality out for the case we're in (in particular, the weights are guaranteed in the interval [1/3, 2/3]), but I was only able to get a partial result from that inequality. – user14717 May 10 '23 at 15:10

0 Answers0