Limits at Infinity
Limits at Infinity
Limits at Infinity
In this section, I’ll discuss the limit of a function f (x) as x goes to ∞ and −∞. We’ll see that this is
related to horizontal asyptotes of a graph.
It’s natural to discuss vertical asymptotes as well, and I’ll explain how these are connected to values
of x where the limit of f (x) becomes infinite.
x2
Let’s start with an example. Here is the graph of f (x) = 2 :
x +1
0.8
0.6
0.4
0.2
-10 -5 5 10
The graph approaches the horizontal line y = 1 as it goes out to the left and right. You write:
x2 x2
lim = 1 and lim = 1.
x→+∞ x2 + 1 x→−∞ x2 + 1
Here’s a rough definition. If the graph of f (x) approaches y = L as you plug in larger and larger positive
values for x, then
lim f (x) = L.
x→+∞
Likewise, if the graph of f (x) approaches y = L as you plug in larger and larger negative values for x,
then
lim f (x) = L.
x→−∞
x2
As a numerical example, consider f (x) = . If you set x = 106 , you get
x2 + 1
f (x) ≈ 0.999999999999000000000000999999999999000000000001.
Definition. lim f (x) = L means: For every ǫ > 0, there is a number M , such that:
x→∞
1
The definition says that I can make f (x) as close to L as I want, by making x sufficiently large.
As the picture shows, values of x greater than M produce values of f (x) that lie within ǫ of L.
10x + 4
Example. Prove that lim = 2.
x→∞ 5x + 1
Scratch work. I’ll start by working backwards from ǫ to M .
(I can remove the absolute value bars, since x → ∞ means x will be large and positive.)
So
2
5x + 1 >
ǫ
2
5x > − 1
ǫ
1 2
x> −1
5 ǫ
1 2
This suggests that I should take M = −1 .
5 ǫ
The reason for doing things this way is that you may not prove something by assuming what you want
to prove. So the “working backward” part isn’t by itself a valid proof: It is possible that some of the steps
aren’t reversible. You can ensure that everything works properly by writing the proof in the correct order,
from assumptions to conclusion.
1 2
The real proof. Let ǫ > 0. Take M = −1 .
5 ǫ
Then if x > M , I have
1 2
x> −1
5 ǫ
2
5x > −1
ǫ
2
5x + 1 >
ǫ
2
Note that since ǫ > 0, the last inequality implies 5x + 1 > 0. So
2
ǫ>
5x + 1
2
ǫ>
5x + 1
Dividing by 5x+1 in the first step is okay, because 5x+1 > 0 (so the inequality doesn’t “flip”). Likewise,
2
the second step is okay, because 5x + 1 > 0, so is positive, so I can add the absolute values.
5x + 1
Continuing, I have
2 10x + 4
ǫ> = −2 .
5x + 1 5x + 1
10x + 4
This shows that lim = 2.
x→∞ 5x + 1
Theorem. (a)
lim (f (x) + g(x)) = lim f (x) + lim g(x).
x→∞ x→∞ x→∞
(b) If k is a number,
lim (k · f (x)) = k · lim f (x).
x→∞ x→∞
(c)
lim (f (x) · g(x)) = ( lim f (x)) · ( lim g(x)).
x→∞ x→∞ x→∞
Proof. I’ll prove (a) by way of example. As in most limit proofs, you discover what to do by working
backward (“on scratch paper”). Then you write the “real proof” forward. I’ll omit the scratch work in this
case.
A reminder about something before I start: I’ll use the Triangle Inequality, which says that if p and
q are real numbers, then
|p| + |q| ≥ |p + q|.
Suppose that
lim f (x) = A and lim g(x) = B.
x→∞ x→∞
Let ǫ > 0.
Since lim f (x) = A, I can find a number M such that if x > M , then
x→∞
1
ǫ > |f (x) − A|.
2
Since lim g(x) = A, I can find a number N such that if x > N , then
x→∞
1
ǫ > |g(x) − B|.
2
3
1
Suppose that x > max(M, N ). This means that x > M and x > N , so both of the ǫ inequalities hold.
2
Hence, adding the inequalities, I get
1 1
ǫ= ǫ+ ǫ
2 2
> |f (x) − A| + |g(x) − B|
≥ | (f (x) − A) + (g(x) − B) |
= | (f (x) + g(x)) − (A + B) |
(I used the Triangle Inequality in the “≥” step.) This proves that
Similar ideas are used in the proofs of (b), (c), and (d), though in some cases the algebra involved is a
little trickier.
1
Proof. Let ǫ > 0. I must find a number M such that if x > M and is defined, then
xk
1 1
ǫ> k
−0 = k .
x x
1
Set M = . Note that ǫ1/k is defined and positive, since ǫ > 0 and k > 0. Suppose x > M . Since M
ǫ1/k
1
is positive, so is x, so k is defined and positive.
x
I have
1
x > M = 1/k
ǫ
k 1
x >
ǫ
1
ǫ> k
x
1
ǫ> k
x
1
ǫ> k
x
1
Hence, lim = 0.
x→+∞ xk
Is it true that
1
lim =0?
x→−∞ xk
1 1 1
It is — provided that is defined. What could go wrong? Suppose k = . Then lim is
xk 2 x→−∞ x1/2
undefined, since x1/2 is not defined if x is negative and x → −∞ means that x is taking on negative values.
On the other hand,
1
lim = 0.
x→−∞ x4
4
Here are some examples of limits at +∞ and −∞.
2x3 − 3x + 7
Example. (a) Compute lim .
x→+∞ 4 − x2 − 5x3
x15 − 3x9 + 47
(b) Compute lim .
x→−∞ x2 − x + 1
x − 17
(c) Compute lim = 0.
x→+∞ x3/2 − 4x + 2
(a) In limits at infinity involving powers of x, the rule of thumb is that the biggest powers dominate. In this
case, the biggest powers on the top and bottom are the x3 ’s. Therefore, the limit in (a) behaves almost like
2x3 2
lim =− .
x→+∞ −5x3 5
2
So you expect the answer to be − .
5
On way to see this formally is to divide the top and bottom by x3 :
3 7
2x3 − 3x + 7 2− 2 + 3
lim = lim x x .
x→+∞ 4 − x2 − 5x3 x→+∞ 4 1
− − 5
x3 x
Now as x → +∞,
a number a number
→ = 0.
xpositive power something big
Hence,
3 7
2− + 3
lim x2 x = lim 2 − 0 + 0 = − 2 .
x→+∞ 4 1 x→+∞ 0 − 0 − 5 5
3
− −5
x x
2x3 − 3x + 7
Here’s a picture of :
4 − x2 − 5x3
-0.37
-0.38
-0.39
5 10 15 20
-0.41
-0.42
-0.43
(b)
x15 − 3x9 + 47
lim = −∞.
x→−∞ x2 − x + 1
In this case, the x15 on top beats out the puny x2 on the bottom.
5
By the way, it would be correct to say this limit diverges. However, it’s more informative to say how
x15 − 3x9 + 47
it diverges. In this case, the function becomes large and negative, so you write −∞ for the
x2 − x + 1
limit.
(c)
x − 17
lim = 0.
x→+∞ x3/2 − 4x + 2
Here the x3/2 on the bottom beats out the x1 on the top.
Suppose that
lim f (x) = L.
x→+∞
I noted above that this means that the graph of f (x) approaches the line y = L as you move to the
right.
Likewise, suppose
lim f (x) = L.
x→−∞
This means that the graph of f (x) approaches the line y = L as you move to the left. In these situations,
y = L is a horizontal asymptote for the graph of f (x).
Not all graphs have horizontal asymptotes — for example, y = x2 goes to ∞ as x → ∞ and as x → −∞.
You can check for the presence of horizontal asymptotes by computing limx→+∞ f (x) and limx→−∞ f (x)
and seeing if either is a number.
x
Example. Find the horizontal asymptotes (if any) of y = .
x2 +1
x x
lim = 0 and lim = 0.
x→∞ x2 +1 2
x→−∞ x + 1
Therefore, y = 0 is a horizontal asymptote for the graph at +∞ and at −∞. The graph is shown below:
0.4
0.2
-10 -5 5 10
-0.2
-0.4
x
Example. Find the horizontal asymptotes of f (x) = √ .
x2 + 4
√ The limit at +∞ works without any surprises. The highest power on the top and the bottom is x (since
x2 looks like x), so divide the top and bottom by x:
x 1 1 1
lim √ = lim = lim r = = 1.
x→+∞ x2 +4 x→+∞ 1√ 2 x→+∞ 4 1
x +4 1+ 2
x x
6
However, the limit at −∞ is a little tricky! Here’s the computation:
x 1 1 1
lim √ = lim √ = lim = = −1.
1
r
x→−∞ 2
x + 4 x→−∞ x→−∞ 4 −1
x2 + 4 − 1+ 2
x x
1√ 2
Where did that negative sign come from? Look at the bottom, which was x + 4. x is going to −∞,
x
√ 1√ 2
so x is taking on negative values. Now · is positive, so x + 4 is negative.
x
1
When you push the into the square root, you must leave a negative sign outside. Otherwise, you’d
√ x
have junk, a positive thing.
Alternatively, to think of it the other way,
√
x2 = |x|.
√
So if x is negative (because x → −∞), I have x2 = |x| = −x.
Thus, this is a case where it matters that x is going to −∞, as opposed to +∞. Here’s the graph:
1
0.5
-20 -10 10 20
-0.5
-1
How do logarithms and exponentials behave as x → +∞ or x → −∞? The relevant facts are summarized
below.
lim ln ax = +∞ and lim ln ax = −∞ if a > 0.
x→+∞ x→0+
I’ve graphed y = ln 2x (on the left) and y = e3x (on the right) below; you can see that the pictures are
consistent with the formulas above.
4
50000
2
40000
5 10 15 20 30000
-2
20000
-4
10000
-6
-4 -2 2 4
7
For example, the graph of y = ln 2x goes downward asymptotically along the y-axis from the right. This
confirms that lim ln 2x = −∞.
x→0+
Likewise, the graph of e3x rises sharply as you go to the right; this confirms that lim e3x = +∞.
x→+∞
Note that if a < 0 in eax , the limits are reversed. Specifically,
(b) Compute
lim e6x and lim e6x .
x→+∞ x→−∞
(c) Compute √ √
2x 2x
lim e− and lim e− .
x→+∞ x→−∞
(a)
lim ln 1.37x = +∞ and lim ln 1.37x = −∞.
x→+∞ x→0+
(b)
lim e6x = +∞ and lim e6x = 0.
x→+∞ x→−∞
(c) √ √
2x 2x
lim e− =0 and lim e− = +∞.
x→+∞ x→−∞
Infinity can also appear in limits in connection with vertical asymptotes. I’ll say that the graph of a
function y = f (x) has a vertical asymptote at x = a if at least one of the limits
x=a
8
lim f (x) = −∞ while lim f (x) = +∞.
x→a+ x→a−
In general, you might suspect the presence of a vertical asymptote at an isolated value of x for which
f (x) is undefined. To confirm your suspicion, you need to compute the left- and right-hand limits at the
point.
1
Example. Locate the vertical asymptotes of f (x) = and sketch the graph near the asymp-
(x − 1)(x − 2)
totes.
f (x) is undefined at x = 1 and at x = 2. I’ll check for vertical asymptotes by computing the left- and
right-hand limits at x = 1 and at x = 2. I’ll work through the first one carefully.
1
lim = −∞.
x→1+ (x − 1)(x − 2)
To see this, consider numbers close to 1 but to the right of 1. Then x − 1 will be positive, while x − 2
will be negative. For example, if x = 1.1, then x − 1 = 0.1 while x − 2 = −0.9. All together, the fraction
1 1
will be negative. But plugging x = 1 into the fraction gives . Since the result is negative
(x − 1)(x − 2) 0
and infinite, it must be −∞.
1
You can see numerical evidence for this by plugging (e.g.) x = 1.001 into .
(x − 1)(x − 2)
1
≈ −1001.
(1.001 − 1)(1.001 − 2)
This is a large negative number, which suggests that the limit is −∞.
In similar fashion,
1
lim− = +∞,
x→1 (x − 1)(x − 2)
1
lim = +∞,
x→2+ (x − 1)(x − 2)
1
lim = −∞.
x→2− (x − 1)(x − 2)
Here’s the graph:
40
20
-1 1 2 3 4
-20
-40
9
x2 − 1
Example. f (x) = is undefined at x = 1. Does it have a vertical asymptote at x = 1?
x−1
The fact that a function is undefined at an isolated value does not imply that it has a vertical asymptote
x2 − 1
there. The graph of f (x) = looks like this:
x−1
y
x2 − 1 (x − 1)(x + 1)
= = x + 1.
x−1 x−1
Thus, the graph is the same as the graph of the line y = x + 1 except at x = 1, where there’s a hole. In
other words,
x2 − 1 (x − 1)(x + 1)
lim = lim = lim (x + 1) = 2.
x→1 x − 1 x→1 x−1 x→1