Skip to main content

Section 7.5 Newton's method

Our final application of differentiation is a very cool application of linear approximations. We study how repeated applications of linear approximations give rise to a very efficient numerical algorithm for finding roots of functions, known as β€œNewton's method”. We have already seen in Section 6.1 another method for finding roots of a function, namely the bisection method, which resulted from repeated applications of the Intermediate Value Theorem. It turns out that Newton's method is a much more efficient algorithm for finding roots of a function (however, Newton's method may sometime fail for some choices of initial conditions). In fact, one can use Newton's method to calculate square roots, such as √42,√42, to fairly good accuracy, in your head!

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:

  1. 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 get
    x2=x1βˆ’f(x1)fβ€²(x1).
  2. Then we find x3, the x-intercept of the tangent line of f at (x2,f(x2)), and get
    x3=x2βˆ’f(x2)fβ€²(x2).
  3. 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 by
    xn+1=xnβˆ’f(xn)fβ€²(xn).
  4. 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.