Topics: Numerical Analysis


The bisection method is a closed numerical method that can solve equations (i.e. find the zeroes (roots) of the associated function).

As it name implies, to find a given zero, this method bisects a given interval in the function.

Procedure

Let be any continuous function defined in an interval , with and having different signs. Then, there exists a , , such that :

To find , we follow these steps:

  1. We choose an initial interval
  2. To guarantee that the interval contains a root, we verify that
  3. We calculate the middle point of this interval:
  4. We verify that , where is the tolerated solution interval. If this is true, then the process is done. If it is not, then we continue with the next step
  5. We locate the half that contains the root and we reassign the interval:
    • If , then (i.e. our new will be )
    • If not, then
  6. We redivide the interval (step 3 and onward)

Considerations

Solution and Approximation

This method finds the root when . However, this method only yields an approximation, so it is necessary to determine a margin of tolerance (this is what we called in the previous steps).

Also note that this method finds only one root out of all the possible roots of the equation.

When to Stop

We can stop this method when we have reached a root that’s within the margin of error. However, we can also stop this method after a certain number of iterations.

With an error margin , the number of iterations carried out, and the last approximation, we can stop the method when any of the following becomes true, according to our needs:

Advantages and Disadvantages

Advantages:

  • It always converges to a solution
  • It’s used as an initial part of other more efficient methods
  • It’s easy to program
  • The final interval serves as an error bound

Disadvantages:

  • It converges slowly
  • If the interval doesn’t contain a root, the method will approximate to the original limits
  • If the interval contains more than one solution, it could find any of them, or reach a value that is not a root

Convergence

(theorem)

Let and suppose that . The bisection method generates a sequence that approximates with the property:

…given . Notice that this property is basically the error bound we mentioned earlier in the advantages of the method.