Bisection Method Calculator

Find a root of a polynomial with the bisection method. Enter f(x) and an interval where the sign changes, and the tool halves the interval until it reaches the tolerance.

1 Fill in the boxes

2 Your answer

Your answer shows here as you type.

How to use the Bisection Method Calculator

  1. Enter a polynomial in x using + and - between terms, such as x^3 - x - 2.
  2. Enter the interval ends a and b, where f(a) and f(b) have opposite signs.
  3. Set the tolerance and the maximum number of iterations, then read the approximate root.

Frequently asked questions

What is the bisection method?

Bisection is a root-finding method for a continuous function. It repeatedly halves an interval [a, b] where f(a) and f(b) have opposite signs, keeping the half that still contains a sign change, until the interval is smaller than the tolerance.

Why do f(a) and f(b) need opposite signs?

A continuous function with opposite signs at the two ends must cross zero somewhere between them, by the intermediate value theorem. That sign change guarantees a root is inside the interval.

How many iterations does bisection need?

The interval width halves each step, so getting from width w to tolerance e takes about log2(w/e) steps. For a width of 1 and a tolerance of 0.0001, that is about 14 iterations.

Does bisection always find a root?

It is slow but reliable for any continuous function with a sign change over the interval. It cannot find a root where the function touches zero without crossing it.

Wrote something with AI? Slop Monkey rewrites it so it sounds like you, and keeps your facts.