Bisection Method
The bisection method is the most straightforward root-finding algorithm. It works by repeatedly halving an interval that is guaranteed to contain a root, narrowing in on the solution with each step. While not the fastest method, it is unconditionally convergent whenever its starting condition is satisfied.
The Sign-Change Condition
If a continuous function changes sign over an interval , then by the Intermediate Value Theorem it must cross the x-axis at least once inside that interval.
Conversely, if , both endpoints have the same sign and the method cannot be applied to that interval.

As seen in the figure above, when we choose an interval where the function values at the boundaries share the same sign (both positive or both negative), there is no guarantee that the function crosses the zero axis within that specific window. We must bracket the root by finding one positive and one negative point.
Algorithm
At each iteration , compute the midpoint and evaluate the function there:
Then update the interval by checking the signs. The algorithm strictly follows one of three paths:
- Left Half: If , the root lies between and . Set .
- Right Half: If , the root lies between and . Set .
- Exact Root: If , then is the root exactly, and the algorithm halts.

By replacing one of the boundaries with the midpoint, the interval length halves after every single iteration:
Minimum Number of Iterations
Formula
Given an initial interval and an error tolerance , the minimum number of iterations required is:
Proof
After iterations, the interval has length . The midpoint is at most half an interval-width away from the true root (the worst case is when sits at one of the endpoints or ):
For the error to fall within tolerance after iterations:
Taking logarithms of both sides:
Worked Example 1: Minimum Iterations
Problem: Given interval and machine epsilon , find the minimum number of bisection iterations required.
Step 1 — Identify the inputs
Step 2 — Apply the formula
Step 3 — Round up
Since must be an integer:
Worked Example 2: Running Bisection
Problem: Use the bisection method to find the root of on accurate within .
Step 1 — Verify the sign-change condition
Since , a root exists in .
Step 2 — Iterate
At each step, compute the midpoint and decide which half contains the root. The table below shows 10 iterations:
| 0 | 1.000000 | 2.100000 | 3.200000 | 2.000000 | 1.791000 | 0.112000 |
| 1 | 2.100000 | 2.650000 | 3.200000 | 1.791000 | 0.552125 | 0.112000 |
| 2 | 2.650000 | 2.925000 | 3.200000 | 0.552125 | 0.085828 | 0.112000 |
| 3 | 2.925000 | 3.062500 | 3.200000 | 0.085828 | 0.054443 | 0.112000 |
| 4 | 2.925000 | 2.993750 | 3.062500 | 0.085828 | 0.006328 | 0.054443 |
| 5 | 2.993750 | 3.028125 | 3.062500 | 0.006328 | 0.026521 | 0.054443 |
| 6 | 2.993750 | 3.010938 | 3.028125 | 0.006328 | 0.010697 | 0.026521 |
| 7 | 2.993750 | 3.002344 | 3.010938 | 0.006328 | 0.002333 | 0.010697 |
| 8 | 2.993750 | 2.998047 | 3.002344 | 0.006328 | 0.001961 | 0.002333 |
| 9 | 2.998047 | 3.000195 | 3.002344 | 0.001961 | 0.000195 | 0.002333 |
Step 3 — Read the result
At iteration 9, the midpoint is and . The method has converged.