Lecture 6: Limits at Infinity; Horizontal Asymptotes

So far, we have studied the behavior of functions as $x$ approaches a specific number, $a$. Now, we shift our perspective to understand the end behavior of a function. What happens to the values of $f(x)$ as $x$ becomes incredibly large in the positive direction ($x \to \infty$) or incredibly large in the negative direction ($x \to -\infty$)? This concept is crucial for understanding phenomena with long-term trends, and it gives rise to the idea of horizontal asymptotes. ↔️


Topic 1: Definition of Limits at Infinity

Let's formalize the idea of a function leveling off at a certain height as $x$ goes to infinity.

Definition of a Limit at Infinity

Let $f$ be a function defined on some interval $(a, \infty)$. Then $$ \lim_{x \to \infty} f(x) = L $$ means that the values of $f(x)$ can be made arbitrarily close to $L$ by taking $x$ sufficiently large.

Similarly, if $f$ is defined on $(-\infty, a)$, then $$ \lim_{x \to -\infty} f(x) = L $$ means that the values of $f(x)$ can be made arbitrarily close to $L$ by taking $x$ sufficiently large negatively.

Definition of a Horizontal Asymptote

The line $y=L$ is called a horizontal asymptote of the curve $y=f(x)$ if either $$ \lim_{x \to \infty} f(x) = L \quad \text{or} \quad \lim_{x \to -\infty} f(x) = L $$

Example 1: The Basic Case

Consider the function $f(x) = \frac{1}{x}$. As $x$ gets very large (e.g., 100, 1000, 1,000,000), the value of $\frac{1}{x}$ gets very close to 0. Similarly, as $x$ becomes a large negative number (e.g., -100, -1000), $\frac{1}{x}$ also gets very close to 0.

$$ \lim_{x \to \infty} \frac{1}{x} = 0 \quad \text{and} \quad \lim_{x \to -\infty} \frac{1}{x} = 0 $$

Therefore, the line $y=0$ is a horizontal asymptote for $f(x) = \frac{1}{x}$.

Try it yourself: In the Desmos graph below, type the function $f(x)=1/x$ on the first line and the asymptote $y=0$ on the second line to visualize this relationship.


Topic 2: Calculating Limits at Infinity for Rational Functions

The previous example illustrates a powerful theorem that is the key to finding limits at infinity for any rational function.

Theorem

If $r > 0$ is a rational number, then $$ \lim_{x \to \infty} \frac{1}{x^r} = 0 $$

If $r > 0$ is a rational number such that $x^r$ is defined for all $x$, then $$ \lim_{x \to -\infty} \frac{1}{x^r} = 0 $$

For instance, for $r=2$, we have $\lim_{x \to \infty} \frac{1}{x^2} = 0$. The second part of the theorem is important for limits to negative infinity. The phrase "such that $x^r$ is defined for all $x$" means we must be able to evaluate the function for negative numbers.

This theorem is our fundamental tool.

How do we handle more complex functions, like rational functions, which are ratios of polynomials? For instance, how would we evaluate $\lim_{x \to \infty} \frac{3x^2 - x - 2}{5x^2 + 4x + 1}$? We can't just substitute $\infty$ and get $\frac{\infty}{\infty}$, which is an indeterminate form.

A Note on Limit Laws

It's important to note that all the Limit Laws we established in a previous lecture (for Sum, Difference, Product, Quotient, etc.) are also valid for limits as $x \to \infty$ and $x \to -\infty$. This is what allows us to validly evaluate the limit of the numerator and the denominator separately in our upcoming examples, after we perform our algebraic trick.

To solve this, we use a clever algebraic trick. The main strategy is to divide the numerator and denominator by the highest power of $x$ that appears in the denominator. This transforms the problem into several terms that go to zero.

Example 2: A Standard Rational Function

Find the limit: $\lim_{x \to \infty} \frac{3x^2 - x - 2}{5x^2 + 4x + 1}$.

Solution:

The highest power of $x$ in the denominator is $x^2$. We divide every term by $x^2$.

$$ \lim_{x \to \infty} \frac{\frac{3x^2}{x^2} - \frac{x}{x^2} - \frac{2}{x^2}}{\frac{5x^2}{x^2} + \frac{4x}{x^2} + \frac{1}{x^2}} = \lim_{x \to \infty} \frac{3 - \frac{1}{x} - \frac{2}{x^2}}{5 + \frac{4}{x} + \frac{1}{x^2}} $$

Now, we use the theorem. As $x \to \infty$, all terms of the form $\frac{c}{x^r}$ approach 0.

$$ = \frac{3 - 0 - 0}{5 + 0 + 0} = \frac{3}{5} $$

Thus, the line $y=3/5$ is a horizontal asymptote.

In the Desmos graph, confirm this result by plotting the function and its horizontal asymptote, $y=3/5$.

Check Your Understanding: Infinite Limits

Find the limit: $\lim_{x \to \infty} \frac{x^3-2x}{x^2+1}$.

Shortcuts for Rational Functions

For a rational function $f(x) = \frac{P(x)}{Q(x)}$, where the degree of $P(x)$ is $n$ and the degree of $Q(x)$ is $m$:

  • If $n < m$ (degree of numerator is less than denominator), then $\lim_{x \to \pm \infty} f(x) = 0$.
  • If $n = m$ (degrees are equal), then the limit is the ratio of the leading coefficients.
  • If $n > m$ (degree of numerator is greater than denominator), then the limit is $\infty$ or $-\infty$ (the limit does not exist as a finite number).

Topic 3: Functions with Radicals

When dealing with radicals, the same principle applies, but we must be careful, especially when $x \to -\infty$. Remember that for $x < 0$, we have $\sqrt{x^2} = |x| = -x$.

Example 3: A Radical Function Approaching $-\infty$

Find the horizontal asymptote of $f(x) = \frac{\sqrt{9x^2+2}}{4x+5}$ for $x < 0$.

Solution:

We need to evaluate $\lim_{x \to -\infty} \frac{\sqrt{9x^2+2}}{4x+5}$. The highest power of $x$ in the denominator is $x^1$. We divide the numerator and denominator by $x$.

For the numerator, since $x$ is negative, $x = -\sqrt{x^2}$. So, dividing by $x$ is the same as dividing by $-\sqrt{x^2}$.

$$ \lim_{x \to -\infty} \frac{\frac{\sqrt{9x^2+2}}{-\sqrt{x^2}}}{\frac{4x+5}{x}} = \lim_{x \to -\infty} \frac{-\sqrt{\frac{9x^2+2}{x^2}}}{\frac{4x}{x}+\frac{5}{x}} $$ $$ = \lim_{x \to -\infty} \frac{-\sqrt{9+\frac{2}{x^2}}}{4+\frac{5}{x}} $$

As $x \to -\infty$, the terms $\frac{2}{x^2}$ and $\frac{5}{x}$ go to 0.

$$ = \frac{-\sqrt{9+0}}{4+0} = -\frac{3}{4} $$

So, the line $y = -3/4$ is a horizontal asymptote as $x \to -\infty$.


Topic 4: Infinite Limits at Infinity and Other Functions

Sometimes, a function doesn't approach a finite number but grows without bound as $x$ approaches infinity. We call these infinite limits at infinity.

Example 4: Infinite Limits at Infinity

Evaluate $\lim_{x \to \infty} (x^3 - x)$.

Solution:

We can't use limit laws on $\infty - \infty$ (an indeterminate form). Instead, we factor out the highest power of $x$.

$$ \lim_{x \to \infty} x^3(1 - \frac{1}{x^2}) $$

As $x \to \infty$, $x^3 \to \infty$ and $(1 - \frac{1}{x^2}) \to (1-0) = 1$. A very large number multiplied by a number close to 1 is a very large number.

$$ \lim_{x \to \infty} (x^3 - x) = \infty $$

Check Your Understanding

Problem: Find the limit $\lim_{x \to \infty} \arctan(e^{-x})$.


Final Practice: Applying Concepts of Limits at Infinity

Practice Problem #1 (Rational Function)

Find the limit: $\lim_{x \to - \infty} \frac{x^2+1}{2x^3 - 3x + 4}$.

Practice Problem #2 (Radical Function)

Find the horizontal asymptotes of the function $f(x) = \frac{5x-2}{\sqrt{x^2+1}}$. (Hint: You need to check both $x \to \infty$ and $x \to -\infty$).

Practice Problem #3 (Using Known Limits)

Evaluate the limit: $\lim_{x \to \infty} \sin(1/x)$.


Conclusion

Today we extended our understanding of limits to describe the end behavior of functions. By analyzing what happens as $x$ approaches $\infty$ and $-\infty$, we can identify horizontal asymptotes, which provide a powerful summary of a function's long-term trend. The key technique of dividing by the highest power of $x$ in the denominator is a fundamental skill that you will use throughout calculus. This understanding of end behavior, combined with our knowledge of behavior near a point, gives us a much more complete picture of a function's graph. Next, we will finally introduce the concept of the derivative! 📈