Jenkins-Traub algorithm
From Wikipedia, the free encyclopedia
The Jenkins-Traub algorithm for polynomial zeros is a fast globally convergent iterative method. It has been described as practically a standard in black-box polynomial root-finders.
Given a polynomial P,
with complex coefficients compute approximations to the n zeros of P(z). There is a variation of the Jenkins-Traub algorithm which is faster if the coefficients are real. The Jenkins-Traub algorithm has stimulated considerable research on theory and software for methods of this type.
Contents |
[edit] Overview
The Jenkins-Traub algorithm is a three-stage process for calculating the zeros of a polynomial with complex coefficents. See Jenkins and Traub[1] . A description can also be found in Ralston and Rabinowitz[2] p. 383. The algorithm is similar in spirit to the two-stage algorithm studied by Traub[3].
The three-stages of the algorithm are these:
- Stage One: No-Shift Process.
This stage is not necessary from theoretical considerations alone, but is useful in practice.
- Stage Two: Fixed-Shift Process.
A sequence of polynomials H(λ + 1)(z) is generated, .
- Stage Three: Variable-Shift Process.
The H(λ)(z) are now generated using the variable shifts sλ which are generated by
where is H(λ)(z) divided by its leading coefficient.
It can be shown that provided L is chosen sufficiently large sλ always converges to a zero of P. After an approximate zero has been found the degree of P is reduced by one by deflation and the algorithm is performed on the new polynomial until all the zeros have been computed.
The algorithm converges for any distribution of zeros. Furthermore, the convergence is faster than the quadratic convergence of Newton-Raphson iteration.
[edit] What gives the algorithm its power?
Compare with the Newton-Raphson iteration
The iteration uses the given P and . In contrast the third-stage of Jenkins-Traub
is precisely a Newton-Raphson iteration performed on certain rational functions. More precisely, Newton-Raphson is being performed on a sequence of rational functions
- P(z) / H(λ).
For λ sufficiently large,
- P(z) / H(λ)
is as close as desired to a first degree polynomial
- z − α1,
where α1 is one of the zeros of P. Even though Stage 3 is precisely a Newton-Raphson iteration, differentiation is not performed.
[edit] Real coefficients
The Jenkins-Traub algorithm described earlier works for polynomials with complex coefficients. The same authors also created a three-stage algorithm for polynomials with real coefficients. See Jenkins and Traub A Three-Stage Algorithm for Real Polynomials Using Quadratic Iteration.[4] The algorithm finds either a linear or quadratic factor working completely in real arithmetic. If the complex and real algorithms are applied to the same real polynomial, the real algorithm is about four times as fast. The real algorithm always converges and the rate of convergence is greater than second order.
[edit] A connection with the shifted QR algorithm
There is a surprising connection with the shifted QR algorithm for computing matrix eigenvalues. See Dekker and Traub The shifted QR algorithm for Hermitian matrices.[5] Again the shifts may be viewed as Newton-Raphson iteration on a sequence of rational functions converging to a first degree polynomial.
[edit] Software and testing
The software for the Jenkins-traub algorithm was published as Jenkins and Traub Algorithm 419: Zeros of a Complex Polynomial.[6] The software for the real algorithm was published as Jenkins Algorithm 493: Zeros of a Real Polynomial.[7]
The methods have been extensively tested by many people. As predicted they enjoy faster than quadratic convergence for all distributions of zeros. They have been described as practically a standard in black-box polynomial root finders; see Press, et al., Numerical Recipes,[8] p. 380.
However there are polynomials which can cause loss of precision as illustrated by the following example. The polynomial has all its zeros lying on two half-circles of different radii. Wilkinson recommends that it is desirable for stable deflation that smaller zeros be computed first. The second-stage shifts are chosen so that the zeros on the smaller half circle are found first. After deflation the polynomial with the zeros on the half circle is known to be ill-conditioned if the degree is large; see Wilkinson,[9] p. 64. The original polynomial was of degree 60 and suffered severe deflation instability.
[edit] References
- ^ Jenkins, M. A. and Traub, J. F. (1970), A Three-Stage Variables-Shift Iteration for Polynomial Zeros and Its Relation to Generalized Rayleigh Iteration, Numer. Math. 14, 252-263.
- ^ Ralston, A. and Rabinowitz, P. (1978), A First Course in Numerical Analysis, 2nd ed., McGraw-Hill, New York.
- ^ Traub, J. F. (1966), A Class of Globally Convergent Iteration Functions for the Solution of Polynomial Equations, Math. Comp., 20(93), 113-138.
- ^ Jenkins, M. A. and Traub, J. F. (1970), A Three-Stage Algorithm for Real Polynomials Using Quadratic Iteration, SIAM J. Numer. Anal., 7(4), 545-566.
- ^ Dekker, T. J. and Traub, J. F. (1971), The shifted QR algorithm for Hermitian matrices, Lin. Algebra Appl., 4(2), 137-154.
- ^ Jenkins, M. A. and Traub, J. F. (1972), Algorithm 419: Zeros of a Complex Polynomial, Comm. ACM, 15, 97-99.
- ^ Jenkins, M. A. (1975), Algorithm 493: Zeros of a Real Polynomial, ACM TOMS, 1, 178-189.
- ^ Press, W. H., Teukolsky, S. A., Vetterling, W. T. and Flannery, B. P. (2002), Numerical Recipes in C++: The Art of Scientific Computing, 2nd. ed., Cambridge University Press, New York.
- ^ Wilkinson, J. H. (1963), Rounding Errors in Algebraic Processes, Prentice Hall, Englewood Cliffs, N.J.