Dekker's Method
The idea to combine the bisection method with the secant method goes back to Dekker.
Suppose that we want to solve the equation f(x) = 0. As with the bisection method, we need to initialize Dekker's method with two points, say a0 and b0, such that f(a0) and f(b0) have opposite signs. If f is continuous on, the intermediate value theorem guarantees the existence of a solution between a0 and b0.
Three points are involved in every iteration:
- bk is the current iterate, i.e., the current guess for the root of f.
- ak is the "contrapoint," i.e., a point such that f(ak) and f(bk) have opposite signs, so the interval contains the solution. Furthermore, |f(bk)| should be less than or equal to |f(ak)|, so that bk is a better guess for the unknown solution than ak.
- bk−1 is the previous iterate (for the first iteration, we set bk−1 = a0).
Two provisional values for the next iterate are computed. The first one is given by linear interpolation, also known as the secant method:
and the second one is given by the bisection method
If the result of the secant method, s, lies strictly between bk and m, then it becomes the next iterate (bk+1 = s), otherwise the midpoint is used (bk+1 = m).
Then, the value of the new contrapoint is chosen such that f(ak+1) and f(bk+1) have opposite signs. If f(ak) and f(bk+1) have opposite signs, then the contrapoint remains the same: ak+1 = ak. Otherwise, f(bk+1) and f(bk) have opposite signs, so the new contrapoint becomes ak+1 = bk.
Finally, if |f(ak+1)| < |f(bk+1)|, then ak+1 is probably a better guess for the solution than bk+1, and hence the values of ak+1 and bk+1 are exchanged.
This ends the description of a single iteration of Dekker's method.
Read more about this topic: Brent's Method
Famous quotes containing the words dekker and/or method:
“Golden slumbers kiss your eyes,
Smiles awake you when you rise.
Sleep, pretty wantons, do not cry,
And I will sing a lullaby:
Rock them, rock them, lullaby.”
—Thomas Dekker (1572?1632?)
“Women are denied masturbation even more severely than men and thats another method of controltheyre not taught to please themselves.... Most womenit takes them a while to warm up to the situation but once they get into it, Im sure theyre going to get just as hooked aswell, everyone I know is!”
—Lydia Lunch (b. 1959)