The iteration method in the previous section can work very slowly. However, it provides the basis for Newton's method , which is usually much faster than direct iteration. Newton's method is based on the observation that the tangent line is a good local approximation to the graph of a function.
Let
x0, f (x0)
be a point on the graph of the function f.
The tangent line is given by the equation
In the following graph,
f (x) = x - x3, x0 = 0.44,
x1 - 0.41,
x2
0.27, and
x3
- 0.048.
dtbpFU3in2.0003in0ptx - x3
This figure can be generated by plotting x - x3 as usual, zooming in to change the viewing rectangle, then selecting the matrix
The Newton iteration function for a function f is the function g defined by