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
f(x)
Ridders' method is simpler than Muller's method or Brent's method but with similar performance.[3] 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 is
\sqrt{2}
Given two values of the independent variable,
x0
x2
f(x0)f(x2)<0
x1=(x0+x2)/2
eax
h(x)=f(x)eax
h(x1)=(h(x0)+h(x2))/2
a
a(x1-x0) | |
e |
=
f(x1)-\operatorname{sign | |
[f(x |
0)]\sqrt{f(x
2 | |
1) |
-f(x0)f(x2)}}{f(x2)}.
The false position method is then applied to the points
(x0,h(x0))
(x2,h(x2))
x3
x0
x2
x3=x1+(x1-
x | ||||
|
0)]f(x1)}{\sqrt{f(x
2 | |
1) |
-f(x0)f(x2)}},
The other bracketing value is taken to be
x1
f(x1)f(x3)<0
x0
x2
f(x3)
The Art of Scientific Computing
. 3rd . Cambridge University Press . New York . 978-0-521-88068-8 . Section 9.2.1. Ridders' Method . http://apps.nrbook.com/empanel/index.html#pg=452.