The Bisection Method
Bisection: keep the bracket, earn the bound
The bisection method finds a root of a continuous scalar function by maintaining an interval whose endpoints have opposite signs. The Intermediate Value Theorem guarantees at least one root inside such a bracket. At each step, evaluate the midpoint and retain the half-interval that still has a sign change.
The method's key invariant is the bracket, not merely a decreasing sequence of midpoint values. If the exact midpoint value is zero, the midpoint is a root.
A computed value rounded to zero or accepted within a numerical tolerance indicates only an approximate candidate; retain the bracket-based error guarantee unless exact equality is established.
Otherwise, compare its sign with an endpoint's sign; never choose an interval solely because its midpoint looks numerically small.
After n bisections, an initial interval of width w has width w/2n. If the estimate is the current midpoint, its error relative to some root still bracketed is at most half that current width. This is a guaranteed geometric bound, independent of derivative estimates, provided continuity and the sign bracket are valid.
A sign change is not enough if the function is discontinuous. A vertical asymptote can produce opposite endpoint signs without a root between them, so continuity on the full closed interval is essential.
Bisection is deliberately robust but may be slower than open methods; report the bracket, stopping tolerance, and whether the bound is on interval width or midpoint error.
A continuous function satisfies f(2) < 0 and f(5) > 0. The midpoint is 3.5, and f(3.5) < 0. Which interval should be retained for the next bisection step?
A continuous root is initially bracketed in an interval of width 12. After four bisections, the current midpoint is used as the estimate. What is the smallest upper bound on the midpoint's absolute error relative to a root still bracketed that is guaranteed solely by the remaining bracket width?