Namespaces
Variants
Actions

Dichotomy method

From Encyclopedia of Mathematics
Revision as of 17:33, 5 June 2020 by Ulf Rehmann (talk | contribs) (tex encoded by computer)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


method of division in halves

A method for numerically solving equations in a single unknown. Consider the equation $ f( x) = 0 $ with a continuous function $ f $ on the interval $ [ a, b] $ which takes values of different signs at the end points of the interval and which has a single root $ x _ {*} $ within $ [ a, b] $. To find $ x _ {*} $ approximately, one divides $ [ a, b] $ into halves and calculates the value of $ f( x _ {1} ) $ at the midpoint $ x _ {1} = ( a+ b)/2 $. If $ f( x _ {1} ) \neq 0 $, one takes the two intervals $ [ a, x _ {1} ] $ and $ [ x _ {1} , b] $ and from them selects for the next dichotomy the one at the end points of which the values of the function differ in sign. This continued division into halves gives a sequence $ x _ {1} , x _ {2} \dots $ which converges to the root $ x _ {*} $ with the rate of a geometrical progression:

$$ \tag{1 } | x _ {n} - x _ {*} | \leq \frac{b- a }{2 ^ {n} } ,\ \ n= 1, 2 \dots $$

where the bound (1) cannot be improved upon in this class of functions. If $ f $ has more than one root in $ [ a, b] $, the sequence will converge to one of them.

A method for minimizing a function of one variable. One has to find the minimum

$$ f _ {*} = \min _ {a \leq x \leq b } f( x) $$

of a unimodal function $ f $ on an interval $ [ a, b] $ and to determine the point $ x _ {*} $ at which it is attained. For this, one divides $ [ a, b] $ into halves and near the middle $ \overline{x}\; _ {1} = ( a+ b)/2 $ calculates the values of $ f $ at the two points $ x _ {1} = \overline{x}\; _ {1} - \epsilon /2 $ and $ x _ {2} = \overline{x}\; _ {1} + \epsilon /2 $, where the number $ \epsilon > 0 $ is a parameter of the method and is sufficiently small. Then the values $ f( x _ {1} ) $ and $ f( x _ {2} ) $ are compared, and on the basis that $ f $ is unimodal one selects from the two intervals $ [ a, x _ {2} ] $ and $ [ x _ {1} , b] $ the one that certainly contains $ x _ {*} $. For example, if $ f( x _ {1} ) \leq f( x _ {2} ) $, this will be $ [ a, x _ {2} ] $, otherwise $ [ x _ {1} , b] $. The interval is again divided into halves, and near the middle $ \overline{x}\; _ {2} $ one takes two points $ x _ {1} = \overline{x}\; _ {2} - \epsilon /2 $ and $ x _ {2} = \overline{x}\; _ {2} + \epsilon /2 $, compares the values of the function, etc. As a result, one obtains a sequence of midpoints $ \{ \overline{x}\; _ {n} \} $ for which

$$ \tag{2 } | \overline{x}\; _ {n} - x _ {*} | \leq \frac{b- a- \epsilon }{2 ^ {n} } + \frac \epsilon {2} ,\ \ n= 1, 2 , . . . . $$

As an approximation to $ f _ {*} $ the value $ f( \overline{ {x }}\; _ {n} ) $ for sufficiently large $ n $ is taken.

The name is given to the method because at each step in this algorithm the segment containing the minimum becomes approximately half the length. The dichotomy method is not the best in the class of unimodal functions. There are more effective methods that enable one to use the same number of calculations on the values of the function to obtain an accuracy better than that of (2) (see, for example, the Fibonacci method).

References

[1] B.P. Demidovich, I.A. Maron, "Foundations of computational mathematics" , Moscow (1966) (In Russian)
[2] D.J. Wilde, "Optimum seeking methods" , Prentice-Hall (1964)

Comments

The first example of the two dichotomy methods described above is known as the bisection method in the English literature. It is the classical example of an enclosure method (a two-sided method). Since its convergence is fairly slow, one has tried to device more rapidly converging methods. One such method which is often (but not always) faster than the bisection method and whose convergence is also guaranteed, is the Regula Falsi method (method of false position, see, e.g., [a1]). A modification of this method that avoids the disadvantage of the Regula Falsi method is a method of H. Brent [a2], which is based on an earlier algorithm of T. Dekker [a3].

A unimodal function on an interval is a function having only one extremum within the interval.

References

[a1] K.E. Atkinson, "An introduction to numerical analysis" , Wiley (1978)
[a2] H. Brent, "Algorithms for minimization without derivatives" , Prentice-Hall (1973)
[a3] T. Dekker, "Finding a zero by successive linear interpolation" B. Dejon (ed.) P. Henrici (ed.) , Constructive aspects of the fundamental theorem of algebra , Wiley (1969) pp. 37–48
How to Cite This Entry:
Dichotomy method. Encyclopedia of Mathematics. URL: http://encyclopediaofmath.org/index.php?title=Dichotomy_method&oldid=46648
This article was adapted from an original article by M.M. Potapov (originator), which appeared in Encyclopedia of Mathematics - ISBN 1402006098. See original article