The bisection method begins with a finite interval on which the continuous function has opposite signs at its endpoints. The intermediate value theorem guarantees a root inside. Evaluate at the midpoint . If , stop. Otherwise retain the half whose endpoints have opposite signs and repeat. An endpoint that is already a root is returned immediately. The nested intervals retain a root and their lengths halve, so their midpoints converge to a root.
If the starting length is , then after interval halvings the current midpoint is at most from some root remaining in the bracket. Thus, with the midpoint returned after those halvings, it suffices to takeIf iterations instead count midpoint evaluations starting with the initial midpoint as evaluation one, the usual bound is , with at least one evaluation unless an endpoint root has already been found. Stating the counting convention avoids an apparent one-step discrepancy.
Articles by others on the same topic
There are currently no matching articles.