Choosing a Bisection Iteration Budget
Bisection reduces a bracket width by a factor of two each time under the exact arithmetic model.
- Source
- Anbloq
- Language
- English
- Created
- Updated
- Chapters
- 4
- Reading time
- 1 min
In this article4 chapters
Compute a simple budget
A width of two becomes at most \(2/2^k\) after \(k\) halvings. To reach width at most \(1/16\), take at least five halvings. Logarithmic work explains the inverse relationship.
Account for practical stops
If both endpoints share the last representable spacing, a computed midpoint may equal one endpoint. A termination rule can detect that case. See floating-point spacing.[1][2]
Translate an interval width into a step budget
Start with width one. Each successful bisection halves the remaining width. After ten steps it is \(2^{-10}=0.0009765625\). Returning the midpoint gives a location error no greater than half the width if the target remains bracketed. See sign-change brackets.
Initial width 1
After 5 steps: 1/32
After 10 steps: 1/1024
Midpoint error bound after 10 steps: 1/2048
Account for finite precision termination
At a small enough scale the computed midpoint may equal an endpoint. Stop with a documented precision limit if no progress is possible. Check both the computed residual and the location requirement when they mean different things.