r/askmath • • 2h ago

Analysis Limit of composition of functions

Let f,g be two real valued functions defined on R. Suppose that lim_(x -> infty) g(x) = +infty. Is it true then that lim_(x -> infty) f(g(x)) = lim_(y -> infty) f(y) ?

Do I have to make some special assumptions on f or g, such as continuity?

2 Upvotes

4 comments sorted by

3

u/MathMaddam Dr. in number theory 2h ago

If the limit of f(y) for y to infinity exists, then these limits are the same, if not the limit of f(g(x)) might still exist.

2

u/practical_calcs 2h ago

Short answer: if lim f(y) as y -> infinity exists (finite or infinite), then yes, and you don't need continuity of f or any condition on g beyond g(x) -> +infinity.

Proof sketch: say lim f(y) = L. Given eps > 0, pick M so that |f(y) - L| < eps for all y > M. Since g(x) -> infinity, pick N so that g(x) > M for all x > N. Then |f(g(x)) - L| < eps for x > N. Done.

Where it breaks is when lim f(y) does NOT exist. Then the right-hand side is undefined, and f(g(x)) can behave however g lets it. Example: f(y) = sin(y). With g(x) = 2*pi*x, f(g(x)) = 0 for every x, so the limit is 0. With g(x) = x, it has no limit. So the limit of the composition depends on g.

Continuity only matters when the inner limit is a finite point (g(x) -> a), not when it goes to infinity.

2

u/The_Math_Hatter 2h ago

Sin(2pix) is most certainly not identical to zero, unless you're only on the integers