Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

 Open In Colab

Order of convergence

Iterative search methods are characterized by their order of convergence, which measure how successive guesses approach the true root. Given the true root xx, we can check how successive guesses approach it by calculating the error:

xi+1−x∝[xi−x]kx^{i+1}-x \propto [x^{i}-x]^k

where kk is the order.

Bisection methods

Bisection methods are essentially a binary search for the root. If f(x)f(x) is continuous between bounds aa and b>ab>a and f(a)f(a) and f(b)f(b) are opposite signs, there must be a point cc where f(c)=0f(c)=0.

The algorithm is:

Given brackets aa and bb

Calculate the midpoint c=(b−a)/2c = (b-a)/2.

If f(c)≈0f(c) \approx 0 or a≈ba \approx b: exit.

If f(c)>0f(c)>0: set a=ca = c

If f(c)<0f(c)<0: set b=cb = c

repeat

Graphically this is:

Intermediate-value-theoremBisection-method

The error of the Bisection Method generaly follows:

xi+1−x=12[xi−x]x^{i+1}-x = \frac{1}{2} [x^{i}-x]

and therefore has a linear order of convergence (k=1k=1).

Method of False Position (Regula falsi)

Let’s use more information! In bisection we are only interested in f(a,b)f(a,b) switching signs, but it stands to reason the larger f(b)f(b) is compared to f(a)f(a), the further the root is from bb!

The method of false position uses this information to determine the next candidate solution:

c=b−f(b)b−af(b)−f(a)c= b - f(b) \frac{b-a}{f(b)-f(a)}

The same algorithm as for bisection is then applied to replace either aa or bb with cc so that the root remains bracketted.

Note that the line joining the brackets approximates the tangent of the curve.

The method of False Position has an order of convergence of 1.618 (the Golden Ratio!):

xi+1−x∝[xi−x]1.618x^{i+1}-x \propto [x^i-x]^{1.618}

This is considered superlinear and a good thing!

Comparison of bracketting methods

We can compare bisection vs False position directly.

Summary of bracketting methods

Bracketting methods are usually robust but slow to converge and generlization to N-D is not trivial.

Through incorporating the additional information of linear interpolation, the method of False Position achieves superlinear convergence.

But bracketting is complicated in N-D, so let’s try to remove it.