What is the time complexity of the Newton-Raphson square method?
The Newton Raphson Method is one of the fastest methods among the bisection and false position methods. In this method, take one initial approximation instead of two.
Convergence of Newton Raphson MethodIt converges if |f(x). f''(x)| < |f'(x)|2. Also, this method fails if f'(x) = 0.
The time complexity of this approach is O ( N ) O(N) O(N), and larger arrays take more time to complete the operation.
The studyis at comparing the rate of performance (convergence) of Bisection, Newton-Raphson and Secant as methods of root-finding. Obviously, Newton-Raphson method may converge faster than any other method but when we compare performance, it is needful to consider both cost and speed of convergence.
From http://en.citizendium.org/wiki/Newton%27s_method#Computational_complexity:
Using Newton's method as described above, the time complexity of calculating a root of a function f(x) with n-digit precision, provided that a good initial approximation is known, is O((\log n) F(n)) where F(n) is the cost of calculating f(x)/f'(x)\, with n-digit precision.
However, depending on your precision requirements, you can do better:
If f(x) can be evaluated with variable precision, the algorithm can be improved. Because of the "self-correcting" nature of Newton's method, meaning that it is unaffected by small perturbations once it has reached the stage of quadratic convergence, it is only necessary to use m-digit precision at a step where the approximation has m-digit accuracy. Hence, the first iteration can be performed with a precision twice as high as the accuracy of x_0, the second iteration with a precision four times as high, and so on. If the precision levels are chosen suitably, only the final iteration requires f(x)/f'(x)\, to be evaluated at full n-digit precision. Provided that F(n) grows superlinearly, which is the case in practice, the cost of finding a root is therefore only O(F(n)), with a constant factor close to unity.
This article gives a relevant approach as to how to consider the method's complexity.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With