Newton-Raphson Method

Description

The Newton-Raphson method is an iterative procedure to estimate a root of an equation f(x) = 0 where the user gives an initial estimate, a tolerance and programs the derivative of the function f(x). The procedure then calculates a new estimate until the distance between the two estimates is less than the preassigned tolerance. If xi-1 is the current estimate, the new estimate xi is that point on the x-axis which is the intersection of the x-axis and the tangent to the curve y = f(x) at the point ( xi-1, f(xi-1) ). The subsequent estimate then uses the point ( xi, f(xi) ).
 
It is best to avoid using the Newton-Raphson method if there are local extrema near the root and if the root has order > 1. The convergence of the Newton-Raphson method depends on the initial estimate and on the order of the root. For roots with order 1, convergence is quadratic near the root, however Newton-Raphson requires calculating not only the function but also its derivative at each step. For this reason, Newton-Raphson may require fewer steps, but more function calls than other methods.

Function List

C Source