Table of Contents
Fetching ...

Finding roots of complex analytic functions via generalized colleague matrices

Hanwen Zhang, Vladimir Rokhlin

TL;DR

The paper addresses the problem of finding all roots of an analytic function within a square domain in the complex plane. It develops a method that first approximates the function by a polynomial in a specially constructed three-term recurrence basis, obtained via complex orthogonalization with random weights to achieve a well-conditioned basis. The roots are then computed as eigenvalues of a generalized colleague matrix using a tailored complex orthogonal QR algorithm with shifts, which runs in O(n^2) time and is supported by a precomputed basis on the domain boundary. Numerical experiments across poles, simple and multiple roots, clustered zeros, and entire functions demonstrate robustness, adaptivity, and the potential for extension to general compact domains. The approach offers a stable, scalable alternative to traditional rootfinding in the complex plane with potential applications in spectral methods and complex-domain analysis.

Abstract

We present a scheme for finding all roots of an analytic function in a square domain in the complex plane. The scheme can be viewed as a generalization of the classical approach to finding roots of a function on the real line, by first approximating it by a polynomial in the Chebyshev basis, followed by diagonalizing the so-called ''colleague matrices''. Our extension of the classical approach is based on several observations that enable the construction of polynomial bases in compact domains that satisfy three-term recurrences and are reasonably well-conditioned. This class of polynomial bases gives rise to ''generalized colleague matrices'', whose eigenvalues are roots of functions expressed in these bases. In this paper, we also introduce a special-purpose QR algorithm for finding the eigenvalues of generalized colleague matrices, which is a straightforward extension of the recently introduced componentwise stable QR algorithm for the classical cases (See [Serkh]). The performance of the schemes is illustrated with several numerical examples.

Finding roots of complex analytic functions via generalized colleague matrices

TL;DR

The paper addresses the problem of finding all roots of an analytic function within a square domain in the complex plane. It develops a method that first approximates the function by a polynomial in a specially constructed three-term recurrence basis, obtained via complex orthogonalization with random weights to achieve a well-conditioned basis. The roots are then computed as eigenvalues of a generalized colleague matrix using a tailored complex orthogonal QR algorithm with shifts, which runs in O(n^2) time and is supported by a precomputed basis on the domain boundary. Numerical experiments across poles, simple and multiple roots, clustered zeros, and entire functions demonstrate robustness, adaptivity, and the potential for extension to general compact domains. The approach offers a stable, scalable alternative to traditional rootfinding in the complex plane with potential applications in spectral methods and complex-domain analysis.

Abstract

We present a scheme for finding all roots of an analytic function in a square domain in the complex plane. The scheme can be viewed as a generalization of the classical approach to finding roots of a function on the real line, by first approximating it by a polynomial in the Chebyshev basis, followed by diagonalizing the so-called ''colleague matrices''. Our extension of the classical approach is based on several observations that enable the construction of polynomial bases in compact domains that satisfy three-term recurrences and are reasonably well-conditioned. This class of polynomial bases gives rise to ''generalized colleague matrices'', whose eigenvalues are roots of functions expressed in these bases. In this paper, we also introduce a special-purpose QR algorithm for finding the eigenvalues of generalized colleague matrices, which is a straightforward extension of the recently introduced componentwise stable QR algorithm for the classical cases (See [Serkh]). The performance of the schemes is illustrated with several numerical examples.
Paper Structure (28 sections, 7 theorems, 56 equations, 11 figures, 7 tables, 6 algorithms)

This paper contains 28 sections, 7 theorems, 56 equations, 11 figures, 7 tables, 6 algorithms.

Key Result

Theorem 1

Given a compact domain $D$ in $\mathbb{C}$ with boundary $\partial D$, the modulus $|f(z)|$ of a non-constant analytic function $f$ in $D$ attains its maximum value on $\partial D$.

Figures (11)

  • Figure 1: We construct the polynomial bases on a square, a triangle, a snake-like domain and a circle.
  • Figure 2: The graphs of the polynomials $P_2, P_5$ and $P_{20}$ are shown in (a), constructed on the boundary of a square domain shown in Figure \ref{['fig:square']}. The four sides of the square are mapped to the interval $[0,8]$, on which the polynomials are plotted. Solid lines are the real part and dotted lines the imaginary part. Roots of $P_{300}$ for all examples are shown. All roots tend to be near the exterior boundary of domains.
  • Figure 3: The condition numbers of polynomial bases constructed on the boundary of various domains in Figure \ref{['fig:shapes']} are shown. Data points labeled by "Gaussian 1" for order $n$ represent condition numbers of $\left\{P_j\right\}_{j=0}^n$ constructed with $n$ Gaussian nodes on each side; "Gaussian 2" represents those with $n/2+10$ Gaussian nodes. In both cases, the points where the polynomials are constructed coincide with those where the conditioned numbers of the polynomial bases are evaluated. "Equispaced" represents those constructed with $n$ equispaced nodes on each side, except for the triangle example where $4n$ equispaced nodes are used. In the last example, in total $2n$ equispaced nodes are used.
  • Figure 4: The $(k-1)$-th and $k$-th rows of $B^{(k+1)}$, represented by its generators.
  • Figure 5: The $(k-1)$-th and $k$-th columns of $A^{(k+1)}$, represented by its generators.
  • ...and 6 more figures

Theorems & Definitions (16)

  • Theorem 1
  • Lemma 2
  • Lemma 3
  • Lemma 4
  • Lemma 5
  • Theorem 6
  • Remark 3.1
  • Lemma 7
  • Remark 3.2
  • Remark 3.3
  • ...and 6 more