- Home
- Library
- Computational Quantum Field Theory
- Computing and Following Spectra
- Complex Root Finding and Argument-Principle Searches
Complex Root Finding and Argument-Principle Searches
Newton's method can find a resonance and still miss most of the spectrum. Several starting guesses may converge to the same zero, while a narrow basin hides another. A contour count asks a different question first: how many zeros lie in this region, including multiplicity?
We develop that count, use it to isolate roots, and apply it to the scalar BTZ spectral function. The same example exposes two common mistakes: an underresolved phase curve can give the wrong integer, and a harmless choice of radial normalization can introduce poles whose winding cancels that of genuine modes.
Preparation: Analytic functions, residues and complex Newton iteration. The BTZ shooting and collocation calculation supplies the physical boundary problem and an independent numerical comparison.
A spectral function must be specified
Suppose a boundary-value problem is reduced to
Possible choices include a matching Wronskian, a boundary-source coefficient or a determinant. They need not have the same analytic properties. Multiplying by a function that never vanishes and has no poles in the region preserves the zero set. A multiplier with zeros or poles changes the count unless those factors are accounted for.
For a discrete pencil, is a polynomial, but direct determinant evaluation can underflow, overflow or obscure conditioning. Stable factorizations, analytic matching functions or contour methods for the matrix inverse may be preferable. Here a solvable scalar example lets us test the count against known analytic structure without pretending that every determinant evaluation is well conditioned.
The nonrotating BTZ scalar uses
With time dependence , ingoing horizon behavior and the standard AdS source condition, an entire spectral function is
The reciprocal gamma function is entire with simple zeros at . Thus, for nonzero real , Eq. (2) has simple zeros
We use and , hence . These exact roots are withheld from the numerical isolation algorithm and compared with its output afterward. The reciprocal-gamma statement is in DLMF §5.2(i); the BTZ source condition follows from the hypergeometric connection formula and Son–Starinets §4.3. DLMF Eq. 15.10.21; Son–Starinets
Why phase winding counts zeros minus poles
Let be meromorphic on and inside a positively oriented simple contour , with neither a zero nor a pole on . Near a zero of multiplicity ,
so . At a pole of order , the residue instead equals . The residue theorem therefore gives
The counts include multiplicity. The phase is followed continuously along the contour; subtracting two principal arguments at the start and end would always discard whole turns. These hypotheses and the argument principle are stated in DLMF Eq. 1.10.9.
For sampled points , a practical phase sum is
This formula assumes that no phase turn has been hidden between samples. If the true phase advances by more than on one segment, its principal increment can select the wrong branch. An answer very close to an integer is consequently necessary but insufficient: even a badly sampled closed curve often gives an exact wrong integer.
Our calculation compares uniform refinements with midpoint insertion. The latter checks the two half-segment phase increments against and has a fixed maximum subdivision depth. It also records the minimum sampled boundary amplitude relative to its maximum. These are useful numerical safeguards, not a proof that an unsampled excursion is impossible. A certified count would require a bound on variation between samples, interval control, or an appropriate analytic estimate such as a Rouché bound.
An independent contour integral
For Eq. (2), the logarithmic derivative can be evaluated without numerical differentiation:
where is the digamma function and the prime here means . The factor is because both and have derivative and the gamma functions are in the denominator. A derivative with respect to physical has the additional factor .
Gauss–Legendre integration of Eq. (6) around each rectangle edge supplies a count independent of phase unwrapping. A failure of the two counts to agree rejects that numerical rectangle until its integration is refined; it is not rounded away.
Isolating roots before Newton refinement
If a holomorphic has no poles inside , the more general moments are
In particular is the root count. If a region contains exactly one simple root, estimates its position. If it contains several roots, this ratio is their multiplicity-weighted centroid and is not generally a root.
A useful search proceeds as follows:
- Count a chosen outer rectangle and verify it under boundary refinement and independent quadrature.
- Subdivide rectangles with a nonzero count. Check that the child counts sum to the parent count. Avoid placing a zero or pole on a new boundary.
- Retain small boxes with count one. Use their first moments to initialize local refinement.
- Apply Newton's method, retain the final residual and correction, and check that the recovered roots are distinct and account for the total count.
For a simple zero, Newton's step is
It is locally effective when the derivative is not too small and the initial point is sufficiently close. A multiple root slows ordinary Newton convergence; a small derivative also makes the root sensitive to errors in . A real sign bracket is useful only when an appropriate scalar function is real and continuous on the bracket. Ordering complex numbers does not provide a corresponding sign-change theorem.
For the BTZ example, nonzero keeps the two families separate and the roots simple. The implementation stops Newton iterations using both the residual and, when used, the size of the correction. A small residual alone has no scale-independent meaning: replacing by leaves every root unchanged while making all residual values tiny.
Keep a matching function holomorphic
A two-sided shooting determinant can be a holomorphic function of frequency away from its normalization singularities. Dividing by , where the norms involve complex conjugation, generally destroys this property. One may still use the resulting magnitude to diagnose matching, but Cauchy integral formulas and the analytic derivative in Eq. (8) do not then apply to it as if nothing had changed.
Likewise, forming with an independent principal branch at every point can lose its winding. The safe phase calculation tracks ratios or unwraps a resolved path. The logarithmic derivative is single-valued away from the zeros and poles even though is not.
Six BTZ modes in a specified rectangle
Take the counterclockwise contour around
It contains the modes of both families. The retained study samples each edge at points and independently uses Gauss points per edge. At the final refinement, the phase count is and the logarithmic-derivative integral differs from by about . The first moment is to the reported arithmetic precision.
The coarse controls demonstrate a real aliasing failure:
| Samples per edge | Sampled winding of |
|---|---|
The negative value at four samples per edge cannot be the true zero count of this entire function. It is the winding of an inadequately sampled image curve. The refined count, together with the independent integral and known analytic example, diagnoses the error.
The search divides the longer side at the fixed fraction , reducing the chance of repeatedly placing symmetric roots on midpoint boundaries. This is an implementation choice, not a substitute for testing the boundary. It visits 79 boxes and stops at six single-root boxes of side lengths below . Two boxes need the bounded adaptive quadrature fallback after fixed Gauss orders fail the count-agreement tolerance. All those unsuccessful quadrature attempts remain in the output.
Moment initialization and Newton refinement then recover:
| Family | |||
|---|---|---|---|
| Negative real part | |||
| Positive real part |
The maximum difference from Eq. (3) is below . This is a check of the analytic spectral-function search. It does not transfer that accuracy to a separately discretized radial function.
In particular, the baseline double-precision shooting function evaluated at these recovered roots has normalized mismatches about , and for the three overtones. The higher-mode shooting check fails. The independently assembled high-precision pencil and 120-term Frobenius matching provide the successful radial comparisons described in the QNM article, with their own truncation limits.
A physical source normalization changes the winding
The unit-normalized ingoing EF solution has source coefficient
The factors and are nonzero and introduce no poles. However, has simple poles at , . At these poles do not coincide with the zeros of , so they are not canceled.
There are six such poles in . Consequently
A zero winding of this source function does not mean that the region contains no quasinormal modes. It means that its zero and pole counts cancel. The source-normalization poles originate in the chosen ingoing Frobenius normalization, whose recurrence becomes singular at these frequencies; they are not extra physical resonances.
The derivative used for the independent check is
For a second rectangle, and , there are no zeros and two source poles. The respective windings are and . Both refined phase sums and independent integrals reproduce those values. Multiplication of by the nonvanishing entire function leaves its outer winding equal to , as it must.
Left: the six isolated zeros of and the six additional poles of the unit-EF source coefficient. Small boxes are numerical isolation regions. Right: resolved phase changes around the counterclockwise outer contour. The source has zero net winding, while the four-samples-per-edge approximation to gives the wrong winding .
What this calculation establishes
The companion btz_root_counts.py retains the uniform and adaptive counts, subdivision trials, root boxes, Newton traces and unsuccessful coarse controls in btz-root-results.json. Its search does not seed from the exact spectrum; the comparison with Eq. (3) occurs after root recovery. The primary contour and all refinement settings are fixed before examining the results.
For this solvable problem, analytic pole information and numerical refinement agree. For a new resonance problem, a reliable count still depends on the actual spectral function: its domain of analyticity, normalization singularities, numerical evaluation error and behavior between boundary samples. A small singular value of a matrix, a small scalar residual and an integer phase sum answer different questions. They become convincing evidence only when their assumptions and failure modes are examined together.
Summary
Contour integration adds a global counting step to local root refinement. The argument principle counts zeros minus poles, while contour moments help isolate individual roots. In the BTZ example it finds six resonances, detects phase aliasing, and explains why the meromorphic boundary-source normalization can have zero winding in a region that contains six modes.
Exercises
1. Count poles before interpreting a winding
For , , let and be Eqs. (2) and (10). Compute their windings in the outer rectangle of Eq. (9) and the central rectangle described after Eq. (12). Then evaluate the first contour moment of in each region. Explain why the outer moment is not the sum of the six resonance positions alone.
Solution
The outer rectangle contains the six simple zeros , and . Their sum is
The central rectangle contains none of those zeros. Because is entire, its two windings are therefore and .
The source factor has poles at . There are six in the outer rectangle and two in the central rectangle, with no cancellations at . The windings of are consequently and .
The residue of at a zero is its position, while that at a simple pole is minus the pole position. Hence the outer first moment is
For the central rectangle it is . These are the retained numerical moments. Ignoring the source-normalization poles would turn both the count and the inferred sum of resonance positions into incorrect conclusions.
2. When is a contour centroid a root?
Let be holomorphic inside and nonzero on it. Show that equals the enclosed root when there is one root of multiplicity , but need not be a root when two distinct zeros are enclosed. Derive the multiplicity-corrected Newton step near the repeated root. Finally show that multiplying by a holomorphic nonvanishing function preserves all nonnegative-integer moments in Eq. (7).
Solution
For with , the residue calculation gives and , so . Multiplicity does not change this centroid if there is only one distinct zero.
With two simple roots , the ratio is . For example, has two zeros inside a circle of radius two, but the centroid is and . A zero correction inferred from symmetry at that point would not identify a root. Subdivision or higher moments are needed.
Near a root of multiplicity ,
Ordinary Newton therefore has leading error multiplier . If is known, the modified step cancels the linear term and restores quadratic local convergence under the usual smoothness assumptions. A root cluster at finite precision must not be declared a multiple root merely because its separation is small.
Now let with holomorphic and nonzero throughout the enclosed region. Then
The function is holomorphic inside for every integer , so its contour integral vanishes. Every is unchanged. If has a zero or pole, this argument fails by exactly the additional residues counted in Exercise 1.
References
- NIST Digital Library of Mathematical Functions, §1.10(iv), especially Eq. (1.10.9), §5.2(i), and Eq. (15.10.21). Argument principle, gamma-function analytic structure and hypergeometric connection coefficients.
- D. T. Son and A. O. Starinets, “Minkowski-space correlators in AdS/CFT correspondence: recipe and applications,” Journal of High Energy Physics 09 (2002) 042, arXiv:hep-th/0205051v2, Eqs. (44)–(46) and §4.3. Article; PDF; DOI.
Scrollable formula. Use Left and Right arrow keys to reveal hidden content.
Scrollable table. Use Left and Right arrow keys to reveal hidden columns.
Scrollable figure. Use Left and Right arrow keys to reveal hidden content.