In
mathematics, a Cauchy sequence (; ), named after
Augustin-Louis Cauchy
Baron Augustin-Louis Cauchy (, ; ; 21 August 178923 May 1857) was a French mathematician, engineer, and physicist who made pioneering contributions to several branches of mathematics, including mathematical analysis and continuum mechanics. H ...
, is a
sequence
In mathematics, a sequence is an enumerated collection of objects in which repetitions are allowed and order matters. Like a set, it contains members (also called ''elements'', or ''terms''). The number of elements (possibly infinite) is called ...
whose
elements
Element or elements may refer to:
Science
* Chemical element, a pure substance of one type of atom
* Heating element, a device that generates heat by electrical resistance
* Orbital elements, parameters required to identify a specific orbit of ...
become arbitrarily close to each other as the sequence progresses. More precisely, given any small positive distance, all but a finite number of elements of the sequence are less than that given distance from each other.
It is not sufficient for each term to become arbitrarily close to the term. For instance, in the sequence of square roots of natural numbers:
the consecutive terms become arbitrarily close to each other:
However, with growing values of the index , the terms
become arbitrarily large. So, for any index and distance , there exists an index big enough such that
(Actually, any
suffices.) As a result, despite how far one goes, the remaining terms of the sequence never get close to ; hence the sequence is not Cauchy.
The utility of Cauchy sequences lies in the fact that in a
complete metric space
In mathematical analysis, a metric space is called complete (or a Cauchy space) if every Cauchy sequence of points in has a limit that is also in .
Intuitively, a space is complete if there are no "points missing" from it (inside or at the bo ...
(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
algorithm
In mathematics and computer science, an algorithm () is a finite sequence of rigorous instructions, typically used to solve a class of specific problems or to perform a computation. Algorithms are used as specifications for performing ...
s, 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
of real numbers is called a Cauchy sequence if for every
positive real number
there is a positive
integer
An integer is the number zero (), a positive natural number (, , , etc.) or a negative integer with a minus sign ( −1, −2, −3, etc.). The negative numbers are the additive inverses of the corresponding positive numbers. In the language ...
''N'' such that for all
natural numbers
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
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
this sequence is (3, 3.1, 3.14, 3.141, ...). The ''m''th and ''n''th terms differ by at most
when ''m'' < ''n'', and as ''m'' grows this becomes smaller than any fixed positive number
Modulus of Cauchy convergence
If
is a sequence in the set
then a ''modulus of Cauchy convergence'' for the sequence is a
function from the set of
natural number
In mathematics, the natural numbers are those numbers used for counting (as in "there are ''six'' coins on the table") and ordering (as in "this is the ''third'' largest city in the country").
Numbers used for counting are called '' cardinal ...
s to itself, such that for all natural numbers
and natural numbers
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
be the smallest possible
in the definition of Cauchy sequence, taking
to be
). The existence of a modulus also follows from the principle of
dependent choice, which is a weak form of the axiom of choice, and it also follows from an even weaker condition called AC
00. ''Regular Cauchy sequences'' are sequences with a given modulus of Cauchy convergence (usually
or
). 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 and by 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
is replaced by the distance
(where ''d'' denotes a
metric) between
and
Formally, given a
metric space
In mathematics, a metric space is a set together with a notion of '' distance'' between its elements, usually called points. The distance is measured by a function called a metric or distance function. Metric spaces are the most general sett ...
a sequence
is Cauchy, if for every positive
real number
In mathematics, a real number is a number that can be used to measurement, measure a ''continuous'' one-dimensional quantity such as a distance, time, duration or temperature. Here, ''continuous'' means that values can have arbitrarily small var ...
there is a positive
integer
An integer is the number zero (), a positive natural number (, , , etc.) or a negative integer with a minus sign ( −1, −2, −3, etc.). The negative numbers are the additive inverses of the corresponding positive numbers. In the language ...
such that for all positive integers
the distance
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
Limit or Limits may refer to:
Arts and media
* ''Limit'' (manga), a manga by Keiko Suenobu
* ''Limit'' (film), a South Korean film
* Limit (music), a way to characterize harmony
* "Limit" (song), a 2016 single by Luna Sea
* "Limits", a 2019 ...
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 number
In mathematics, a real number is a number that can be used to measurement, measure a ''continuous'' one-dimensional quantity such as a distance, time, duration or temperature. Here, ''continuous'' means that values can have arbitrarily small var ...
s are complete under the metric induced by the usual absolute value, and one of the standard
constructions of the real numbers
In mathematics, there are several equivalent ways of defining the real numbers. One of them is that they form a complete ordered field that does not contain any smaller complete ordered field. Such a definition does not prove that such a complete o ...
involves Cauchy sequences of
rational number
In mathematics, a rational number is a number that can be expressed as the quotient or fraction of two integers, a numerator and a non-zero denominator . For example, is a rational number, as is every integer (e.g. ). The set of all ra ...
s. 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 number
In mathematics, a rational number is a number that can be expressed as the quotient or fraction of two integers, a numerator and a non-zero denominator . For example, is a rational number, as is every integer (e.g. ). The set of all ra ...
s
are not complete (for the usual distance):
There are sequences of rationals that converge (in
) to
irrational numbers; these are Cauchy sequences having no limit in
In fact, if a real number ''x'' is irrational, then the sequence (''x''
''n''), 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
for example:
* The sequence defined by
consists of rational numbers (1, 3/2, 17/12,...), which is clear from the definition; however it converges to the
irrational square root of two, see
Babylonian method of computing square root.
* The sequence
of ratios of consecutive
Fibonacci numbers which, if it converges at all, converges to a limit
satisfying
and no rational number has this property. If one considers this as a sequence of real numbers, however, it converges to the real number
the
Golden ratio
In mathematics, two quantities are in the golden ratio if their ratio is the same as the ratio of their sum to the larger of the two quantities. Expressed algebraically, for quantities a and b with a > b > 0,
where the Greek letter phi ( ...
, 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
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
in the set of real numbers with an ordinary distance in
is not a complete space: there is a sequence
in it, which is Cauchy (for arbitrarily small distance bound
all terms
of
fit in the
interval), however does not converge in
— its 'limit', number 0, does not belong to the space
Other properties
* Every convergent sequence (with limit ''s'', say) is a Cauchy sequence, since, given any real number
beyond some fixed point, every term of the sequence is within distance
of ''s'', so any two terms of the sequence are within distance
of each other.
* In any metric space, a Cauchy sequence
is
bounded
Boundedness or bounded may refer to:
Economics
* Bounded rationality, the idea that human rationality in decision-making is bounded by the available information, the cognitive limitations, and the time available to make the decision
* Bounded e ...
(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
and any terms up to the ''N''-th, then no term of the sequence has distance greater than
from
).
* 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 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