# Geometrical properties of polynomial roots

In mathematics, a univariate polynomial of degree n with real or complex coefficients has n complex roots, if counted with their multiplicities. They form a multiset of n points in the complex plane. This article concerns the geometry of these points, that is the information about their localization in the complex plane that can be deduced from the degree and the coefficients of the polynomial.
Some of these geometrical properties are related to a single polynomial, such as upper bounds on the absolute values of the roots, which define a disk containing all roots, or lower bounds on the distance between two roots. Such bounds are widely used for root-finding algorithms for polynomials, either for tuning them, or for computing their computational complexity.
Some other properties are probabilistic, such as the expected number of real roots of a random polynomial of degree n with real coefficients, which is less than $1+{\frac {2}{\pi }}\ln(n)$ for n sufficiently large.
In this article, a polynomial that is considered is always denoted
    $p(x)=a_{0}+a_{1}x+\cdots +a_{n}x^{n},$
where $a_{0},\dots ,a_{n}$ are real or complex numbers and $a_{n}\neq 0$; thus $n$ is the degree of the polynomial.

## Continuous dependence on coefficients

The n roots of a polynomial of degree n depend continuously on the coefficients. For simple roots, this results immediately from the implicit function theorem. This is true also for multiple roots, but some care is needed for the proof.
A small change of coefficients may induce a dramatic change of the roots, including the change of a real root into a complex root with a rather large imaginary part (see Wilkinson's polynomial). A consequence is that, for classical numeric root-finding algorithms, the problem of approximating the roots given the coefficients can be ill-conditioned for many inputs.

## Conjugation

The complex conjugate root theorem states that if the coefficients of a polynomial are real, then the non-real roots appear in pairs of the form (a + ib, a – ib).
It follows that the roots of a polynomial with real coefficients are mirror-symmetric with respect to the real axis.
This can be extended to algebraic conjugation: the roots of a polynomial with rational coefficients are conjugate (that is, invariant) under the action of the Galois group of the polynomial. However, this symmetry can rarely be interpreted geometrically.

## Bounds on all roots

Upper bounds on the absolute values of polynomial roots are widely used for root-finding algorithms, either for limiting the regions where roots should be searched, or for the computation of the computational complexity of these algorithms.
Many such bounds have been given, and the sharper one depends generally on the specific sequence of coefficient that are considered. Most bounds are greater or equal to one, and are thus not sharp for a polynomial which have only roots of absolute values lower than one. However, such polynomials are very rare, as shown below.
Any upper bound on the absolute values of roots provides a corresponding lower bound. In fact, if $a_{n}\neq 0,$ and U is an upper bound of the absolute values of the roots of
    $a_{0}+a_{1}x+\cdots +a_{n}x^{n},$
then 1/U is a lower bound of the absolute values of the roots of
    $a_{n}+a_{n-1}x+\cdots +a_{0}x^{n},$
since the roots of either polynomial are the multiplicative inverses of the roots of the other. Therefore, in the remainder of the article lower bounds will not be given explicitly.

### Lagrange's and Cauchy's bounds

Lagrange and Cauchy were the first to provide upper bounds on all complex roots. Lagrange's bound is
    $\max \left\{1,\sum _{i=0}^{n-1}\left|{\frac {a_{i}}{a_{n}}}\right|\right\},$
and Cauchy's bound is
    $1+\max \left\{\left|{\frac {a_{n-1}}{a_{n}}}\right|,\left|{\frac {a_{n-2}}{a_{n}}}\right|,\ldots ,\left|{\frac {a_{0}}{a_{n}}}\right|\right\}$
Lagrange's bound is sharper (smaller) than Cauchy's bound only when 1 is larger than the sum of all $\left|{\frac {a_{i}}{a_{n}}}\right|$ but the largest. This is relatively rare in practice, and explains why Cauchy's bound is more widely used than Lagrange's.
Both bounds result from the Gershgorin circle theorem applied to the companion matrix of the polynomial and its transpose. They can also be proved by elementary methods.
These bounds are not invariant by scaling. That is, the roots of the polynomial p(sx) are the quotient by s of the root of p, and the bounds given for the roots of p(sx) are not the quotient by s of the bounds of p. Thus, one may get sharper bounds by minimizing over possible scalings. This gives
and
for Lagrange's and Cauchy's bounds respectively.
Another bound, originally given by Lagrange, but attributed to Zassenhaus by Donald Knuth, is
This bound is invariant by scaling.
Lagrange improved this latter bound into the sum of the two largest values (possibly equal) in the sequence
Lagrange also provided the bound
where $a_{i}$ denotes the ith nonzero coefficient when the terms of the polynomials are sorted by increasing degrees.

### Using Hölder's inequality

Hölder's inequality allows the extension of Lagrange's and Cauchy's bounds to every h-norm. The h-norm of a sequence
    $s=(a_{0},\ldots ,a_{n})$
is
    $\|s\|_{h}=\left(\sum _{i=0}^{n}|a_{i}|^{h}\right)^{1/h},$
for any real number h ≥ 1, and
    $\|s\|_{\infty }=\textstyle {\max _{i=0}^{n}}|a_{i}|.$
If ${\frac {1}{h}}+{\frac {1}{k}}=1,$ with 1 ≤ h, k ≤ ∞, and 1 / ∞ = 0, an upper bound on the absolute values of the roots of p is
For k = 1 and k = ∞, one gets respectively Cauchy's and Lagrange's bounds.
For h = k = 2, one has the bound
This is not only a bound of the absolute values of the roots, but also a bound of the product of their absolute values larger than 1; see § Landau's inequality, below.

### Other bounds

Many other upper bounds for the magnitudes of all roots have been given.
Fujiwara's bound
    $2\,\max \left\{\left|{\frac {a_{n-1}}{a_{n}}}\right|,\left|{\frac {a_{n-2}}{a_{n}}}\right|^{\frac {1}{2}},\ldots ,\left|{\frac {a_{1}}{a_{n}}}\right|^{\frac {1}{n-1}},\left|{\frac {a_{0}}{2a_{n}}}\right|^{\frac {1}{n}}\right\},$
slightly improves the bound given above by dividing the last argument of the maximum by two.
Kojima's bound is
    $2\,\max \left\{\left|{\frac {a_{n-1}}{a_{n}}}\right|,\left|{\frac {a_{n-2}}{a_{n-1}}}\right|,\ldots ,\left|{\frac {a_{0}}{2a_{1}}}\right|\right\},$
where $a_{i}$ denotes the ith nonzero coefficient when the terms of the polynomials are sorted by increasing degrees. If all coefficients are nonzero, Fujiwara's bound is sharper, since each element in Fujiwara's bound is the geometric mean of first elements in Kojima's bound.
Sun and Hsieh obtained another improvement on Cauchy's bound. Assume the polynomial is monic with general term a$_i$x$^i$. Sun and Hsieh showed that upper bounds 1 + d$_1$ and 1 + d$_2$ could be obtained from the following equations.
    $d_{1}={\tfrac {1}{2}}\left((|a_{n-1}|-1)+{\sqrt {(|a_{n-1}|-1)^{2}+4a}}\right),\qquad a=\max\{|a_{i}|\}.$
d$_2$ is the positive root of the cubic equation
    $Q(x)=x^{3}+(2-|a_{n-1}|)x^{2}+(1-|a_{n-1}|-|a_{n-2}|)x-a,\qquad a=\max\{|a_{i}|\}$
They also noted that d$_2$ ≤ d$_1$.

## Landau's inequality

The previous bounds are upper bounds for each root separately. Landau's inequality provides an upper bound for the absolute values of the product of the roots that have an absolute value greater than one. This inequality, discovered in 1905 by Edmund Landau, has been forgotten and rediscovered at least three times during the 20th century.
This bound of the product of roots is not much greater than the best preceding bounds of each root separately. Let $z_{1},\ldots ,z_{n}$ be the n roots of the polynomial p. If
    $M(p)=|a_{n}|\prod _{j=1}^{n}\max(1,|z_{j}|)$
is the Mahler measure of p, then
    $M(p)\leq {\sqrt {\sum _{k=0}^{n}|a_{k}|^{2}}}.$
Surprisingly, this bound of the product of the absolute values larger than 1 of the roots is not much larger than the best bounds of one root that have been given above for a single root. This bound is even exactly equal to one of the bounds that are obtained using Hölder's inequality.
This bound is also useful to bound the coefficients of a divisor of a polynomial with integer coefficients: if
    $q=\sum _{k=0}^{m}b_{k}x^{k}$
is a divisor of p, then
    $|b_{m}|\leq |a_{n}|,$
and, by Vieta's formulas,
    ${\frac {|b_{i}|}{|b_{m}|}}\leq {\binom {m}{i}}{\frac {M(p)}{|a_{n}|}},$
for i = 0, ..., m, where ${\binom {m}{i}}$ is a binomial coefficient. Thus
    $|b_{i}|\leq {\binom {m}{i}}M(p)\leq {\binom {m}{i}}{\sqrt {\sum _{k=0}^{n}|a_{k}|^{2}}},$
and
    $\sum _{i=0}^{m}|b_{i}|\leq 2^{m}M(p)\leq 2^{m}{\sqrt {\sum _{k=0}^{n}|a_{k}|^{2}}}.$

## Discs containing some roots
### From Rouché theorem

Rouché's theorem allows defining discs centered at zero and containing a given number of roots. More precisely, if there is a positive real number R and an integer 0 ≤ k ≤ n such that
    $|a_{k}|R^{k}>|a_{0}|+\cdots +|a_{k-1}|R^{k-1}+|a_{k+1}|R^{k+1}+\cdots +|a_{n}|R^{n},$
then there are exactly k roots, counted with multiplicity, of absolute value less than R.
The above result may be applied if the polynomial
    $h_{k}(x)=|a_{0}|+\cdots +|a_{k-1}|x^{k-1}-|a_{k}|x^{k}+|a_{k+1}|x^{k+1}+\cdots +|a_{n}|x^{n}.$
takes a negative value for some positive real value of x.
In the remaining of the section, suppose that a$_0$ ≠ 0. If it is not the case, zero is a root, and the localization of the other roots may be studied by dividing the polynomial by a power of the indeterminate, getting a polynomial with a nonzero constant term.
For k = 0 and k = n, Descartes' rule of signs shows that the polynomial has exactly one positive real root. If $R_{0}$ and $R_{n}$ are these roots, the above result shows that all the roots satisfy
    $R_{0}\leq |z|\leq R_{1}.$
As these inequalities apply also to $h_{0}$ and $h_{n},$ these bounds are optimal for polynomials with a given sequence of the absolute values of their coefficients. They are thus sharper than all bounds given in the preceding sections.
For 0 < k < n, Descartes' rule of signs implies that $h_{k}(x)$ either has two positive real roots that are not multiple, or is nonnegative for every positive value of x. So, the above result may be applied only in the first case. If $R_{k,1}<R_{k,2}$ are these two roots, the above result implies that
    $|z|\leq R_{k,1}$
for k roots of p, and that
    $|z|\geq R_{k,2}$
for the n – k other roots.
Instead of explicitly computing $R_{k,1}$ and $R_{k,2},$ it is generally sufficient to compute a value $R_{k}$ such that $h_{k}(R_{k})<0$ (necessarily $R_{k,1}<R_{k}<R_{k,2}$). These $R_{k}$ have the property of separating roots in terms of their absolute values: if, for h < k, both $R_{h}$ and $R_{k}$ exist, there are exactly k – h roots z such that $R_{h}<|z|<R_{k}.$
For computing $R_{k},$ one can use the fact that ${\frac {h(x)}{x^{k}}}$ is a convex function (its second derivative is positive). Thus $R_{k}$ exists if and only if ${\frac {h(x)}{x^{k}}}$ is negative at its unique minimum. For computing this minimum, one can use any optimization method, or, alternatively, Newton's method for computing the unique positive zero of the derivative of ${\frac {h(x)}{x^{k}}}$ (it converges rapidly, as the derivative is a monotonic function).
One can increase the number of existing $R_{k}$'s by applying the root squaring operation of the Dandelin–Graeffe iteration. If the roots have distinct absolute values, one can eventually completely separate the roots in terms of their absolute values, that is, compute n + 1 positive numbers $R_{0}<R_{1}<\dots <R_{n}$ such there is exactly one root with an absolute value in the open interval $(R_{k-1},R_{k}),$ for k = 1, ..., n.

### From Gershgorin circle theorem

The Gershgorin circle theorem applies the companion matrix of the polynomial on a basis related to Lagrange interpolation to define discs centered at the interpolation points, each containing a root of the polynomial; see Durand–Kerner method § Root inclusion via Gerschgorin's circles for details.
If the interpolation points are close to the roots of the roots of the polynomial, the radii of the discs are small, and this is a key ingredient of Durand–Kerner method for computing polynomial roots.

## Bounds of real roots

For polynomials with real coefficients, it is often useful to bound only the real roots. It suffices to bound the positive roots, as the negative roots of p(x) are the positive roots of p(–x).
Clearly, every bound of all roots applies also for real roots. But in some contexts, tighter bounds of real roots are useful. For example, the efficiency of the method of continued fractions for real-root isolation strongly depends on tightness of a bound of positive roots. This has led to establishing new bounds that are tighter than the general bounds of all roots. These bounds are generally expressed not only in terms of the absolute values of the coefficients, but also in terms of their signs.
Other bounds apply only to polynomials whose all roots are reals (see below).

### Bounds of positive real roots

To give a bound of the positive roots, one can assume $a_{n}>0$ without loss of generality, as changing the signs of all coefficients does not change the roots.
Every upper bound of the positive roots of
    $q(x)=a_{n}x^{n}+\sum _{i=0}^{n-1}\min(0,a_{i})x^{i}$
is also a bound of the real zeros of
    $p(x)=\sum _{i=0}^{n}a_{i}x^{i}$.
In fact, if B is such a bound, for all x > B, one has p(x) ≥ q(x) > 0.
Applied to Cauchy's bound, this gives the upper bound
    $1+{\textstyle \max _{i=0}^{n-1}}{\frac {-a_{i}}{a_{n}}}$
for the real roots of a polynomial with real coefficients. If this bound is not greater than 1, this means that all nonzero coefficients have the same sign, and that there is no positive root.
Similarly, another upper bound of the positive roots is
    $2\,{\max _{a_{i}a_{n}<0}}\left({\frac {-a_{i}}{a_{n}}}\right)^{\frac {1}{n-i}}.$
If all nonzero coefficients have the same sign, there is no positive root, and the maximum must be zero.
Other bounds have been recently developed, mainly for the method of continued fractions for real-root isolation.

### Polynomials whose roots are all real

If all roots of a polynomial are real, Laguerre proved the following lower and upper bounds of the roots, by using what is now called Samuelson's inequality.
Let $\sum _{k=0}^{n}a_{k}x^{k}$ be a polynomial with all real roots. Then its roots are located in the interval with endpoints
    $-{\frac {a_{n-1}}{na_{n}}}\pm {\frac {n-1}{na_{n}}}{\sqrt {a_{n-1}^{2}-{\frac {2n}{n-1}}a_{n}a_{n-2}}}.$
For example, the roots of the polynomial $x^{4}+5x^{3}+5x^{2}-5x-6=(x+3)(x+2)(x+1)(x-1)$ satisfy
    $-3.8118<-{\frac {5}{4}}-{\frac {3}{4}}{\sqrt {\frac {35}{3}}}\leq x\leq -{\frac {5}{4}}+{\frac {3}{4}}{\sqrt {\frac {35}{3}}}<1.3118.$

## Root separation

The root separation of a polynomial is the minimal distance between two roots, that is the minimum of the absolute values of the difference of two roots:
    $\operatorname {sep} (p)=\min\{|\alpha -\beta |\;;\;\alpha \neq \beta {\text{ and }}p(\alpha )=p(\beta )=0\}$
The root separation is a fundamental parameter of the computational complexity of root-finding algorithms for polynomials. In fact, the root separation determines the precision of number representation that is needed for being certain of distinguishing distinct roots. Also, for real-root isolation, it allows bounding the number of interval divisions that are needed for isolating all roots.
For polynomials with real or complex coefficients, it is not possible to express a lower bound of the root separation in terms of the degree and the absolute values of the coefficients only, because a small change on a single coefficient transforms a polynomial with multiple roots into a square-free polynomial with a small root separation, and essentially the same absolute values of the coefficient. However, involving the discriminant of the polynomial allows a lower bound.
For square-free polynomials with integer coefficients, the discriminant is an integer, and has thus an absolute value that is not smaller than 1. This allows lower bounds for root separation that are independent from the discriminant.
Mignotte's separation bound is
    $\operatorname {sep} (p)>{\frac {\sqrt {3|\Delta (p)|}}{n^{(n+1)/2}(\|p\|_{2})^{n-1}}},$
where $\Delta (p)$ is the discriminant, and $\textstyle \|p\|_{2}={\sqrt {a_{0}^{2}+a_{1}^{2}+\dots +a_{n}^{2}}}.$
For a square free polynomial with integer coefficients, this implies
    $\operatorname {sep} (p)>{\frac {\sqrt {3}}{n^{n/2+1}(\|p\|_{2})^{n-1}}}>{\frac {1}{2^{2s^{2}}}},$
where s is the bit size of p, that is the sum of the bitsize of its coefficients.

## Gauss–Lucas theorem

The Gauss–Lucas theorem states that the convex hull of the roots of a polynomial contains the roots of the derivative of the polynomial.
A sometimes useful corollary is that, if all roots of a polynomial have positive real part, then so do the roots of all derivatives of the polynomial.
A related result is Bernstein's inequality. It states that for a polynomial P of degree n with derivative P′ we have
    $\max _{|z|\leq 1}{\big |}P'(z){\big |}\leq n\max _{|z|\leq 1}{\big |}P(z){\big |}.$

## Statistical distribution of the roots

If the coefficients a$_i$ of a random polynomial are independently and identically distributed with a mean of zero, most complex roots are on the unit circle or close to it. In particular, the real roots are mostly located near ±1, and, moreover, their expected number is, for a large degree, less than the natural logarithm of the degree.
If the coefficients are Gaussian distributed with a mean of zero and variance of σ then the mean density of real roots is given by the Kac formula
    $m(x)={\frac {\sqrt {A(x)C(x)-B(x)^{2}}}{\pi A(x)}}$
where
    ${\begin{aligned}A(x)&=\sigma \sum _{i=0}^{n-1}x^{2i}=\sigma {\frac {x^{2n}-1}{x^{2}-1}},\\B(x)&={\frac {1}{2}}{\frac {d}{dx}}A(x),\\C(x)&={\frac {1}{4}}{\frac {d^{2}}{dx^{2}}}A(x)+{\frac {1}{4x}}{\frac {d}{dx}}A(x).\end{aligned}}$
When the coefficients are Gaussian distributed with a non-zero mean and variance of σ, a similar but more complex formula is known.

### Real roots

For large n, the mean density of real roots near x is asymptotically
    $m(x)={\frac {1}{\pi |1-x^{2}|}}$
if $x^{2}-1\neq 0,$ and
    $m(\pm 1)={\frac {1}{\pi }}{\sqrt {\frac {n^{2}-1}{12}}}$
It follows that the expected number of real roots is, using big O notation
    $N_{n}={\frac {2}{\pi }}\ln n+C+{\frac {2}{\pi n}}+O(n^{-2})$
where C is a constant approximately equal to 0.6257358072.
In other words, the expected number of real roots of a random polynomial of high degree is lower than the natural logarithm of the degree.
Kac, Erdős and others have shown that these results are insensitive to the distribution of the coefficients, if they are independent and have the same distribution with mean zero. However, if the variance of the ith coefficient is equal to ${\binom {n}{i}},$ the expected number of real roots is ${\sqrt {n}}.$

## Geometry of multiple roots

A polynomial $p$ can be written in the form of
$p(x)=a(x-z_{1})^{m_{1}}\cdots (x-z_{k})^{m_{k}}$
with distinct roots $z_{1},\ldots ,z_{k}$ and corresponding multiplicities $m_{1},\ldots ,m_{k}$. A root $z_{j}$ is a simple root if $m_{j}=1$ or a multiple root if $m_{j}\geq 2$. Simple roots are Lipschitz continuous with respect to coefficients but multiple roots are not. In other words, simple roots have bounded sensitivities but multiple roots are infinitely sensitive if the coefficients are perturbed arbitrarily. As a result, most root-finding algorithms suffer substantial loss of accuracy on multiple roots in numerical computation.
In 1972, William Kahan proved that there is an inherent stability of multiple roots. Kahan discovered that polynomials with a particular set of multiplicities form what he called a pejorative manifold and proved that a multiple root is Lipschitz continuous if the perturbation maintains its multiplicity.
This geometric property of multiple roots is crucial in numerical computation of multiple roots.