Halley's method
In numerical analysis, Halley's method is a root-finding algorithm used for functions of one real variable with a continuous second derivative. Edmond Halley was an English mathematician and astronomer who introduced the method now called by his name.
The algorithm is second in the class of Householder's methods, after Newton's method. Like the latter, it iteratively produces a sequence of approximations to the root; their rate of convergence to the root is cubic. Multidimensional versions of this method exist.[citation needed]
Halley's method exactly finds the roots of a linear-over-linear Padé approximation to the function, in contrast to Newton's method or the Secant method which approximate the function linearly, or Muller's method which approximates the function quadratically.[1]
Method
Halley's method is a numerical algorithm for solving the nonlinear equation f(x) = 0. In this case, the function f has to be a function of one real variable. The method consists of a sequence of iterations:
- [math]\displaystyle{ x_{n+1} = x_n - \frac {2 f(x_n) f'(x_n)} {2 {[f'(x_n)]}^2 - f(x_n) f''(x_n)} }[/math]
beginning with an initial guess x0.[2]
If f is a three times continuously differentiable function and a is a zero of f but not of its derivative, then, in a neighborhood of a, the iterates xn satisfy:
- [math]\displaystyle{ | x_{n+1} - a | \le K \cdot {| x_n - a |}^3,\text{ for some }K \gt 0. }[/math]
This means that the iterates converge to the zero if the initial guess is sufficiently close, and that the convergence is cubic.[3]
The following alternative formulation shows the similarity between Halley's method and Newton's method. The expression [math]\displaystyle{ f(x_n)/f'(x_n) }[/math] is computed only once, and it is particularly useful when [math]\displaystyle{ f''(x_n)/f'(x_n) }[/math] can be simplified:
- [math]\displaystyle{ x_{n+1} = x_n -\frac{f(x_n)}{f'(x_n) - \frac{f(x_n)}{f'(x_n)}\frac{f''(x_n)}{2}}= x_n - \frac {f(x_n)} {f'(x_n)} \left[1 - \frac {f(x_n)}{f'(x_n)} \cdot \frac {f''(x_n)} {2 f'(x_n)} \right]^{-1}. }[/math]
When the second derivative is very close to zero, the Halley's method iteration is almost the same as the Newton's method iteration.
Derivation
Consider the function
- [math]\displaystyle{ g(x) = \frac {f(x)} {\sqrt{|f'(x)|}}. }[/math]
Any root r of f that is not a root of its derivative is a root of g (i.e., [math]\displaystyle{ g(r)=0 }[/math] when [math]\displaystyle{ f(r)=0 \ne {\sqrt{|f'(r)|}} }[/math]), and any root r of g must be a root of f provided the derivative of f at r is not infinite. Applying Newton's method to g gives
- [math]\displaystyle{ x_{n+1} = x_n - \frac{g(x_n)}{g'(x_n)} }[/math]
with
- [math]\displaystyle{ g'(x) = \frac{2[f'(x)]^2 - f(x) f''(x)}{2 f'(x) \sqrt{|f'(x)|}}, }[/math]
and the result follows. Notice that if f ′(c) = 0, then one cannot apply this at c because g(c) would be undefined.[further explanation needed]
Cubic convergence
Suppose a is a root of f but not of its derivative. And suppose that the third derivative of f exists and is continuous in a neighborhood of a and xn is in that neighborhood. Then Taylor's theorem implies:
- [math]\displaystyle{ 0 = f(a) = f(x_n) + f'(x_n) (a - x_n) + \frac{f''(x_n)}{2} (a - x_n)^2 + \frac{f'''(\xi)}{6} (a - x_n)^3 }[/math]
and also
- [math]\displaystyle{ 0 = f(a) = f(x_n) + f'(x_n) (a - x_n) + \frac{f''(\eta)}{2} (a - x_n)^2, }[/math]
where ξ and η are numbers lying between a and xn. Multiply the first equation by [math]\displaystyle{ 2f'(x_n) }[/math] and subtract from it the second equation times [math]\displaystyle{ f''(x_n)(a - x_n) }[/math] to give:
- [math]\displaystyle{ \begin{align} 0 &= 2 f(x_n) f'(x_n) + 2 [f'(x_n)]^2 (a - x_n) + f'(x_n) f''(x_n) (a - x_n)^2 + \frac{f'(x_n) f'''(\xi)}{3} (a - x_n)^3 \\ &\qquad- f(x_n) f''(x_n) (a - x_n) - f'(x_n) f''(x_n) (a - x_n)^2 - \frac{f''(x_n) f''(\eta)}{2} (a - x_n)^3. \end{align} }[/math]
Canceling [math]\displaystyle{ f'(x_n) f''(x_n) (a - x_n)^2 }[/math] and re-organizing terms yields:
- [math]\displaystyle{ 0 = 2 f(x_n) f'(x_n) + \left(2 [f'(x_n)]^2 - f(x_n) f''(x_n) \right) (a - x_n) + \left(\frac{f'(x_n) f'''(\xi)}{3} - \frac{f''(x_n) f''(\eta)}{2} \right) (a - x_n)^3. }[/math]
Put the second term on the left side and divide through by
- [math]\displaystyle{ 2 [f'(x_n)]^2 - f(x_n) f''(x_n) }[/math]
to get:
- [math]\displaystyle{ a - x_n = \frac{-2f(x_n) f'(x_n)}{2[f'(x_n)]^2 - f(x_n) f''(x_n)} - \frac{2f'(x_n) f'''(\xi) - 3 f''(x_n) f''(\eta)}{6(2 [f'(x_n)]^2 - f(x_n) f''(x_n))} (a - x_n)^3. }[/math]
Thus:
- [math]\displaystyle{ a - x_{n+1} = - \frac{2 f'(x_n) f'''(\xi) - 3 f''(x_n) f''(\eta)}{12[f'(x_n)]^2 - 6 f(x_n) f''(x_n)} (a - x_n)^3. }[/math]
The limit of the coefficient on the right side as xn → a is:
- [math]\displaystyle{ -\frac{2 f'(a) f'''(a) - 3 f''(a) f''(a)}{12 [f'(a)]^2 - 6 f(a) f''(a)}. }[/math]
If we take K to be a little larger than the absolute value of this, we can take absolute values of both sides of the formula and replace the absolute value of coefficient by its upper bound near a to get:
- [math]\displaystyle{ |a - x_{n+1}| \leq K |a - x_n|^3 }[/math]
which is what was to be proved.
To summarize,
- [math]\displaystyle{ \Delta x_{i+1} =\frac{3(f'')^2 - 2f' f'''}{12(f')^2} (\Delta x_i)^3 + O[\Delta x_i]^4, \qquad \Delta x_i \triangleq x_i - a. }[/math][4]
References
- ↑ Boyd, J. P. (2013). "Finding the Zeros of a Univariate Equation: Proxy Rootfinders, Chebyshev Interpolation, and the Companion Matrix". SIAM Review 55 (2): 375–396. doi:10.1137/110838297. http://epubs.siam.org/doi/pdf/10.1137/110838297.
- ↑ Scavo, T. R.; Thoo, J. B. (1995). "On the geometry of Halley's method". American Mathematical Monthly 102 (5): 417–426. doi:10.2307/2975033.
- ↑ Alefeld, G. (1981). "On the convergence of Halley's method". American Mathematical Monthly 88 (7): 530–536. doi:10.2307/2321760.
- ↑ Proinov, Petko D.; Ivanov, Stoil I. (2015). "On the convergence of Halley's method for simultaneous computation of polynomial zeros". J. Numer. Math. 23 (4): 379–394. doi:10.1515/jnma-2015-0026.
External links
- Weisstein, Eric W.. "Halley’s method". http://mathworld.wolfram.com/HalleysMethod.html.
- Newton's method and high order iterations, Pascal Sebah and Xavier Gourdon, 2001 (the site has a link to a Postscript version for better formula display)
Original source: https://en.wikipedia.org/wiki/Halley's method.
Read more |