Skip to main content
Log in

The stability of extended Floater–Hormann interpolants

  • Published:
Numerische Mathematik Aims and scope Submit manuscript

Abstract

We present a new analysis of the stability of extended Floater–Hormann interpolants, in which both noisy data and rounding errors are considered. Contrary to what is claimed in the current literature, we show that the Lebesgue constant of these interpolants can grow exponentially with the parameters that define them, and we emphasize the importance of using the proper interpretation of the Lebesgue constant in order to estimate correctly the effects of noise and rounding errors. We also present a simple condition that implies the backward instability of the barycentric formula used to implement extended interpolants. Our experiments show that extended interpolants mentioned in the literature satisfy this condition and, therefore, the formula used to implement them is not backward stable. Finally, we explain that the extrapolation step is a significant source of numerical instability for extended interpolants based on extrapolation.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5
Fig. 6
Fig. 7
Fig. 8
Fig. 9
Fig. 10
Fig. 11
Fig. 12

Similar content being viewed by others

References

  1. Bochkanov, S.: AlgLib, an open source library for numerical computation. http://www.alglib.net

  2. Berrut, J.-P., Klein, G.: Recent advances in linear barycentric rational interpolation. J. Comput. Appl. Math. 259(PART A), 95–107 (2014)

    Article  MathSciNet  MATH  Google Scholar 

  3. Berrut, J.-P., Trefethen, L.N.: Barycentric lagrange interpolation. SIAM J. Numer. Anal. 46(3), 501–517 (2004)

    MathSciNet  MATH  Google Scholar 

  4. Bos, L., De Marchi, S., Hormann, K., Klein, G.: On the Lebesgue constant of barycentric rational interpolation at equidistant nodes. Numer. Math. 121(3), 461–471 (2012)

    Article  MathSciNet  MATH  Google Scholar 

  5. Brutman, L.: Lebesgue functions for polynomial interpolation—a survey. Ann. Numer. Math. 4, 111–127 (1997)

    MathSciNet  MATH  Google Scholar 

  6. de Camargo, A.P.: On the numerical stability of Floater–Hormann’s rational interpolant. Numer. Algorithms 72(1), 131–152 (2016)

    Article  MathSciNet  MATH  Google Scholar 

  7. Floater, M.S., Hormann, K.: Barycentric rational interpolation with no poles and high rates of approximation. Numer. Math. 107(2), 315–331 (2007)

    Article  MathSciNet  MATH  Google Scholar 

  8. Fousse, L., Hanrot, G., Lefèvre, V., Pélissier, P., Zimmermann, P.: MPFR: a multiple-precision binary floating-point library with correct rounding. ACM Trans. Math. Softw. 33(2), 13 (2007)

    Article  MathSciNet  Google Scholar 

  9. Higham, N.J.: The numerical stability of barycentric Lagrange interpolation. IMA J. Numer. Anal. 24, 547–556 (2004)

    Article  MathSciNet  MATH  Google Scholar 

  10. Higham, N.J.: Accuracy and Stability of Numerical Algorithms, 2nd edn. SIAM, Philadelphia (2002)

    Book  MATH  Google Scholar 

  11. Klein, G.: An extension of the Floater–Hormann family of barycentric rational interpolants. Math. Compt. 82(284), 2273–2292 (2013)

    Article  MathSciNet  MATH  Google Scholar 

  12. Klein, G., Berrut, J.-P.: Linear rational finite differences from derivatives of barycentric rational interpolants. SIAM J. Numer. Anal. 50(2), 643–656 (2012)

    Article  MathSciNet  MATH  Google Scholar 

  13. Mascarenhas, W.F.: The stability of barycentric interpolation at the Chebyshev points of the second kind. Numer. Math. (2014). doi:10.1007/s00211-014-0612-6

  14. Mascarenhas, W.F., de Camargo, A.P.: On the backward stability of the second barycentric formula for interpolation. Dolomites Res. Notes Approx. 7, 1–12 (2014)

    Article  Google Scholar 

  15. Mascarenhas, W.F., de Camargo, A.P.: The effects of rounding errors in the nodes on barycentric interpolation. (2013). arXiv:1309.7970v2 [math.NA] 4 Jul 2014, submitted to Numer. Math

  16. Trefethen, L.N., Weideman, J.A.C.: Two results on polynomial interpolation in equally spaced points. J. Approx. Theory 65, 247–260 (1991)

    Article  MathSciNet  MATH  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Walter F. Mascarenhas.

Additional information

André is supported by Grant 14225012012-0 from Conselho Nacional de Desenvolvimento Científico e Tecnológico, CNPq. Walter is supported by grant 2013/10916-2 from Fundação de Amparo à Pesquisa do Estado de São Paulo (FAPESP).

What can we prove about the stability of extended interpolants

What can we prove about the stability of extended interpolants

This appendix illustrates the difficulties in building a general and realistic stability theory for extended interpolants, a theory which would take into account the errors introduced by the current implementations of floating point arithmetic. We explain that the stability of extended interpolants is sensitive to the way we implement the extrapolation step, and that the accuracy of this step depends on the cancellation of the rounding errors. In fact, the errors incurred by extended interpolants can be enormous when we use the extrapolation formula proposed in [2] and [11], and compute \(\tilde{\mathbf {y}}\) according to the following procedure:

  1. (a)

    If i is even, set the rounding mode upward and evaluate \(\tilde{y}_i\) as in (6)–(8).

  2. (b)

    If i is odd, set the rounding mode downward and evaluate \(\tilde{y}_i\) as in (6)–(8).

In this scenario the overall effect of rounding errors can be much larger than what one would expect from the already large Lebesgue constants, as illustrated in Figs. 13 and 14. In the plots corresponding to \(\tilde{\mathbf {y}}\) evaluated as in (10)–(11) in these figures, \(\tilde{\mathbf {y}}\) was obtained by matrix multiplication, with \(a_{ij}\) and \(b_{ij}\) computed in multiple precision and then rounded to double precision i.e., with \(a_{ij}\) and \(b_{ij}\) as accurate as possible.

Fig. 13
figure 13

Extended Floater–Hormann. Log10 of the forward error for \({f}\left( t \right) = {\sin }\left( 20t \right) \) for \(t \in [-1,1]\) and \(n = 200\). By “\(\tilde{y}\) by Taylor” we mean \(\tilde{y}\) computed by Taylor series as in [2] and (6)–(8), and by “\(\tilde{y}\) by matrix mult.” we mean \(\tilde{y}\) computed by matrix multiplication of \(\mathbf {y}\) by the matrices with entries \(a_{ij}\) and \(b_{ij}\), as in (10)–(11)

Fig. 14
figure 14

Extended Floater–Hormann. Log10 of (forward error divided by the Lebesgue constant) for \({f}\left( t \right) = {\sin }\left( 20t \right) \), \(t \in [-1,1]\) and \(n = 200\)

We emphasize that the choices of rounding modes in the steps (a) and (b) above are not frivolous. Their purpose is to help us understand what can be proved about the numerical stability of extended interpolants, so that we do not try to prove something that cannot be proved. It is unlikely that \(\tilde{\mathbf {y}}\) will be evaluated as in the steps (a) and (b) when rounding to nearest. In this mode, there is a 50  % chance of rounding up in each flop and, under the questionable hypothesis of independence of the rounding errors, there would be a minuscule probability of \(2^{-2\left( d+1 \right) d}\) of having all the intermediate results in the evaluation of \(\tilde{\mathbf {y}}\) rounded up when rounding to nearest. Since the set of floating point numbers is finite, such a coincidence may be impossible. However, our experiments indicate that it is difficult to build a realistic theory on the effects of rounding errors on extended interpolants, because the rounding errors induced by our changes of rounding modes would be allowed by usual models of floating point arithmetic, with \(\epsilon \) replaced by \(2 \epsilon \). More precisely: when evaluating \(\tilde{\mathbf {y}}\), with our choices of rounding modes, we monitored the relative errors

$$\begin{aligned} \left| \frac{{\mathrm {fl}}\left( x + y \right) - \left( x + y \right) }{\left( x + y \right) }\right| \quad \mathrm {and} \quad \left| \frac{{\mathrm {fl}}\left( x * y \right) - \left( x * y \right) }{\left( x * y \right) }\right| \end{aligned}$$

for each operation we performed, and found all of them to be smaller than \(1.97 \epsilon \).

In other words, a stability theory for extended interpolants based on the usual models of floating point arithmetic would need to cover the changes of rounding modes in steps (a) and (b) above and, as a result, its predictions would be too pessimistic. Therefore, a realistic stability theory for extended interpolants will require additional hypothesis regarding the floating point arithmetic. By contrast, under the usual models of floating point arithmetic [10], we already have realistic theories bounding the rounding errors in terms of \(\epsilon \), n and the Lebesgue constant for other barycentric interpolation schemes, as in [6, 9, 1315].

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

de Camargo, A.P., Mascarenhas, W.F. The stability of extended Floater–Hormann interpolants. Numer. Math. 136, 287–313 (2017). https://doi.org/10.1007/s00211-016-0840-z

Download citation

  • Received:

  • Revised:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s00211-016-0840-z

Mathematics Subject Classification

Navigation