A modified Brent's method for finding zeros of functions

作者:Wilkins Gautam*; Gu Ming
来源:Numerische Mathematik, 2013, 123(1): 177-188.
DOI:10.1007/s00211-012-0480-x

摘要

Brent's method, also known as zeroin, has been the most popular method for finding zeros of functions since it was developed in 1972. This method usually converges very quickly to a zero; for the occasional difficult functions encountered in practice, it typically takes iterations to converge, where is the number of steps required for the bisection method to find the zero to approximately the same accuracy. While it has long been known that in theory Brent's method could require as many as iterations to find a zero, such behavior had never been observed in practice. In this paper, we first show that Brent's method can indeed take iterations to converge, by explicitly constructing such worst case functions. In particular, for double precision accuracy, Brent's method takes iterations to find the zero of our function, compared to the iterations required by bisection. Secondly, we present a modification of Brent's method that places a stricter complexity bound of on the search for a zero. In our extensive testing, this modification appears to behave very similarly to Brent's method for all the common functions, yet it remains at worst five times slower than the bisection method for all difficult functions, in sharp contrast to Brent's method.

  • 出版日期2013-1

全文