Read · 4 min
In Continuity of Compositions, we saw that is continuous at if is continuous at and is continuous at .
Let's study the corresponding statement about limits of compositions.
If are functions with both limits and defined (so are real numbers), what can we say about the limit of their composition at , i.e. ?
... or perhaps more intuitively,
If are functions with as and as (here are real numbers), what can we say about as ?
How to read this post
Most of this post walks through intuition and some counterexamples. If you just want the core result of this post (which will be directly useful later on), you can skip ahead to the section Bright side: saved if below.
Wait, isn't it the same as for compositions?
As , we have , and as , we have . So if we start with , then "plugging in" should give us , right?
No!
Where did our reasoning go wrong?
Let's look at this more closely (the following discussion will tell us how to find a counterexample too, not just the flaw in our reasoning!): if we have why can't we "substitute" to say Well, remember that (``tends to/approaches'') is just a sometimes convenient piece of notation. And here, it turned out to be more confusing than helpful.
But why? Some philosophy
But it works a little better for continuity than for limits, because when we say " as " in the context of limits, we have to ignore what happens at : doesn't have to be defined at , and even if is defined, it doesn't have to equal (if it did, then would be continuous at ---which is basically why this all works better for continuity).
Finding and correcting the mistake in our flawed reasoning
So in our case, here's what's happening: if we have we can only "substitute" provided that : (As discussed later, it can be valid for with as well, basically when . Note that this is the same as saying is continuous at .)
A counterexample to , inspired by our flaw
This suggests that our counterexample should have some with . See if you can come up with one yourself!
Well, let's look at some with . Then intuitively, to get a counterexample, we should have "far" from . But that's relative to how close is to . So to simplify things, let's just go ahead and take for all , and then take with (&). Then for all , certainly including (all!) close to . So as , giving us a counterexample.
(&) There's one missing detail: we have to make sure this actually exists. But that's easy: to make sure , remember that the limit doesn't care about . So we can just take for , which combined with completely defines .
Bright side: saved if
But on the bright side, the fact that is nicer under continuity tells us that we should consider the special case of continuous (continuous at ), where the "substitution" is actually valid. More precisely, we have the following very important result, which forms the basis for substituting to evaluate limits.
If are functions with and is continuous at (so in the notation above), then .
Do you see why? (How can we apply the correct reasoning from the earlier section Finding and correcting the mistake in our flawed reasoning?)
Since we have the annoying and restrictions, let's forget about notation for now, and just use instead. Then we know that
-
for but close to .
-
for but close to .
-
From 2, for but close to . By 1, this is guaranteed to happen whenever but is close to , and also .
-
Wait, but if , then we automatically have . In particular, this holds for all close to , but with (complementing 3).
-
Combining 3 and 4, we're done! If is close to , then whether or not , we still have , as desired.
-
If you want, you can formalize this argument (and merge 3 and 4 into a single case) in the same way done here for Continuity of Compositions. Here's a sketch: is close to whenever is close to (&&), and that's guaranteed to happen whenever is close to but not actually equal to . This is precisely what we wanted to prove!
(&&) Again, it doesn't matter if or : that's the nice thing about continuity.
Can we classify all the cases where ?
Yes, and actually, we already covered all the intuition earlier, in the section Finding and correcting the mistake in our flawed reasoning. The idea is that our counterexample above doesn't need for all , but only "enough" close to . Here "enough" means that for any small number you pick, we need to be able to find a no farther than away from (such that ).
It turns out that this is the "most general" kind of counterexample that can occur. If you're interested, you can find the full details here, by searching "Theorem 13". But the most important part is that you understand the intuition we covered in this post.
I hope you found this insightful!
