In numerical analysis, Wilkinson's polynomial is a specific polynomial which was used by James H. Wilkinson in 1963 to illustrate a difficulty when finding the roots of a polynomial: the location of the roots can be very sensitive to perturbations in the coefficients of the polynomial. The polynomial is w(x)=∏i=120(x−i)=(x−1)(x−2)⋯(x−20). Sometimes, the term Wilkinson's polynomial is also used to refer to some other polynomials appearing in Wilkinson's discussion.
Background Wilkinson's polynomial arose in the study of algorithms for finding the roots of a polynomial p(x)=∑i=0ncixi. It is a natural question in numerical analysis to ask whether the problem of finding the roots of p from the coefficients ci is well-conditioned. That is, we hope that a small change in the coefficients will lead to a small change in the roots. Unfortunately, this is not the case here. The problem is ill-conditioned when the polynomial has a multiple root. For instance, the polynomial x2 has a double root at x = 0. However, the polynomial x2 − ε (a perturbation of size ε) has roots at ±√ε, which is much bigger than ε when ε is small. It is therefore natural to expect that ill-conditioning also occurs when the polynomial has zeros which are very close. However, the problem may also be extremely ill-conditioned for polynomials with well-separated zeros. Wilkinson used the polynomial w(x) to illustrate this point (Wilkinson 1963). In 1984, he described the personal impact of this discovery:
Speaking for myself I regard it as the most traumatic experience in my career as a numerical analyst. Wilkinson's polynomial is often used to illustrate the undesirability of naively computing eigenvalues of a matrix by first calculating the coefficients of the matrix's characteristic polynomial and then finding its roots, since using the coefficients as an intermediate step may introduce an extreme ill-conditioning even if the original problem was well-conditioned.
Conditioning of Wilkinson's polynomial Wilkinson's polynomial w(x)=∏i=120(x−i)=(x−1)(x−2)⋯(x−20) clearly has 20 roots, located at x = 1, 2, ..., 20. These roots are far apart. However, the polynomial is still very ill-conditioned. Expanding the polynomial, one finds w(x)=x20−210x19+20615x18−1256850x17+53327946x16−1672280820x15+40171771630x14−756111184500x13+11310276995381x12−135585182899530x11+1307535010540395x10−10142299865511450x9+63030812099294896x8−311333643161390640x7+1206647803780373360x6−3599979517947607200x5+8037811822645051776x4−12870931245150988800x3+13803759753640704000x2−8752948036761600000x+2432902008176640000. If the coefficient of x19 is decreased from −210 by 2−23 to −210.0000001192, then the polynomial value w(20) decreases from 0 to −2−23 2019 = −6.25×1017, and the root at x = 20 grows to x ≈ 20.8. The roots at x = 18 and x = 19 collide into a double root at x ≈ 18.62 which turns into a pair of complex conjugate roots at x ≈ 19.5 ± 1.9i as the perturbation increases further. The 20 roots become (to 5 decimals) 1.000002.000003.000004.000005.000006.000016.999708.007278.9172520.8469110.09527±11.79363±13.99236±16.73074±19.50244±0.64350i1.65233i2.51883i2.81262i1.94033i Some of the roots are greatly displaced, even though the change to the coefficient is tiny and the original roots seem widely spaced. Wilkinson showed by the stability analysis discussed in the next section that this behavior is related to the fact that some roots α (such as α = 15) have many roots β that are "close" in the sense that |α − β| is smaller than |α|. Wilkinson chose the perturbation of 2−23 because his Pilot ACE computer had 30-bit floating point significands, so for numbers around 210, 2−23 was an error in the first bit position not represented in the computer. The two real numbers −210 and −210 − 2−23 are represented by the same floating point number, which means that 2−23 is the unavoidable error in representing a real coefficient close to −210 by a floating point number on that computer. The perturbation analysis shows that 30-bit coefficient precision is insufficient for separating the roots of Wilkinson's polynomial.
… excerpt ends here. Continue reading the full article.


