Chapter 4
Differential Calculus and Its Uses





4.3 Solving Nonlinear Equations
      by Linearization: Newton's Method

4.3.3 Examples of Newton's Method

Example 1

Find a root of the equation e - t = t .

Figure 5   Graph of y = e - t - t

Solution   We start by setting f ( t ) = e - t - t . A graph of this function (Figure 5) shows that there is a solution a little bigger than `0.5`. Suppose we begin with a guess that is not very close, say, t 0 = 0.1. Then

y 0 = f ( t 0 ) 0.804837.

Now f ( t ) = - e - t - 1 for all `t`, so

f ( t 0 ) = - e - 0.1 - 1 - 1.904837.

Then

t 1 = t 0 - y 0 f ( t 0 ) = 0.1 - 0.804837 - 1.904837 0.522523.

The next two steps, calculated in the same way, give

t 2 0.566778

and

t 3 0.567143.

Since f ( t 3 ) 4.55 × 10 - 7 , it is likely that all six decimal places shown for t 3 are correct. Indeed, since the slope near the root is about `-2`, the difference between t 3 and the exact root (a run) should be about half the difference between f ( t 3 ) and zero (the corresponding rise). Run equals rise over slope.

Our next example illustrates a lengthier calculation with Newton's Method. We will solve an equation f ( t ) = 0 without first zooming in to find a good starting guess.

Example 2

Find the smallest (left-most) solution of t 4 - 18 t 2 - 10 t + 39 = 0 without zooming in.

Figure 6   Graph of f ( t ) = t 4 - 18 t 2 - 10 t + 39

Solution   From the graph in Figure 6 we see that the solution is between `-4` and `-3`. We could use either `-4` or `-3` as a starting point — let's use `-4.` We have

f ( t ) = 4 t 3 - 36 t - 10.

Table 1 shows our calculations. Check the calculation of t 1 with your own calculator or computer algebra system.

Table 1   Newton's Method Calculation of a root
`n` t n f ( t n ) f ( t n ) f ( t n ) / f ( t n )
0 -4.0 47.0 -122.0 -0.385246
1 -3.614754 10.683527 -68.796815 -0.155291
2 -3.459463 1.402967 -51.069143 -0.027472
3 -3.431991 0.040318 -48.144002 -0.000837
4 -3.431154 0.000058 -48.055859 -0.000001
5 -3.431153 0.000058 -48.055859 -0.0000002

This is as far as we can go with six decimal place accuracy. The change in `t` in the last column is too small to affect the sixth place, which is why neither `f` nor `f'` changed in the last step. We can safely conclude that the solution we seek is `t=-3.43115` to five-place accuracy (6SD). The next digit remains in doubt because of our rounding.

Notice how rapidly the changes in the last column got small. That only hints at how effective Newton's method can be — a matter you may take up in a project related to this chapter.

Checkpoint 1Checkpoint 1

Go to Back One Page Go Forward One Page

Contents for Chapter 4