encyclopegia.org

Jenkins–Traub algorithm

The Jenkins–Traub algorithm for polynomial zeros is a fast globally convergent iterative polynomial root-finding method published in 1970 by Michael A.[src] Jenkins and Joseph F.[src] Traub.[src] They gave two variants, one for general polynomials with complex coefficients, commonly known as the "CPOLY" algorithm, and a more complicated variant for the special case of polynomials with real coefficients, commonly known as the "RPOLY" algorithm.[src] The latter is "practically a standard in black-box polynomial root-finders".[src] This article describes the complex variant.[src] Given a polynomial P, P(z) = \sum_{i=0}^na_iz^{n-i}, \quad a_0=1,\quad a_n\ne 0 with complex coefficients it computes approximations to the n zeros \alpha_1,\alpha_2,\dots,\alpha_n of P(z), one at a time in roughly increasing order of magnitude.[src] After each root is computed, its linear factor is removed from the polynomial.[src] Using this deflation guarantees that each root is computed only once and that all roots are found.[src] The real variant follows the same pattern, but computes two roots at a time, either two real roots or a pair of conjugate complex roots.[src] By avoiding complex arithmetic, the real variant can be faster (by a factor of 4) than the complex variant.[src] The Jenkins–Traub algorithm has stimulated considerable research on theory and software for methods of this type.[src]

The Jenkins–Traub algorithm for polynomial zeros is a fast globally convergent iterative polynomial root-finding method published in 1970 by Michael A.[src] Jenkins and Joseph F.[src] Traub.[src] They gave two variants, one for general polynomials with complex coefficients, commonly known as the "CPOLY" algorithm, and a more complicated variant for the special case of polynomials with real coefficients, commonly known as the "RPOLY" algorithm.[src] The latter is "practically a standard in black-box polynomial root-finders".[src] This article describes the complex variant.[src] Given a polynomial P, P(z) = \sum_{i=0}^na_iz^{n-i}, \quad a_0=1,\quad a_n\ne 0 with complex coefficients it computes approximations to the n zeros \alpha_1,\alpha_2,\dots,\alpha_n of P(z), one at a time in roughly increasing order of magnitude.[src] After each root is computed, its linear factor is removed from the polynomial.[src] Using this deflation guarantees that each root is computed only once and that all roots are found.[src] The real variant follows the same pattern, but computes two roots at a time, either two real roots or a pair of conjugate complex roots.[src] By avoiding complex arithmetic, the real variant can be faster (by a factor of 4) than the complex variant.[src] The Jenkins–Traub algorithm has stimulated considerable research on theory and software for methods of this type.[src] ==Overview== The Jenkins–Traub algorithm calculates all of the roots of a polynomial with complex coefficients.[src] The algorithm starts by checking the polynomial for the occurrence of very large or very small roots.[src] If necessary, the coefficients are rescaled by a rescaling of the variable.[src] In the algorithm, proper roots are found one by one and generally in increasing size.[src] After each root is found, the polynomial is deflated by dividing off the corresponding linear factor.[src] Indeed, the factorization of the polynomial into the linear factor and the remaining deflated polynomial is already a result of the root-finding procedure.[src] The root-finding procedure has three stages that correspond to different variants of the inverse power iteration.[src] See Jenkins and Traub.[src] A description can also be found in Ralston and Rabinowitz p. 383.[src] The algorithm is similar in spirit to the two-stage algorithm studied by Traub.[src] Starting with the current polynomial P(X) of degree n, the aim is to compute the smallest root \alpha of P(x).[src] The polynomial can then be split into a linear factor and the remaining polynomial factor P(X)=(X-\alpha)\bar H(X) Other root-finding methods strive primarily to improve the root and thus the first factor.[src] The main idea of the Jenkins-Traub method is to incrementally improve the second factor.[src] To that end, a sequence of so-called H polynomials is constructed.[src] These polynomials are all of degree n − 1 and are supposed to converge to the factor \bar H(X) of P(X) containing (the linear factors of) all the remaining roots.[src] The sequence of H polynomials occurs in two variants, an unnormalized variant that allows easy theoretical insights and a normalized variant of \bar H polynomials that keeps the coefficients in a numerically sensible range.[src] The construction of the H polynomials \left(H^{(\lambda)}(z)\right)_{\lambda=0,1,2,\dots} is guided by a sequence of complex numbers (s_\lambda)_{\lambda=0,1,2,\dots} called shifts.[src] These shifts themselves depend, at least in the third stage, on the previous H polynomials.[src] The H polynomials are defined as the solution to the implicit recursion H^{(0)}(z)=P^\prime(z) and (X-s_\lambda)\cdot H^{(\lambda+1)}(X)\equiv H^{(\lambda)}(X)\pmod{P(X)}\ .[src] A direct solution to this implicit equation is H^{(\lambda+1)}(X) =\frac1{X-s_\lambda}\cdot \left( H^{(\lambda)}(X)-\frac{H^{(\lambda)}(s_\lambda)}{P(s_\lambda)}P(X) \right)\,, where the polynomial division is exact.[src] Algorithmically, one would use long division by the linear factor as in the Horner scheme or Ruffini rule to evaluate the polynomials at s_\lambda and obtain the quotients at the same time.[src] With the resulting quotients p(X) and h(X) as intermediate results the next H polynomial is obtained as \left.\begin{align} P(X)&=p(X)\cdot(X-s_\lambda)+P(s_\lambda)\\ H^{(\lambda)}(X)&=h(X)\cdot(X-s_\lambda)+H^{(\lambda)}(s_\lambda)\\ \end{align}\right\} \implies H^{(\lambda+1)}(z)=h(z)-\frac{H^{(\lambda)}(s_\lambda)}{P(s_\lambda)}p(z).[src] Since the highest degree coefficient is obtained from P(X), the leading coefficient of H^{(\lambda+1)}(X) is -\tfrac{H^{(\lambda)}(s_\lambda)}{P(s_\lambda)} .[src] If this is divided out the normalized H polynomial is \begin{align} \bar H^{(\lambda+1)}(X) &=\frac1{X-s_\lambda}\cdot \left( P(X)-\frac{P(s_\lambda)}{H^{(\lambda)}(s_\lambda)}H^{(\lambda)}(X) \right)\\[1em] &=\frac1{X-s_\lambda}\cdot \left( P(X)-\frac{P(s_\lambda)}{\bar H^{(\lambda)}(s_\lambda)}\bar H^{(\lambda)}(X) \right)\,.\end{align} For \lambda = 0,1,\dots, M-1 set s_\lambda=0 .[src] Usually M=5 is chosen for polynomials of moderate degrees up to n = 50.[src] This stage is not necessary from theoretical considerations alone, but is useful in practice.[src] It emphasizes in the H polynomials the cofactor(s) (of the linear factor) of the smallest root(s).[src] R^n+|a_{n-1}|\,R^{n-1}+\dots+|a_{1}|\,R=|a_0|\,.[src] Since the left side is a convex function and increases monotonically from zero to infinity, this equation is easy to solve, for instance by Newton's method.[src] Now choose s=R\cdot \exp(i\,\phi_\text{random}) on the circle of this radius.[src] The sequence of polynomials H^{(\lambda+1)}(z) , \lambda=M,M+1,\dots,L-1 , is generated with the fixed shift value s_\lambda = s .[src] This creates an asymmetry relative to the previous stage which increases the chance that the H polynomial moves towards the cofactor of a single root.[src] During this iteration, the current approximation for the root t_\lambda=s-\frac{P(s)}{\bar H^{(\lambda)}(s)} is traced.[src] The second stage is terminated as successful if the conditions |t_{\lambda+1}-t_\lambda| and |t_\lambda-t_{\lambda-1}| are simultaneously met.[src] This limits the relative step size of the iteration, ensuring that the approximation sequence stays in the range of the smaller roots.[src] If there was no success after some number of iterations, a different random point on the circle is tried.[src] Typically one uses a number of 9 iterations for polynomials of moderate degree, with a doubling strategy for the case of multiple failures.[src] The H^{(\lambda+1)}(X) polynomials are now generated using the variable shifts s_{\lambda},\quad\lambda=L,L+1,\dots which are generated by s_L = t_L = s- \frac{P(s)}{\bar H^{(L)}(s)} being the last root estimate of the second stage and s_{\lambda+1}=s_\lambda- \frac{P(s_\lambda)}{\bar H^{(\lambda+1)}(s_\lambda)}, \quad \lambda=L,L+1,\dots, where \bar H^{(\lambda+1)}(z) is the normalized H polynomial, that is H^{(\lambda)}(z) divided by its leading coefficient.[src] If the step size in stage three does not fall fast enough to zero, then stage two is restarted using a different random point.[src] If this does not succeed after a small number of restarts, the number of steps in stage two is doubled.[src] ==What gives the algorithm its power?== Compare with the Newton–Raphson iteration z_{i+1}=z_i - \frac{P(z_i)}{P^{\prime}(z_i)}.[src] The iteration uses the given P and \scriptstyle P^{\prime} .[src] In contrast the third-stage of Jenkins–Traub s_{\lambda+1} W^\lambda(z)=\frac{P(z)}{H^\lambda(z)}.[src] For \lambda sufficiently large, \frac{P(z)}{\bar H^{\lambda}(z)}=W^\lambda(z)\,LC(H^{\lambda}) is as close as desired to a first degree polynomial z-\alpha_1, \, where \alpha_1 is one of the zeros of P .[src] Even though Stage 3 is precisely a Newton–Raphson iteration, differentiation is not performed.[src] P_m(X)=\frac{P(X)-P(\alpha_m)}{X-\alpha_m}.[src] If all roots are different, then the Lagrange factors form a basis of the space of polynomials of degree at most n − 1.[src] By analysis of the recursion procedure one finds that the H polynomials have the coordinate representation H^{(\lambda)}(X) =\sum_{m=1}^n \left[ \prod_{\kappa=0}^{\lambda-1}(\alpha_m-s_\kappa) \right]^{-1}\,P_m(X)\ .[src] Each Lagrange factor has leading coefficient 1, so that the leading coefficient of the H polynomials is the sum of the coefficients.[src] The normalized H polynomials are thus \bar H^{(\lambda)}(X) =\frac{\sum_{m=1}^n \left[ \prod_{\kappa=0}^{\lambda-1}(\alpha_m-s_\kappa) \right]^{-1}\,P_m(X) }{ \sum_{m=1}^n \left[ \prod_{\kappa=0}^{\lambda-1}(\alpha_m-s_\kappa) \right]^{-1} } = \frac{P_1(X)+\sum_{m=2}^n \left[ \prod_{\kappa=0}^{\lambda-1}\frac{\alpha_1-s_\kappa}{\alpha_m-s_\kappa} \right]\,P_m(X) }{ 1+\sum_{m=1}^n \left[ \prod_{\kappa=0}^{\lambda-1}\frac{\alpha_1-s_\kappa}{\alpha_m-s_\kappa} \right] }\ .[src] If the condition |\alpha_1-s_\kappa| holds for almost all iterates, the normalized H polynomials will converge at least geometrically towards P_1(X) .[src] Under the condition that |\alpha_1| one gets the asymptotic estimates for stage 1: H^{(\lambda)}(X) =P_1(X)+O\left(\left|\frac{\alpha_1}{\alpha_2}\right|^\lambda\right).[src] for stage 2, if s is close enough to \alpha_1 : H^{(\lambda)}(X) = P_1(X) +O\left( \left|\frac{\alpha_1}{\alpha_2}\right|^M \cdot \left|\frac{\alpha_1-s}{\alpha_2-s}\right|^{\lambda-M}\right) and s-\frac{P(s)}{\bar H^{(\lambda)}(s)} = \alpha_1+O\left(\ldots\cdot|\alpha_1-s|\right).[src] and for stage 3: H^{(\lambda)}(X) =P_1(X) +O\left(\prod_{\kappa=0}^{\lambda-1} \left|\frac{\alpha_1-s_\kappa}{\alpha_2-s_\kappa}\right| \right) and s_{\lambda+1}= s_\lambda-\frac{P(s)}{\bar H^{(\lambda+1)}(s_\lambda)} =\alpha_1+O\left(\prod_{\kappa=0}^{\lambda-1} \left|\frac{\alpha_1-s_\kappa}{\alpha_2-s_\kappa}\right| \cdot \frac \right) giving rise to a higher than quadratic convergence order of \phi^2=1+\phi\approx 2.618 , where \phi=\tfrac12(1+\sqrt5) is the golden ratio.[src] P(X)=(X-\alpha_1)\cdot P_1(X) with a root \alpha_1\in\C and P_1(X) = P(X) / (X-\alpha_1) the remaining factor of degree n − 1 as the eigenvector equation for the multiplication with the variable X, followed by remainder computation with divisor P(X), M_X(H) = (X\cdot H(X)) \bmod P(X)\,.[src] This maps polynomials of degree at most n − 1 to polynomials of degree at most n − 1.[src] The eigenvalues of this map are the roots of P(X), since the eigenvector equation reads 0 = (M_X-\alpha\cdot id)(H)=((X-\alpha)\cdot H) \bmod P\,, which implies that (X-\alpha)\cdot H=C\cdot P(X) , that is, (X-\alpha) is a linear factor of P(X).[src] In the monomial basis the linear map M_X is represented by a companion matrix of the polynomial P, as M_X(H) = \sum_{m=0}^{n-1}H_mX^{m+1}-H_{n-1}\left(X^n+\sum_{m=0}^{n-1}a_mX^m\right) = \sum_{m=1}^{n-1}(H_{m-1}-a_{m}H_{n-1})X^m-a_0H_{n-1}\,, the resulting transformation matrix is A=\begin{pmatrix} 0 & 0 & \dots & 0 & -a_0 \\ 1 & 0 & \dots & 0 & -a_1 \\ 0 & 1 & \dots & 0 & -a_2 \\ \vdots & \vdots & \ddots & \vdots & \vdots \\ 0 & 0 & \dots & 1 & -a_{n-1} \end{pmatrix}\,.[src] To this matrix the inverse power iteration is applied in the three variants of no shift, constant shift and generalized Rayleigh shift in the three stages of the algorithm.[src] It is more efficient to perform the linear algebra operations in polynomial arithmetic and not by matrix operations, however, the properties of the inverse power iteration remain the same.[src] ==Real coefficients== The Jenkins–Traub algorithm described earlier works for polynomials with complex coefficients.[src] The same authors also created a three-stage algorithm for polynomials with real coefficients.[src] See Jenkins and Traub A Three-Stage Algorithm for Real Polynomials Using Quadratic Iteration.[src] The algorithm finds either a linear or quadratic factor working completely in real arithmetic.[src] If the complex and real algorithms are applied to the same real polynomial, the real algorithm is about four times as fast.[src] The real algorithm always converges and the rate of convergence is greater than second order.[src] ==A connection with the shifted QR algorithm== There is a surprising connection with the shifted QR algorithm for computing matrix eigenvalues.[src] See Dekker and Traub The shifted QR algorithm for Hermitian matrices.[src] Again the shifts may be viewed as Newton-Raphson iteration on a sequence of rational functions converging to a first degree polynomial.[src] ==Software and testing== The software for the Jenkins–Traub algorithm was published as Jenkins and Traub Algorithm 419: Zeros of a Complex Polynomial.[src] The software for the real algorithm was published as Jenkins Algorithm 493: Zeros of a Real Polynomial.[src] The methods have been extensively tested by many people.[src] As predicted they enjoy faster than quadratic convergence for all distributions of zeros.[src] However, there are polynomials which can cause loss of precision as illustrated by the following example.[src] The polynomial has all its zeros lying on two half-circles of different radii.[src] Wilkinson recommends that it is desirable for stable deflation that smaller zeros be computed first.[src] The second-stage shifts are chosen so that the zeros on the smaller half circle are found first.[src] After deflation the polynomial with the zeros on the half circle is known to be ill-conditioned if the degree is large; see Wilkinson, p. 64.[src] The original polynomial was of degree 60 and suffered severe deflation instability.[src] ==References== ==External links== A free downloadable Windows application using the Jenkins–Traub Method for polynomials with real and complex coefficients RPoly++ An SSE-Optimized C++ implementation of the RPOLY algorithm.[src]

104 sentences · 104 cited inline · 0 references stored

References

No reference rows published for this article.

Cite this article

MLA

"Jenkins–Traub algorithm." encyclopegia.org, 2026, https://encyclopegia.org/wiki/jenkins-traub-algorithm. Accessed 29 November 2026.

Chicago

"Jenkins–Traub algorithm." encyclopegia.org. Accessed November 29, 2026. https://encyclopegia.org/wiki/jenkins-traub-algorithm.

APA

encyclopegia.org. (2026). Jenkins–Traub algorithm. Retrieved November 29, 2026, from https://encyclopegia.org/wiki/jenkins-traub-algorithm

Accessed November 29, 2026 · CC BY-SA 4.0 · citation page · JSON

Claims

PredicateValueSource
publication date1970Wikipedia

Related articles

War of Jenkins' Ear

stub · references available

Ferguson Jenkins

stub · references available

μ-law algorithm

stub · references available

bitap algorithm

stub · references available

QR algorithm

stub · references available

Terry Jenkins

stub · references available

Prim's algorithm

stub · references available

greedy algorithm

stub · references available
CC BY-SA 4.0 · share-alike · https://en.wikipedia.org/w/index.php?oldid=1375333817 · 0.5 · snapshot enwiki-001375333817

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools
  • Careers — open roles: frontier engineers and sales partners
  • Index — every corpus, paper and record
  • Estate guide — what a public data estate is
  • Founder — Lois-Kleinner Alpasan
  • Records — DOIs and external deposits
  • Documents — one-pagers, PDFs and QR codes
  • Brand kit — logos and share images
  • Papers — plain-language briefs with citations
  • Browser — search engine, PWA and bookmarklet
  • Anticloud — the operator and its projects

As seen in Business Insider · 336 outlets · evidence DOIs · plain-language papers

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.