Cauchy sequence

From HandWiki
Short description: Sequence of points that get progressively closer to each other
(a) The plot of a Cauchy sequence [math]\displaystyle{ (x_n), }[/math] shown in blue, as [math]\displaystyle{ x_n }[/math] versus [math]\displaystyle{ n. }[/math] If the space containing the sequence is complete, then the sequence has a limit.
(b) A sequence that is not Cauchy. The elements of the sequence do not get arbitrarily close to each other as the sequence progresses.

In mathematics, a Cauchy sequence is a sequence whose elements become arbitrarily close to each other as the sequence progresses.[1] More precisely, given any small positive distance, all excluding a finite number of elements of the sequence are less than that given distance from each other. Cauchy sequences are named after Augustin-Louis Cauchy; they may occasionally be known as fundamental sequences.[2]

It is not sufficient for each term to become arbitrarily close to the preceding term. For instance, in the sequence of square roots of natural numbers: [math]\displaystyle{ a_n=\sqrt n, }[/math] the consecutive terms become arbitrarily close to each other – their differences [math]\displaystyle{ a_{n+1}-a_n = \sqrt{n+1}-\sqrt{n} = \frac{1}{\sqrt{n+1}+\sqrt{n}} \lt \frac{1}{2\sqrt n} }[/math] tend to zero as the index n grows. However, with growing values of n, the terms [math]\displaystyle{ a_n }[/math] become arbitrarily large. So, for any index n and distance d, there exists an index m big enough such that [math]\displaystyle{ a_m - a_n \gt d. }[/math] As a result, no matter how far one goes, the remaining terms of the sequence never get close to each other; hence the sequence is not Cauchy.

The utility of Cauchy sequences lies in the fact that in a complete metric space (one where all such sequences are known to converge to a limit), the criterion for convergence depends only on the terms of the sequence itself, as opposed to the definition of convergence, which uses the limit value as well as the terms. This is often exploited in algorithms, both theoretical and applied, where an iterative process can be shown relatively easily to produce a Cauchy sequence, consisting of the iterates, thus fulfilling a logical condition, such as termination.

Generalizations of Cauchy sequences in more abstract uniform spaces exist in the form of Cauchy filters and Cauchy nets.

In real numbers

A sequence [math]\displaystyle{ x_1, x_2, x_3, \ldots }[/math] of real numbers is called a Cauchy sequence if for every positive real number [math]\displaystyle{ \varepsilon, }[/math] there is a positive integer N such that for all natural numbers [math]\displaystyle{ m, n \gt N, }[/math] [math]\displaystyle{ |x_m - x_n| \lt \varepsilon, }[/math] where the vertical bars denote the absolute value. In a similar way one can define Cauchy sequences of rational or complex numbers. Cauchy formulated such a condition by requiring [math]\displaystyle{ x_m - x_n }[/math] to be infinitesimal for every pair of infinite m, n.

For any real number r, the sequence of truncated decimal expansions of r forms a Cauchy sequence. For example, when [math]\displaystyle{ r = \pi, }[/math] this sequence is (3, 3.1, 3.14, 3.141, ...). The mth and nth terms differ by at most [math]\displaystyle{ 10^{1-m} }[/math] when m < n, and as m grows this becomes smaller than any fixed positive number [math]\displaystyle{ \varepsilon. }[/math]

Modulus of Cauchy convergence

If [math]\displaystyle{ (x_1, x_2, x_3, ...) }[/math] is a sequence in the set [math]\displaystyle{ X, }[/math] then a modulus of Cauchy convergence for the sequence is a function [math]\displaystyle{ \alpha }[/math] from the set of natural numbers to itself, such that for all natural numbers [math]\displaystyle{ k }[/math] and natural numbers [math]\displaystyle{ m, n \gt \alpha(k), }[/math] [math]\displaystyle{ |x_m - x_n| \lt 1/k. }[/math]

Any sequence with a modulus of Cauchy convergence is a Cauchy sequence. The existence of a modulus for a Cauchy sequence follows from the well-ordering property of the natural numbers (let [math]\displaystyle{ \alpha(k) }[/math] be the smallest possible [math]\displaystyle{ N }[/math] in the definition of Cauchy sequence, taking [math]\displaystyle{ \varepsilon }[/math] to be [math]\displaystyle{ 1/k }[/math]). The existence of a modulus also follows from the principle of countable choice. Regular Cauchy sequences are sequences with a given modulus of Cauchy convergence (usually [math]\displaystyle{ \alpha(k) = k }[/math] or [math]\displaystyle{ \alpha(k) = 2^k }[/math]). Any Cauchy sequence with a modulus of Cauchy convergence is equivalent to a regular Cauchy sequence; this can be proven without using any form of the axiom of choice.

Moduli of Cauchy convergence are used by constructive mathematicians who do not wish to use any form of choice. Using a modulus of Cauchy convergence can simplify both definitions and theorems in constructive analysis. Regular Cauchy sequences were used by (Bishop 2012) and by (Bridges 1997) in constructive mathematics textbooks.

In a metric space

Since the definition of a Cauchy sequence only involves metric concepts, it is straightforward to generalize it to any metric space X. To do so, the absolute value [math]\displaystyle{ \left|x_m - x_n\right| }[/math] is replaced by the distance [math]\displaystyle{ d\left(x_m, x_n\right) }[/math] (where d denotes a metric) between [math]\displaystyle{ x_m }[/math] and [math]\displaystyle{ x_n. }[/math]

Formally, given a metric space [math]\displaystyle{ (X, d), }[/math] a sequence [math]\displaystyle{ x_1, x_2, x_3, \ldots }[/math] is Cauchy, if for every positive real number [math]\displaystyle{ \varepsilon \gt 0 }[/math] there is a positive integer [math]\displaystyle{ N }[/math] such that for all positive integers [math]\displaystyle{ m, n \gt N, }[/math] the distance [math]\displaystyle{ d\left(x_m, x_n\right) \lt \varepsilon. }[/math]

Roughly speaking, the terms of the sequence are getting closer and closer together in a way that suggests that the sequence ought to have a limit in X. Nonetheless, such a limit does not always exist within X: the property of a space that every Cauchy sequence converges in the space is called completeness, and is detailed below.

Completeness

A metric space (X, d) in which every Cauchy sequence converges to an element of X is called complete.

Examples

The real numbers are complete under the metric induced by the usual absolute value, and one of the standard constructions of the real numbers involves Cauchy sequences of rational numbers. In this construction, each equivalence class of Cauchy sequences of rational numbers with a certain tail behavior—that is, each class of sequences that get arbitrarily close to one another— is a real number.

A rather different type of example is afforded by a metric space X which has the discrete metric (where any two distinct points are at distance 1 from each other). Any Cauchy sequence of elements of X must be constant beyond some fixed point, and converges to the eventually repeating term.

Non-example: rational numbers

The rational numbers [math]\displaystyle{ \Q }[/math] are not complete (for the usual distance):
There are sequences of rationals that converge (in [math]\displaystyle{ \R }[/math]) to irrational numbers; these are Cauchy sequences having no limit in [math]\displaystyle{ \Q. }[/math] In fact, if a real number x is irrational, then the sequence (xn), whose n-th term is the truncation to n decimal places of the decimal expansion of x, gives a Cauchy sequence of rational numbers with irrational limit x. Irrational numbers certainly exist in [math]\displaystyle{ \R, }[/math] for example:

  • The sequence defined by [math]\displaystyle{ x_0=1, x_{n+1}=\frac{x_n+2/x_n}{2} }[/math] consists of rational numbers (1, 3/2, 17/12,...), which is clear from the definition; however it converges to the irrational square root of 2, see Babylonian method of computing square root.
  • The sequence [math]\displaystyle{ x_n = F_n / F_{n-1} }[/math] of ratios of consecutive Fibonacci numbers which, if it converges at all, converges to a limit [math]\displaystyle{ \phi }[/math] satisfying [math]\displaystyle{ \phi^2 = \phi+1, }[/math] and no rational number has this property. If one considers this as a sequence of real numbers, however, it converges to the real number [math]\displaystyle{ \varphi = (1+\sqrt5)/2, }[/math] the Golden ratio, which is irrational.
  • The values of the exponential, sine and cosine functions, exp(x), sin(x), cos(x), are known to be irrational for any rational value of [math]\displaystyle{ x \neq 0, }[/math] but each can be defined as the limit of a rational Cauchy sequence, using, for instance, the Maclaurin series.

Non-example: open interval

The open interval [math]\displaystyle{ X = (0, 2) }[/math] in the set of real numbers with an ordinary distance in [math]\displaystyle{ \R }[/math] is not a complete space: there is a sequence [math]\displaystyle{ x_n = 1/n }[/math] in it, which is Cauchy (for arbitrarily small distance bound [math]\displaystyle{ d \gt 0 }[/math] all terms [math]\displaystyle{ x_n }[/math] of [math]\displaystyle{ n \gt 1/d }[/math] fit in the [math]\displaystyle{ (0, d) }[/math] interval), however does not converge in [math]\displaystyle{ X }[/math] — its 'limit', number 0, does not belong to the space [math]\displaystyle{ X . }[/math]

Other properties

  • Every convergent sequence (with limit s, say) is a Cauchy sequence, since, given any real number [math]\displaystyle{ \varepsilon \gt 0, }[/math] beyond some fixed point, every term of the sequence is within distance [math]\displaystyle{ \varepsilon/2 }[/math] of s, so any two terms of the sequence are within distance [math]\displaystyle{ \varepsilon }[/math] of each other.
  • In any metric space, a Cauchy sequence [math]\displaystyle{ x_n }[/math] is bounded (since for some N, all terms of the sequence from the N-th onwards are within distance 1 of each other, and if M is the largest distance between [math]\displaystyle{ x_N }[/math] and any terms up to the N-th, then no term of the sequence has distance greater than [math]\displaystyle{ M + 1 }[/math] from [math]\displaystyle{ x_N }[/math]).
  • In any metric space, a Cauchy sequence which has a convergent subsequence with limit s is itself convergent (with the same limit), since, given any real number r > 0, beyond some fixed point in the original sequence, every term of the subsequence is within distance r/2 of s, and any two terms of the original sequence are within distance r/2 of each other, so every term of the original sequence is within distance r of s.

These last two properties, together with the Bolzano–Weierstrass theorem, yield one standard proof of the completeness of the real numbers, closely related to both the Bolzano–Weierstrass theorem and the Heine–Borel theorem. Every Cauchy sequence of real numbers is bounded, hence by Bolzano–Weierstrass has a convergent subsequence, hence is itself convergent. This proof of the completeness of the real numbers implicitly makes use of the least upper bound axiom. The alternative approach, mentioned above, of constructing the real numbers as the completion of the rational numbers, makes the completeness of the real numbers tautological.

One of the standard illustrations of the advantage of being able to work with Cauchy sequences and make use of completeness is provided by consideration of the summation of an infinite series of real numbers (or, more generally, of elements of any complete normed linear space, or Banach space). Such a series [math]\displaystyle{ \sum_{n=1}^{\infty} x_n }[/math] is considered to be convergent if and only if the sequence of partial sums [math]\displaystyle{ (s_{m}) }[/math] is convergent, where [math]\displaystyle{ s_m = \sum_{n=1}^{m} x_n. }[/math] It is a routine matter to determine whether the sequence of partial sums is Cauchy or not, since for positive integers [math]\displaystyle{ p \gt q, }[/math] [math]\displaystyle{ s_p - s_q = \sum_{n=q+1}^p x_n. }[/math]

If [math]\displaystyle{ f : M \to N }[/math] is a uniformly continuous map between the metric spaces M and N and (xn) is a Cauchy sequence in M, then [math]\displaystyle{ (f(x_n)) }[/math] is a Cauchy sequence in N. If [math]\displaystyle{ (x_n) }[/math] and [math]\displaystyle{ (y_n) }[/math] are two Cauchy sequences in the rational, real or complex numbers, then the sum [math]\displaystyle{ (x_n + y_n) }[/math] and the product [math]\displaystyle{ (x_n y_n) }[/math] are also Cauchy sequences.

Generalizations

In topological vector spaces

There is also a concept of Cauchy sequence for a topological vector space [math]\displaystyle{ X }[/math]: Pick a local base [math]\displaystyle{ B }[/math] for [math]\displaystyle{ X }[/math] about 0; then ([math]\displaystyle{ x_k }[/math]) is a Cauchy sequence if for each member [math]\displaystyle{ V\in B, }[/math] there is some number [math]\displaystyle{ N }[/math] such that whenever [math]\displaystyle{ n,m \gt N, x_n - x_m }[/math] is an element of [math]\displaystyle{ V. }[/math] If the topology of [math]\displaystyle{ X }[/math] is compatible with a translation-invariant metric [math]\displaystyle{ d, }[/math] the two definitions agree.

In topological groups

Since the topological vector space definition of Cauchy sequence requires only that there be a continuous "subtraction" operation, it can just as well be stated in the context of a topological group: A sequence [math]\displaystyle{ (x_k) }[/math] in a topological group [math]\displaystyle{ G }[/math] is a Cauchy sequence if for every open neighbourhood [math]\displaystyle{ U }[/math] of the identity in [math]\displaystyle{ G }[/math] there exists some number [math]\displaystyle{ N }[/math] such that whenever [math]\displaystyle{ m,n\gt N }[/math] it follows that [math]\displaystyle{ x_n x_m^{-1} \in U. }[/math] As above, it is sufficient to check this for the neighbourhoods in any local base of the identity in [math]\displaystyle{ G. }[/math]

As in the construction of the completion of a metric space, one can furthermore define the binary relation on Cauchy sequences in [math]\displaystyle{ G }[/math] that [math]\displaystyle{ (x_k) }[/math] and [math]\displaystyle{ (y_k) }[/math] are equivalent if for every open neighbourhood [math]\displaystyle{ U }[/math] of the identity in [math]\displaystyle{ G }[/math] there exists some number [math]\displaystyle{ N }[/math] such that whenever [math]\displaystyle{ m,n\gt N }[/math] it follows that [math]\displaystyle{ x_n y_m^{-1} \in U. }[/math] This relation is an equivalence relation: It is reflexive since the sequences are Cauchy sequences. It is symmetric since [math]\displaystyle{ y_n x_m^{-1} = (x_m y_n^{-1})^{-1} \in U^{-1} }[/math] which by continuity of the inverse is another open neighbourhood of the identity. It is transitive since [math]\displaystyle{ x_n z_l^{-1} = x_n y_m^{-1} y_m z_l^{-1} \in U' U'' }[/math] where [math]\displaystyle{ U' }[/math] and [math]\displaystyle{ U'' }[/math] are open neighbourhoods of the identity such that [math]\displaystyle{ U'U'' \subseteq U }[/math]; such pairs exist by the continuity of the group operation.

In groups

There is also a concept of Cauchy sequence in a group [math]\displaystyle{ G }[/math]: Let [math]\displaystyle{ H=(H_r) }[/math] be a decreasing sequence of normal subgroups of [math]\displaystyle{ G }[/math] of finite index. Then a sequence [math]\displaystyle{ (x_n) }[/math] in [math]\displaystyle{ G }[/math] is said to be Cauchy (with respect to [math]\displaystyle{ H }[/math]) if and only if for any [math]\displaystyle{ r }[/math] there is [math]\displaystyle{ N }[/math] such that for all [math]\displaystyle{ m, n \gt N, x_n x_m^{-1} \in H_r. }[/math]

Technically, this is the same thing as a topological group Cauchy sequence for a particular choice of topology on [math]\displaystyle{ G, }[/math] namely that for which [math]\displaystyle{ H }[/math] is a local base.

The set [math]\displaystyle{ C }[/math] of such Cauchy sequences forms a group (for the componentwise product), and the set [math]\displaystyle{ C_0 }[/math] of null sequences (sequences such that [math]\displaystyle{ \forall r, \exists N, \forall n \gt N, x_n \in H_r }[/math]) is a normal subgroup of [math]\displaystyle{ C. }[/math] The factor group [math]\displaystyle{ C/C_0 }[/math] is called the completion of [math]\displaystyle{ G }[/math] with respect to [math]\displaystyle{ H. }[/math]

One can then show that this completion is isomorphic to the inverse limit of the sequence [math]\displaystyle{ (G/H_r). }[/math]

An example of this construction familiar in number theory and algebraic geometry is the construction of the [math]\displaystyle{ p }[/math]-adic completion of the integers with respect to a prime [math]\displaystyle{ p. }[/math] In this case, [math]\displaystyle{ G }[/math] is the integers under addition, and [math]\displaystyle{ H_r }[/math] is the additive subgroup consisting of integer multiples of [math]\displaystyle{ p_r. }[/math]

If [math]\displaystyle{ H }[/math] is a cofinal sequence (that is, any normal subgroup of finite index contains some [math]\displaystyle{ H_r }[/math]), then this completion is canonical in the sense that it is isomorphic to the inverse limit of [math]\displaystyle{ (G/H)_H, }[/math] where [math]\displaystyle{ H }[/math] varies over all normal subgroups of finite index. For further details, see Ch. I.10 in Lang's "Algebra".

In a hyperreal continuum

A real sequence [math]\displaystyle{ \langle u_n : n \in \N \rangle }[/math] has a natural hyperreal extension, defined for hypernatural values H of the index n in addition to the usual natural n. The sequence is Cauchy if and only if for every infinite H and K, the values [math]\displaystyle{ u_H }[/math] and [math]\displaystyle{ u_K }[/math] are infinitely close, or adequal, that is,

[math]\displaystyle{ \mathrm{st}(u_H-u_K)= 0 }[/math]

where "st" is the standard part function.

Cauchy completion of categories

(Krause 2020) introduced a notion of Cauchy completion of a category. Applied to [math]\displaystyle{ \Q }[/math] (the category whose objects are rational numbers, and there is a morphism from x to y if and only if [math]\displaystyle{ x \leq y }[/math]), this Cauchy completion yields [math]\displaystyle{ \R\cup\left\{\infty\right\} }[/math] (again interpreted as a category using its natural ordering).

See also

References

  1. Lang 1992.
  2. Ebbinghaus, Heinz-Dieter (1991). Numbers. New York: Springer. p. 40. 

Further reading

  • Bishop, Errett Albert (2012). Foundations of Constructive Analysis. Ishi Press. ISBN 9784871877145. 
  • Bridges, Douglas Sutherland (1997). Foundations of Constructive Analysis. Springer. ISBN 978-0-387-98239-7. 
  • Krause, Henning (2020). "Completing perfect complexes: With appendices by Tobias Barthel and Bernhard Keller". Mathematische Zeitschrift 296 (3–4): 1387–1427. doi:10.1007/s00209-020-02490-z. 
  • Lang, Serge (1992). Algebra (3d ed.). Reading, Mass.: Addison Wesley Publishing Company. ISBN 978-0-201-55540-0. 

External links