Summary
Bolzano’s theorem guarantees that a continuous function that changes sign has a root, and bisection locates it, gaining one binary digit per halving. This lesson studies a much faster procedure, when it works: the Newton-Raphson method, which replaces the graph by its tangent line and takes as the new approximation the point where the tangent crosses the axis. The approximations so obtained are defined one after another for the integers , and their limit is understood through the definition of the limit as the variable tends to infinity, without the theory of sequences. The lesson proves, by means of convexity, that if the derivative does not vanish and the function is convex or concave, the iterates that start on the right side approach the root without passing it and converge to it; and, by means of the mean value theorem, that the value of the function, which is computed, bounds the distance to the root, which is not known. It then shows, with numerical examples, that the number of correct digits doubles at each iteration, and the ways in which the method fails: a zero derivative, a cycle, a divergence. The problems compute cube roots and reciprocals without division, break a cycle, study a double root and find the exact boundary between convergence and divergence for the arctangent.
Learning objectives
- Compute the Newton-Raphson iterates of a differentiable function and recognize in them the point where the tangent line crosses the axis.
- Prove the monotone convergence of the iterates when the derivative does not vanish and the function is convex or concave, and choose a starting point on the right side.
- Bound the distance from an approximation to the root by means of the value of the function and a lower bound of its derivative.
- Recognize the ways in which the method fails and compare it with bisection, in speed and in reliability.
The iteration
Let be a differentiable function whose root is sought, and let be a first approximation. Near , the graph of resembles its tangent line, , according to the definition of the tangent line in the lesson on the derivative as a limit; put in terms of the differential from the lesson on higher-order derivatives and the differential, the increment resembles . The tangent crosses the axis at a single point if , and it is natural to take that point as the new approximation: it is obtained by setting the equation of the tangent equal to zero. Repeating the procedure from the point obtained is the Newton-Raphson method.
Let be a function differentiable on an interval and a point of . The Newton-Raphson iterates starting from are the numbers defined, one after another, by
as long as is in and . If these conditions hold for every integer , the iterates form a function defined on the set of nonnegative integers, which is not bounded above, and the definition of the limit as the variable tends to infinity, from the lesson on limits as the variable tends to infinity, applies to it. The iterates are said to converge to if , that is, if
Each iterate is the point where the tangent at crosses the axis: setting and in the equation and solving yields the formula of the definition. The method does not require the function to change sign on a given interval, as bisection does, but to be differentiable and to have a derivative that does not vanish at the points it passes through; in exchange, nothing guarantees in advance that the iterates approach a root. Conditions that guarantee it are given below.
Apply the Newton-Raphson method to from . The calculation below shows the first three tangents and the points where they cross the axis.
Proof
The derivative is , which does not vanish if . The iteration takes the following form: each approximation is the average of the one before it and of divided by it. From , the tangent crosses the axis at .
The tangent at crosses the axis much closer to the root.
The third iterate already has five correct decimal places. The errors, , are about , , and : each is of the order of the square of the one before.
The error in this example is squared exactly. From the formula of the iteration one obtains, for every , the following identity:
Therefore, all the iterates from the first on are greater than or equal to , and if , the new error is at most half the square of the current error: the fourth iterate, , has eleven correct decimal places. With replaced by any positive number, the same procedure computes square roots; it already appears in the Metrica of Heron of Alexandria, in the 1st century, and for this reason it is also called Heron’s method.
Isaac Newton described his method for polynomial equations in 1669, in a paper that circulated in manuscript and was published in 1711; Joseph Raphson published a simpler exposition in 1690, and Thomas Simpson presented it in 1740 as an iterative method for general equations.
Loading the content…
Completed
Sign in to save your progress