Given a point and an expression , the -intercept of the tangent line through (, ) can be used as an approximation to a root of the expression . The equation of the tangent line is:
Solving for zero:
As an example, consider the function and an initial point .
Repeating this another times:
The routine NewtonsMethod performs the same process.
The root to which a sequence of Newton iterations converges to depends on the initial point. For example,
In general, when the root is not a double root, Newton's method is very efficient. In the following example with Digits set to , Newton's method converges to the root after only iterations.
You can also learn about Newton's method using the NewtonsMethodTutor command.