HOME

TheInfoList



OR:

In
numerical analysis Numerical analysis is the study of algorithms that use numerical approximation (as opposed to symbolic manipulations) for the problems of mathematical analysis (as distinguished from discrete mathematics). It is the study of numerical methods th ...
, inverse quadratic interpolation is a
root-finding algorithm In mathematics and computing, a root-finding algorithm is an algorithm for finding zeros, also called "roots", of continuous functions. A zero of a function , from the real numbers to real numbers or from the complex numbers to the complex numbe ...
, meaning that it is an algorithm for solving equations of the form ''f''(''x'') = 0. The idea is to use
quadratic interpolation In the mathematical field of numerical analysis, interpolation is a type of estimation, a method of constructing (finding) new data points based on the range of a discrete set of known data points. In engineering and science, one often h ...
to approximate the inverse of ''f''. This algorithm is rarely used on its own, but it is important because it forms part of the popular
Brent's method In numerical analysis, Brent's method is a hybrid root-finding algorithm combining the bisection method, the secant method and inverse quadratic interpolation. It has the reliability of bisection but it can be as quick as some of the less-reliabl ...
.


The method

The inverse quadratic interpolation algorithm is defined by the
recurrence relation In mathematics, a recurrence relation is an equation according to which the nth term of a sequence of numbers is equal to some combination of the previous terms. Often, only k previous terms of the sequence appear in the equation, for a paramete ...
: x_ = \frac x_ + \frac x_ ::::: + \frac x_n, where ''f''''k'' = ''f''(''x''''k''). As can be seen from the recurrence relation, this method requires three initial values, ''x''0, ''x''1 and ''x''2.


Explanation of the method

We use the three preceding iterates, ''x''''n''−2, ''x''''n''−1 and ''x''''n'', with their function values, ''f''''n''−2, ''f''''n''−1 and ''f''''n''. Applying the
Lagrange interpolation formula In numerical analysis, the Lagrange interpolating polynomial is the unique polynomial of lowest degree that interpolates a given set of data. Given a data set of coordinate pairs (x_j, y_j) with 0 \leq j \leq k, the x_j are called ''nodes'' a ...
to do quadratic interpolation on the inverse of ''f'' yields : f^(y) = \frac x_ + \frac x_ ::::: + \frac x_n. We are looking for a root of ''f'', so we substitute ''y'' = ''f''(''x'') = 0 in the above equation and this results in the above recursion formula.


Behaviour

The asymptotic behaviour is very good: generally, the iterates ''x''''n'' converge fast to the root once they get close. However, performance is often quite poor if the initial values are not close to the actual root. For instance, if by any chance two of the function values ''f''''n''−2, ''f''''n''−1 and ''f''''n'' coincide, the algorithm fails completely. Thus, inverse quadratic interpolation is seldom used as a stand-alone algorithm. The order of this convergence is approximately 1.84 as can be proved by
Secant Method In numerical analysis, the secant method is a root-finding algorithm that uses a succession of roots of secant lines to better approximate a root of a function ''f''. The secant method can be thought of as a finite-difference approximation ...
analysis.


Comparison with other root-finding methods

As noted in the introduction, inverse quadratic interpolation is used in
Brent's method In numerical analysis, Brent's method is a hybrid root-finding algorithm combining the bisection method, the secant method and inverse quadratic interpolation. It has the reliability of bisection but it can be as quick as some of the less-reliabl ...
. Inverse quadratic interpolation is also closely related to some other root-finding methods. Using
linear interpolation In mathematics, linear interpolation is a method of curve fitting using linear polynomials to construct new data points within the range of a discrete set of known data points. Linear interpolation between two known points If the two known po ...
instead of quadratic interpolation gives the
secant method In numerical analysis, the secant method is a root-finding algorithm that uses a succession of roots of secant lines to better approximate a root of a function ''f''. The secant method can be thought of as a finite-difference approximation ...
. Interpolating ''f'' instead of the inverse of ''f'' gives
Muller's method Muller's method is a root-finding algorithm, a numerical method for solving equations of the form ''f''(''x'') = 0. It was first presented by David E. Muller in 1956. Muller's method is based on the secant method, which constructs at every iter ...
.


See also

*
Successive parabolic interpolation Successive parabolic interpolation is a technique for finding the extremum (minimum or maximum) of a continuous unimodal function by successively fitting parabolas (polynomials of degree two) to a function of one variable at three unique points or, ...
is a related method that uses parabolas to find extrema rather than roots.


References

* James F. Epperson
An introduction to numerical methods and analysis
pages 182-185, Wiley-Interscience, 2007. {{isbn, 978-0-470-04963-1 Root-finding algorithms