Rate of convergence explained

In numerical analysis, the order of convergence and the rate of convergence of a convergent sequence are quantities that represent how quickly the sequence approaches its limit. A sequence

(xn)

that converges to

L

is said to have order of convergence

q\geq1

and rate of convergence

\mu

if

\limn

\left|xn+1-L\right|
\left|xn-L\right|q

=\mu.

[1] The rate of convergence

\mu

is also called the asymptotic error constant.Note that this terminology is not standardized and some authors will use rate wherethis article uses order (e.g., [2]).

In practice, the rate and order of convergence provide useful insights when using iterative methods for calculating numerical approximations. If the order of convergence is higher, then typically fewer iterations are necessary to yield a useful approximation. Strictly speaking, however, the asymptotic behavior of a sequence does not give conclusive information about any finite part of the sequence.

Similar concepts are used for discretization methods. The solution of the discretized problem converges to the solution of the continuous problem as the grid size goes to zero, and the speed of convergence is one of the factors of the efficiency of the method. However, the terminology, in this case, is different from the terminology for iterative methods.

Series acceleration is a collection of techniques for improving the rate of convergence of a series discretization. Such acceleration is commonly accomplished with sequence transformations.

Convergence speed for iterative methods

Convergence definitions

(xk)

converges to the number

L

. The sequence is said to converge with order

q

to

L

, and with a rate of convergence of

\mu

, iffor some positive constant

\mu\in(0,infty)

if

q>1

, and

\mu\in(0,1)

if

q=1

.[3] [4] It is not necessary, however, that

q

be an integer. For example, the secant method, when converging to a regular, simple root, has an order of φ ≈ 1.618.

Convergence with order

q=1

is called linear convergence if

\mu\in(0,1)

, and the sequence is said to converge Q-linearly to

L

.

q=2

is called quadratic convergence.

q=3

is called cubic convergence.

Order estimation

A practical method to calculate the order of convergence for a sequence generated by a fixed point iteration is to calculate the following sequence, which converges to

q

:[5] q \approx \frac.

For numerical approximation of an exact value through a numerical method of order q see [6]

Q-convergence definitions

In addition to the previously defined Q-linear convergence, a few other Q-convergence definitions exist. Given Definition 1 defined above, the sequence is said to converge Q-superlinearly to

L

(i.e. faster than linearly) in all the cases where

q>1

and also the case

q=1,\mu=0

.[7] Given Definition 1, the sequence is said to
converge Q-sublinearly to

L

(i.e. slower than linearly) if

q=1,\mu=1

. The sequence

(xk)

converges logarithmically to

L

if the sequence converges sublinearly and additionally if[8] \lim_ \frac
= 1.Note that unlike previous definitions, logarithmic convergence is not called "Q-logarithmic."

In the definitions above, the "Q-" stands for "quotient" because the terms are defined using the quotient between two successive terms.[9] Often, however, the "Q-" is dropped and a sequence is simply said to have linear convergence, quadratic convergence, etc.

R-convergence definition

The Q-convergence definitions have a shortcoming in that they do not include some sequences, such as the sequence

(bk)

below, which converge reasonably fast, but whose rate is variable. Therefore, the definition of rate of convergence is extended as follows.

Suppose that

(xk)

converges to

L

. The sequence is said to converge R-linearly to

L

if there exists a sequence

(\varepsilonk)

such that|x_k - L|\le\varepsilon_k\quad\textk \,,and

(\varepsilonk)

converges Q-linearly to zero.[10] The "R-" prefix stands for "root".[11]

Examples

Consider the sequence(a_k) = \left\. It can be shown that this sequence converges to

L=0

. To determine the type of convergence, we plug the sequence into the definition of Q-linear convergence,\lim_ \frac = \lim_ \frac = \frac. Thus, we find that

(ak)

converges Q-linearly and has a convergence rate of

\mu=1/2

.More generally, for any

c\inR,\mu\in(-1,1)

, the sequence

(c\muk)

converges linearly with rate

|\mu|

.

The sequence (b_k) = \left\ also converges linearly to 0 with rate 1/2 under the R-convergence definition, but not under the Q-convergence definition. (Note that

\lfloorx\rfloor

is the floor function, which gives the largest integer that is less than or equal to

x

.)

The sequence (c_k) = \left\converges superlinearly. In fact, it is quadratically convergent.

Finally, the sequence (d_k) = \left\converges sublinearly and logarithmically.

Convergence speed for discretization methods

A similar situation exists for discretization methods designed to approximate a function

y=f(x)

, which might be an integral being approximated by numerical quadrature, or the solution of an ordinary differential equation (see example below). The discretization method generates a sequence

{y0,y1,y2,y3,...}

, where each successive

yj

is a function of

yj-1,yj-2,...

along with the grid spacing

h

between successive values of the independent variable

x

. The important parameter here for the convergence speed to

y=f(x)

is the grid spacing

h

, inversely proportional to the number of grid points, i.e. the number of points in the sequence required to reach a given value of

x

.

In this case, the sequence

(yn)

is said to converge to the sequence

f(xn)

with order q if there exists a constant C such that

|yn-f(xn)|<Chqforalln.

This is written as

|yn-f(xn)|=l{O}(hq)

using big O notation.

This is the relevant definition when discussing methods for numerical quadrature or the solution of ordinary differential equations (ODEs).

A practical method to estimate the order of convergence for a discretization method is pick step sizes

hnew

and

hold

and calculate the resulting errors

enew

and

eold

. The order of convergence is then approximated by the following formula:

q

log(enew/eold)
log(hnew/hold)

,

which comes from writing the truncation error, at the old and new grid spacings, as

e=|yn-f(xn)|=l{O}(hq).

The error

e

is, more specifically, a global truncation error (GTE), in that it represents a sum of errors accumulated over all

n

iterations, as opposed to a local truncation error (LTE) over just one iteration.

Example of discretization methods

Consider the ordinary differential equation

dy
dx

=-\kappay

with initial condition

y(0)=y0

. We can solve this equation using the Forward Euler scheme for numerical discretization:
yn+1-yn
h

=-\kappayn,

which generates the sequence

yn+1=yn(1-h\kappa).

In terms of

y(0)=y0

, this sequence is as follows, from the Binomial theorem: y_ = y_0(1 - h\kappa)^n = y_0\left(1 - nh\kappa + n(n-1)\frac + ....\right).

The exact solution to this ODE is

y=f(x)=y0\exp(-\kappax)

, corresponding to the following Taylor expansion in

h\kappa

for

h\kappa\ll1

: f(x_n) = f(nh) = y_0\exp(-\kappa nh) = y_0\left[\exp(-\kappa h)\right]^n = y_0\left(1 - h\kappa + \frac + ....\right)^n = y_0\left(1 - nh\kappa + \frac + ...\right).

In this case, the truncation error is

e=|yn-f(xn)|=

nh2\kappa2
2

=l{O}(h2),

so

(yn)

converges to

f(xn)

with a convergence rate

q=2

.

Examples (continued)

The sequence

(dk)

with

dk=1/(k+1)

was introduced above. This sequence converges with order 1 according to the convention for discretization methods.

The sequence

(ak)

with

ak=2-k

, which was also introduced above, converges with order q for every number q. It is said to converge exponentially using the convention for discretization methods. However, it only converges linearly (that is, with order 1) using the convention for iterative methods.

Recurrent sequences and fixed points

The case of recurrent sequences

xn+1:=f(xn)

which occurs in dynamical systems and in the context of various fixed-point theorems is of particular interest. Assuming that the relevant derivatives of f are continuous, one can (easily) show that for a fixed point

f(p)=p

such that

|f'(p)|<1

, one has at least linear convergence for any starting value

x0

sufficiently close to p. If

|f'(p)|=0

and

|f''(p)|<1

, then one has at least quadratic convergence, and so on. If

|f'(p)|>1

, then one has a repulsive fixed point and no starting value will produce a sequence converging to p (unless one directly jumps to the point p itself).

Acceleration of convergence

See main article: series acceleration. Many methods exist to increase the rate of convergence of a given sequence, i.e., to transform a given sequence into one converging faster to the same limit. Such techniques are in general known as "series acceleration". The goal is to reduce the computational cost of approximating the limit of the transformed sequence. One example of series acceleration is Aitken's delta-squared process. These methods in general (and in particular Aitken's method) do not increase the order of convergence, and are useful only if initially the convergence is not faster than linear: If

(xn)

convergences linearly, one gets a sequence

(an)

that still converges linearly (except for pathologically designed special cases), but faster in the sense that

\lim(an-L)/(xn-L)=0

. On the other hand, if the convergence is already of order ≥ 2, Aitken's method will bring no improvement.

Literature

The simple definition is used in

The extended definition is used in

The Big O definition is used in

The terms Q-linear and R-linear are used in

Notes and References

  1. Web site: Order and rate of convergence . Ruye . Wang . 2015-02-12 . hmc.edu . 2020-07-31 .
  2. Web site: Computing and Estimating the Rate of Convergence . Senning . Jonathan R. . gordon.edu . 2020-08-07 .
  3. Web site: Hundley . Douglas . Rate of Convergence . 2020-12-13 . Whitman College.
  4. Porta . F. A. . 1989 . On Q-Order and R-Order of Convergence . Journal of Optimization Theory and Applications . 63 . 3 . 415–431 . 10.1007/BF00939805 . 2020-07-31 . 116192710.
  5. Web site: Senning . Jonathan R. . Computing and Estimating the Rate of Convergence . 2020-08-07 . gordon.edu.
  6. Web site: Senning . Jonathan R. . Verifying Numerical Convergence Rates. 2024-02-09 .
  7. Web site: Arnold . Mark . Order of Convergence . 2022-12-13 . University of Arkansas.
  8. Van Tuyl . Andrew H. . 1994 . Acceleration of convergence of a family of logarithmically convergent sequences . Mathematics of Computation . 63 . 207 . 229–246 . 10.2307/2153571 . 2153571 . 2020-08-02.
  9. Book: Nocedal . Jorge . Wright . Stephen J. . Numerical Optimization . . Berlin, New York . 2nd . 978-0-387-30303-1 . 2006 .
  10. Web site: Rates of Convergence . Bockelman . Brian . 2005 . math.unl.edu . 2020-07-31 .
  11. Book: Nocedal . Jorge . Wright . Stephen J. . Numerical Optimization . . Berlin, New York . 2nd . 978-0-387-30303-1 . 2006 .