Brent's Method - Dekker's Method

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?)

    Steady labor with the hands, which engrosses the attention also, is unquestionably the best method of removing palaver and sentimentality out of one’s style, both of speaking and writing.
    Henry David Thoreau (1817–1862)