next up previous
Next: Convergence of Newton's Method Up: Roots of a Single-Variable Previous: Bisection Error Analysis

Newton's Method

While the bisection method has considerable appeal inasmuch as it always converges (with the appropriate setup) and that the maximum number of iterations for convergence can be computed in advance, convergence of the bisection method is slow. Newton's method, described here, aims to improve the rate of convergence.

    In describing Newton's method, consider a function f(x) which has a root tex2html_wrap_inline3058 . Given an approximate root, tex2html_wrap_inline3060 , the next approximation is found by finding the root of the tangent to the line at tex2html_wrap_inline3062 . Thus, instead of finding the root to the function f(x), Newton's method reduces the problem to finding the root to the linear approximation of f(x) which interpolates tex2html_wrap_inline2314 and has the same slope of f(x) at tex2html_wrap_inline3060 . Of course, the slope of the curve at tex2html_wrap_inline2314 is given by the derivative at tex2html_wrap_inline3060tex2html_wrap_inline2316 .
    From this simple description, derivation of Newton's method requires finding the root to the line which passes through tex2html_wrap_inline2314 and has the slope tex2html_wrap_inline2316 . The equation for this line in point-slope form is

displaymath3052
 
 
  figure404
Figure 4.1:   Newton's method approximates the root of f(x) by finding the root to the linear approximation to f(x) which passes through tex2html_wrap_inline2314 and has the slope tex2html_wrap_inline2316 .
which passes through the x-axis, producing the approximation tex2html_wrap_inline2324 , when y=0:
displaymath3053

Solving this equation for tex2html_wrap_inline2324 yields

  equation411

Equation 4.3 is Newton's method.

algorithm417

    As an illustration of Newton's method, consider the following example, and compare to the same problem solved by the bisection method, illustrated in Example 4.1:

example434

    In reference to Equation 4.3, one can see the possibility of problems creeping into the iterations associated with Newton's method. Some problems which might arise are

  1. Small values for the derivatives tex2html_wrap_inline2316 can lead to very large deviations in the calculation of tex2html_wrap_inline3132 . Unfortunately, this scenario may happen when the function has a double root.
  2.  If the function has multiple roots, there is no universal technique for choosing different starting values so as to converge to different roots. It may be that one root is of paramount interest, whereas convergence of the method tends always toward other roots. In such a situation, the bisection method might be called upon to get significantly close to the root of interest, where Newton's method can then be used to quickly converge.
  3.  There is a chance (albeit slight) that Newton's method can be caught in an endless cycling around the root. This can be the case when the root is near an inflection point.
Additionally, Newton's method requires a mechanism to compute the derivative of a function, which could be more expensive computationally, than the added speed of convergence.

   example442

   example455
 



next up previous
Next: Convergence of Newton's Method Up: Roots of a Single-Variable Previous: Bisection Error Analysis
Paul Gray

Wed Oct 28 11:42:13 EST 1998