arXiv:2610.02934cs.SCOct 2026

Manuscript Offprint

arXiv:2610.02934

Root isolation for analytic functions using cubic hermite interpolation

Christophe Raffalli

CHRISTOPHE RAFFALLI

ABSTRACT. We present a root isolation algorithm for an analytic function. The method combines interval subdivision with a heuristic test based on local cubic Hermite interpolation. Whenever the function is sufficiently close to its cubic Hermite interpolant at a few sample points, we assume that the critical points of the cubic interpolant give a valid root isolation for the original function.

Such an algorithm cannot, in general, provide a rigorous certification of the computed intervals. Nevertheless, extensive numerical experiments show that it is highly efficient and almost always produces the correct results. We hope that a probabilistic or exact algorithm can be derived from this work.

1. INTRODUCTION

In this paper, we propose a root isolation algorithm based on a local interpolation criterion. The key idea is to replace symbolic root-counting tests by a numerical comparison between the function and a local Hermite interpolant.

The isolation of the real roots of a polynomial, or more generally of an analytic function, is a fundamental problem in computer algebra and computational geometry. Given a function f:R→Rf : \mathbb{R} \to \mathbb{R}, the objective is to compute a finite collection of pairwise disjoint intervals, each containing exactly one real root of ff and such that every real root belongs to one of these intervals.

Several methods have been developed for isolating the real roots of a univariate polynomial. Among the most classical ones are:

  • Continued fraction methods [7]: this method transforms the polynomial using Möbius substitutions and recursively computes continued fraction expansions to isolate roots, without explicitly subdividing the real line.

• Descartes’ method [5, 4, 6]: based on Descartes’ rule of signs, it uses the number of sign variations of transformed polynomials to bound the number of roots in an interval. It recursively subdivides intervals until each interval contains at most one root.

• Sturm’s method: it uses Sturm sequences to count exactly the number of distinct real roots in any interval. Combined with recursive subdivision, it provides a certified root isolation algorithm.

There is less work on root isolation for general (non-polynomial) functions. We may cite the work of John P. Boyd [1] and the paper of Cleonice F. Bracciali and Michael Carley [2]. Similarly to our approach, they use a local interpolation: Chebyshev for the former, Taylor expansion for the latter. The main difference with our work is that we use a fixed degree 3 Hermite interpolation.

The decision tests used during root isolation generally have a quadratic complexity with respect to the degree, typically O(d2)O(d^{2}). This complexity comes either from the computation of Taylor shifts, as in Descartes-based methods, or from the basic construction and evaluation of Sturm sequences. In the case of Descartes' rule, we can abort the computation as soon as we detect too many sign changes to mitigate the cost. Although asymptotically faster algorithms based on FFT techniques can reduce this complexity for very large degrees, they are usually not advantageous in practice for the moderate degrees encountered in most applications.

Date: October 5, 2026.

CHRISTOPHE RAFFALLI

Our interpolation-based test has a complexity proportional to the cost of a few evaluation of the function and its derivative. For a polynomial of degree d, a direct evaluation generally costs O(d)O(d) operations, while for special families such as Chebyshev or Mignotte polynomials, this cost can be reduced to O(1)O(1). This leads to a root isolation algorithm that appears linear in our experiments for those classes of polynomials.

Another important advantage of our approach is that it does not require to expand the polynomial and the test can be applied without modification to analytic functions.

Finally, unlike certified symbolic approaches, our method is designed as a numerical algorithm relying on standard floating-point arithmetic, using either 64-bit double-precision or even 32-bit single-precision floating point arithmetic (the latter is standard on GPUs). Despite this limited precision, the method exhibits very good numerical stability in practice. This numerical stability is also improved by the fact that we do not need to expand the polynomials.

For instance, at the end of this paper, we report an experiment to visualize surfaces using GPUs with only 32-bit floating point arithmetic. It is very important to be able to evaluate the polynomial and its derivative restricted to a line, by computing the polynomial and its gradient in R3\mathbb{R}^3.

We are able to prove that our algorithm indeed terminates and produces intervals that contain at least one root of the provided analytic function. The algorithm is parameterized by two constants ε∈]0,1[\varepsilon \in]0,1[ and n∈N∗n \in \mathbb{N}^*. The integer nn is the number of point where we test the quality of the Hermite interpolation, by checking that a quantity Q(x)<εQ(x) < \varepsilon. Our experiments indicate that very reasonable values of these constants, n=3n = 3 or 6 for instance, are sufficient for many families of polynomials or analytic functions.

We hope that an exact or a probabilistic algorithm may be within reach by developing the idea in this work.