Let (X,d)(X,d) be a metric space and (xn)\left(x_n\right) be a sequence in X.X. The sequence (xn)\left(x_n\right) is a Cauchy sequence if and only if its terms become arbitrarily close to one another.

∀ε>0 ∃N∈N:d(xm,xn)≤ε  ∀ m,n≥N\forall\varepsilon>0\,\exists N\in\mathbb{N}:d\left(x_m,x_n\right)\leq\varepsilon\,\,\forall\,m,n\geq N

Cauchy sequences have the following properties:

  • every convergent sequence is a Cauchy sequence;
  • every Cauchy sequence is bounded;
  • a Cauchy sequence with a convergent subsequence converges to the same limit.

Let (X,d)(X,d) be a metric space. The metric space XX is complete if and only if every Cauchy sequence in XX converges to a point of X.X. Complete metric spaces have the following properties:

  • the real numbers are complete, and so is Rn\mathbb{R}^n with any norm, since convergence in Rn\mathbb{R}^n is coordinatewise;
  • the rational numbers are not complete, since a sequence of rational numbers converging to 2\sqrt{2} is a Cauchy sequence with no limit in Q;\mathbb{Q};
  • the open interval (0,1)\left(0,1\right) is not complete, since (1n)\left(\frac{1}{n}\right) has no limit in it;
  • completeness is preserved by strong equivalence of metrics but not by equivalence;
  • if XX is complete and A⊆XA\subseteq X then the metric subspace AA is complete if and only if AA is closed in X;X;
  • a complete metric subspace of any metric space is closed.

A Banach space is a complete normed vector space. A Hilbert space is a complete inner product space. Every finite-dimensional normed vector space is a Banach space, and Rn\mathbb{R}^n with the dot product is a Hilbert space.

Let (X,d)(X,d) be a metric space. A completion of XX is a complete metric space that contains an isometric copy of XX as a dense subset. Every metric space has a completion, which is unique up to isometry. The real numbers are the completion of the rational numbers.

Let (X,d)(X,d) be a metric space and T:X→XT:X\rightarrow X be a function. A point x∗∈Xx^*\in X is a fixed point of TT if and only if T(x∗)=x∗.T\left(x^*\right)=x^*.

Let (X,d)(X,d) be a metric space and T:X→XT:X\rightarrow X be a function. The function TT is a contraction if and only if it is Lipschitz continuous with a constant q<1,q<1, so that it brings every pair of points closer together by at least the factor q.q.

d(T(x),T(y))≤q d(x,y)  ∀ x,y∈X,0≤q<1d\left(T(x),T(y)\right)\leq q\,d(x,y)\,\,\forall\,x,y\in X,\qquad 0\leq q<1

Let (X,d)(X,d) be a non-empty complete metric space and T:X→XT:X\rightarrow X be a contraction with constant q.q. The contraction mapping theorem or Banach fixed-point theorem states that TT has exactly one fixed point x∗,x^*, and that for any x0∈Xx_0\in X the sequence of iterates xn+1:=T(xn)x_{n+1}:=T\left(x_n\right) converges to x∗x^* with

d(xn,x∗)≤qn1−q d(x1,x0).d\left(x_n,x^*\right)\leq\frac{q^n}{1-q}\,d\left(x_1,x_0\right).

The iterates form a Cauchy sequence because d(xn+1,xn)≤qnd(x1,x0)d\left(x_{n+1},x_n\right)\leq q^n d\left(x_1,x_0\right) is summable, completeness gives the limit, continuity of TT makes the limit a fixed point and the contraction property rules out a second fixed point. The contraction mapping theorem has the following properties:

  • the constant q<1q<1 is essential: T(x)=x+1xT(x)=x+\frac{1}{x} on [1,∞)\left[1,\infty\right) satisfies d(T(x),T(y))<d(x,y)d\left(T(x),T(y)\right)<d(x,y) for x≠yx\neq y but has no fixed point;
  • if some iterate Tk=T∘⋯∘TT^k=T\circ\cdots\circ T is a contraction then TT has exactly one fixed point, since a fixed point of TkT^k is unique and TT maps it to another fixed point of Tk.T^k.