Computational Method // April 2026

Mastering the Bisection Method
A Step-by-Step Guide

A
Author Node Archive Editorial
Temporal Read 5 Min Read

Understanding the Bisection Method

The Bisection Method is a simple and robust numerical technique used to find the roots of a continuous function $f(x) = 0$. The core idea is based on the Intermediate Value Theorem: if a continuous function $f(x)$ changes sign over an interval $[a, b]$, there must be at least one root within that interval.

The Algorithm

  1. Identify an interval $[a, b]$ such that $f(a) \cdot f(b) < 0$.
  2. Calculate the midpoint $c = \frac{a + b}{2}$.
  3. Evaluate $f(c)$:
    • If $f(c) = 0$, then $c$ is the root.
    • If $f(a) \cdot f(c) < 0$, the root lies in $[a, c]$. Set $b = c$.
    • If $f(c) \cdot f(b) < 0$, the root lies in $[c, b]$. Set $a = c$.
  4. Repeat until the desired precision is reached.

Solving $x^3 - 2x - 5 = 0$

Let $f(x) = x^3 - 2x - 5$. We are looking for the root in the interval $(2, 3)$.

  • $f(2) = 2^3 - 2(2) - 5 = 8 - 4 - 5 = -1$ (Negative)
  • $f(3) = 3^3 - 2(3) - 5 = 27 - 6 - 5 = 16$ (Positive)

Since $f(2) < 0$ and $f(3) > 0$, the root lies in $(2, 3)$.

Iteration Table

Iteration$a$$b$$c = (a+b)/2$$f(c)$New Interval
12.03.02.55.625$[2.0, 2.5]$
22.02.52.251.8906$[2.0, 2.25]$
32.02.252.1250.3457$[2.0, 2.125]$
42.02.1252.0625-0.3513$[2.0625, 2.125]$
52.06252.1252.09375-0.0089$[2.09375, 2.125]$
62.093752.1252.1093750.1667$[2.09375, 2.109375]$
72.093752.1093752.10156250.0785$[2.09375, 2.1015625]$
82.093752.10156252.097656250.0347$[2.09375, 2.09765625]$
92.093752.097656252.0957031250.0129$[2.09375, 2.095703125]$

Continuing this process until the change in $c$ is smaller than 0.001, we converge to the root.

Final Result

After several iterations, the value of $x$ converges to approximately 2.095.

Platform Resources