<img src="https://d5nxst8fruw4z.cloudfront.net/atrk.gif?account=iA1Pi1a8Dy00ym" style="display:none" height="1" width="1" alt="" />
Skip Navigation
Our Terms of Use (click here to view) and Privacy Policy (click here to view) have changed. By continuing to use this site, you are agreeing to our new Terms of Use and Privacy Policy.

3.5: Limits at Infinity

Difficulty Level: At Grade Created by: CK-12

Learning Objectives

A student will be able to:

  • Examine end behavior of functions on infinite intervals.
  • Determine horizontal asymptotes.
  • Examine indeterminate forms of limits of rational functions.
  • Apply L’Hospital’s Rule to find limits.
  • Examine infinite limits at infinity.


In this lesson we will return to the topics of infinite limits and end behavior of functions and introduce a new method that we can use to determine limits that have indeterminate forms.

Examine End Behavior of Functions on Infinite Intervals

Suppose we are trying to analyze the end behavior of rational functions. Let's say we looked at some rational functions such as \begin{align*}f(x) = \frac{2x^2 - 1} {x^2 - 1}\end{align*} and showed that \begin{align*}\lim_{x \to +\infty} f(x)= 2\end{align*} and \begin{align*}\lim_{x \to -\infty} f(x)= 2\end{align*}. We required an analysis of the end behavior of \begin{align*}f\end{align*} since computing the limit by direct substitution yielded the indeterminate form \begin{align*}\frac {\infty} {\infty}\end{align*}. Our approach to compute the infinite limit was to look at actual values of the function \begin{align*}f(x)\end{align*} as \begin{align*}x\end{align*} approached \begin{align*}\pm \infty\end{align*}. We interpreted the result graphically as the function having a horizontal asymptote at \begin{align*}f(x) = 2.\end{align*}

We were then able to find infinite limits of more complicated rational functions such as \begin{align*}\lim_{x \to \infty} \frac{3x^4 - 2x^2 + 3x + 1} {2x^4 - 2x^2 + x - 3} = \frac{3} {2}\end{align*} using the fact that \begin{align*}\lim_{x \to \infty} \frac{1} {x^p} = 0, p > 0\end{align*}. Similarly, we used such an approach to compute limits whenever direct substitution resulted in the indeterminate form \begin{align*}\frac{0}{0}\end{align*}, such as \begin{align*}\lim_{x\to 1} \frac{x^2 - 1} {x - 1} = 2\end{align*}.

Now let’s consider other functions of the form \begin{align*}(f(x)/g(x))\end{align*} where we get the indeterminate forms \begin{align*}\frac{0} {0}\end{align*} and \begin{align*}\frac{\infty} {\infty}\end{align*} and determine an appropriate analytical method for computing the limits.

Example 1:

Consider the function \begin{align*}f(x) = \frac{{\ln}(x +1)} {x}\end{align*} and suppose we wish to find \begin{align*}\lim_{x\to 0} \frac{{\ln}(x + 1)} {x}\end{align*} and \begin{align*}\lim_{x \to \infty} \frac{{\ln}(x + 1)} {x}\end{align*} We note the following:

  1. Direct substitution leads to the indeterminate forms \begin{align*}\frac{0} {0}\end{align*} and \begin{align*}\frac{\infty} {\infty}.\end{align*}
  2. The function in the numerator is not a polynomial function, so we cannot use our previous methods such as applying \begin{align*}\lim_{x \to \infty} \frac{1} {x^p} = 0.\end{align*}

Let’s examine both the graph and values of the function for appropriate \begin{align*}x\end{align*} values, to see if they cluster around particular \begin{align*}y\end{align*} values. Here is a sketch of the graph and a table of extreme values.

We first note that domain of the function is \begin{align*}(-1, 0) \cup (0, +\infty)\end{align*} and is indicated in the graph as follows:

So, \begin{align*}\lim_{x\to 0} \frac{{\ln}(x + 1)} {x}\end{align*} appears to approach the value \begin{align*}1\end{align*} as the following table suggests.

Note: Please see Differentiation and Integration of Logarithmic and Exponential Functions in Chapter 6 for more on derivatives of Logarithmic functions.

\begin{align*}& x && \ln (x + 1) / x \\ & -0.1 && 1.05361 \\ & -0.001 && 1.0005 \\ & 0 && \text{undef}\\ & 0.001 && 0.9995 \\ & 0.1 && 0.953102\end{align*}

So we infer that \begin{align*}\lim_{x\to 0} \frac{{\ln}(x + 1)} {x} = 1\end{align*}.

For the infinite limit, \begin{align*}\lim_{x \to \infty} \frac{{\ln}(x + 1)} {x} = 1\end{align*}, the inference of the limit is not as obvious. The function appears to approach the value \begin{align*}0\end{align*} but does so very slowly, as the following table suggests.

\begin{align*}& x & & \ln (x + 1) /x\\ & 10 & & 0.23979\\ & 50 & & 0.078637\\ & 100 & & 0.046151\\ & 1000 & & 0.006909\\ & 10000 & & 0.000921\end{align*}

This unpredictable situation will apply to many other functions of the form. Hence we need another method that will provide a different tool for analyzing functions of the form \begin{align*}\frac{f(x)} {g(x)}\end{align*}.

L’Hospital’s Rule: Let functions \begin{align*}f\end{align*} and \begin{align*}g\end{align*} be differentiable at every number other than \begin{align*}c\end{align*} in some interval, with \begin{align*}g' (x) \neq 0\end{align*} if \begin{align*}x \neq c.\end{align*} If \begin{align*}\lim_{x\to c} f(x) = \lim_{x\to c} g(x) = 0\end{align*}, or if \begin{align*}\lim_{x\to c} f(x) = \pm \infty\end{align*} and \begin{align*}\lim_{x\to c} g(x) = \pm \infty,\end{align*} then:

  1. \begin{align*}\lim_{x\to c} \frac{f(x)} {g(x)} = \lim_{x\to c} \frac{f'(x)} {g'(x)}\end{align*} as long as this latter limit exists or is infinite.
  2. If \begin{align*}f\end{align*} and \begin{align*}g\end{align*} are differentiable at every number \begin{align*}x\end{align*} greater than some number \begin{align*}a\end{align*}, with \begin{align*}g'(x) \neq 0,\end{align*} then \begin{align*}\lim_{x \to \infty} \frac{f(x)} {g(x)} = \lim_{x \to \infty} \frac{f'(x)} {g'(x)}\end{align*} as long as this latter limit exists or is infinite.

Let’s look at applying the rule to some examples.

Example 2:

We will start by reconsidering the previous example, \begin{align*}f(x) = \frac{{\ln}(x +1)} {x},\end{align*} and verify the following limits using L’Hospital’s Rule:

\begin{align*}\lim_{x\to 0} \frac{{\ln}(x + 1)} {x} & = 1.\\ \lim_{x \to \infty} \frac{{\ln}(x + 1)} {x} & = 0.\end{align*}


Since \begin{align*}\lim_{x\to 0} {\ln}(x + 1) = \lim_{x\to 0} x = 0\end{align*}, L’Hospital’s Rule applies and we have

\begin{align*}\lim_{x\to 0} \frac{{\ln}(x + 1)} {x} = \lim_{x\to 0} \frac{\frac{1} {x + 1}} {1} = \frac{1} {1} = 1.\end{align*}


\begin{align*}\lim_{x \to \infty} \frac{{\ln}(x + 1)} {x} = \lim_{x \to \infty} \frac{\frac{1} {x + 1}} {1} = \frac{0} {1} = 0.\end{align*}

Now let’s look at some more examples.

Example 3:

Evaluate \begin{align*}\lim_{x\to 0} \frac{e^x - 1} {x}.\end{align*}


Since \begin{align*}\lim_{x\to 0} (e^x - 1) = \lim_{x\to 0} x =0\end{align*}, L’Hospital’s Rule applies and we have

\begin{align*}\lim_{x\to 0} \frac{e^x - 1} {x} = \lim_{x\to 0} \frac{e^x} {1} = \frac{1} {1} = 1.\end{align*}

Example 4:

Evaluate \begin{align*}\lim_{x \to +\infty} \frac{x^2} {e^x}\end{align*}


Since \begin{align*}\lim_{x \to +\infty} x^2 = \lim_{x \to +\infty} e^x = + \infty\end{align*}, L’Hospital’s Rule applies and we have

\begin{align*}\lim_{x \to +\infty} \frac{x^2} {e^x} = \lim_{x \to +\infty} \frac{2x} {e^x}.\end{align*}

Here we observe that we still have the indeterminate form \begin{align*}\frac{\infty} {\infty}\end{align*}. So we apply L’Hospital’s Rule again to find the limit as follows:

\begin{align*}\lim_{x \to +\infty} \frac{x^2} {e^x} = \lim_{x \to +\infty} \frac{2x} {e^x} = \lim_{x \to +\infty} \frac{2} {e^x} = 0\end{align*}

L'Hospital's Rule can be used repeatedly on functions like this. It is often useful because polynomial functions can be reduced to a constant.

Let’s look at an example with trigonometric functions.

Example 5:

Evaluate \begin{align*}\lim_{x\to 0} \frac{1 - \cos x}{x^2}.\end{align*}


Since \begin{align*}\lim_{x\to 0} (1 - \cos x) = \lim_{x\to 0} x^2 = 0\end{align*}, L’Hospital’s Rule applies and we have

\begin{align*}\lim_{x\to 0} \frac{1 - \cos x} {x^2} = \lim_{x\to 0} \frac{\sin x} {2x} = \lim_{x\to 0} \frac{\cos x} {2} = \frac{1} {2}.\end{align*}

Lesson Summary

  1. We learned to examine end behavior of functions on infinite intervals.
  2. We determined horizontal asymptotes of rational functions.
  3. We examined indeterminate forms of limits of rational functions.
  4. We applied L’Hospital’s Rule to find limits of rational functions.

Multimedia Links

For an introduction to L'Hopital's Rule (8.0), see Khan Academy, L'Hopital's Rule (8:51).

Review Questions

  1. Use your graphing calculator to estimate \begin{align*}\lim_{x \to +\infty} \left [x[{\ln}(x + 3) - {\ln}(x)]\right].\end{align*}
  2. Use your graphing calculator to estimate \begin{align*}\lim_{x \to +\infty} \frac{x} {{\ln}(1 + 2e^x)}.\end{align*}

In problems #3–10, use L’Hospital’s Rule to compute the limits, if they exist.

  1. \begin{align*}\lim_{x\to 3} \frac{x^2 -9} {x - 3}\end{align*}
  2. \begin{align*}\lim_{x\to 0} \frac{\sqrt{1 + x} - \sqrt{1 - x}} {x}\end{align*}
  3. \begin{align*}\lim_{x \to +\infty} \frac{{\ln}(x)} {\sqrt{x}}\end{align*}
  4. \begin{align*}\lim_{x \to +\infty} x^2 e^{-2x}\end{align*}
  5. \begin{align*}\lim_{x\to 0} (1 - x)^\frac{1}{x}\end{align*}
  6. \begin{align*}\lim_{x\to 0} \frac{e^x -1 -x} {x^2}\end{align*}
  7. \begin{align*}\lim_{x \to -\infty} \frac{e^x -1 -x} {x^2}\end{align*}
  8. \begin{align*}\lim_{x \to \infty} x^{-\frac{1} {4}} {\ln}(x)\end{align*}

Review Answers

  1. \begin{align*}\lim_{x \to +\infty} \left[x[{\ln}(x + 3) - {\ln} (x)]\right] = 3\end{align*}
  2. \begin{align*}\lim_{x \to +\infty} \frac{x} {{\ln}(1 + 2e^x)} = 1\end{align*}
  3. \begin{align*}\lim_{x\to 3} \frac{x^2 -9} {x - 3} = 6\end{align*}
  4. \begin{align*}\lim_{x\to 0} \frac{\sqrt{1 + x} - \sqrt{1 - x}} {x} = 1\end{align*}
  5. \begin{align*}\lim_{x \to +\infty} \frac{{\ln} (x)} {\sqrt{x}} = 0\end{align*}
  6. \begin{align*}\lim_{x \to +\infty} x^2 e^{-2x} = 0\end{align*}
  7. \begin{align*} \lim_{x\to 0} (1 - x)^{\frac{1} {x}} = \frac{1} {e}\end{align*} : Hint: Let \begin{align*} (1 - x)^{\frac{1} {x}} = e^{{\ln} (1 - x)^{\frac{1} {x}}}\end{align*}, so \begin{align*} \lim_{x\to 0} (1 - x)^{\frac{1} {x}} = \lim_{x \to 0} e^{{\ln}(1 - x) \frac{1} {x}} = e^{\lim_{x \to 0} \frac{1} {x} {\ln}(1 - x)}\end{align*}
  8. \begin{align*}\lim_{x\to 0} \frac{e^x -1 -x} {x^2} = \frac{1}{2}\end{align*}
  9. \begin{align*}\lim_{x \to -\infty} \frac{e^x -1 -x} {x^2} = 0\end{align*}
  10. \begin{align*}\lim_{x \to \infty} x^{-\frac{1} {4}} {\ln} (x) = 0\end{align*}

Image Attributions

Show Hide Details
Files can only be attached to the latest version of section
Help us create better content by rating and reviewing this modality.
Loading reviews...
Please wait...
Please wait...
Image Detail
Sizes: Medium | Original