2.5: Limits at Infinity
 Page ID
 10189
\( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)
\( \newcommand{\vecd}[1]{\overset{\!\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)
We need to know the behavior of \(f\) as \(x→±∞\). In this section, we define limits at infinity and show how these limits affect the graph of a function.
We begin by examining what it means for a function to have a finite limit at infinity. Then we study the idea of a function with an infinite limit at infinity. Back in Introduction to Functions and Graphs, we looked at vertical asymptotes; in this section we deal with horizontal and oblique asymptotes.
Limits at Infinity and Horizontal Asymptotes
Recall that \(\lim_{x→a}f(x)=L\) means \(f(x)\) becomes arbitrarily close to \(L\) as long as \(x\) is sufficiently close to \(a\). We can extend this idea to limits at infinity. For example, consider the function \(f(x)=2+\frac{1}{x}\). As can be seen graphically in Figure and numerically in Table, as the values of \(x\) get larger, the values of \(f(x)\) approach \(2\). We say the limit as \(x\) approaches \(∞\) of \(f(x)\) is \(2\) and write \(\lim_{x→∞}f(x)=2\). Similarly, for \(x<0\), as the values \(x\) get larger, the values of \(f(x)\) approaches \(2\). We say the limit as \(x\) approaches \(−∞\) of \(f(x)\) is \(2\) and write \(\lim_{x→a}f(x)=2\).
Figure \(\PageIndex{1}\):The function approaches the asymptote \(y=2\) as \(x\) approaches \(±∞\).
\(x\)  10  100  1,000  10,000 

\(2+\frac{1}{x}\)  2.1  2.01  2.001  2.0001 
\(x\)  −10  −100  −1000  −10,000 
\(2+\frac{1}{x}\)  1.9  1.99  1.999  1.9999 
More generally, for any function \(f\), we say the limit as \(x→∞\) of \(f(x)\) is \(L\) if \(f(x)\) becomes arbitrarily close to \(L\) as long as \(x\) is sufficiently large. In that case, we write \(\lim_{x→a}f(x)=L\). Similarly, we say the limit as \(x→−∞\) of \(f(x)\) is \(L\) if \(f(x)\) becomes arbitrarily close to \(L\) as long as \(x<0\) and \(x\) is sufficiently large. In that case, we write \(\lim_{x→−∞}f(x)=L\). We now look at the definition of a function having a limit at infinity.
Definition: limit at infinity (Informal)
If the values of \(f(x)\) become arbitrarily close to \(L\) as \(x\) becomes sufficiently large, we say the function \(f\) has a limit at infinity and write
\[\lim_{x→∞}f(x)=L.\]
If the values of \(f(x)\) becomes arbitrarily close to \(L\) for \(x<0\) as \(x\) becomes sufficiently large, we say that the function \(f\) has a limit at negative infinity and write
\[\lim_{x→∞}f(x)=L.\]
If the values \(f(x)\) are getting arbitrarily close to some finite value \(L\) as \(x→∞\) or \(x→−∞\), the graph of \(f\) approaches the line \(y=L\). In that case, the line \(y=L\) is a horizontal asymptote of \(f\) (Figure). For example, for the function \(f(x)=\frac{1}{x}\), since \(\lim_{x→∞}f(x)=0\), the line \(y=0\) is a horizontal asymptote of \(f(x)=\frac{1}{x}\).
Definition: horizontal asymptote
If \(\lim_{x→∞}f(x)=L\) or \(\lim_{x→−∞}f(x)=L\), we say the line \(y=L\) is a horizontal asymptote of \(f\).
Figure \(\PageIndex{2}\): (a) As \(x→∞\), the values of \(f\) are getting arbitrarily close to \(L\). The line \(y=L\) is a horizontal asymptote of \(f\). (b) As \(x→−∞\), the values of \(f\) are getting arbitrarily close to \(M\). The line \(y=M\) is a horizontal asymptote of \(f\).
A function cannot cross a vertical asymptote because the graph must approach infinity (or \( −∞\)) from at least one direction as \(x\) approaches the vertical asymptote. However, a function may cross a horizontal asymptote. In fact, a function may cross a horizontal asymptote an unlimited number of times. For example, the function \(f(x)=\frac{(cosx)}{x}+1\) shown in Figure intersects the horizontal asymptote \(y=1\) an infinite number of times as it oscillates around the asymptote with everdecreasing amplitude.
Figure \(\PageIndex{3}\): The graph of \(f(x)=(cosx)/x+1\) crosses its horizontal asymptote \(y=1\) an infinite number of times.
The algebraic limit laws and squeeze theorem we introduced in Introduction to Limits also apply to limits at infinity. We illustrate how to use these laws to compute several limits at infinity.
Example \(\PageIndex{1}\): Computing Limits at Infinity
For each of the following functions \(f\), valuate \(\lim_{x→∞}f(x)\) and \(\lim_{x→−∞}f(x)\). Determine the horizontal asymptote(s) for \(f\).
 \(f(x)=5−\frac{2}{x^2}\)
 \(f(x)=\frac{sinx}{x}\)
 \(f(x)=tan^{−1}(x)\)
Solution
a. Using the algebraic limit laws, we have
\(\lim_{x→∞}(5−\frac{2}{x^2})=\lim_{x→∞}5−2(\lim_{x→∞}\frac{1}{x}).(\lim_{x→∞}\frac{1}{x})=5−2⋅0=5.
Similarly, \(\lim_{x→∞}f(x)=5\). Therefore, \(f(x)=\frac{5−2}{x^2}\) has a horizontal asymptote of \(y=5\) and \(f\) approaches this horizontal asymptote as \(x→±∞\) as shown in the following graph.
Figure \(\PageIndex{4}\): This function approaches a horizontal asymptote as \(x→±∞.\)
b. Since \(1≤sinx≤1\) for all \(x\), we have
\(\frac{−1}{x}≤\frac{sinx}{x}≤\frac{1}{x}\)
for all \(x≠0\). Also, since
\(\lim_{x→∞}\frac{−1}{x}=0=\lim_{x→∞}\frac{1}{x}\),
we can apply the squeeze theorem to conclude that
\(\lim_{x→∞}\frac{sinx}{x}=0.\)
Similarly,
\(\lim_{x→−∞}\frac{sinx}{x}=0.\)
Thus, \(f(x)=\frac{sinx}{x}\) has a horizontal asymptote of \(y=0\) and \(f(x)\) approaches this horizontal asymptote as \(x→±∞\) as shown in the following graph.
Figure \(\PageIndex{5}\): This function crosses its horizontal asymptote multiple times.
c. To evaluate \(\lim_{x→∞}tan^{−1}(x)\) and \(\lim_{x→−∞}tan^{−1}(x)\), we first consider the graph of \(y=tan(x)\) over the interval \((−π/2,π/2)\) as shown in the following graph.
Figure \(\PageIndex{6}\): The graph of \(tanx\) has vertical asymptotes at \(x=±\frac{π}{2}\)
Since
\(\lim_{x→(π/2)−}tanx=∞,\)
it follows that
\(\lim_{x→∞}tan^{−1}(x)=\frac{π}{2}.\)
Similarly, since
\(\lim_{x→(π/2)^+}tanx=−∞,\)
it follows that
\(\lim_{x→−∞}tan^{−1}(x)=−\frac{π}{2}.\)
As a result, \(y=\frac{π}{2}\) and \(y=−\frac{π}{2}\) are horizontal asymptotes of \(f(x)=tan^{−1}(x)\) as shown in the following graph.
Figure \(\PageIndex{7}\): This function has two horizontal asymptotes.
Exercise \(\PageIndex{1}\)
Evaluate \(\lim_{x→−∞}(3+\frac{4}{x})\) and \(\lim_{x→∞}(3+\frac{4}{x})\). Determine the horizontal asymptotes of \(f(x)=3+\frac{4}{x},\) if any.
 Hint

\(\lim_{x→±∞}1/x=0\)
 Answer

Both limits are \(3.\) The line \(y=3\) is a horizontal asymptote.
Infinite Limits at Infinity
Sometimes the values of a function \(f\) become arbitrarily large as \(x→∞ \)(or as \(x→−∞\)). In this case, we write \(\lim_{x→∞}f(x)=∞\) (or \(\lim_{x→−∞}f(x)=∞\)). On the other hand, if the values of \(f\) are negative but become arbitrarily large in magnitude as \(x→∞\) (or as \(x→−∞\)), we write \(\lim_{x→∞}f(x)=−∞\) (or \(\lim_{x→−∞}f(x)=−∞\)).
For example, consider the function \(f(x)=x^3\). As seen in Table and Figure, as \(x→∞\) the values \(f(x)\) become arbitrarily large. Therefore, \(\lim_{x→∞}x^3=∞\). On the other hand, as \(x→−∞\), the values of \(f(x)=x3\) are negative but become arbitrarily large in magnitude. Consequently, \(\lim_{x→−∞}x^3=−∞.\)
\(x\)  10  20  50  100  1000 

\(x^3\)  1000  8000  125,000  1,000,000  1,000,000,000 
\(x\)  −10  −20  −50  −100  −1000 
\(x^3\)  −1000  −8000  −125,000  −1,000,000  −1,000,000,000 
Values of a power function as \(x→±∞\)
Figure \(\PageIndex{8}\): For this function, the functional values approach infinity as \(x→±∞.\)
Definition: infinite limit at infinity (Informal)
We say a function \(f\) has an infinite limit at infinity and write
\[\lim_{x→∞}f(x)=∞.\]
if \(f(x)\) becomes arbitrarily large for \(x\) sufficiently large. We say a function has a negative infinite limit at infinity and write
\[\lim_{x→∞}f(x)=−∞.\]
if \(f(x)<0\) and \(f(x)\) becomes arbitrarily large for \(x\) sufficiently large. Similarly, we can define infinite limits as \(x→−∞.\)
Formal Definitions
Earlier, we used the terms arbitrarily close, arbitrarily large, and sufficiently large to define limits at infinity informally. Although these terms provide accurate descriptions of limits at infinity, they are not precise mathematically. Here are more formal definitions of limits at infinity. We then look at how to use these definitions to prove results involving limits at infinity.
Definition: limit at infinity (Formal)
We say a function \(f\) has a limit at infinity, if there exists a real number \(L\) such that for all \(ε>0\), there exists \(N>0\) such that
\[f(x)−L<ε\]
for all \(x>N.\) in that case, we write
\[\lim_{x→∞}f(x)=L\]
Figure \(\PageIndex{9}\): For a function with a limit at infinity, for all \(x>N, f(x)−L<ε.\)
Earlier in this section, we used graphical evidence in Figure and numerical evidence in Table to conclude that \(\lim_{x→∞}(\frac{2+1}{x})=2\). Here we use the formal definition of limit at infinity to prove this result rigorously.
Example \(\PageIndex{2}\):
Use the formal definition of limit at infinity to prove that \(\lim_{x→∞}(\frac{2+1}{x})=2\).
Solution
Let \(ε>0.\) Let \(N=\frac{1}{ε}\). Therefore, for all \(x>N\), we have
\[2+\frac{1}{x}−2=\frac{1}{x}=\frac{1}{x}<\frac{1}{N}=ε\]
Exercise \(\PageIndex{2}\)
Use the formal definition of limit at infinity to prove that \(\lim_{x→∞}(\frac{3−1}{x^2})=3\).
 Hint

Let \(N=\frac{1}{\sqrt{ε}}\).
 Answer

Let \(ε>0.\) Let \(N=\frac{1}{\sqrt{ε}}\). Therefore, for all \(x>N,\) we have
\(∣3−\frac{1}{x^2}−3∣=\frac{1}{x^2}<\frac{1}{N^2}=ε\)
Therefore, \(\lim_{x→∞}(3−1/x^2)=3.\)
We now turn our attention to a more precise definition for an infinite limit at infinity.
Definition: infinite limit at infinity (Formal)
We say a function \(f\) has an infinite limit at infinity and write
\(\lim_{x→∞}f(x)=∞\)
if for all \(M>0,\) there exists an \(N>0\) such that
\(f(x)>M\)
for all \(x>N\) (see Figure).
We say a function has a negative infinite limit at infinity and write
\(\lim_{x→∞}f(x)=−∞\)
if for all \(M<0\), there exists an \(N>0\) such that
\(f(x)<M\)
for all \(x>N\).
Similarly we can define limits as \(x→−∞.\)
Figure \(\PageIndex{10}\): For a function with an infinite limit at infinity, for all \(x>N, f(x)>M.\)
Earlier, we used graphical evidence (Figure) and numerical evidence (Table) to conclude that \(\lim_{x→∞}x^3=∞\). Here we use the formal definition of infinite limit at infinity to prove that result.
Example \(\PageIndex{3}\):
Use the formal definition of infinite limit at infinity to prove that \(\lim_{x→∞}x^3=∞.\)
Solution
Let \(M>0.\) Let \(N=\sqrt[3]{M}\). Then, for all \(x>N\), we have
\(x^3>N^3=(\sqrt[3]{M})^3=M.\)
Therefore, \(\lim_{x→∞}x^3=∞\).
Exercise \(\PageIndex{3}\)
Use the formal definition of infinite limit at infinity to prove that \(\lim_{x→∞}3x^2=∞.\)
 Hint

Let \(N=\sqrt{\frac{M}{3}}\).
 Answer

Let \(M>0.\) Let \(N=\sqrt{\frac{M}{3}})\). Then, for all \(x>N,\) we have
\(3x^2>3N^2=3(\sqrt{\frac{M}{3}})^22=\frac{3M}{3}=M\)
End Behavior
The behavior of a function as \(x→±∞\) is called the function’s \(end behavior\). At each of the function’s ends, the function could exhibit one of the following types of behavior:
 The function \(f(x)\) approaches a horizontal asymptote \(y=L\).
 The function \(f(x)→∞\) or \(f(x)→−∞.\)
 The function does not approach a finite limit, nor does it approach \(∞\) or \(−∞\). In this case, the function may have some oscillatory behavior.
Let’s consider several classes of functions here and look at the different types of end behaviors for these functions.
End Behavior for Polynomial Functions
Consider the power function \(f(x)=x^n\) where \(n\) is a positive integer. From Figure and Figure, we see that
\[\lim_{x→∞}x^n=∞;n=1,2,3,…\]
and
\[\lim_{x→−∞}x^n=\begin{cases}∞;7n=2,4,6,…\\−∞;&n=1,3,5,….\end{cases}\]
Figure \(\PageIndex{11}\): For power functions with an even power of \(n, \lim_{x→∞}x^n=∞=\lim_{x→−∞}x^n\).
Figure \(\PageIndex{12}\): For power functions with an odd power of \(n, \lim_{x→∞}x^n=∞\) and
\(\lim_{x→−∞}x^n=−∞.\)
Using these facts, it is not difficult to evaluate \(\lim_{x→∞}cx^n\) and \(\lim_{x→−∞}cx^n\), where \(c\) is any constant and \(n\) is a positive integer. If \(c>0\), the graph of \(y=cx^n\)is a vertical stretch or compression of \(y=x^n,\) and therefore
\(\lim_{x→∞}cx^n=\lim_{x→∞}x^n\) and \(\lim_{x→−∞}cx^n=\lim_{x→−∞}x^n\) if \(c>0\).
If \(c<0,\) the graph of \(y=cx^n\) is a vertical stretch or compression combined with a reflection about the \(x\)axis, and therefore
\(\lim_{x→∞}cx^n=−\lim_{x→∞}x^n\) and \(\lim_{x→−∞}cx^n=−\lim_{x→−∞}x^n\) if \(c<0.\)
If \(c=0,y=cx^n=0,\) in which case \(\lim_{x→∞}cx^n=0=\lim_{x→−∞}cx^n.\)
Example \(\PageIndex{4}\): Limits at Infinity for Power Functions
For each function \(f\), evaluate \(\lim_{x→∞}f(x)\) and \(\lim_{x→−∞}f(x)\).
 \(f(x)=−5x^3\)
 \(f(x)=2x^4\)
Solution:
 Since the coefficient of \(x^3\) is \(−5\), the graph of \(f(x)=−5x^3\) involves a vertical stretch and reflection of the graph of \(y=x^3\) about the \(x\)axis. Therefore, \(\lim_{x→∞}(−5x^3)=−∞\) and \(\lim_{x→−∞}(−5x^3)=∞\).
 Since the coefficient of \(x^4\) is \(2\), the graph of \(f(x)=2x^4\) is a vertical stretch of the graph of \(y=x^4\). Therefore, \(\lim_{x→∞}2x^4=∞\) and \(\lim_{x→−∞}2x^4=∞\).
Exercise \(\PageIndex{4}\)
Let \(f(x)=−3x^4\). Find \(\lim_{x→∞}f(x)\).
 Hint

The coefficient \(−3\) is negative.
 Answer

\(−∞\)
We now look at how the limits at infinity for power functions can be used to determine \(\lim_{x→±∞}f(x)\) for any polynomial function \(f\). Consider a polynomial function
\[f(x)=a_nx^n+a_{n−1}x^n−1+…+a^1x+a^0\]
of degree \(n≥1\) so that \(a_n≠0.\)Factoring, we see that
\[f(x)=a_nx^n(1+\frac{a_{n−1}}{a_n}\frac{1}{x}+…+\frac{a_1}{a_n}\frac{1}{x^{n−1}}+\frac{a_0}{a^n}).\]
As \(x→±∞,\) all the terms inside the parentheses approach zero except the first term. We conclude that
\[\lim_{x→±∞}f(x)=\lim_{x→±∞}a_nx^n.\]
For example, the function \(f(x)=5x^3−3x^2+4\) behaves like \(g(x)=5x^3\) as \(x→±∞\) as shown in Figure and Table.
Figure \(\PageIndex{13}\): The end behavior of a polynomial is determined by the behavior of the term with the largest exponent.
\(x\)  10  100  1000 

\(f(x)=5x^3−3x^2+4\)  4704  4,970,004  4,997,000,004 
\(g(x)=5x^3\)  5000  5,000,000  5,000,000,000 
\(x\)  −10  −100  −000 
\(f(x)=5x^3−3x^2+4\)  −5296  −5,029,996  −5,002,999,996 
\(g(x)=5x^3\)  −5000  −5,000,000  −5,000,000,000 
A polynomial’s end behavior is determined by the term with the largest exponent
End Behavior for Algebraic Functions
The end behavior for rational functions and functions involving radicals is a little more complicated than for polynomials. In Example, we show that the limits at infinity of a rational function \(f(x)=\frac{p(x)}{q(x)}\) depend on the relationship between the degree of the numerator and the degree of the denominator. To evaluate the limits at infinity for a rational function, we divide the numerator and denominator by the highest power of \(x\) appearing in the denominator. This determines which term in the overall expression dominates the behavior of the function at large values of \(x\).
Example \(\PageIndex{5}\): Determining End Behavior for Rational Functions
For each of the following functions, determine the limits as \(x→∞\) and \(x→−∞.\) Then, use this information to describe the end behavior of the function.
 \(f(x)=\frac{3x−1}{2x+5}\) (Note: The degree of the numerator and the denominator are the same.)
 \(f(x)=\frac{3x^2+2x}{4x^3−5x+7}\) (Note: The degree of numerator is less than the degree of the denominator.)
 \(f(x)=\frac{3x^2+4x}{x+2}\) in the denominator is x. Therefore, dividing the numerator and denominator by x and applying the algebraic limit laws, we see that
Solution
a. The highest power of \(x\) in the denominator is \(x\). Therefore, dividing the numerator and denominator by \(x\) and applying the algebraic limit laws, we see that
\(\lim_{x→±∞}\frac{3x−1}{2x+5}=\lim_{x→±∞}\frac{3−1/x}{2+5/x}\)
\(=\frac{\lim_{x→±∞}(3−1/x)}{\lim_{x→±∞}(2+5/x)}\)
\(=\frac{\lim_{x→±∞}3−\lim_{x→±∞}1/x}{\lim_{x→±∞}2+\lim_{x→±∞}5/x}\)
\(=\frac{3−0}{2+0}=\frac{3}{2}.\)
Since \(\lim_{x→±∞}f(x)=\frac{3}{2}\), we know that \(y=\frac{3}{2}\) is a horizontal asymptote for this function as shown in the following graph.
Figure \(\PageIndex{14}\): The graph of this rational function approaches a horizontal asymptote as \(x→±∞.\)
b. Since the largest power of \(x\) appearing in the denominator is \(x^3\), divide the numerator and denominator by \(x^3\). After doing so and applying algebraic limit laws, we obtain
\(\lim_{x→±∞}\frac{3x^2+2x}{4x^3−5x+7}=\lim_{x→±∞}\frac{3/x+2/x^2}{4−5/x^2+7/x^3}=\frac{3.0+2.0}{4−5.0+7.0}=0.\)
Therefore \(f\) has a horizontal asymptote of \(y=0\) as shown in the following graph.
Figure \(\PageIndex{15}\): The graph of this rational function approaches the horizontal asymptote \(y=0\) as \(x→±∞.\)
c. Dividing the numerator and denominator by \(x\), we have
\(\lim_{x→±∞}\frac{3x^2+4x}{x+2}=\lim_{x→±∞}\frac{3x+4}{1+2/x}\).
As \(x→±∞\), the denominator approaches \(1\). As \(x→∞\), the numerator approaches \(+∞\). As \(x→−∞\), the numerator approaches \(−∞\). Therefore \(\lim_{x→∞}f(x)=∞\), whereas \(\lim_{x→−∞}f(x)=−∞\) as shown in the following figure.
Figure \(\PageIndex{16}\): As \(→∞\), the values \(f(x)→∞\). As \(x→−∞\), the values \(f(x)→−∞.\)
Exercise \(\PageIndex{5}\)
Evaluate \(\lim_{x→±∞}\frac{3x^2+2x−1}{5x^2−4x+7}\) and use these limits to determine the end behavior of \(f(x)=\frac{3x^2+2x−2}{5x^2−4x+7}\).
 Hint

Divide the numerator and denominator by \(x^2\).
 Answer

\(\frac{3}{5}\)
Before proceeding, consider the graph of \(f(x)=\frac{(3x^2+4x)}{(x+2)}\) shown in Figure. As \(x→∞\) and \(x→−∞\), the graph of \(f\) appears almost linear. Although \(f\) is certainly not a linear function, we now investigate why the graph of \(f\) seems to be approaching a linear function. First, using long division of polynomials, we can write
\(f(x)=\frac{3x^2+4x}{x+2}=3x−2+\frac{4}{x+2}\).
Since \(\frac{4}{(x+2)}→0\) as \(x→±∞,\) we conclude that
\(\lim_{x→±∞}(f(x)−(3x−2))=\lim_{x→±∞}\frac{4}{x+2}=0.\)
Therefore, the graph of \(f\) approaches the line \)y=3x−2\) as \(x→±∞\). This line is known as an oblique asymptote for \(f\) (Figure).
Figure \(\PageIndex{17}\): The graph of the rational function \(f(x)=(3x^2+4x)/(x+2)\) approaches the oblique asymptote \(y=3x−2\) as \(x→±∞.\)
We can summarize the results of Example to make the following conclusion regarding end behavior for rational functions. Consider a rational function
\(f(x)=\frac{p(x)}{q(x)}=\frac{a_nx^n+a_{n−1}x^{n−1}+…+a_1x+a_0}{b_mx^m+b_{m−1}x^{m−1}+…+b_1x+b_0}\),
where \(a_n≠0\) and \(b_m≠0.\)
1. If the degree of the numerator is the same as the degree of the denominator \((n=m),\) then \(f\) has a horizontal asymptote of \(y=a_n/b_m\) as \(x→±∞.\)
2. If the degree of the numerator is less than the degree of the denominator \((n<m),\) then \(f\) has a horizontal asymptote of \(y=0\) as \(x→±∞.\)
3. If the degree of the numerator is greater than the degree of the denominator \((n>m),\) then \(f\) does not have a horizontal asymptote. The limits at infinity are either positive or negative infinity, depending on the signs of the leading terms. In addition, using long division, the function can be rewritten as
\(f(x)=\frac{p(x)}{q(x)}=g(x)+\frac{r(x)}{q(x)}\),
where the degree of \(r(x)\) is less than the degree of \(q(x)\). As a result, \(\lim_{x→±∞}r(x)/q(x)=0\). Therefore, the values of \([f(x)−g(x)]\) approach zero as \(x→±∞\). If the degree of \(p(x)\) is exactly one more than the degree of \(q(x) (n=m+1)\), the function \(g(x)\) is a linear function. In this case, we call \(g(x)\) an oblique asymptote.
Now let’s consider the end behavior for functions involving a radical.
Example \(\PageIndex{6}\): Determining End Behavior for a Function Involving a Radical
Find the limits as \(x→∞\) and \(x→−∞\) for \(f(x)=\frac{3x−2}{\sqrt{4x^2+5}}\) and describe the end behavior of \(f\).
Solution
Let’s use the same strategy as we did for rational functions: divide the numerator and denominator by a power of \(x\). To determine the appropriate power of \(x\), consider the expression \(\sqrt{4x^2+5}\) in the denominator. Since
\[\sqrt{4x^2+5}≈\sqrt{4x^2}=2x\]
for large values of \(x\) in effect \(x\) appears just to the first power in the denominator. Therefore, we divide the numerator and denominator by \(x\). Then, using the fact that \(x=x\) for \(x>0, x=−x\) for \(x<0\), and \(x=\sqrt{x^2}\) for all \(x\), we calculate the limits as follows:
\(\lim_{x→∞}\frac{3x−2}{\sqrt{4x^2+5}}=\lim_{x→∞}\frac{(1/x)(3x−2)}{(1/x)\sqrt{4x^2+5}}\)
\(=\lim_{x→∞}\frac{(1/x)(3x−2)}{\sqrt{(1/x^2)(4x2+5)}}\)
\(=\lim_{x→∞}\frac{3−2/x}{\sqrt{4+5/x^2}}=\frac{3}{\sqrt{4}}=\frac{3}{2}\)
\(\lim_{x→−∞}\frac{3x−2}{\sqrt{4x^2+5}}=\lim_{x→−∞}\frac{(1/x)(3x−2)}{(1/x)\sqrt{4x^2+5}}\)
\(=\lim_{x→−∞}\frac{(−1/x)(3x−2)}{\sqrt{(1/x^2)(4x^2+5)}}\)
\(=\lim_{x→−∞}\frac{−3+2/x}{\sqrt{4+5/x^2}}=\frac{−3}{\sqrt{4}}=\frac{−3}{2}\).
Therefore, \(f(x)\) approaches the horizontal asymptote \(y=\frac{3}{2}\) as \(x→∞\) and the horizontal asymptote \(y=−\frac{3}{2}\) as \(x→−∞\) as shown in the following graph.
Figure \(\PageIndex{18}\):This function has two horizontal asymptotes and it crosses one of the asymptotes.
Exercise \(\PageIndex{6}\)
Evaluate \(\lim_{x→∞}\frac{\sqrt{3x^2+4}}{x+6}\).
 Hint

Divide the numerator and denominator by \(x.\)
 Answer

\(±\sqrt{3}\)
Determining End Behavior for Transcendental Functions
The six basic trigonometric functions are periodic and do not approach a finite limit as \(x→±∞.\) For example, \(sinx\) oscillates between \(1and−1\) (Figure). The tangent function \(x\) has an infinite number of vertical asymptotes as \(x→±∞\); therefore, it does not approach a finite limit nor does it approach \(±∞\) as \(x→±∞\) as shown in Figure.
Figure \(\PageIndex{19}\):The function \(f(x)=sinx\) oscillates between \(1and−1\) as \(x→±∞\)
Figure \(\PageIndex{20}\): The function \(f(x)=tanx\) does not approach a limit and does not approach \(±∞\) as \(x→±∞\)
Recall that for any base \(b>0,b≠1,\) the function \(y=b^x\) is an exponential function with domain \((−∞,∞)\) and range \((0,∞)\). If \(b>1,y=b^x\) is increasing over `\((−∞,∞)\). If \(0<b<1, y=b^x\) is decreasing over \((−∞,∞).\) For the natural exponential function \(f(x)=e^x, e≈2.718>1\). Therefore, \(f(x)=e^x\) is increasing on `\((−∞,∞)\) and the range is `\((0,∞).\) The exponential function \(f(x)=e^x\) approaches \(∞\) as \(x→∞\) and approaches \(0\) as \(x→−∞\) as shown in Table and Figure.
\(x\)  −5  −2  0  2  5 

\(e^x\)  0.00674  0.135  1  7.389  148.413 
Figure \(\PageIndex{21}\): The exponential function approaches zero as \(x→−∞\) and approaches \(∞\) as \(x→∞.\)
Recall that the natural logarithm function \(f(x)=ln(x)\) is the inverse of the natural exponential function \(y=e^x\). Therefore, the domain of \(f(x)=ln(x)\) is \((0,∞)\) and the range is \((−∞,∞)\). The graph of \(f(x)=ln(x)\) is the reflection of the graph of \(y=e^x\) about the line \(y=x\). Therefore, \(ln(x)→−∞\) as \(x→0^+\) and \(ln(x)→∞\) as \(x→∞\) as shown in Figure and Table.
\(x\)  0.01  0.1  1  10  100 

\(ln(x)\)  −4.605  −2.303  0  2.303  4.605 
Figure \(\PageIndex{22}\): The natural logarithm function approaches \(∞\) as \(x→∞.\)
Example \(\PageIndex{7}\): Determining End Behavior for a Transcendental Function
Find the limits as \(x→∞\) and \(x→−∞\) for \(f(x)=\frac{(2+3e^x)}{(7−5ex^)}\) and describe the end behavior of \(f.\)
Solution
To find the limit as \(x→∞,\) divide the numerator and denominator by \(e^x\):
\(\lim_{x→∞}f(x)=\lim_{x→∞}\frac{2+3e^x}{7−5e^x}\)
\(=\lim_{x→∞}\frac{(2/e^x)+3}{(7/e^x)−5.}\)
As shown in Figure, \(e^x→∞\) as \(x→∞.\) Therefore,
\(\lim_{x→∞}\frac{2}{e^x}=0=\lim_{x→∞}\frac{7}{e^x}\).
We conclude that \(\lim_{x→∞f}(x)=−\frac{3}{5}\), and the graph of \(f\) approaches the horizontal asymptote \(y=−\frac{3}{5}\) as \(x→∞.\) To find the limit as \(x→−∞\), use the fact that \(e^x→0\) as \(x→−∞\) to conclude that \(\lim_{x→∞}f(x)=\frac{2}{7}\), and therefore the graph of approaches the horizontal asymptote \(y=\frac{2}{7}\) as \(x→−∞\).
Exercise \(\PageIndex{7}\)
Find the limits as \(x→∞\) and \(x→−∞\) for \(f(x)=\frac{(3e^x−4)}{(5e^x+2).}\)
 Hint

\(\lim_{x→∞}e^x=∞\) and \(im_{x→∞}e^x=0.\)
 Answer

\(\lim_{x→∞}f(x)=\frac{3}{5}, \lim_{x→−∞}f(x)=−2\)
Guidelines for Drawing the Graph of a Function
We now have enough analytical tools to draw graphs of a wide variety of algebraic and transcendental functions. Before showing how to graph specific functions, let’s look at a general strategy to use when graphing any function.
ProblemSolving Strategy: Drawing the Graph of a Function
Given a function \(f\), use the following steps to sketch a graph of \(f\):
 Determine the domain of the function.
 Locate the \(x\) and \(y\)intercepts.
 Evaluate \(\lim_{x→∞}f(x)\) and \(\lim_{x→−∞}f(x)\) to determine the end behavior. If either of these limits is a finite number \(L\), then \(y=L\) is a horizontal asymptote. If either of these limits is \(∞\) or \(−∞\), determine whether \(f\) has an oblique asymptote. If \(i\)s a rational function such that \(f(x)=\frac{p(x)}{q(x)}\), where the degree of the numerator is greater than the degree of the denominator, then \(f\) can be written as \[f(x)=\frac{p(x)}{q(x)}=g(x)+\frac{r(x)}{q(x),}\] where the degree of \(r(x)\) is less than the degree of \(q(x)\). The values of \(f(x)\) approach the values of \(g(x)\) as \(x→±∞\). If \(g(x)\) is a linear function, it is known as an oblique asymptote.
 Determine whether \(f\) has any vertical asymptotes.
 Calculate \(f′.\) Find all critical points and determine the intervals where \(f\) is increasing and where \(f\) is decreasing. Determine whether \(f\) has any local extrema.
 Calculate \(f''.\) Determine the intervals where \(f\) is concave up and where \(f\) is concave down. Use this information to determine whether \(f\) has any inflection points. The second derivative can also be used as an alternate means to determine or verify that \(f\) has a local extremum at a critical point.
Now let’s use this strategy to graph several different functions. We start by graphing a polynomial function.
Example \(\PageIndex{8}\): Sketching a Graph of a Polynomial
Sketch a graph of \(f(x)=(x−1)^2(x+2).\)
Solution
Step 1: Since \(f\) is a polynomial, the domain is the set of all real numbers.
Step 2: When \(x=0,f(x)=2.\) Therefore, the yintercept is \((0,2)\). To find the \(x\)intercepts, we need to solve the equation \((x−1)^2(x+2)=0\), gives us the \(x\)intercepts \((1,0)\) and \((−2,0)\)
Step 3: We need to evaluate the end behavior of \(f.\)As \(x→∞, (x−1)^2→∞\) and \((x+2)→∞\). Therefore, \(\lim_{x→∞}f(x)=∞\) As \(x→−∞, (x−1)^2→∞\) and \((x+2)→−∞\). Therefore, \(\lim_{x→∞}f(x)=−∞\). To get even more information about the end behavior of \(f\), we can multiply the factors of \(f\).When doing so, we see that
\[f(x)=(x−1)^2(x+2)=x^3−3x+2.\]
Since the leading term of \(f\) is \(x^3\), we conclude that \(f\) behaves like \(y=x^3\) as \(x→±∞.\)
Step 4: Since \(f\) is a polynomial function, it does not have any vertical asymptotes.
Step 5: The first derivative of \(f\) is
\[f′(x)=3x^2−3.\]
Therefore, \(f\) has two critical points: \(x=1,−1.\) Divide the interval \((−∞,∞)\) into the three smaller intervals: \((−∞,−1), (−1,1)\), and \((1,∞)\). Then, choose test points \(x=−2, x=0\), and \(x=2\) from these intervals and evaluate the sign of \(f′(x)\) at each of these test points, as shown in the following table.
Interval  Test point  Sign of Derivative \(f'(x)=3x^2−3=3(x−1)(x+1)\)  Conclusion 

\((−∞,−1)\)  \(x=−2\)  \((+)(−)(−)=+\)  \(f\) is increasing 
\((−1,1)\)  \(x=0\)  \((+)(−)(+)=−\)  \(f\) decreasing 
\((1,∞)\)  (x=2\)  \((+)(+)(+)=+\)  \(f\) is increasing 
From the table, we see that \(f\) has a local maximum at \(x=−1\) and a local minimum at \(x=1\). Evaluating \(f(x)\) at those two points, we find that the local maximum value is \(f(−1)=4\) and the local minimum value is \(f(1)=0.\)
Step 6: The second derivative of \(f\) is
\[f''(x)=6x.\]
The second derivative is zero at \(x=0.\) Therefore, to determine the concavity of \(f\), divide the interval \((−∞,∞)\) into the smaller intervals \((−∞,0)\) and \((0,∞)\), and choose test points \(x=−1\) and \(x=1\) to determine the concavity of \(f\) on each of these smaller intervals as shown in the following table.
Interval  Test Point  Sign of \(''(x)=6x\)  Conclusion 

\((−∞,0)\)  \(x=−1\)  \(−\)  \(f\) is concave down.. 
\((0,∞)\)  \(x=1\)  \(+\)  \(f\) is concave up. 
We note that the information in the preceding table confirms the fact, found in step \(5\), that f has a local maximum at \(x=−1\) and a local minimum at \(x=1\). In addition, the information found in step \(5\)—namely, \(f\) has a local maximum at \(x=−1\) and a local minimum at \(x=1\), and \(f′(x)=0\) at those points—combined with the fact that \(f''\) changes sign only at \(x=0\) confirms the results found in step \(6\) on the concavity of \(f\).
Combining this information, we arrive at the graph of \(f(x)=(x−1)^2(x+2)\) shown in the following graph.
Exercise \(\PageIndex{8}\)
Sketch a graph of \(f(x)=(x−1)^3(x+2).\)
 Answer

\(f\) is a fourthdegree polynomial.
 Answer
Example \(\PageIndex{9}\): Sketching a Rational Function
Sketch the graph of \(f(x)=\frac{x^2}{(1−x^2)}\).
Solution
Step 1: The function \(f\) is defined as long as the denominator is not zero. Therefore, the domain is the set of all real numbers \(x\) except \(x=±1.\)
Step 2: Find the intercepts. If \(x=0,\) then \(f(x)=0\), so \(0\) is an intercept. If \(y=0\), then \(\frac{x^2}{(1−x^2)}=0,\) which implies x=0. Therefore, (0,0) is the only intercept.
Step 3: Evaluate the limits at infinity. Since \(f\)is a rational function, divide the numerator and denominator by the highest power in the denominator: \(x^2\).We obtain
\(\lim_{x→±∞}\frac{x^2}{1−x^2}=\lim_{x→±∞}\frac{1}{\frac{1}{x^2}−1}=−1.\)
Therefore, \(f\) has a horizontal asymptote of \(y=−1\) as \(x→∞\) and \(x→−∞.\)
Step 4: To determine whether \(f\) has any vertical asymptotes, first check to see whether the denominator has any zeroes. We find the denominator is zero when \(x=±1\). To determine whether the lines \(x=1\) or \(x=−1\) are vertical asymptotes of \(f\), evaluate \(\lim_{x→1}f(x)\) and \(\lim_{x→−1}f(x)\). By looking at each onesided limit as \(x→1,\) we see that
\(\lim_{x→1^+}\frac{x^2}{1−x^2}=−∞\) and \(\lim_{x→1^−}\frac{x^2}{1−x^2}=∞.\)
In addition, by looking at each onesided limit as \(x→−1,\) we find that
\(\lim_{x→−1^+}\frac{x^2}{1−x^2}=∞\) and \(\lim_{x→−1^−}\frac{x^2}{1−x^2}=−∞.\)
Step 5: Calculate the first derivative:
\(f′(x)=\frac{(1−x^2)(2x)−x^2(−2x)}{(1−x^2)^2}=\frac{2x}{(1−x^2)^2}\).
Critical points occur at points \(x\) where \(f′(x)=0\) or \(f′(x)\) is undefined. We see that \(f′(x)=0\) when \(x=0.\) The derivative \(f′\) is not undefined at any point in the domain of \(f\). However, \(x=±1\) are not in the domain of \(f\). Therefore, to determine where \(f\) is increasing and where \(f\) is decreasing, divide the interval \((−∞,∞)\) into four smaller intervals: \((−∞,−1), (−1,0), (0,1),\) and \((1,∞)\), and choose a test point in each interval to determine the sign of \(f′(x)\) in each of these intervals. The values \(x=−2, x=−\frac{1}{2}, x=\frac{1}{2}\), and \(x=2\) are good choices for test points as shown in the following table.
Interval  Test point  Sign of \(f′(x)=\frac{2x}{(1−x^2)^2}\)  Conclusion 

\((−∞,−1)\)  \(x=−2\)  \(−/+=−\)  \(f\) is decreasing. 
\((−1,0)\)  \(x=−/2\)  \(−/+=−\)  \(f\) is decreasing. 
\((0,1)\)  \(x=1/2\)  \(+/+=+\)  \(f\) is increasing. 
\((1,∞)\)  \(x=2\)  \(+/+=+\)  \(f\) is increasing. 
From this analysis, we conclude that \(f\) has a local minimum at \(x=0\) but no local maximum.
Step 6: Calculate the second derivative:
\(f''(x)=\frac{(1−x^2)^2(2)−2x(2(1−x^2)(−2x))}{(1−x^2)^4}\)
\(=\frac{(1−x^2)[2(1−x^2)+8x^2]}{(1−x^2)^4}\)
\(=\frac{2(1−x^2)+8x^2}{(1−x^2)^3}\)
\(=\frac{6x^2+2}{(1−x^2)^3}.\)
To determine the intervals where \(f\) is concave up and where \(f\) is concave down, we first need to find all points \(x\) where \(f''(x)=0\) or \(f''(x)\) is undefined. Since the numerator \(6x^2+2≠0\) for any \(x, f''(x)\) is never zero. Furthermore, \(f''\) is not undefined for any \(x\) in the domain of \(f\). However, as discussed earlier, \(x=±1\) are not in the domain of \(f\). Therefore, to determine the concavity of \(f\), we divide the interval \((−∞,∞)\) into the three smaller intervals \((−∞,−1), (−1,−1)\), and \((1,∞)\), and choose a test point in each of these intervals to evaluate the sign of \(f''(x)\). in each of these intervals. The values \(x=−2, x=0\), and \(x=2\) are possible test points as shown in the following table.
Interval  Test Point  Sign of \(f''(x)=\frac{6x^2+2}{(1−x^2)^3}\)  Conclusion 

\((−∞,−1)\)  \(x=−2\)  \(+/−=−\)  \(f\) is concave down. 
\((−1,−1)\)  \(x=0\)  \(+/+=+\)  \(f\) is concave up 
\((1,∞)\)  \(x=2\)  \(+/−=−\)  \(f\) is concave down. 
Combining all this information, we arrive at the graph of \(f\) shown below. Note that, although \(f\) changes concavity at \(x=−1\) and \(x=1\), there are no inflection points at either of these places because \(f\) is not continuous at \(x=−1\) or \(x=1.\)
Exercise \(\PageIndex{9}\)
Sketch a graph of \(f(x)=\frac{(3x+5)}{(8+4x).}\)
 Hint

A line \(y=L\) is a horizontal asymptote of \(f\) if the limit as \(x→∞\) or the limit as \(x→−∞\) of \(f(x)\) is \(L\). A line \(x=a\) is a vertical asymptote if at least one of the onesided limits of \(f\) as \(x→a\) is \(∞\) or \(−∞.\)
 Answer
Example \(\PageIndex{10}\): Sketching a Rational Function with an Oblique Asymptote
Sketch the graph of \(f(x)=\frac{x^2}{(x−1)}\)
Solution
Step 1: The domain of \(f\) is the set of all real numbers \(x\) except \(x=1.\)
Step 2: Find the intercepts. We can see that when \(x=0, f(x)=0,\) so \((0,0)\) is the only intercept.
Step 3: Evaluate the limits at infinity. Since the degree of the numerator is one more than the degree of the denominator, \(f\) must have an oblique asymptote. To find the oblique asymptote, use long division of polynomials to write
\(f(x)=\frac{x^2}{x−1}=x+1+\frac{1}{x−1}\).
Since \(1/(x−1)→0\) as \(x→±∞, f(x)\) approaches the line \(y=x+1\) as \(x→±∞\). The line \(y=x+1\) is an oblique asymptote for \(f\).
Step 4: To check for vertical asymptotes, look at where the denominator is zero. Here the denominator is zero at \(x=1.\) Looking at both onesided limits as \(x→1,\) we find
\(\lim_{x→1^+}\frac{x^2}{x−1}=∞\) and \(\lim_{x→1^−}\frac{x^2}{x−1}=−∞.\)
Therefore, \(x=1\) is a vertical asymptote, and we have determined the behavior of \(f\) as \(x\) approaches \(1\) from the right and the left.
Step 5: Calculate the first derivative:
\(f′(x)=\frac{(x−1)(2x)−x^2(1)}{(x−1)^2}=\frac{x^2−2x}{(x−1)^2}.\)
We have \(f′(x)=0\) when \(x^2−2x=x(x−2)=0\). Therefore, \(x=0\) and \(x=2\) are critical points. Since \(f\) is undefined at \(x=1\), we need to divide the interval \((−∞,∞)\) into the smaller intervals \((−∞,0), (0,1), (1,2),\) and \((2,∞)\), and choose a test point from each interval to evaluate the sign of \(f′(x)\) in each of these smaller intervals. For example, let \(x=−1, x=\frac{1}{2}, x=\frac{3}{2}\), and \(x=3\) be the test points as shown in the following table.
Interval  Test Point  Sign of \(f''(x)=\frac{2}{(x−1)^3}\)  Conclusion 

\((−∞,1)\)  \(x=0\)  \(+/−=−\)  \(f\) is concave down. 
\((1,∞)\)  (x=2\)  \(+/+=+\)  \(f\) is concave up 
From the information gathered, we arrive at the following graph for \(f.\)
Exercise \(\PageIndex{10}\)
Find the oblique asymptote for \(f(x)=\frac{(3x^3−2x+1)}{(2x^2−4)}\).
 Hint

Use long division of polynomials.
 Answer

\(y=\frac{3}{2}x\)
Example \(\PageIndex{11}\): Sketching the Graph of a Function with a Cusp
Sketch a graph of \((x)=(x−1)^{2/3}\)
Solution
Step 1: Since the cuberoot function is defined for all real numbers \(x\) and \((x−1)^{2/3}=(\sqrt[3]{x−1})^2\), the domain of \(f\) is all real numbers.
Step 2: To find the \(y\)intercept, evaluate \(f(0)\). Since \(f(0)=1,\) the \(y\)intercept is \((0,1)\). To find the \(x\)intercept, solve \((x−1)^{2/3}=0\). The solution of this equation is \(x=1\), so the \(x\)intercept is \((1,0).\)
Step 3: Since \(\lim_{x→±∞}(x−1)^{2/3}=∞,\) the function continues to grow without bound as \(x→∞\) and \(x→−∞.\)
Step 4: The function has no vertical asymptotes.
Step 5: To determine where \(f\) is increasing or decreasing, calculate \(f′.\) We find
\[f′(x)=\frac{2}{3}(x−1)^{−1/3}=\frac{2}{3(x−1)^{1/3}}\]
This function is not zero anywhere, but it is undefined when \(x=1.\) Therefore, the only critical point is \(x=1.\) Divide the interval \((−∞,∞)\) into the smaller intervals \((−∞,1)\) and \((1,∞)\), and choose test points in each of these intervals to determine the sign of \(f′(x)\) in each of these smaller intervals. Let \(x=0\) and \(x=2\) be the test points as shown in the following table.
Interval  Test Point  Sign of \(f′(x)=\frac{2}{3(x−1)^{1/3}}\)  Conclusion 

\((−∞,1)\)  \(x=0\)  \(+/−=−\)  \(f\) is decreasing 
\((1,∞)\)  \(x=2\)  \(+/+=+\)  \(f\) is increasing 
We conclude that \(h\)as a local minimum at \(x=1\). Evaluating \(f\) at \(x=1\), we find that the value of \(f\) at the local minimum is zero. Note that \(f′(1)\) is undefined, so to determine the behavior of the function at this critical point, we need to examine \(\lim_{x→1}f′(x).\) Looking at the onesided limits, we have
\[\lim_{x→1^+}\frac{2}{3(x−1)^{1/3}}=∞\) and \(\lim_{x→1^−}\frac{2}{3(x−1)^{1/3}}=−∞.\]
Therefore, \(f\) has a cusp at \(x=1.\)
Step 6: To determine concavity, we calculate the second derivative of \(f:\)
\[f''(x)=−\dfrac{2}{9}(x−1)^{−4/3}=\dfrac{−2}{9(x−1)^{4/3}}.\]
We find that \(f''(x)\) is defined for all \(x\), but is undefined when \(x=1\). Therefore, divide the interval \((−∞,∞)\) into the smaller intervals \((−∞,1)\) and \((1,∞)\), and choose test points to evaluate the sign of \(f''(x)\) in each of these intervals. As we did earlier, let \(x=0\) and \(x=2\) be test points as shown in the following table.
Interval  Test Point  Sign of \(f''(x)=\frac{−2}{3(x−1)^{4/3}}\)  Conclusion 

\((−∞,1)\)  \(x=0\)  \(−/+=−\)  \(f\) is concave down 
\((1,∞)\)  \(x=2\)  \−(+/+=−\)  \(f\) is concave down 
From this table, we conclude that \(i\)s concave down everywhere. Combining all of this information, we arrive at the following graph for \(f\).
Exercise \(\PageIndex{11}\)
Consider the function \(f(x)=5−x^{2/3}\). Determine the point on the graph where a cusp is located. Determine the end behavior of \(f\).
 Hint

A function \(f\) has a cusp at a point a if \(f(a)\) exists, \(f'(a)\) is undefined, one of the onesided limits as \(x→a\) of \(f'(x) is +∞\), and the other onesided limit is \(−∞.\)
 Answer

The function \(f\) has a cusp at \((0,5) \lim_{x→0^−}f′(x)=∞\), \(\lim_{x→0^+}f′(x)=−∞\). For end behavior, \(\lim_{x→±∞}f(x)=−∞.\)
Key Concepts
 The limit of \(f(x)\) is \(L\) as \(x→∞\) (or as \(x→−∞)\) if the values \(f(x)\) become arbitrarily close to \(L\) as \(x\)becomes sufficiently large.
 The limit of \(f(x)\) is \(∞\) as \(x→∞\) if \(f(x)\) becomes arbitrarily large as \(x\) becomes sufficiently large. The limit of \(f(x)\) is \(−∞\) as \(x→∞\) if \(f(x)<0\) and \(f(x)\) becomes arbitrarily large as \(x\) becomes sufficiently large. We can define the limit of \(f(x)\) as \(x\) approaches \(−∞\) similarly.
 For a polynomial function \(p(x)=a_nx^n+a_{n−1}x^{n−1}+…+a_1x+a_0,\) where \(a_n≠0\), the end behavior is determined by the leading term \(a_nx^n\). If \(n≠0, p(x)\) approaches \(∞\) or \(−∞\)at each end.
 For a rational function \(f(x)=\frac{p(x)}{q(x),}\) the end behavior is determined by the relationship between the degree of \(p\) and the degree of \(q\). If the degree of \(p\) is less than the degree of \(q\), the line \(y=0\) is a horizontal asymptote for \(f\). If the degree of \(p\) is equal to the degree of \(q\), then the line \(y=\frac{a_n}{b_n}\) is a horizontal asymptote, where \(a_n\) and \(b_n\) are the leading coefficients of \(p\) and \(q\), respectively. If the degree of \(p\) is greater than the degree of \(q\), then \(f\) approaches \(∞\) or \(−∞\) at each end.
Glossary
 end behavior
 the behavior of a function as \(x→∞\) and \(x→−∞\)
 horizontal asymptote
 if \(\lim_{x→∞}f(x)=L\) or \(\lim_{x→−∞}f(x)=L\), then \(y=L\) is a horizontal asymptote of \(f\)
 infinite limit at infinity
 a function that becomes arbitrarily large as x becomes large
 limit at infinity
 a function that becomes arbitrarily large as \(x\) becomes large
 oblique asymptote
 the line \(y=mx+b\) if \(f(x)\) approaches it as \(x→∞\) or\( x→−∞\)
Contributors
Gilbert Strang (MIT) and Edwin “Jed” Herman (Harvey Mudd) with many contributing authors. This content by OpenStax is licensed with a CCBYSANC 4.0 license. Download for free at http://cnx.org.