Newton’s method provides a useful way to estimate the roots and solutions to equations. Suppose for instance we have a function , and we want to find the roots for the equation.
When the equation is a quadratic or cubic, it is easy to find the roots. However, for higher power polynomials, and other similar functions, it becomes quite hard to do. Using Newton’s method, we can more easily solve problems like these.
The idea of Newton’s method is the following. We have a tangent line L, that is tangent to the curve f(x) at the point . Because the line is tangent to the curve, it has an x intercept at some point, . We know that f(x) also has an x intercept at some point r, which is what we are trying to find. If we pick some number, x1, we can get an x intercept that exists somewhere close to the root, as shown below.
You can see that this line is tangent and is close to the root of f(x). Using this idea, we can continue to change the point x1 that we are tangent to, and our approximation can get closer to the actual root of f(x).
So, to find the formula for x2, the x-intercept of the tangent line, with respect to x1, the point we are tangent to, we can use the following formula:
We know that x2 is the x intercept, therefore we know that y is 0.
From here, we can rearrange for x2 to get:
To apply Newton’s method, we can use this formula as follows:
- Start with an initial estimate at the root, and find
- Using , calculate
- Repeat this until you find a root that is sufficently accurate
The steps to Newton’s method are simple and effective for finding roots. Often, root finding programs will use Newton’s method or similar estimations to provide roots for complicated equations.
Example: Starting with , find the third approximation to the root of the equation
The first step is to find the derivative.
Once this is done, we simply apply Newton’s method 3 times.
Let’s put our estimate into f(x) and see how it looks.
As you can see, the estimate is very close to a root, so Newton’s method proves to be a good estimate for the functions root.