Skip to main content

Section Sequences and Continuity in Metric Spaces

We have seen that there are different ways to characterize. For example, there is the Ο΅βˆ’Ξ΄ definition and a characterization in terms of neighborhoods. In this section we investigate sequences and limits of sequences in metric spaces, and then provide a characterization of continuous functions in terms of sequences.

Activity 9.2.

A reasonable question to ask is if a limit of a sequence is unique. We will answer that question in this activity. Let (X,d) be a metric space and (an) a sequence in X. Assume the sequence (an) has a limit in X. To show that a limit of the sequence (an) is unique, we need to show that if liman=a and liman=aβ€² for some a,aβ€²βˆˆX, then a=aβ€².
Suppose liman=a and liman=aβ€² for some a,aβ€²βˆˆX. Without much to go on it might appear that proving a=aβ€² is a difficult task. However, if d(a,aβ€²)<Ο΅ for any Ο΅>0, then it will have to be the case that a=aβ€². So let Ο΅>0.

(a)

Why must there exist a positive integer N so that d(an,a)<Ο΅2 for all nβ‰₯N?

(b)

Why must there exist a positive integer Nβ€² so that d(an,aβ€²)<Ο΅2 for all nβ‰₯Nβ€²?

(c)

Now let m=max{N,Nβ€²}. What can we say about d(am,a) and d(am,aβ€²)? Why?

(d)

Use the triangle inequality to conclude that d(a,aβ€²)<Ο΅. What else can we conclude?
Now we will examine how continuity can be described in terms of sequences. The basic idea is this. Suppose that f:R→R is continuous at a point a. This means that f has a limit (as a continuous function) at a. So if we were to take any sequence (an) that converges to a, then the continuity of f implies that f(a)=f(liman)=limf(an). That this is both a necessary condition and a sufficient condition for continuity is given in the next theorem.

Proof.

Let (X,dX) and (Y,dY) be metric spaces, let a∈X, and let f:Xβ†’Y be a function. Assume that f is continuous at a. We will show that limf(an)=f(a) for any sequence (an) in X that converges to a. Let (an) be a sequence in X that converges to a (we know such a sequence exists, namely the sequence (a)). To verify that limf(an)=a, let Ο΅>0. The fact that f is continuous at a means that there is a Ξ΄>0 so that dY(f(x),f(a))<Ο΅ whenever dX(x,a)<Ξ΄. Since (an) converges to a, we know that there exists a positive integer N such that dX(an,a)<Ξ΄ whenever nβ‰₯N. This implies that
dY(f(an),f(a))<Ο΅  whenever  nβ‰₯N.
We conclude that if f is continuous at a, then limf(an)=f(a) for any sequence (an) in X that converges to a.
The proof of the reverse implication is contained in the next activity.

Activity 9.3.

Let (X,dX) and (Y,dY) be metric spaces, let a∈X, and let f:Xβ†’Y be a function. We prove the remaining implication of Theorem 9.7, that f is continuous at a if limf(an)=f(a) for any sequence (an) in X that converges to a, in this activity.

(a)

To have an additional assumption with which to work, let us proceed by contradiction and assume that f is not continuous at a. Why can we then say that there is an Ο΅>0 so that there is no Ξ΄>0 with the property that dX(x,a)<Ξ΄ implies dY(f(x),f(a))<Ο΅?

(b)

To create a contradiction, we will construct a sequence (an) that converges to a while (f(an)) does not converge to f(a).
(i)
Explain why we can find a positive integer K such that 1K<Ο΅.
(ii)
If k>K, explain why there is an element ak∈B(a,1k) so that dY(f(ak),f(a))β‰₯Ο΅.
(iii)
For k≀K, let ak be any element in B(a,1k). Explain why a is a limit of (an).
(iv)
Explain why f(a) is not a limit of the sequence (f(an)). What conclusion can we draw, and why?
One way that Theorem 9.7 is often used is illustrated in the next activity.

Activity 9.4.

Let f be the function from R to R, both with the Euclidean metric, defined by
f(x)={sin⁑(1x) if xβ‰ 00 if x=0.
We consider the f continuity of f at 0 in this activity.

(a)

Draw a graph of f on some small interval centered at 0. Based on the graph, do you think f has a limit at 0? Explain. (There is no right answer here, just your intuition based on the graph.)

(c)

Use the result of (b) to find a sequence (an) that converges to 0 for which f(an)=1 for every n.

(d)

What does the result of (c) tell us about the continuity of f at 0?
While it can sometimes be difficult to prove a fact about all sequences that converge to a point, Activity 9.4 shows that we can use Theorem 9.7 to prove that a function f is not continuous at an input a be finding just one sequence (an) that converges to a for which limf(an)β‰ f(a). We conclude this section with one final note.
IMPORTANT NOTE: Theorem 9.7 tells us that if f:Xβ†’Y is a continuous function, then f commutes with limits. That is, if (an) is a sequence in X that converges to a∈X, then
f(a)=f(liman)=limf(an).