Root Bracketing and the Bisection Error Bound
Keep a sign-changing interval around a continuous root and turn interval width into a rigorous stopping condition.
- Source
- Anbloq
- Language
- English
- Created
- Updated
- Chapters
- 2
- Reading time
- 1 min
In this article2 chapters
Opposite signs provide an invariant
If \(f\) is continuous on \([a,b]\) with opposite signs at the endpoints, the interval contains a root. Evaluate at the midpoint. If the midpoint is exactly a root, stop. Otherwise keep the half whose endpoints still have opposite signs. For \(f(x)=x^2-2\) on \([1,2]\), the first midpoint \(1.5\) is above the root, leaving \([1,1.5]\).
Width gives an error without estimating the derivative
After \(k\) exact halvings the interval width is \((b-a)/2^k\), and its midpoint is within half that width of some enclosed root. A double root can lack a sign change, so bracketing first requires evidence suited to the problem. Floating point can also make a computed midpoint equal an endpoint. Interval arithmetic can certify signs in uncertain calculations. Condition numbers explain why a tiny function residual alone may give poor position accuracy.[1]