In mathematics, Graeffe's method or Dandelin–Graeffe method is an algorithm for finding all of the roots of a polynomial. It was developed independently by Germinal Pierre Dandelin in 1826 and Karl Heinrich Gräffe in 1837. Lobachevsky in 1834 also discovered the principal idea of the method. The method separates the roots of a polynomial by squaring them repeatedly. This squaring of the roots is done implicitly, that is, only working on the coefficients of the polynomial. Finally, Viète's formulas are used in order to approximate the roots.
Let p(x) be an nth degree polynomial.
Let be the polynomial which has the squares as its roots,
Hence by the binomial identity
The polynomial q(x) can now be computed by algebraic operations on the coefficients of the polynomial p(x) alone. Write
then the coefficients are related by
Graeffe observed that one obtains a simplified algebraic expression for q(x) when separating p(x) into its odd and even parts,
This expression involves the squaring of two polynomials of only half the degree, and is therefore used in most implementations of the method.
Iterating this procedure several times separates the roots with respect to their magnitudes. Repeating k times gives a polynomial
of degree n with roots . If the magnitudes of the roots of the original polynomial were separated by some factor , that is, , then the roots of the k-th iterate are separated by a fast growing factor .
Classical Graeffe's method
Next the Vieta relations are used
If the roots are sufficiently separated, say by a factor , , then the iterated powers of the roots are separated by the factor , which quickly becomes very big.
The coefficients of the iterated polynomial can then be approximated by their leading term,
- and so on,
Finally, logarithms are used in order to find the absolute values of the roots of the original polynomial. These magnitudes alone are already useful to generate meaningful starting points for other root-finding methods.
To also obtain the angle of these roots, a multitude of methods has been proposed, the most simple one being to successively compute the square root of a (possibly complex) root of , m ranging from k to 1, and testing which of the two sign variants is a root of . Before continuing to the roots of , it might be necessary to numerically improve the accuracy of the root approximations for , for instance by Newton's method.
Graeffe's method works best for polynomials with simple real roots, though it can be adapted for polynomials with complex roots and coefficients, and roots with higher multiplicity. For instance, it has been observed that for a root with multiplicity d, the fractions
- tend to
for . This allows to estimate the multiplicity structure of the set of roots.
From a numerical point of view, this method is problematic since the coefficients of the iterated polynomials span very quickly many orders of magnitude, which implies serious numerical errors. One second, but minor concern is that many different polynomials lead to the same Graeffe iterates.
Tangential Graeffe method
This method replaces the numbers by truncated power series of degree 1, also known as dual numbers. Symbolically, this is achieved by introducing an "algebraic infinitesimal" with the defining property . Then the polynomial has roots , with powers
Thus the value of is easily obtained as fraction
This kind of computation with infinitesimals is easy to implement analogous to the computation with complex numbers. If one assumes complex coordinates or an initial shift by some randomly chosen complex number, then all roots of the polynomial will be distinct and consequently recoverable with the iteration.
Every polynomial can be scaled in domain and range such that in the resulting polynomial the first and the last coefficient have size one. If the size of the inner coefficients is bounded by M, then the size of the inner coefficients after one stage of the Graeffe iteration is bounded by . After k stages one gets the bound for the inner coefficients.
To overcome the limit posed by the growth of the powers, Malajovich–Zubelli propose to represent coefficients and intermediate results in the kth stage of the algorithm by a scaled polar form
where is a complex number of unit length and is a positive real. Splitting off the power in the exponent reduces the absolute value of c to the corresponding dyadic root. Since this preserves the magnitude of the (representation of the) initial coefficients, this process was named renormalization.
Multiplication of two numbers of this type is straightforward, whereas addition is performed following the factorization , where is chosen as the larger of both numbers, that is, . Thus
- and with
The coefficients of the final stage k of the Graeffe iteration, for some reasonably large value of k, are represented by pairs , . By identifying the corners of the convex envelope of the point set one can determine the multiplicities of the roots of the polynomial. Combining this renormalization with the tangent iteration one can extract directly from the coefficients at the corners of the envelope the roots of the original polynomial.
- Alston Scott Householder: Dandelin, Lobačevskiǐ, or Graeffe?, Amer. Math. Monthly, 66 (1959), pp. 464–466 (on JSTOR)
- G. C. Best: Notes on the Graeffe method of root squaring, Amer. Math. Monthly, 56, (1949) (on JSTOR)