Composição de limites

Before this, knowComposição de função continua

Read · 4 min

In Continuity of Compositions, we saw that f(g(x))f(g(x)) is continuous at pp if g(x)g(x) is continuous at pp and f(x)f(x) is continuous at g(p)g(p).

Let's study the corresponding statement about limits of compositions.

If f(x),g(x)f(x),g(x) are functions with both limits lim⁡x→pg(x)=L\lim_{x\to p} g(x) = L and lim⁡x→Lf(x)=M\lim_{x\to L} f(x) = M defined (so L,ML,M are real numbers), what can we say about the limit of their composition f∘g=f(g(x))f\circ g = f(g(x)) at pp, i.e. lim⁡x→pf(g(x))\lim_{x\to p} f(g(x))?

... or perhaps more intuitively,

If f(x),g(x)f(x),g(x) are functions with g(x)→Lg(x)\to L as x→px\to p and f(x)→Mf(x)\to M as x→Lx\to L (here L,ML,M are real numbers), what can we say about f∘g=f(g(x))f\circ g = f(g(x)) as x→px\to p?

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 f(L)=Mf(L) = M below.

Wait, isn't it the same as for compositions?

As x→px\to p, we have g(x)→Lg(x)\to L, and as y→Ly\to L, we have f(y)→Mf(y)\to M. So if we start with x→px\to p, then "plugging in" y=g(x)y = g(x) should give us f(g(x))→Mf(g(x))\to M, 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 f(y)→M as y→L,f(y)\to M \text{ as } y\to L, why can't we "substitute" y=g(x)y = g(x) to say f(g(x))→M as g(x)→L (as x→p)?f(g(x))\to M \text{ as } g(x) \to L \text{ (as } x\to p) ? Well, remember that →\to (``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 "f(y)→Mf(y)\to M as y→Ly\to L" in the context of limits, we have to ignore what happens at y=Ly=L: ff doesn't have to be defined at y=Ly=L, and even if f(L)f(L) is defined, it doesn't have to equal MM (if it did, then ff would be continuous at MM---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 f(y)→M as y→L, for y≠L,f(y)\to M \text{ as } y\to L, \text{ for $y\ne L$,} we can only "substitute" y=g(x)y = g(x) provided that g(x)≠Lg(x)\ne L: f(g(x))→M as g(x)→L is valid for those x with g(x)≠L.f(g(x))\to M \text{ as } g(x) \to L \text{ is valid for those $x$ with $g(x) \ne L$.} (As discussed later, it can be valid for xx with g(x)=Lg(x) = L as well, basically when f(L)=Mf(L) = M. Note that this is the same as saying ff is continuous at LL.)

A counterexample to f(g(x))→Mf(g(x))\to M, inspired by our flaw

This suggests that our counterexample should have some x≈px\approx p with g(x)=Lg(x) = L. See if you can come up with one yourself!

Well, let's look at some t≈pt\approx p with g(t)=Lg(t) = L. Then intuitively, to get a counterexample, we should have f(g(t))=f(L)f(g(t)) = f(L) "far" from MM. But that's relative to how close tt is to pp. So to simplify things, let's just go ahead and take g(x)=Lg(x) = L for all xx, and then take ff with f(L)=M+9001f(L) = M+9001 (&). Then f(g(x))=f(L)=M+9001≠Mf(g(x)) = f(L) = M+9001 \ne M for all xx, certainly including (all!) xx close to pp. So f(g(x))→M+9001≠Mf(g(x))\to M+9001 \ne M as x→px\to p, giving us a counterexample.

(&) There's one missing detail: we have to make sure this ff actually exists. But that's easy: to make sure lim⁡x→Lf(x)=M\lim_{x\to L} f(x) = M, remember that the limit doesn't care about x=Lx=L. So we can just take f(x)=Mf(x) = M for x≠Lx\ne L, which combined with f(L)=M+9001f(L) = M+9001 completely defines ff.

Bright side: saved if f(L)=Mf(L) = M

But on the bright side, the fact that →\to is nicer under continuity tells us that we should consider the special case of continuous ff (continuous at LL), 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 f,gf,g are functions with lim⁡x→pg(x)=L\lim_{x\to p} g(x) = L and f(x)f(x) is continuous at LL (so f(L)=lim⁡x→Lf(x)=Mf(L) = \lim_{x\to L} f(x) = M in the notation above), then lim⁡x→pf(g(x))=f(L)=M\lim_{x\to p} f(g(x)) = f(L) = M.

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 y≠Ly\ne L and g(x)≠Lg(x)\ne L restrictions, let's forget about →\to notation for now, and just use ≈\approx instead. Then we know that

  1. g(x)≈Lg(x) \approx L for x≠px \ne p but close to pp.

  2. f(y)≈Mf(y) \approx M for y≠Ly\ne L but close to LL.

  3. From 2, f(g(x))≈Mf(g(x)) \approx M for g(x)≠Lg(x) \ne L but close to LL. By 1, this is guaranteed to happen whenever x≠px \ne p but is close to pp, and also g(x)≠Lg(x) \ne L.

  4. Wait, but if g(x)=Lg(x) = L, then we automatically have f(g(x))=f(L)=M≈Mf(g(x)) = f(L) = M \approx M. In particular, this holds for all x≠px\ne p close to pp, but with g(x)=Lg(x) = L (complementing 3).

  5. Combining 3 and 4, we're done! If x≠px\ne p is close to pp, then whether or not g(x)=Lg(x) = L, we still have f(g(x))≈Mf(g(x)) \approx M, as desired.

  6. 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: f(g(x))f(g(x)) is close1_1 to M=f(L)M = f(L) whenever g(x)g(x) is close2_2 to LL (&&), and that's guaranteed to happen whenever xx is close3_3 to pp but not actually equal to pp. This is precisely what we wanted to prove!

(&&) Again, it doesn't matter if g(x)=Lg(x) = L or g(x)≠Lg(x) \ne L: that's the nice thing about continuity.

Can we classify all the cases where f(g(x))→Mf(g(x))\to M?

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 g(t)=Lg(t)=L for all tt, but only "enough" tt close to pp. Here "enough" means that for any small number α>0\alpha>0 you pick, we need to be able to find a tt no farther than α\alpha away from pp (such that g(t)=Lg(t) = L).

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!

Video

(Video) Limits of Composite Functions

by Tom Kaster

Here's a good video by Tom Kaster explaining how the limits of compositions work.

Type a concept, like “slope” or “photosynthesis”.

↑ ↓ to choose · Enter to openSearch explanations and problems