Some things about iterative sequences

How would one, using only pen and paper, construct a sequence of rational numbers that approaches the number ? This is not a simple question for many, as nowadays most people haven’t had to calculate approximations for square roots without a calculator. A simple way to solve this problem is by noting that, if x is any positive rational number, then the number is always between the numbers x and 2/x. So, we can make the sequence by starting with and then calculating the number as the average value of and :

This sequence approaches the number rather quickly. The square root of some other integer m could be calculated with the same method by using the iteration rule . This method also produces error bars for the approximate results, as we always have or

More generally, if one wants to find an iterative sequence that approaches a number x that has some desired property described by the equation , the iteration rules to try are of the form , where c is some positive or negative constant. Note that the number x is a “fixed point” of this iteration, which means that if for some n, the number is already exactly , then all the numbers with k>n are equal to x.

Depending on the choice of the initial guess and the factor c, these iterations can converge towards the desired result either quickly (like the iteration for above), slowly or not at all. Suppose we want to find a solution for the cubic equation by iteration. If we try to set and , we get the quickly diverging sequence

and so on. If we choose instead, the sequence converges towards the solution , but rather slowly:

…

Sometimes this kind of iterations can also get “stuck in a loop”, bouncing between two values and not converging towards any number, like the sequence , , , , , …

Sometimes the property that defines the number that we’re seeking is not defined by a polynomial equation. For example, the Lambert W function W(x) is defined by

.

Obviously, if we want to find an approximation of W(x) for some x, we could try an iteration with rule where c is some positive or negative number between -1 and 1. But this, of course doesn’t produce rational number approximations like the iterations in the examples above did. Other things that have to be calculated iteratively, are the solutions of transcendental equations like , which appear in the quantum theory of finite potential wells and the analysis of nonlinear electronic circuits (those that have diodes or other nonlinear components in them).

So, if you have to keep a presentation about convergence and iterations in some maths course, playing with this kind of calculations is a good way to construct multiple example cases of slowly or quickly converging sequences!