The bisection method
4 min read
Short answer
If is continuous and , have opposite signs, a root lies between them. Evaluate at the midpoint, keep the half where the sign still changes, and repeat. Each step halves the error bound, and it always converges, though slowly.
How many steps
To shrink an interval of length below a tolerance you need steps. Each step gains one binary digit, about decimal digits, so steps give roughly three digits.
Bisection versus Newton
Bisection needs no derivative and cannot fail once the root is bracketed, but converges linearly. Newton converges quadratically but needs and a good start. Hybrid methods (Brent's) use both ideas.
Worked example
Locate the root of in with four bisection steps.
, . Midpoint : , keep . Midpoint : , keep . Midpoint : , keep . Midpoint : , keep . The root is about .
Try it yourself
How many bisection steps shrink to length below ?
Show the answer
, so steps.
Keep going with practice
Vidi's calculus lessons cover the Intermediate Value Theorem that guarantees this method works.