Content deleted Content added
No edit summary |
No edit summary Tags: Mobile edit Mobile web edit |
||
(21 intermediate revisions by 8 users not shown) | |||
Line 1:
{{short description|Root-finding algorithm in numerical analysis}}
In [[numerical analysis]], '''Ridders' method''' is a [[root-finding algorithm]] based on the [[false position method]] and the use of an [[exponential function]] to successively approximate a root of a continuous function <math>f(x)</math>
Ridders' method is simpler than [[Muller's method]] or [[Brent's method]] but with similar performance.<ref>{{cite book | last1=Press | first1=WH | last2=Teukolsky | first2=SA | last3=Vetterling | first3=WT | last4=Flannery | first4=BP | year=2007 | title=[[Numerical Recipes]]: The Art of Scientific Computing | edition=3rd | publisher=Cambridge University Press | publication-place=New York | isbn=978-0-521-88068-8 | chapter=Section 9.2.1. Ridders' Method | chapter-url=http://apps.nrbook.com/empanel/index.html#pg=452}}</ref> The formula below converges quadratically when the function is well-behaved, which implies that the number of additional significant digits found at each step approximately doubles; but the function has to be evaluated twice for each step, so the overall [[order of convergence]] of the method with respect to function evaluations rather than with respect to number of iterates is <math>\sqrt{2}</math>
==Method==
Given two values of the independent variable, <math>x_0</math> and <math>x_2</math>, which are on two different sides of the root being sought
:<math>e^{a(x_1 - x_0)} = \frac{f(x_1)
The false position method is then applied to the points <math>
:<math>x_3 = x_1 + (x_1 - x_0)\frac{\operatorname{sign}[f(x_0)]f(x_1)}{\sqrt{f(x_1)^2 - f(x_0)f(x_2)}}
which will be used as one of the two bracketing values in the next step of the iteration. The other bracketing value is taken to be
▲:<math>x_3 = x_1 + (x_1 - x_0)\frac{\operatorname{sign}[f(x_0)]f(x_1)}{\sqrt{f(x_1)^2 - f(x_0)f(x_2)}} .</math>
==References==
{{reflist}}
{{root-finding algorithms}}
[[Category:Root-finding algorithms]]
{{mathapplied-stub}}
|