3.4. Sequences#

Let (X,d) be a metric space.

3.4.1. Sequences#

Definition 3.32

A sequence in a metric space (X,d) is a function x:NX. It maps every natural number to an element in the set X.

If A is a subset of X, then a sequence of A means a function x:NA.

A sequence can be thought of as an ordered (countable) list of points in X. We often write a sequence x:NX as {xn} which means the list {x1,x2,x3,} where xn=x(n). In this sense, xn denotes the n-th entry in the sequence.

  1. A sequence need not enumerate all elements of X.

  2. An element may be repeated multiple times in a sequence.

3.4.2. Convergence#

Definition 3.33 (Convergence)

A sequence {xn} in a metric space (X,d) is said to converge to xX if for every ϵ>0, there exists a natural number n0 (depending upon ϵ) such that

d(xn,x)<ϵn>n0.

The point x is called the limit of the sequence {xn}, and we write xnx or x=limxn.

In other words, xnB(x,ϵ) for all n>n0.

Remark 3.5

The sequence {xn} gives a sequence of real numbers {yn} where yn=d(xn,x).

Thus, {xn} converges if limd(xn,x)=0.

3.4.2.1. Limit Uniqueness#

Theorem 3.30 (Sequence Limit Uniqueness)

A sequence of points can have utmost one limit.

Proof. If a sequence doesn’t converge, then there is nothing to prove. Otherwise, suppose a sequence {xn} converges to two limits x and y. Thus, for every ϵ>0, there exist n1,n2N such that d(xn,x)<ϵn>n1 and d(xn,y)<ϵn>n2. Now, choose n0=max(n1,n2). Then, by triangle inequality, for every n>n0

0d(x,y)d(x,xn)+d(xn,y)<ϵ+ϵ=2ϵ.

Since this is true for all ϵ>0, hence d(x,y)=0. This means that x=y (Identity of indiscernibles).

This result and proof is adapted from Theorem 2.4.

3.4.2.2. Choice of Metric#

Let X be a set and d1 and d2 be two different metrics defined on X. A sequence which converges in the metric space (X,d1) may not converge in the metric space (X,d2) unless the metrics are equivalent.

Example 3.11 (Sequence convergence on different metrics)

Consider the space of all continuous real valued functions defined on the interval [0,1] denoted by C[0,1].

We introduce two different metrics on C[0,1].

  1. The metric d1 is defined as

    d1(f,g)=01|f(x)g(x)|dx.
  2. The metric d is defined as

    d(f,g)=supx[0,1]{|f(x)g(x)|}.

We now introduce a sequence which converges in (C[0,1],d1) but doesn’t in (C[0,1],d).

  1. Consider the sequence of functions {fn} where fn(x)=enx.

  2. It is clear that fnC[0,1].

  3. The sequence of functions converges point-wise to a function fp given by

    fp(x)={0x0;1x=0.
  4. As we can see that fpC[0,1] as the function is not continuous (from the right) at x=0.

  5. We introduce the zero function 0:[0,1]R defined as

    0(x)=0x[0,1].
  6. Clearly 0C[0,1].

  7. Note that

    d1(fn,0)=01|fn(x)0|dx=01enxdx=1enn.
  8. Clearly d1(fn,0)0 as n.

  9. Hence {fn} converges to 0 in (X,d1).

We now show that {fn} doesn’t converge to any function in (C[0,1],d).

  1. We first note that

    d(fn,0)=supx[0,1]{|fn(x)0|}=supx[0,1]{enx}=1.
  2. Hence {fn} doesn’t converge to 0.

  3. For contradiction, let f be the limit of {fn}.

  4. Since f is not identically zero and is continuous, hence it must be non-zero throughout an open interval (c,d).

  5. Thus |f(x)|Mx(c,d) for some M>0.

  6. Since for any fixed x(c,d), limenx=0, hence there exists n1N such that |enx|<M for every x(c,d).

  7. Now,

    |f(x)enx|||f(x)||enx||.
  8. For n>n1, we get

    |f(x)enx||f(x)|enx.
  9. Therefore

    supx(c,d){|f(x)enx|}Mencn>n1.
  10. Taking the limit

    limnsupx(c,d){|f(x)enx|}M.
  11. Therefore

    limnd(fn,f)=limnsupx(c,d){|f(x)fn(x)|}M.
  12. We arrive at a contradiction as the distance doesn’t approach the limit to 0.

  13. Thus the sequence {fn} doesn’t converge to any function fC[0,1].

3.4.2.3. Closure Points#

Theorem 3.31 (Characterization of closure points as limits)

A point xX is a closure point of AX if and only if there is a sequence {xn} of A such that limxn=x.

Proof. Assume x is a closure point of A. We construct a sequence which converges to x.

  1. For each nN, we can pick a point xnA such that d(x,xn)<1n. This is possible since B(x,1n)A for every nN.

  2. Form the sequence {xn}.

  3. Since limd(x,xn)=0, hence {xn} converges to x.

Assume a sequence {xn} of A converges to x.

  1. For each r>0, there exists some k such that d(x,xn)<r for all n>k.

  2. Thus, B(x,r)A for every r>0.

  3. Thus, x is a closure point of A.

If xA, we can simply pick the constant sequence {xn=x}. It’s more challenging only when xclAA.

3.4.2.4. Accumulation Points#

Theorem 3.32 (Accumulation point and distinct sequences)

Let x be an accumulation point of A. Then, there exists a sequence {xn} of A with distinct terms, that converges to x.

Proof. We assume that x is an accumulation point of A.

  1. For every r>0, B(x,r)(A{x}).

  2. Let r=1. We can pick x1A distinct from x from the set B(x,1)(A{x}) which is not empty.

  3. Assume inductively that distinct x1,x2,,xn have been chosen from A (all different from x).

  4. Let r=min{1n+1,d(x,xn)}.

  5. Pick xn+1 from the set B(x,r)(A{x}).

  6. By construction, xn+1 is distinct from previously chosen points.

  7. By induction, we can construct a sequence {xn} such that each term in the sequence is distinct and limd(x,xn)=0.

  8. Thus, the sequence converges to x.

3.4.2.5. Closedness#

Theorem 3.33 (Closedness = Convergence of sequences)

Let A be a subset of X. A is closed if and only if every convergent sequence of A converges in A.

Proof. Assume A to be closed.

  1. Let {xn} be a convergent sequence of A.

  2. By Theorem 3.31 x=limxn is a closure point of A.

  3. Since A is closed, hence it contains all its closure points.

  4. Thus, {xn} converges in A.

Assume that every convergent sequence of A converges in A.

  1. Let x be a closure point of A.

  2. By Theorem 3.31, there exists a convergent sequence {xn} of A that converges to x.

  3. But since, {xn} converges in A, hence xA.

  4. Thus, A contains all its closure points.

  5. Hence, A is closed.

3.4.2.6. Distance between Sequences#

Theorem 3.34 (Sequence distance in the limit)

If limxn=x and limyn=y, then

limnd(xn,yn)=d(x,y).

Proof. Recall from the triangle inequality:

|d(x,z)d(z,y)|d(x,y).

Now

|d(xn,yn)d(x,y)||d(xn,yn)d(x,yn)|+|d(x,yn)d(x,y)|d(xn,x)+d(yn,y).

Choose n0 such that for all n>n0,

d(xn,x)<ϵ2 and d(yn,y)<ϵ2.

Then |d(xn,yn)d(x,y)|<ϵ.

Thus, for every ϵ>0, there exists n0 such that for all n>n0, |d(xn,yn)d(x,y)|<ϵ holds. Thus,

limnd(xn,yn)=d(x,y).

3.4.3. Cauchy Sequences#

One issue of working with convergence of a sequence is that one has to know the limit of convergence to show that the sequence indeed converges to the limit. This may become problematic. We should have some way to qualify sequences in which the points are coming closer to a limit as the sequence progresses without knowing the limit. One way is to check if all the points of the sequence beyond a certain point are close enough to each other. Sequences in which the points come closer to each other at higher indices are known as Cauchy sequences. However it is not necessary that every Cauchy sequence is convergent. Yet such sequences are of great relevance.

Definition 3.34 (Cauchy sequence)

A sequence {xn} of X is called a Cauchy sequence if for every ϵ>0, there exists n0 (depending on ϵ) such that

d(xn,xm)<ϵ for every n,m>n0.

Proposition 3.19

Every convergent sequence is a Cauchy sequence.

Proof. Let {xn} be a convergent with the limit limxn=x. Thus, for every ϵ>0, there exists n0 such that d(xn,x)<ϵ/2 for all n>n0.

Then, for all m,n>n0

d(xn,xm)d(xn,x)+d(x,xm)<ϵ2+ϵ2=ϵ.

Thus, {xn} is a Cauchy sequence.

Example 3.12 (Not every Cauchy sequence is convergent)

Consider X=R++ with metric d(x,y)=|xy|. Consider the sequence xn=1n. The sequence doesn’t converge in X (Its limit 0 doesn’t belong to X). At the same time, {xn} is Cauchy.

  1. Let ϵ>0.

  2. Let n0 be any natural number larger than 2ϵ.

  3. Note that n0>2ϵϵ>2n0.

  4. Then, for m,n>n0:

    d(xn,xm)=|xnxm|xn+xm=1n+1m<1n0+1n0=2n0<ϵ.
  5. Thus, for every ϵ>0, there exists n0 such that for all m,n>n0, d(xn,xm)<ϵ.

  6. Hence {xn} is Cauchy.

3.4.4. Subsequences#

Recall from Definition 1.95 that a subsequence of a sequence {xn} is a sequence {yn} for which there exists a strictly increasing sequence {kn} of natural numbers (i.e. 1k1<k2<k3<) such that yn=xkn holds for each n.

A natural question that arises is that if a subsequence converges then does the sequence also converge. Alternatively, if a sequence converges then do all of its subsequences converge?

It turns out that if a subsequence converges then it is not necessary that the sequence itself will converge. However, if a sequence converges, then all its subsequences converge to the same limit.

Theorem 3.35 (Subsequence convergence)

Subsequences of a convergent sequence converge to the same limit as the original sequence. If limnxn=x, then limnyn=x for every subsequence {yn} of {xn}.

Conversely, if two different subsequences of {xn} converge to different limits, then the sequence {xn} does not converge.

This result is a generalization of Theorem 2.16 for metric spaces.

Proof. Let {xn} be a convergent sequence of X and Let {yn} be a subsequence of {xn}.

  1. Since limnxn=x, for every ϵ>0, there exists n0N such that d(x,xn)<ϵn>n0.

  2. Since {yn} is a subsequence, there exists a strictly increasing sequence {kn} of natural numbers (i.e. 1k1<k2<k3<) such that yn=xkn holds for each n.

  3. Thus, there exists a k0>0 such that knn0n>k0. Then,

  4. d(x,yn)<ϵn>k0.

  5. Thus, {yn} converges to x too.

3.4.5. Dense Sets#

Theorem 3.36

A subset A is dense in X if and only if for every xX, there exists a sequence {xn} of A such that limxn=x.

This is a direct application of Theorem 3.31.

3.4.6. Equivalent Metrics#

Theorem 3.37 (Metric equivalence and convergent sequences)

Let da and db be two different metrics on the same set X. Then, da and db are equivalent if and only if they lead to identical set of convergent sequences; i.e., a sequence is convergent in (X,da) if and only if it is also convergent in (X,db) and it has same limit in both metric spaces.

In other words, a sequence {xn} of X satisfies limda(xn,x)=0 if and only if limdb(xn,x)=0.

Proof. Assume that the two metric spaces (X,da) and (X,db) have same topology. Thus, they have same open sets.

  1. Let {xn} be a convergent sequence of (X,da) converging to x.

  2. Now, let ϵ>0 be arbitrary and consider the open ball Bb(x,ϵ).

  3. By Theorem 3.26, there exists an r>0 such that Ba(x,r)Bb(x,ϵ).

  4. Since {xn} is convergent in (X,da), hence there exists n0N such that xnBa(x,r)Bb(x,ϵ) for all n>n0.

  5. Thus, for every ϵ>0, there exists n0N such that xnBb(x,ϵ) for all n>n0.

  6. Thus, {xn} is convergent in (X,db) with limit x.

  7. Similar reasoning shows that if a sequence is convergent in (X,db) then it is convergent in (X,da) too.

  8. Thus, the convergent sequences in both metric spaces are identical and have same limits.

Now, assume that the convergent sequences in both metric spaces (X,da) and (X,db) are identical and have same limits.

  1. Let C be a closed set of (X,da).

  2. Let xC. Then, x is a closure point of C in (X,da).

  3. Then, there exists a sequence {xn} of C such that limxn=x in (X,da).

  4. But by our hypothesis, convergent sequences are identical in both metric spaces.

  5. Hence limxn=x in (X,db) also.

  6. Hence, x is a closure point of C in (X,db) too.

  7. Thus, every element of C is a closure point of C in (X,db).

  8. Thus, C is closed in (X,db).

  9. A similar argument shows that if C is closed in (X,db) then it is closed in (X,da) too.

  10. Thus, both metrics determine the same set of closed sets on X.

  11. Thus, both metrics determine the same set of open sets on X.

  12. Thus, they determine the same topology.

  13. Thus, the two metrics are equivalent.

Procedure to show that two metrics are equivalent.

  • Choose an arbitrary sequence {xn} which converges in (X,da) to a limit (say x).

  • Show that limdb(xn,x)=0.

  • Now, choose an arbitrary sequence {xn} which converges in (X,db) to a limit (say x).

  • Show that limda(xn,x)=0.