By Rick Stoll |
|
The Bisection Method at the same time gives a proof of the Intermediate Value Theorem and provides a practical method to find roots of equations. If your calculator can solve equations numerically, it most likely uses a combination of the Bisection Method and the Newton-Raphson Method. Recall the statement of the Intermediate Value Theorem: Let f (x)
be a continuous function on the interval [a, b]. If
d By replacing f (x) by f (x) - d, we may
assume that d = 0; it then suffices to obtain the following version: Let f
(x) be a continuous function on the interval [a, b]. If f
(a) and f (b) have opposite signs, then there is a
c Here is an outline of its proof: Let's assume that f (a) < 0, while f (b) > 0, the other case being handled similarly. Set a0 = a and b0 = b. Now consider the midpoint
m0 = You probably guess this by now: we will do this procedure again and again. Here is the second step: Consider the midpoint
m1 =
Continuing in this fashion we construct by induction two sequences
(an)n = 1
![]() ![]() with the following properties:
It follows from the first two properties that the sequences (an) and (bn) converge; set
![]() ![]() The third property and the continuity of the function f (x) imply that f (a) ![]() ![]() The crucial observation is the fact that the fourth property implies that a = b. Consequently, f (a) = f (b) = 0, and we are done.
Example. Let's compute numerical approximations for the
A comparison of the Bisection Method and the Newton-Raphson Method. The Newton-Raphson Method is often much faster than the Bisection Method. In the last example, we started with an interval of length 1. After 10 steps, the interval [a10, b10] has length 1/1024. Consequently every 10 steps of the Bisection Method will give us about 3 digits more accuracy - that is rather slow. (On the Newton-Raphson Method page, we did the same example, compare the speeds of convergence!) The Newton-Raphson Method can be unreliable: If the algorithm encounters a point x where f '(x) = 0, it crashes; if it encounters points where the derivative is very close to 0, it will become very unreliable. The Bisection Method on the other hand will always work, once you have found starting points a and b where the function takes opposite signs. |
Send mail to m_engineer2002@netzero.com with
questions or comments about this web site.
|