Numerical computation of the Schwarz function
Lloyd N. Trefethen
TL;DR
The paper presents a numerical framework for computing the Schwarz function $S(z)$ of an analytic arc $\Gamma$ using the AAA rational approximation method, enabling analytic continuation and related PDE techniques in the plane. By sampling $\Gamma$ and applying AAA to the data $F=\overline{Z}$, it yields a rational approximant $r$ that matches $S$ on $\Gamma$ with high accuracy, while the poles of $r$ reveal branch-cut structures and multivaluedness away from $\Gamma$. The work demonstrates rapid, accurate computation on various curves, including singular and nonconvex geometries, and analyzes how $r$ captures multiple Schwarz branches and how far the approximation remains reliable. The discussion highlights the AAALS framework for solving 2D Dirichlet problems and indicates potential extensions to Helmholtz and Stokes-type problems, with the Schwarz function playing a central role in understanding convergence behavior near concave boundaries.
Abstract
An analytic function can be continued across an analytic arc $Γ$ with the help of the Schwarz function $S(z)$, the analytic function satisfying $S(z) = \bar z$ for $z\in Γ$. We show how $S(z)$ can be computed with the AAA algorithm of rational approximation, an operation that is the basis of the AAALS method for solution of Laplace and related PDE problems in the plane. We discuss the challenge of computing $S(z)$ further away from from $Γ$, where it becomes multi-valued.
