NAG Library Chapter Introduction
C02 (zeros)
Zeros of Polynomials
1
Scope of the Chapter
This chapter is concerned with computing the zeros of a polynomial with real or complex coefficients.
2
Background to the Problems
Let
be a polynomial of degree
with complex coefficients
:
A complex number
is called a
zero of
(or equivalently a
root of the
equation
), if
If
is a zero, then
can be divided by a factor
:
where
is a polynomial of degree
. By the Fundamental Theorem of Algebra, a polynomial
always has a zero, and so the process of dividing out factors
can be continued until we have a complete
factorization of
:
Here the complex numbers
are the zeros of
; they may not all be distinct, so it is sometimes more convenient to write
with distinct zeros
and multiplicities
. If
,
is called a
simple or
isolated zero; if
,
is called a
multiple or
repeated zero; a multiple zero is also a zero of the derivative of
.
If the coefficients of are all real, then the zeros of are either real or else occur as pairs of conjugate complex numbers and . A pair of complex conjugate zeros are the zeros of a quadratic factor of , , with real coefficients and .
Mathematicians are accustomed to thinking of polynomials as pleasantly simple functions to work with. However, the problem of numerically
computing the zeros of an arbitrary polynomial is far from simple. A great variety of algorithms have been proposed, of which a number have been widely used in practice; for a fairly comprehensive survey, see
Householder (1970). All general algorithms are iterative. Most converge to one zero at a time; the corresponding factor can then be divided out as in equation
(1) above – this process is called
deflation or, loosely, dividing out the zero – and the algorithm can be applied again to the polynomial
. A pair of complex conjugate zeros can be divided out together – this corresponds to dividing
by a quadratic factor.
Whatever the theoretical basis of the algorithm, a number of practical problems arise; for a thorough discussion of some of them see
Peters and Wilkinson (1971) and Chapter 2 of
Wilkinson (1963). The most elementary point is that, even if
is mathematically an exact zero of
, because of the fundamental limitations of computer arithmetic the
computed value of
will not necessarily be exactly
. In practice there is usually a small region of values of
about the exact zero at which the computed value of
becomes swamped by rounding errors. Moreover, in many algorithms this inaccuracy in the computed value of
results in a similar inaccuracy in the computed step from one iterate to the next. This limits the precision with which any zero can be computed. Deflation is another potential cause of trouble, since, in the notation of equation
(1), the computed coefficients of
will not be completely accurate, especially if
is not an exact zero of
; so the zeros of the computed
will deviate from the zeros of
.
A zero is called ill-conditioned if it is sensitive to small changes in the coefficients of the polynomial. An ill-conditioned zero is likewise sensitive to the computational inaccuracies just mentioned. Conversely a zero is called well-conditioned if it is comparatively insensitive to such perturbations. Roughly speaking a zero which is well separated from other zeros is well-conditioned, while zeros which are close together are ill-conditioned, but in talking about ‘closeness’ the decisive factor is not the absolute distance between neighbouring zeros but their ratio: if the ratio is close to one the zeros are ill-conditioned. In particular, multiple zeros are ill-conditioned. A multiple zero is usually split into a cluster of zeros by perturbations in the polynomial or computational inaccuracies.
3
Recommendations on Choice and Use of Available Routines
modified Laguerre's method | | c02aff |
modified Laguerre's method | | c02agf |
4
Auxiliary Routines Associated with Library Routine Arguments
None.
5
Routines Withdrawn or Scheduled for Withdrawal
None.
6
References
Householder A S (1970) The Numerical Treatment of a Single Nonlinear Equation McGraw–Hill
Peters G and Wilkinson J H (1971) Practical problems arising in the solution of polynomial equations J. Inst. Maths. Applics. 8 16–35
Thompson K W (1991) Error analysis for polynomial solvers Fortran Journal (Volume 3) 3 10–13
Wilkinson J H (1963) Rounding Errors in Algebraic Processes HMSO