Halley's method
A method of numerically finding roots of a function From Wikipedia, the free encyclopedia
A method of numerically finding roots of a function From Wikipedia, the free encyclopedia
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.[1]
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.[2]
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:
beginning with an initial guess x0.[3]
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:
This means that the iterates converge to the zero if the initial guess is sufficiently close, and that the convergence is cubic.[4]
The following alternative formulation shows the similarity between Halley's method and Newton's method. The expression is computed only once, and it is particularly useful when can be simplified:
When the second derivative is very close to zero, the Halley's method iteration is almost the same as the Newton's method iteration.
Consider the function
Any root r of f that is not a root of its derivative is a root of g (i.e., when ), 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
with
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]
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:
and also
where ξ and η are numbers lying between a and xn. Multiply the first equation by and subtract from it the second equation times to give:
Canceling and re-organizing terms yields:
Put the second term on the left side and divide through by
to get:
Thus:
The limit of the coefficient on the right side as xn → a is:
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:
which is what was to be proved.
To summarize,
This section needs expansion. You can help by adding to it. (August 2024) |
Halley actually developed two third-order root-finding methods. The above, using only a division, is referred to as Halley's rational method. A second, "irrational" method uses a square root as well:[6][7][8]
This iteration was "deservedly preferred" to the rational method by Halley[7] on the grounds that the denominator is smaller, making the division easier. A second advantage is that it tends to have about half of the error of the rational method, a benefit which multiplies as it is iterated. On a computer, it would appear to be slower as it has two slow operations (division and square root) instead of one, but on modern computers the reciprocal of the denominator can be computed at the same time as the square root via instruction pipelining, so the latency of each iteration differs very little.[8]: 24
Seamless Wikipedia browsing. On steroids.
Every time you click a link to Wikipedia, Wiktionary or Wikiquote in your browser's search results, it will show the modern Wikiwand interface.
Wikiwand extension is a five stars, simple, with minimum permission required to keep your browsing private, safe and transparent.