Section 7.5 Newton's method
Objectives
You should be able to:
- Explain and illustrate Newton's method.
- Apply Newton's method to find approximations of all roots of a given function correct to a given number of decimal places.
- Explain and illustrate why Newton's method may fail for certain choices of initial conditions.
Subsection 7.5.1 Instructional video
Subsection 7.5.2 Key concepts
Concept 7.5.1. Newton's method.
To find a root rr of a differentiable function f(x)f(x) near an xx-value of x1,x1, we apply Newton's Method. The idea is to replace the function by its linearization at x1,x1, and then find the xx-intercept x2x2 of the linearization, which is a first approximation of the root of f(x).f(x). We then repeat the process at x2,x2, and so on, until we reach a desired numerical precision for the root of f(x).f(x). More precisely:
- First we calculate x2,x2, the xx-intercept of the tangent line of ff at (x1,f(x1))(x1,f(x1)) (the linearization of ff at x1x1). We getx2=x1βf(x1)fβ²(x1).
- Then we find x3, the x-intercept of the tangent line of f at (x2,f(x2)), and getx3=x2βf(x2)fβ²(x2).
- We can repeat this process as many times as desired. At each step, the x-intercept of the tangent line of f at (xn,f(xn)) is given byxn+1=xnβf(xn)fβ²(xn).
- If we want an answer valid for k decimal places, we stop the process when two successive values xn and xn+1 have the exact same first k decimals. We conclude that xn+1 is then a root of f(x), up to a precision of k> decimal places.
Note that Newton's method may sometimes converge very slowly. In fact, it can also fail, for a number of reasons, for instance if the starting point x1 is not chosen appropriately.