Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Inverse quadratic interpolation
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
{{Short description|Method of solving equations}} In [[numerical analysis]], '''inverse quadratic interpolation''' is a [[root-finding algorithm]], meaning that it is an algorithm for solving equations of the form ''f''(''x'') = 0. The idea is to use [[polynomial interpolation|quadratic interpolation]] to approximate the [[inverse function|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]]. ==The method== The inverse quadratic interpolation algorithm is defined by the [[recurrence relation]] :<math> x_{n+1} = \frac{f_{n-1}f_n}{(f_{n-2}-f_{n-1})(f_{n-2}-f_n)} x_{n-2} + \frac{f_{n-2}f_n}{(f_{n-1}-f_{n-2})(f_{n-1}-f_n)} x_{n-1} </math> :::::<math> {} + \frac{f_{n-2}f_{n-1}}{(f_n-f_{n-2})(f_n-f_{n-1})} x_n, </math> where ''f''<sub>''k''</sub> = ''f''(''x''<sub>''k''</sub>). As can be seen from the recurrence relation, this method requires three initial values, ''x''<sub>0</sub>, ''x''<sub>1</sub> and ''x''<sub>2</sub>. ==Explanation of the method== We use the three preceding iterates, ''x''<sub>''n''−2</sub>, ''x''<sub>''n''−1</sub> and ''x''<sub>''n''</sub>, with their function values, ''f''<sub>''n''−2</sub>, ''f''<sub>''n''−1</sub> and ''f''<sub>''n''</sub>. Applying the [[Lagrange polynomial|Lagrange interpolation formula]] to do quadratic interpolation on the inverse of ''f'' yields :<math> f^{-1}(y) = \frac{(y-f_{n-1})(y-f_n)}{(f_{n-2}-f_{n-1})(f_{n-2}-f_n)} x_{n-2} + \frac{(y-f_{n-2})(y-f_n)}{(f_{n-1}-f_{n-2})(f_{n-1}-f_n)} x_{n-1} </math> :<math>\qquad + \frac{(y-f_{n-2})(y-f_{n-1})}{(f_n-f_{n-2})(f_n-f_{n-1})} x_n. </math> 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''<sub>''n''</sub> 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''<sub>''n''−2</sub>, ''f''<sub>''n''−1</sub> and ''f''<sub>''n''</sub> 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]] analysis. ==Comparison with other root-finding methods== As noted in the introduction, inverse quadratic interpolation is used in [[Brent's method]]. Inverse quadratic interpolation is also closely related to some other root-finding methods. Using [[linear interpolation]] instead of quadratic interpolation gives the [[secant method]]. Interpolating ''f'' instead of the inverse of ''f'' gives [[Muller's method]]. ==See also== * [[Successive parabolic interpolation]] is a related method that uses parabolas to find extrema rather than roots. ==References== *[[James F. Epperson]], [https://books.google.com/books?id=Mp8-z5mHptcC&pg=PA182 An introduction to numerical methods and analysis], pages 182β185, Wiley-Interscience, 2007. {{isbn|978-0-470-04963-1}} {{root-finding algorithms}} [[Category:Root-finding algorithms]]
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)
Pages transcluded onto the current version of this page
(
help
)
:
Template:Isbn
(
edit
)
Template:Root-finding algorithms
(
edit
)
Template:Short description
(
edit
)