Bisection Method Calculator
Enter a function f(x) and an interval [a, b] to find its root step-by-step using the bisection method.
Use the Bisection Method Calculator
Function & Interval
Use ^ for power, * for multiply, sqrt(), sin(), cos(), ln(), exp(), PI
Quick Examples
Result
Root (approx.)
—
f(root)
—
Iterations
—
Final Error
—
Iteration Table
| n | a | b | c = (a+b)/2 | f(c) | Error |
|---|
Enter a function and interval, then click Find Root.
Copied!
Summary
The bisection method is a classic numerical technique for finding roots of continuous functions. Given an interval [a, b] where f(a) and f(b) have opposite signs, the method repeatedly halves the interval, converging to the root. This calculator evaluates your function expression, runs up to 100 iterations, and displays a step-by-step table showing each midpoint, function value, and error.
How it works
- Enter a function of x in standard math notation (e.g. x^3 - x - 2).
- Set the lower bound a and upper bound b of the search interval.
- Choose a tolerance (acceptable error, e.g. 0.0001).
- The calculator checks that f(a) and f(b) have opposite signs (a root must exist).
- Each iteration computes the midpoint c = (a + b) / 2 and evaluates f(c).
- The interval is halved based on the sign of f(c) until the error is within tolerance.
Use cases
- Solve equations like x^3 - x - 2 = 0 numerically.
- Verify root-finding homework with a full iteration trace.
- Learn how the bisection algorithm converges step by step.
- Find roots of transcendental equations such as cos(x) - x = 0.
- Check convergence rate and number of iterations needed for a given tolerance.
- Explore how interval width affects convergence speed.
Frequently Asked Questions
Last updated: 2026-05-28 · Reviewed by Nham Vu