Bisection Method

Locate roots by repeatedly halving an interval — watch the bracket shrink and the midpoint converge. Drag to pan, scroll to zoom.

\[c_n = \frac{a_n + b_n}{2}, \qquad [a_{n+1},b_{n+1}] = \begin{cases}[a_n,c_n] & f(a_n)\,f(c_n)<0 \\ {}[c_n,b_n] & \text{otherwise}\end{cases}, \qquad |b_n - a_n| = \frac{b_0-a_0}{2^n}\]
Example
Settings
Animation speed
Current Iterate
\(n\) \(a_n\) \(b_n\) \(c_n\) \(f(c_n)\) \(b_n - a_n\)
Press Compute to start
Bisection Diagram \(a_n\) \(b_n\) \(c_n\) \(x^*\)