Bisection Method
Reliable root finder: if f(a) and f(b) have opposite signs, a root lies between. Halve interval until narrow. Mid = (a+b)/2; keep half where sign changes.
Method
• Find bracket [a,b] with sign change. • Take midpoint. • Replace endpoint with same sign as midpoint. • Repeat.
Limitations
Slow (linear) but never fails if bracket is valid.
Example
Find sqrt 2 in [1,2]: mid 1.5, then 1.25, 1.375... converges to 1.414.
Sources
Educational reference only, not professional advice.
All algorithms