In
numerical analysis
Numerical analysis is the study of algorithms that use numerical approximation (as opposed to symbolic computation, symbolic manipulations) for the problems of mathematical analysis (as distinguished from discrete mathematics). It is the study of ...
, Halley's method is a
root-finding algorithm
In numerical analysis, a root-finding algorithm is an algorithm for finding zeros, also called "roots", of continuous functions. A zero of a function is a number such that . As, generally, the zeros of a function cannot be computed exactly nor ...
used for
functions of one real variable with a continuous
second derivative
In calculus, the second derivative, or the second-order derivative, of a function is the derivative of the derivative of . Informally, the second derivative can be phrased as "the rate of change of the rate of change"; for example, the secon ...
.
Edmond Halley
Edmond (or Edmund) Halley (; – ) was an English astronomer, mathematician and physicist. He was the second Astronomer Royal in Britain, succeeding John Flamsteed in 1720.
From an observatory he constructed on Saint Helena in 1676–77, Hal ...
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
In numerical analysis, the Newton–Raphson method, also known simply as Newton's method, named after Isaac Newton and Joseph Raphson, is a root-finding algorithm which produces successively better approximations to the roots (or zeroes) of a ...
. 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.
Halley's method exactly finds the roots of a linear-over-linear
Padé approximation to the function, in contrast to
Newton's method
In numerical analysis, the Newton–Raphson method, also known simply as Newton's method, named after Isaac Newton and Joseph Raphson, is a root-finding algorithm which produces successively better approximations to the roots (or zeroes) of a ...
or the
Secant method which approximate the function linearly, or
Muller's method which approximates the function quadratically.
There is also Halley's irrational method, described below.
Method
Halley's method is a numerical algorithm for solving the nonlinear equation In this case, the function has to be a function of one real variable. The method consists of a sequence of iterations:
:
beginning with an initial guess .
If is a three times continuously differentiable function and is a zero of but not of its derivative, then, in a neighborhood of , the iterates satisfy:
:
This means that the iterates converge to the zero if the initial guess is sufficiently close, and that the convergence is cubic.
The following alternative formulation shows the similarity between Halley's method and Newton's method. The ratio
only needs to be computed once, and this form is particularly useful when the other ratio,
can be reduced to a simpler form:
:
When the
second derivative
In calculus, the second derivative, or the second-order derivative, of a function is the derivative of the derivative of . Informally, the second derivative can be phrased as "the rate of change of the rate of change"; for example, the secon ...
,
is very close to zero, the Halley's method iteration is almost the same as the Newton's method iteration.
Motivation
When deriving Newton's method, a proof starts with the approximation
to compute
Similarly for Halley's method, a proof starts with
For Halley's rational method, this is rearranged to give
where appears on both sides of the equation. Substituting in the Newton's method value for into the right-hand side of this last formula gives the formula for Halley's method,
Also see the motivation and proofs for the more general class of
Householder's methods.
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 is in that neighborhood. Then
Taylor's theorem
In calculus, Taylor's theorem gives an approximation of a k-times differentiable function around a given point by a polynomial of degree k, called the k-th-order Taylor polynomial. For a smooth function, the Taylor polynomial is the truncation a ...
implies:
:
and also
:
where ξ and η are numbers lying between ''a'' and . 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 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,
:
Halley's irrational method
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.
[ An English translation was published as ]
It starts with
:
and solves
for the value
using one of two forms of the
quadratic formula
In elementary algebra, the quadratic formula is a closed-form expression describing the solutions of a quadratic equation. Other ways of solving quadratic equations, such as completing the square, yield the same solutions.
Given a general quadr ...
. The quadratic formula solution either has the radical in the numerator:
:
or it has the radical in the denominator, yielding an update step that often gives better results:
:
This iteration was "deservedly preferred" to the rational method by Halley 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
In computer engineering, instruction pipelining is a technique for implementing instruction-level parallelism within a single processor. Pipelining attempts to keep every part of the processor busy with some instruction by dividing incoming in ...
, so the
latency of each iteration differs very little.
The formulation with the radical in the denominator reduces to Halley's rational method under the approximation that .
Muller's method could be considered as modification of this method. So, this method can be used to find the complex roots.
References
External links
*
*
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)
{{DEFAULTSORT:Halley's Method
Root-finding algorithms