|
| |||||||||||||
![]()
Isaac Newton
Newton’s method1 The roots of the problemLet’s imagine that you’re asked for the first digits of![]() ![]() ![]() Always prolific, Newton proposed around 1669 (!) an iterative algorithm converging quadratically towards roots of a number. Quadratically means that the number of correct digits of the numerical estimate doubles at each step. Thenceforth, algorithm complexity of the division and roots extraction becomes equal to that of multiplication. A godsend for modern computations, where bruising roots extractions are experienced in the algorithms of Salamin or those from the Borwein brothers. The Newton’s algorithm a several qualities, which are exposed in the following paragraphs.
2 Wording of Newton’s methodOriginally, i.e. more than three centuries ago, Newton’s method was used to numerically estimate a root In 1669, Newton proposed an iterative algorithm to find roots of polynomial (Newton’s iteration). Then, Raphson reworded it in a more modern way in 1690. Simpson, Mourraille, Cauchy and Kantorovich completed it and made it more general, which finally gives the following wording:
Theorem 2.1 Let
uniformly and quadratically converges towards This algorithm has an amazing property of errors autocompensation : if One straightforward consequence is that the computation of
3 Applications
3.1 Multiplicative inverse of a numberLet’s choose a number
which is only using multiplications and additions. The equation
illustrates the quadratic convergence of the algorithm. Suppose now that we initialize the algorithm with one correct digit. We then have
From the errors autocompensation property of the Newton’s method, we are allowed to only use
for the multiplicative inverse computation. Indded, we can reasonably suppose that
3.2 Square root extractionThings also are going well. We can use the function
which practically leads to a final complexity of around A natural alternative uses directly
However, the prolific Schönhage, full of ideas (see also FFT), proposed to replace You can find several refinements of Newton’s method in [1, 4]. The complexity equivalence of multiplication, division and roots extraction is exposed in [2, 3].
References
[1] J. Arndt, C. Haenel, ” [2] R. Brent, “Fast multiple-precision evaluation of elementary fonctions”, Journal of the Association of Computing Machinery, 1976, pp.242-251. [3] S. A. Cook, S. O. Aanderaa, “On the minimum computation of functions”, Trans. AMS, 1969, vol. 142, pp291-314. [4] M. D. Householder, “The Numerical Treatment of a Single Nonlinear Equation”, 1970, MacGraw-Hill, New-York. [5] A. Schönhage, V. Strassen, “Schennelle Multiplikation grosser Zahlen”, Computing, 1971, vol. 7, pp. 281-292. back to home page |