often when we are trying to find the roots of a function, the algebraic methods we learned in earlier math classes are either tedious or impossible. newton’s method allows us to overcome this. imagine trying to find the roots of f(x) = x4 – 3x2 + 2x – 1. we know that the equation has either 0, 2, or 4 real roots, although just looking at it, this would not be obvious.
the graph shows us that the equation indeed has 2 roots, but we are still not sure what these roots are (although our graphing calculator can solve this for us; see our post on calculator strategies for the ap calculus exam for more).
newton’s method is an iterative method to find approximate roots of equations.
newton’s method usually does not give the exact answer, but will allow us to find very exact approximations. the fist requirement for newton’s method is that we know the derivative of the function.
let’s walk through an example to show where newton’s method comes from.
first step: take a random guess as to what the root might be. let us choose x = 2 for this first guess. we’ll call this x0. depending on our initial guess, our method might find the first or the second root.
second step: find the equation of a line tangent to the curve at the point x0.
notice our tangent line has its own root close to the root of our original equation. it is easy to find the root of a linear function. if we take the root of y = 22x-37, we get 37/22, which is about 1.682. this isn’t a perfect approximation, but it’s close. if we were to repeat this entire method, using x = 1.682 instead of x =2, we would get an even closer approximation.
now there is a quick formula that you can derive that gives us our sequence of increasingly accurate approximations.
plugging in x0 = 2, we get x1 = 1.682, exactly what we found above. if we do this a few times, we see that we get increasingly close to our root:
x0 = 1.682
x1 = 1.51
x2 = 1.454
x3 = 1.448
each step brings us closer and closer to the root. we’ll never get perfectly there in this example, but within 4 steps, we’ve within .001. a few more steps, and we’d be within millionths of the correct answer.
newton’s method is an extremely efficient way of finding approximate roots to equations. it works even if the equation is incredibly complicated or would be impossible or difficult to algebraically find exact roots. it rarely gets an exact correct answer, but allows us to get very close. numerical methods, such as newton’s method, for finding roots are the way many computer programs (including many graphing calculators) find answers to equations. the requirement for newton’s method is that you know the derivative of the function.
now let’s practice:
take f(x) = x2 – 9. you know the answer to this equation is +/- 3. try newton’s method with this equation to see how many iterations it takes to get within a few thousands of the correct answer.
leave a reply