TOPICS
Search

Ridders' Method


Ridders' method is a root bracketing algorithm for finding a root of a real-valued continuous function. It is a variation of the method of false position that uses an exponential function to obtain a faster root estimate without requiring the derivative of the function.

Suppose a<b and f(a)f(b)<0. The intermediate value theorem then ensures that a root is bracketed in [a,b]. Let m=(a+b)/2 be the midpoint. If f(m)=0, then m is the root. Otherwise, Ridders' method multiplies f by an exponential factor chosen so that the transformed values at the three equally spaced points a, m, and b are collinear. Applying the method of false position to the transformed function and eliminating the exponential factor gives the new estimate

 x=m+(m-a)(sgn(f(a)-f(b))f(m))/(sqrt(f(m)^2-f(a)f(b))),

where sgn is the sign function. The expression under the square root is positive, and x lies in the original interval [a,b] (Ridders 1979).

After evaluating f(x), the sign-changing bracket is updated. If f(m)f(x)<0, take m and x as the new endpoints. Otherwise, if f(a)f(x)<0, take a and x. In the remaining case, take x and b. Exact zeros at any sampled point terminate the iteration. Thus the root remains bracketed as in bisection, while the exponential interpolation generally gives a more accurate interior point. Each iteration requires two new function evaluations, at m and x. Near a sufficiently smooth simple root, the local rate of convergence is quadratic or better (Ridders 1979).

For example, applying one iteration to f(t)=t^3-t-5 on [-1,3] gives f(-1)=f(1)=-5, f(3)=19, and x=1.912870929..., already close to the root 1.904160859... (Ridders 1979).


See also

Bisection, Method of False Position, Root, Root Bracketing

Explore with Wolfram|Alpha

References

Ostrowski, A. M. Ch. 12 in Solutions of Equations and Systems of Equations, 2nd ed. New York: Academic Press, 1966.Press, W. H.; Flannery, B. P.; Teukolsky, S. A.; and Vetterling, W. T. "Secant Method, False Position Method, and Ridders' Method." §9.2 in Numerical Recipes in FORTRAN: The Art of Scientific Computing, 2nd ed. Cambridge, England: Cambridge University Press, pp. 347-352, 1992.Ralston, A. and Rabinowitz, P. §8.3 in A First Course in Numerical Analysis, 2nd ed. New York: McGraw-Hill, 1978.Ridders, C. J. F. "A New Algorithm for Computing a Single Root of a Real Continuous Function." IEEE Trans. Circuits Systems 26, 979-980, 1979. https://doi.org/10.1109/TCS.1979.1084580.

Referenced on Wolfram|Alpha

Ridders' Method

Cite this as:

Weisstein, Eric W. "Ridders' Method." From MathWorld--A Wolfram Resource. https://mathworld.wolfram.com/RiddersMethod.html

Subject classifications