20 - Functions - limits and continuity
Functions in arbitrary metric spaces
What is the deal with functions in arbitrary metric spaces? What is a function? What does it mean for a function to have a limit? And what does it mean for a function to be continuous?
-
Functions: Throughout the lecture, we will imagine we are dealing with two metric spaces, and . So let and be metric spaces. So each of them has some metric or some notion of distance on them. We might think of and in the following way:
A function is going to be an assignment, and we actually defined this at the very beginning of the class. The function will be an assignment of a point in to a unique point in . We may even have a whole line of things being mapped to another line in :
There are, of course, many ways to think of functions. Separating a function into its domain and codomain is a very mathematical way of looking at functions, but you've also seen throughout your education that you can visualize functions as graphs. So in the picture above, we have a mapping, but we could also think about as a graph. Of course, if we are trying to look at as a graph, then we would try to put these things on the same diagram where we place and as follows:
With the mapping representation of the faces, the domain and codomain were both 2-dimensional, and so on the -axis you would have two dimensions and on the axis you would have two dimensions. It is fairly easy to see that the graph quickly becomes intractable when the dimensions get bigger than 3 because the graph of a function from 2 dimensions to 2 dimensions will be 4-dimensional. This is why often it's a better picture to think about the oval mapping of elements from one set to another set than the strict graph interpretation.
-
Limits: What does it mean to talk about the limit of a function? That's the question we want to grapple with. We've already talked about what it means to take limits of sequences. We know what this means: . It means that for every there is an integer such that for all we have or using the usual metric, but what we want to grapple with is the following question: Does it make any sense whatsoever to talk about the limit of a function:
What does this mean? Can we make sense of this? So let's just look at some examples.
-
Example 1: So maybe we draw the graph of a particular function. It might look something like this:
So what we've depicted is four points in the domain that go to some four points in the range, and we've just graphed them here. This is at least part of a function. Maybe we haven't defined the whole function, but does it make any sense to say that goes to some as goes to some ? Here, of course, we only have 4 points, but you could imagine we have a whole interval of points in the domain and we know where they go in the codomain. So maybe the picture would look like the following if we showed all of the points:
And then we could begin to ask if a bunch of points down on the -axis converge to , then what does that mean? Can we say that their images converge to some in ? That's kind of the question we are asking:
-
Example 2: Maybe our graph of a function looks something like this:
So we have a point and a bunch of 's going to , and now the question is can we talk about the limit of the 's. Are these points doing something? That's the question. How do we make sense of this?
-
Example 3: What we should first notice is that the statement about the limit of a sequence is actually a statement about a function since a sequence is a function is it not? How is a sequence a function? It takes in an index and spits out a number. So that's a function that looks something like this, where it's defined only on the integer points, and if it was converging to some kind of limit, then really what we are saying is that, as we go further and further out, the graphed points approach a limiting value (indicated by the dashed line below):
What's different about as opposed to is that we are allowing ourselves to look at points that do not go off to infinity but maybe get closer and closer to , and we are asking ourselves something about what is doing. This should hopefully motivate our definition of limits. Let's see if we can make a precise definition below.
-
Limit (definition from Su based on Rudin): Let and be metric spaces where , and let be a limit point of . Let . So we have a space and a space , and we're only interested, perhaps, in some subset of the domain , and a function from this subset to perhaps:
We have our set above, and we are going to be picking , a point that is a limit point of so it should be possible to converge or get closer and closer to in . And now we're asking does a particular limit exists? What does that mean intuitively from the picture above?
We'll say our function has a limit, and we'll call it , if whenever we have a bunch of points getting closer and closer to then their images are getting closer and closer to :
The way this potential definition has been described has largely been done almost as a sequence of points. That's one way to describe this limit, but let's first do this in terms of distances. We will develop a criterion that looks something like the convergence criterion for sequences. As a side note, we should observe that does not have to be in (it could be on the boundary), and there's no relationship between and necessarily other than the fact that as points get closer and closer to , the images of these points must be getting closer and closer to , but it need not be the case that is the image of .
To say " as " or "" means there exists such that what? We know from previous calculus work, perhaps, that we will have something like "for every there exists a such that \ldots." Here we will have the same basic idea, but we will be dealing with an -ball around and a -ball around where it is the -ball that is in :
Before, when we talked about sequences, we said that for any there is a point in the sequence beyond which you're close enough. Here we are going to say for there is a radius around for which if you're close in then you're close in . This radius we will call , and this is a -ball, and it is the -ball that is contained in .
More precisely now, to say " as " or "" means there exists such that for all there exists such that for all , we have that implies that . We should note that and denote the metrics on and , respectively. If we were dealing with the real numbers with the usual metric, then we'd be dealing with absolute values or normed differences. A curious thing about this definition is that we've said we're not looking at all things in the -ball. There's one point that we're not allowing ourselves to look at, namely the point . The condition excludes the possibility of having . So we're allowing the image of to do whatever the heck it wants to do.
-
Limit (definition in [17]): Let and be metric spaces; suppose , maps into , and is a limit point of . We write as , or
if there is a point with the following property: For every there exists a such that
for all points for which
The symbols and refer to the distances in and , respectively.
-
Classic example: We don't care what's happening at , only what's going on around it; that is, we should have as . And, of course, this should be from both directions in both cases:
The above figure is the graph picture while
is the mapping picture.
-
Example: We will consider an example where the limit does not exist:
If , then is there are for which if you're close enough to then you're close enough to ? No. We're converging to two different values from either direction. So there's no that will satisfy our definition.
-
Example: We don't require to contain . So maybe is an open interval and is an endpoint. The only thing we require is that be a limit point of . We want to be able to talk about a situation where maybe we have a function defined only on , and it still makes sense to talk about convergence to some :
This is just pointing out all of the features of our limit definition.
-
Remarks: So if you want to show convergence of a sequence, for every you have to find an , an index. If you want to talk about convergence of a function, then for every you have to find a . So your job to show convergence, given an , is to find a that satisfies our definition.
-
Remark about convergence: We used balls in the picture
to talk about convergence, but you could think about convergence in terms of points that are getting closer and closer to and their images getting closer and closer to . And so this brings up our first theorem about convergence of functions to limits of functions and that is it's equivalent to think of either way.
So we could say if and only if for all sequences , where , and , we have , where the latter part of this biconditional is the sequence characterization of function limits. The picture you should have is the following:
Let's see why this equivalence is true. Let's prove this. How are we going to prove this? Just go to the definitions! This is how we prove anything. To summarize, here is the biconditional we are trying to prove:
It should be noted that the long proof that follows is succinctly given in [17].
-
Proof of forward direction: Given , our goal is to find an that works. That is, we want to find a point in the sequence beyond which all of the terms are within of :
When will it be the case that all of the will be in the -ball? For the -ball pictured in the figure above, there must exist a corresponding -ball that satisfies the definition:
So what point of the sequence should we look at? The images of the points that are in the -ball. That's the whole idea of the proof right there. We cab now write this up more precisely.
Given , there exists such that implies that . For a given sequence that satisfies the conditions just listed, there exists such that . Thus, implies that due to the fact that implies that .
-
Proof of backward direction: Suppose for all sequences in , where and , we have . We want to show that . How can we do this? Instead of proving this directly, it might be easier to prove the contrapositive. Let's try that. So suppose that . We need to show that there exists in, where and , but .
To say that is to say that
Thus, to say that is to say that
So, for the backward direction, assume that . That is, there exists such that for all there exists such that and . What does this mean? It means there is an