Newton's MethodNewton might be wondering what nowadays goes under his name. Nowadays, what is known as Newton's (or Newton-Raphson) method is an iterative process set up to approximate roots of equations Let a be a root of the equation f(x) = 0, so that
Since f(a) = 0 and assuming (a - x)² f ''(γ)/2 is small relative to the first term, we may write
In other words,
This suggests an iterative process:
with x0 chosen arbitrarily but hopefully in a neighborhood of the root a. The iterations have a simple geometric interpretation. The tangent to the graph of y = f(x) at point (xn, f(xn)) is given by the linear equation
The idea behind Newton's method is that the latter equation is easier to solve (even several times in a row) than the original equation
which is exactly xn + 1 in (1). The applet below helps visualize the process.
To start iterations click anywhere in the applet area. This defines the abcissa x0 on the x-axis. The next click will clear the area. Once the starting point x0 is set you can specify the number of iterations you wish to observe. The best way is to increase the number of iterations by one at a time. Newton's iterations do not always converge. For example, they may loop up in a vicinity of a local extreme:
Error AnalysisAssuming f '' exists and is continuous in a vicinity of a root a of the equation
where γxn is between a and xn. Since
The way Newton's iterations run, the term f(xn) / f '(xn) is exactly
Solved for a - xn+1 the above becomes
showing that the error estimate on an iteration is proportional to the square of a similar estimate on the previous iteration. Assuming that the iterates do congregate towards the root and relying on the continuity of both f ' and f '' around a, we approximate
so that
This leads to
Thus, to insure convergence of the iterations, we need
showing how close to the root the initial approximation x0 should be chosen to insure convergence:
An ExampleLet's find an approximation to √2. To this end, we may define
or, after simplifications,
Observe that if the iterations converge to a, i.e. if limn→∞xn = a, then it follows from (3) that
implying a² = 2. So let's start with x0 = 1. Then
Next,
And
In Java double precision the iterations appear as:
In a similar way, taking f(x) = x² - N yields
as an approximation to √N. The first few iterations may well be calculated by hand. This method for approximating square roots was known to Heron of Alexandria in the first century A.D. Already then it was possible to argue [The Princeton Companion to Mathematics, p. 110] that, since (xn + N/xn) / 2 is the arithmetic mean of xn and N/xn and since √N lies between xn and N/xn, xn+1 will be close to √N if xn is and may be closer. References
|Activities| |Contact| |Front page| |Contents| |Algebra| |Store| Copyright © 1996-2012 Alexander Bogomolny |
| 41143673 |

