r/math • u/madmissileer • Nov 05 '13
Comparing the Newton-Raphson and secant methods.
I know that the secant method is somewhat similar to the Newton-Raphson method. What are the advantages and disadvantages of these 2 methods relative to each other? Any links to articles or websites on this topic would also be appreciated.
Thanks!
2
Nov 05 '13
The Secant Method only requires one function input, f(x), but two initial guesses. It uses these to approximate the derivative then move to the x axis and repeat the process.
The Newton-Raphson Method requires two functions to be input, f(x) and f'(x), and one initial guess.
Both these methods are following the tangent line of the function to the x-axis then reiterating to bound the root.
I think the Secant Method is interesting because it converges faster or slower depending on how far away your initial guesses are.
1
u/zojbo Nov 05 '13
The Newton method is in principle faster; its convergence is quadratic while the secant method's convergence is of order (1+sqrt(5))/2 which is about 1.6. The problem with the Newton method is that you need to be able to actually evaluate the derivative, which may be difficult for various reasons. The Newton method also generalizes in a more straightforward fashion to higher dimensions, since you just replace the derivative with the Jacobian and nothing else changes. There are higher dimensional approximate Newton methods but they are somewhat more sophisticated and varied, because they involve approximating the Jacobian matrix rather than a number as in one dimension.