next up previous
Next: Bisection Error Analysis Up: Roots of a Single-Variable Previous: Roots of a Single-Variable

The Bisection Method

The bisection method is developed with the support of the Intermediate-Value Theorem, 1.3. Consider a continuous function f(x) over the interval [a,b]. If by chance

displaymath2926

we know that values of f(a) and f(b) above must be nonzero and each of different sign. That is, if f(a) is negative, f(b) must be positive. Likewise, if f(a) is positive, f(b) must be negative. In light of the Intermediate-Value theorem, the ``intermediate-value'' that we seek is zero, which certainly lies between the positive and negative numbers represented by f(a) and f(b). The conclusion of the Intermediate-Value theorem is that there is a point, tex2html_wrap_inline2948 , between a and b where tex2html_wrap_inline2954 . That is, the solution to f(x)=0 lies somewhere between a and b.

    The bisection method checks the midpoint, c, of the interval [a,b]. If f(c) = 0, the task of finding a root is complete. If tex2html_wrap_inline2966 , then for the same reason, there must be a root in either [a,c] if f(a)f(c) < 0 or on [c,b] if f(c)f(b) < 0.

    This procedure defines the bisection method. At each step the interval in which there is guaranteed to be a root of the equation is halved (bisected), and the method terminates as soon as the width of the interval containing the root is less than some error tolerance tex2html_wrap_inline2976 . Since the bisection method keeps a bounded interval where there is at least one root at each step, it falls in the category of bracketing methods.

    A algorithmic definition of the bisection method is as follows:

  algorithm341

  example360
 



Paul Gray

Wed Oct 28 11:42:13 EST 1998