Calculus & Numerical Methods

Bisection Root

Find a root of f on [a, b] (sign change required).

Formula

Formula
repeatedly halve [a, b]

Variables

SymbolDefinitionType & rangeUnitsRole
f function expression / text x input
a, b bracketing interval real number (ℝ) input

Try it yourself

Interactive calculator
math expression (e.g. x*x, sin(x))
Result

Worked examples

Example 1
Givenf(x) = x*x - 2, a = 0, b = 2
Result1.414213562
Example 2
Givenf(x) = x*x*x - x - 2, a = 1, b = 2
Result1.521379707