Calculus Volume 1

# 4.6Limits at Infinity and Asymptotes

Calculus Volume 14.6 Limits at Infinity and Asymptotes

### Learning Objectives

• 4.6.1. Calculate the limit of a function as $xx$ increases or decreases without bound.
• 4.6.2. Recognize a horizontal asymptote on the graph of a function.
• 4.6.3. Estimate the end behavior of a function as $xx$ increases or decreases without bound.
• 4.6.4. Recognize an oblique asymptote on the graph of a function.
• 4.6.5. Analyze a function and its derivatives to draw its graph.

We have shown how to use the first and second derivatives of a function to describe the shape of a graph. To graph a function $ff$ defined on an unbounded domain, we also need to know the behavior of $ff$ as $x→±∞.x→±∞.$ In this section, we define limits at infinity and show how these limits affect the graph of a function. At the end of this section, we outline a strategy for graphing an arbitrary function $f.f.$

### Limits at Infinity

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 $limx→af(x)=Llimx→af(x)=L$ means $f(x)f(x)$ becomes arbitrarily close to $LL$ as long as $xx$ is sufficiently close to $a.a.$ We can extend this idea to limits at infinity. For example, consider the function $f(x)=2+1x.f(x)=2+1x.$ As can be seen graphically in Figure 4.40 and numerically in Table 4.2, as the values of $xx$ get larger, the values of $f(x)f(x)$ approach $2.2.$ We say the limit as $xx$ approaches $∞∞$ of $f(x)f(x)$ is $22$ and write $limx→∞f(x)=2.limx→∞f(x)=2.$ Similarly, for $x<0,x<0,$ as the values $|x||x|$ get larger, the values of $f(x)f(x)$ approaches $2.2.$ We say the limit as $xx$ approaches $−∞−∞$ of $f(x)f(x)$ is $22$ and write $limx→af(x)=2.limx→af(x)=2.$

Figure 4.40 The function approaches the asymptote $y=2y=2$ as $xx$ approaches $±∞.±∞.$
 $xx$ $1010$ $100100$ $1,0001,000$ $10,00010,000$ $2+1x2+1x$ $2.12.1$ $2.012.01$ $2.0012.001$ $2.00012.0001$ $xx$ $−10−10$ $−100−100$ $−1000−1000$ $−10,000−10,000$ $2+1x2+1x$ $1.91.9$ $1.991.99$ $1.9991.999$ $1.99991.9999$
Table 4.2 Values of a function $ff$ as $x→±∞x→±∞$

More generally, for any function $f,f,$ we say the limit as $x→∞x→∞$ of $f(x)f(x)$ is $LL$ if $f(x)f(x)$ becomes arbitrarily close to $LL$ as long as $xx$ is sufficiently large. In that case, we write $limx→∞f(x)=L.limx→∞f(x)=L.$ Similarly, we say the limit as $x→−∞x→−∞$ of $f(x)f(x)$ is $LL$ if $f(x)f(x)$ becomes arbitrarily close to $LL$ as long as $x<0x<0$ and $|x||x|$ is sufficiently large. In that case, we write $limx→−∞f(x)=L.limx→−∞f(x)=L.$ We now look at the definition of a function having a limit at infinity.

### Definition

(Informal) If the values of $f(x)f(x)$ become arbitrarily close to $LL$ as $xx$ becomes sufficiently large, we say the function $ff$ has a limit at infinity and write

$limx→∞f(x)=L.limx→∞f(x)=L.$

If the values of $f(x)f(x)$ becomes arbitrarily close to $LL$ for $x<0x<0$ as $|x||x|$ becomes sufficiently large, we say that the function $ff$ has a limit at negative infinity and write

$limx→–∞f(x)=L.limx→–∞f(x)=L.$

If the values $f(x)f(x)$ are getting arbitrarily close to some finite value $LL$ as $x→∞x→∞$ or $x→−∞,x→−∞,$ the graph of $ff$ approaches the line $y=L.y=L.$ In that case, the line $y=Ly=L$ is a horizontal asymptote of $ff$ (Figure 4.41). For example, for the function $f(x)=1x,f(x)=1x,$ since $limx→∞f(x)=0,limx→∞f(x)=0,$ the line $y=0y=0$ is a horizontal asymptote of $f(x)=1x.f(x)=1x.$

### Definition

If $limx→∞f(x)=Llimx→∞f(x)=L$ or $limx→−∞f(x)=L,limx→−∞f(x)=L,$ we say the line $y=Ly=L$ is a horizontal asymptote of $f.f.$

Figure 4.41 (a) As $x→∞,x→∞,$ the values of $ff$ are getting arbitrarily close to $L.L.$ The line $y=Ly=L$ is a horizontal asymptote of $f.f.$ (b) As $x→−∞,x→−∞,$ the values of $ff$ are getting arbitrarily close to $M.M.$ The line $y=My=M$ is a horizontal asymptote of $f.f.$

A function cannot cross a vertical asymptote because the graph must approach infinity (or $−∞)−∞)$ from at least one direction as $xx$ 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)=(cosx)x+1f(x)=(cosx)x+1$ shown in Figure 4.42 intersects the horizontal asymptote $y=1y=1$ an infinite number of times as it oscillates around the asymptote with ever-decreasing amplitude.

Figure 4.42 The graph of $f(x)=(cosx)/x+1f(x)=(cosx)/x+1$ crosses its horizontal asymptote $y=1y=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 4.21

#### Computing Limits at Infinity

For each of the following functions $f,f,$ evaluate $limx→∞f(x)limx→∞f(x)$ and $limx→−∞f(x).limx→−∞f(x).$ Determine the horizontal asymptote(s) for $f.f.$

1. $f(x)=5−2x2f(x)=5−2x2$
2. $f(x)=sinxxf(x)=sinxx$
3. $f(x)=tan−1(x)f(x)=tan−1(x)$

#### Solution

1. Using the algebraic limit laws, we have $limx→∞(5−2x2)=limx→∞5−2(limx→∞1x).(limx→∞1x)=5−2·0=5.limx→∞(5−2x2)=limx→∞5−2(limx→∞1x).(limx→∞1x)=5−2·0=5.$
Similarly, $limx→-∞f(x)=5.limx→-∞f(x)=5.$ Therefore, $f(x)=5−2x2f(x)=5−2x2$ has a horizontal asymptote of $y=5y=5$ and $ff$ approaches this horizontal asymptote as $x→±∞x→±∞$ as shown in the following graph.
Figure 4.43 This function approaches a horizontal asymptote as $x→±∞.x→±∞.$
2. Since $−1≤sinx≤1−1≤sinx≤1$ for all $x,x,$ we have
$−1x≤sinxx≤1x−1x≤sinxx≤1x$

for all $x≠0.x≠0.$ Also, since
$limx→∞−1x=0=limx→∞1x,limx→∞−1x=0=limx→∞1x,$

we can apply the squeeze theorem to conclude that
$limx→∞sinxx=0.limx→∞sinxx=0.$

Similarly,
$limx→−∞sinxx=0.limx→−∞sinxx=0.$

Thus, $f(x)=sinxxf(x)=sinxx$ has a horizontal asymptote of $y=0y=0$ and $f(x)f(x)$ approaches this horizontal asymptote as $x→±∞x→±∞$ as shown in the following graph.
Figure 4.44 This function crosses its horizontal asymptote multiple times.
3. To evaluate $limx→∞tan−1(x)limx→∞tan−1(x)$ and $limx→−∞tan−1(x),limx→−∞tan−1(x),$ we first consider the graph of $y=tan(x)y=tan(x)$ over the interval $(−π/2,π/2)(−π/2,π/2)$ as shown in the following graph.
Figure 4.45 The graph of $tanxtanx$ has vertical asymptotes at $x=±π2x=±π2$

Since

$limx→(π/2)−tanx=∞,limx→(π/2)−tanx=∞,$

it follows that

$limx→∞tan−1(x)=π2.limx→∞tan−1(x)=π2.$

Similarly, since

$limx→(π/2)+tanx=−∞,limx→(π/2)+tanx=−∞,$

it follows that

$limx→−∞tan−1(x)=−π2.limx→−∞tan−1(x)=−π2.$

As a result, $y=π2y=π2$ and $y=−π2y=−π2$ are horizontal asymptotes of $f(x)=tan−1(x)f(x)=tan−1(x)$ as shown in the following graph.

Figure 4.46 This function has two horizontal asymptotes.

### Checkpoint 4.20

Evaluate $limx→−∞(3+4x)limx→−∞(3+4x)$ and $limx→∞(3+4x).limx→∞(3+4x).$ Determine the horizontal asymptotes of $f(x)=3+4x,f(x)=3+4x,$ if any.

#### Infinite Limits at Infinity

Sometimes the values of a function $ff$ become arbitrarily large as $x→∞x→∞$ (or as $x→−∞).x→−∞).$ In this case, we write $limx→∞f(x)=∞limx→∞f(x)=∞$ (or $limx→−∞f(x)=∞).limx→−∞f(x)=∞).$ On the other hand, if the values of $ff$ are negative but become arbitrarily large in magnitude as $x→∞x→∞$ (or as $x→−∞),x→−∞),$ we write $limx→∞f(x)=−∞limx→∞f(x)=−∞$ (or $limx→−∞f(x)=−∞).limx→−∞f(x)=−∞).$

For example, consider the function $f(x)=x3.f(x)=x3.$ As seen in Table 4.3 and Figure 4.47, as $x→∞x→∞$ the values $f(x)f(x)$ become arbitrarily large. Therefore, $limx→∞x3=∞.limx→∞x3=∞.$ On the other hand, as $x→−∞,x→−∞,$ the values of $f(x)=x3f(x)=x3$ are negative but become arbitrarily large in magnitude. Consequently, $limx→−∞x3=−∞.limx→−∞x3=−∞.$

 $xx$ $1010$ $2020$ $5050$ $100100$ $10001000$ $x3x3$ $10001000$ $80008000$ $125,000125,000$ $1,000,0001,000,000$ $1,000,000,0001,000,000,000$ $xx$ $−10−10$ $−20−20$ $−50−50$ $−100−100$ $−1000−1000$ $x3x3$ $−1000−1000$ $−8000−8000$ $−125,000−125,000$ $−1,000,000−1,000,000$ $−1,000,000,000−1,000,000,000$
Table 4.3 Values of a power function as $x→±∞x→±∞$
Figure 4.47 For this function, the functional values approach infinity as $x→±∞.x→±∞.$

### Definition

(Informal) We say a function $ff$ has an infinite limit at infinity and write

$limx→∞f(x)=∞.limx→∞f(x)=∞.$

if $f(x)f(x)$ becomes arbitrarily large for $xx$ sufficiently large. We say a function has a negative infinite limit at infinity and write

$limx→∞f(x)=−∞.limx→∞f(x)=−∞.$

if $f(x)<0f(x)<0$ and $|f(x)||f(x)|$ becomes arbitrarily large for $xx$ sufficiently large. Similarly, we can define infinite limits as $x→−∞.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

(Formal) We say a function $ff$ has a limit at infinity, if there exists a real number $LL$ such that for all $ε>0,ε>0,$ there exists $N>0N>0$ such that

$|f(x)−L|<ε|f(x)−L|<ε$

for all $x>N.x>N.$ In that case, we write

$limx→∞f(x)=Llimx→∞f(x)=L$

(see Figure 4.48).

We say a function $ff$ has a limit at negative infinity if there exists a real number $LL$ such that for all $ε>0,ε>0,$ there exists $N<0N<0$ such that

$|f(x)−L|<ε|f(x)−L|<ε$

for all $x In that case, we write

$limx→−∞f(x)=L.limx→−∞f(x)=L.$
Figure 4.48 For a function with a limit at infinity, for all $x>N,x>N,$ $|f(x)−L|<ε.|f(x)−L|<ε.$

Earlier in this section, we used graphical evidence in Figure 4.40 and numerical evidence in Table 4.2 to conclude that $limx→∞(2+1x)=2.limx→∞(2+1x)=2.$ Here we use the formal definition of limit at infinity to prove this result rigorously.

### Example 4.22A Finite Limit at Infinity Example

Use the formal definition of limit at infinity to prove that $limx→∞(2+1x)=2.limx→∞(2+1x)=2.$

#### Solution

Let $ε>0.ε>0.$ Let $N=1ε.N=1ε.$ Therefore, for all $x>N,x>N,$ we have

$|2+1x−2|=|1x|=1x<1N=ε.|2+1x−2|=|1x|=1x<1N=ε.$

### Checkpoint 4.21

Use the formal definition of limit at infinity to prove that $limx→∞(3−1x2)=3.limx→∞(3−1x2)=3.$

We now turn our attention to a more precise definition for an infinite limit at infinity.

### Definition

(Formal) We say a function $ff$ has an infinite limit at infinity and write

$limx→∞f(x)=∞limx→∞f(x)=∞$

if for all $M>0,M>0,$ there exists an $N>0N>0$ such that

$f(x)>Mf(x)>M$

for all $x>Nx>N$ (see Figure 4.49).

We say a function has a negative infinite limit at infinity and write

$limx→∞f(x)=−∞limx→∞f(x)=−∞$

if for all $M<0,M<0,$ there exists an $N>0N>0$ such that

$f(x)

for all $x>N.x>N.$

Similarly we can define limits as $x→−∞.x→−∞.$

Figure 4.49 For a function with an infinite limit at infinity, for all $x>N,x>N,$ $f(x)>M.f(x)>M.$

Earlier, we used graphical evidence (Figure 4.47) and numerical evidence (Table 4.3) to conclude that $limx→∞x3=∞.limx→∞x3=∞.$ Here we use the formal definition of infinite limit at infinity to prove that result.

### Example 4.23An Infinite Limit at Infinity

Use the formal definition of infinite limit at infinity to prove that $limx→∞x3=∞.limx→∞x3=∞.$

#### Solution

Let $M>0.M>0.$ Let $N=M3.N=M3.$ Then, for all $x>N,x>N,$ we have

$x3>N3=(M3)3=M.x3>N3=(M3)3=M.$

Therefore, $limx→∞x3=∞.limx→∞x3=∞.$

### Checkpoint 4.22

Use the formal definition of infinite limit at infinity to prove that $limx→∞3x2=∞.limx→∞3x2=∞.$

### End Behavior

The behavior of a function as $x→±∞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:

1. The function $f(x)f(x)$ approaches a horizontal asymptote $y=L.y=L.$
2. The function $f(x)→∞f(x)→∞$ or $f(x)→−∞.f(x)→−∞.$
3. 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)=xnf(x)=xn$ where $nn$ is a positive integer. From Figure 4.50 and Figure 4.51, we see that

$limx→∞xn=∞;n=1,2,3,…limx→∞xn=∞;n=1,2,3,…$

and

$limx→−∞xn={∞;n=2,4,6,…−∞;n=1,3,5,….limx→−∞xn={∞;n=2,4,6,…−∞;n=1,3,5,….$
Figure 4.50 For power functions with an even power of $n,n,$ $limx→∞xn=∞=limx→−∞xn.limx→∞xn=∞=limx→−∞xn.$
Figure 4.51 For power functions with an odd power of $n,n,$ $limx→∞xn=∞limx→∞xn=∞$ and $limx→−∞xn=−∞.limx→−∞xn=−∞.$

Using these facts, it is not difficult to evaluate $limx→∞cxnlimx→∞cxn$ and $limx→−∞cxn,limx→−∞cxn,$ where $cc$ is any constant and $nn$ is a positive integer. If $c>0,c>0,$ the graph of $y=cxny=cxn$ is a vertical stretch or compression of $y=xn,y=xn,$ and therefore

$limx→∞cxn=limx→∞xnandlimx→−∞cxn=limx→−∞xnifc>0.limx→∞cxn=limx→∞xnandlimx→−∞cxn=limx→−∞xnifc>0.$

If $c<0,c<0,$ the graph of $y=cxny=cxn$ is a vertical stretch or compression combined with a reflection about the $xx$-axis, and therefore

$limx→∞cxn=−limx→∞xnandlimx→−∞cxn=−limx→−∞xnifc<0.limx→∞cxn=−limx→∞xnandlimx→−∞cxn=−limx→−∞xnifc<0.$

If $c=0,y=cxn=0,c=0,y=cxn=0,$ in which case $limx→∞cxn=0=limx→−∞cxn.limx→∞cxn=0=limx→−∞cxn.$

### Example 4.24

#### Limits at Infinity for Power Functions

For each function $f,f,$ evaluate $limx→∞f(x)limx→∞f(x)$ and $limx→−∞f(x).limx→−∞f(x).$

1. $f(x)=−5x3f(x)=−5x3$
2. $f(x)=2x4f(x)=2x4$

#### Solution

1. Since the coefficient of $x3x3$ is $−5,−5,$ the graph of $f(x)=−5x3f(x)=−5x3$ involves a vertical stretch and reflection of the graph of $y=x3y=x3$ about the $xx$-axis. Therefore, $limx→∞(−5x3)=−∞limx→∞(−5x3)=−∞$ and $limx→−∞(−5x3)=∞.limx→−∞(−5x3)=∞.$
2. Since the coefficient of $x4x4$ is $2,2,$ the graph of $f(x)=2x4f(x)=2x4$ is a vertical stretch of the graph of $y=x4.y=x4.$ Therefore, $limx→∞2x4=∞limx→∞2x4=∞$ and $limx→−∞2x4=∞.limx→−∞2x4=∞.$

### Checkpoint 4.23

Let $f(x)=−3x4.f(x)=−3x4.$ Find $limx→∞f(x).limx→∞f(x).$

We now look at how the limits at infinity for power functions can be used to determine $limx→±∞f(x)limx→±∞f(x)$ for any polynomial function $f.f.$ Consider a polynomial function

$f(x)=anxn+an−1xn−1+…+a1x+a0f(x)=anxn+an−1xn−1+…+a1x+a0$

of degree $n≥1n≥1$ so that $an≠0.an≠0.$ Factoring, we see that

$f(x)=anxn(1+an−1an1x+…+a1an1xn−1+a0an1xn).f(x)=anxn(1+an−1an1x+…+a1an1xn−1+a0an1xn).$

As $x→±∞,x→±∞,$ all the terms inside the parentheses approach zero except the first term. We conclude that

$limx→±∞f(x)=limx→±∞anxn.limx→±∞f(x)=limx→±∞anxn.$

For example, the function $f(x)=5x3−3x2+4f(x)=5x3−3x2+4$ behaves like $g(x)=5x3g(x)=5x3$ as $x→±∞x→±∞$ as shown in Figure 4.52 and Table 4.4.

Figure 4.52 The end behavior of a polynomial is determined by the behavior of the term with the largest exponent.
 $xx$ $1010$ $100100$ $10001000$ $f(x)=5x3−3x2+4f(x)=5x3−3x2+4$ $47044704$ $4,970,0044,970,004$ $4,997,000,0044,997,000,004$ $g(x)=5x3g(x)=5x3$ $50005000$ $5,000,0005,000,000$ $5,000,000,0005,000,000,000$ $xx$ $−10−10$ $−100−100$ $−1000−1000$ $f(x)=5x3−3x2+4f(x)=5x3−3x2+4$ $−5296−5296$ $−5,029,996−5,029,996$ $−5,002,999,996−5,002,999,996$ $g(x)=5x3g(x)=5x3$ $−5000−5000$ $−5,000,000−5,000,000$ $−5,000,000,000−5,000,000,000$
Table 4.4 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 4.25, we show that the limits at infinity of a rational function $f(x)=p(x)q(x)f(x)=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 $xx$ appearing in the denominator. This determines which term in the overall expression dominates the behavior of the function at large values of $x.x.$

### Example 4.25

#### Determining End Behavior for Rational Functions

For each of the following functions, determine the limits as $x→∞x→∞$ and $x→−∞.x→−∞.$ Then, use this information to describe the end behavior of the function.

1. $f(x)=3x−12x+5f(x)=3x−12x+5$ (Note: The degree of the numerator and the denominator are the same.)
2. $f(x)=3x2+2x4x3−5x+7f(x)=3x2+2x4x3−5x+7$ (Note: The degree of numerator is less than the degree of the denominator.)
3. $f(x)=3x2+4xx+2f(x)=3x2+4xx+2$ (Note: The degree of numerator is greater than the degree of the denominator.)

#### Solution

1. The highest power of $xx$ in the denominator is $x.x.$ Therefore, dividing the numerator and denominator by $xx$ and applying the algebraic limit laws, we see that
$limx→±∞3x−12x+5=limx→±∞3−1/x2+5/x=limx→±∞(3−1/x)limx→±∞(2+5/x)=limx→±∞3−limx→±∞1/xlimx→±∞2+limx→±∞5/x=3−02+0=32.limx→±∞3x−12x+5=limx→±∞3−1/x2+5/x=limx→±∞(3−1/x)limx→±∞(2+5/x)=limx→±∞3−limx→±∞1/xlimx→±∞2+limx→±∞5/x=3−02+0=32.$

Since $limx→±∞f(x)=32,limx→±∞f(x)=32,$ we know that $y=32y=32$ is a horizontal asymptote for this function as shown in the following graph.
Figure 4.53 The graph of this rational function approaches a horizontal asymptote as $x→±∞.x→±∞.$
2. Since the largest power of $xx$ appearing in the denominator is $x3,x3,$ divide the numerator and denominator by $x3.x3.$ After doing so and applying algebraic limit laws, we obtain
$limx→±∞3x2+2x4x3−5x+7=limx→±∞3/x+2/x24−5/x2+7/x3=3(0)+2(0)4−5(0)+7(0)=0.limx→±∞3x2+2x4x3−5x+7=limx→±∞3/x+2/x24−5/x2+7/x3=3(0)+2(0)4−5(0)+7(0)=0.$

Therefore $ff$ has a horizontal asymptote of $y=0y=0$ as shown in the following graph.
Figure 4.54 The graph of this rational function approaches the horizontal asymptote $y=0y=0$ as $x→±∞.x→±∞.$
3. Dividing the numerator and denominator by $x,x,$ we have
$limx→±∞3x2+4xx+2=limx→±∞3x+41+2/x.limx→±∞3x2+4xx+2=limx→±∞3x+41+2/x.$

As $x→±∞,x→±∞,$ the denominator approaches $1.1.$ As $x→∞,x→∞,$ the numerator approaches $+∞.+∞.$ As $x→−∞,x→−∞,$ the numerator approaches $−∞.−∞.$ Therefore $limx→∞f(x)=∞,limx→∞f(x)=∞,$ whereas $limx→−∞f(x)=−∞limx→−∞f(x)=−∞$ as shown in the following figure.
Figure 4.55 As $x→∞,x→∞,$ the values $f(x)→∞.f(x)→∞.$ As $x→−∞,x→−∞,$ the values $f(x)→−∞.f(x)→−∞.$

### Checkpoint 4.24

Evaluate $limx→±∞3x2+2x−15x2−4x+7limx→±∞3x2+2x−15x2−4x+7$ and use these limits to determine the end behavior of $f(x)=3x2+2x−15x2−4x+7.f(x)=3x2+2x−15x2−4x+7.$

Before proceeding, consider the graph of $f(x)=(3x2+4x)(x+2)f(x)=(3x2+4x)(x+2)$ shown in Figure 4.56. As $x→∞x→∞$ and $x→−∞,x→−∞,$ the graph of $ff$ appears almost linear. Although $ff$ is certainly not a linear function, we now investigate why the graph of $ff$ seems to be approaching a linear function. First, using long division of polynomials, we can write

$f(x)=3x2+4xx+2=3x−2+4x+2.f(x)=3x2+4xx+2=3x−2+4x+2.$

Since $4(x+2)→04(x+2)→0$ as $x→±∞,x→±∞,$ we conclude that

$limx→±∞(f(x)−(3x−2))=limx→±∞4x+2=0.limx→±∞(f(x)−(3x−2))=limx→±∞4x+2=0.$

Therefore, the graph of $ff$ approaches the line $y=3x−2y=3x−2$ as $x→±∞.x→±∞.$ This line is known as an oblique asymptote for $ff$ (Figure 4.56).

Figure 4.56 The graph of the rational function $f(x)=(3x2+4x)/(x+2)f(x)=(3x2+4x)/(x+2)$ approaches the oblique asymptote $y=3x−2asx→±∞.y=3x−2asx→±∞.$

We can summarize the results of Example 4.25 to make the following conclusion regarding end behavior for rational functions. Consider a rational function

$f(x)=p(x)q(x)=anxn+an−1xn−1+…+a1x+a0bmxm+bm−1xm−1+…+b1x+b0,f(x)=p(x)q(x)=anxn+an−1xn−1+…+a1x+a0bmxm+bm−1xm−1+…+b1x+b0,$

where $an≠0andbm≠0.an≠0andbm≠0.$

1. If the degree of the numerator is the same as the degree of the denominator $(n=m),(n=m),$ then $ff$ has a horizontal asymptote of $y=an/bmy=an/bm$ as $x→±∞.x→±∞.$
2. If the degree of the numerator is less than the degree of the denominator $(n then $ff$ has a horizontal asymptote of $y=0y=0$ as $x→±∞.x→±∞.$
3. If the degree of the numerator is greater than the degree of the denominator $(n>m),(n>m),$ then $ff$ 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)=p(x)q(x)=g(x)+r(x)q(x),f(x)=p(x)q(x)=g(x)+r(x)q(x),$

where the degree of $r(x)r(x)$ is less than the degree of $q(x).q(x).$ As a result, $limx→±∞r(x)/q(x)=0.limx→±∞r(x)/q(x)=0.$ Therefore, the values of $[f(x)−g(x)][f(x)−g(x)]$ approach zero as $x→±∞.x→±∞.$ If the degree of $p(x)p(x)$ is exactly one more than the degree of $q(x)q(x)$ $(n=m+1),(n=m+1),$ the function $g(x)g(x)$ is a linear function. In this case, we call $g(x)g(x)$ an oblique asymptote.
Now let’s consider the end behavior for functions involving a radical.

### Example 4.26

#### Determining End Behavior for a Function Involving a Radical

Find the limits as $x→∞x→∞$ and $x→−∞x→−∞$ for $f(x)=3x−24x2+5f(x)=3x−24x2+5$ and describe the end behavior of $f.f.$

#### Solution

Let’s use the same strategy as we did for rational functions: divide the numerator and denominator by a power of $x.x.$ To determine the appropriate power of $x,x,$ consider the expression $4x2+54x2+5$ in the denominator. Since

$4x2+5≈4x2=2|x|4x2+5≈4x2=2|x|$

for large values of $xx$ in effect $xx$ appears just to the first power in the denominator. Therefore, we divide the numerator and denominator by $|x|.|x|.$ Then, using the fact that $|x|=x|x|=x$ for $x>0,x>0,$ $|x|=−x|x|=−x$ for $x<0,x<0,$ and $|x|=x2|x|=x2$ for all $x,x,$ we calculate the limits as follows:

$limx→∞3x−24x2+5=limx→∞(1/|x|)(3x−2)(1/|x|)4x2+5=limx→∞(1/x)(3x−2)(1/x2)(4x2+5)=limx→∞3−2/x4+5/x2=34=32limx→−∞3x−24x2+5=limx→−∞(1/|x|)(3x−2)(1/|x|)4x2+5=limx→−∞(−1/x)(3x−2)(1/x2)(4x2+5)=limx→−∞−3+2/x4+5/x2=−34=−32.limx→∞3x−24x2+5=limx→∞(1/|x|)(3x−2)(1/|x|)4x2+5=limx→∞(1/x)(3x−2)(1/x2)(4x2+5)=limx→∞3−2/x4+5/x2=34=32limx→−∞3x−24x2+5=limx→−∞(1/|x|)(3x−2)(1/|x|)4x2+5=limx→−∞(−1/x)(3x−2)(1/x2)(4x2+5)=limx→−∞−3+2/x4+5/x2=−34=−32.$

Therefore, $f(x)f(x)$ approaches the horizontal asymptote $y=32y=32$ as $x→∞x→∞$ and the horizontal asymptote $y=−32y=−32$ as $x→−∞x→−∞$ as shown in the following graph.

Figure 4.57 This function has two horizontal asymptotes and it crosses one of the asymptotes.

### Checkpoint 4.25

Evaluate $limx→∞3x2+4x+6.limx→∞3x2+4x+6.$

#### Determining End Behavior for Transcendental Functions

The six basic trigonometric functions are periodic and do not approach a finite limit as $x→±∞.x→±∞.$ For example, $sinxsinx$ oscillates between $1and−11and−1$ (Figure 4.58). The tangent function $xx$ has an infinite number of vertical asymptotes as $x→±∞;x→±∞;$ therefore, it does not approach a finite limit nor does it approach $±∞±∞$ as $x→±∞x→±∞$ as shown in Figure 4.59.

Figure 4.58 The function $f(x)=sinxf(x)=sinx$ oscillates between $1and−11and−1$ as $x→±∞x→±∞$
Figure 4.59 The function $f(x)=tanxf(x)=tanx$ does not approach a limit and does not approach $±∞±∞$ as $x→±∞x→±∞$

Recall that for any base $b>0,b≠1,b>0,b≠1,$ the function $y=bxy=bx$ is an exponential function with domain $(−∞,∞)(−∞,∞)$ and range $(0,∞).(0,∞).$ If $b>1,y=bxb>1,y=bx$ is increasing over $(−∞,∞).(−∞,∞).$ If $0 $y=bxy=bx$ is decreasing over $(−∞,∞).(−∞,∞).$ For the natural exponential function $f(x)=ex,f(x)=ex,$ $e≈2.718>1.e≈2.718>1.$ Therefore, $f(x)=exf(x)=ex$ is increasing on $(−∞,∞)(−∞,∞)$ and the range is $(0,∞).(0,∞).$ The exponential function $f(x)=exf(x)=ex$ approaches $∞∞$ as $x→∞x→∞$ and approaches $00$ as $x→−∞x→−∞$ as shown in Table 4.5 and Figure 4.60.

 $xx$ $−5−5$ $−2−2$ $00$ $22$ $55$ $exex$ $0.006740.00674$ $0.1350.135$ $11$ $7.3897.389$ $148.413148.413$
Table 4.5 End behavior of the natural exponential function
Figure 4.60 The exponential function approaches zero as $x→−∞x→−∞$ and approaches $∞∞$ as $x→∞.x→∞.$

Recall that the natural logarithm function $f(x)=ln(x)f(x)=ln(x)$ is the inverse of the natural exponential function $y=ex.y=ex.$ Therefore, the domain of $f(x)=ln(x)f(x)=ln(x)$ is $(0,∞)(0,∞)$ and the range is $(−∞,∞).(−∞,∞).$ The graph of $f(x)=ln(x)f(x)=ln(x)$ is the reflection of the graph of $y=exy=ex$ about the line $y=x.y=x.$ Therefore, $ln(x)→−∞ln(x)→−∞$ as $x→0+x→0+$ and $ln(x)→∞ln(x)→∞$ as $x→∞x→∞$ as shown in Figure 4.61 and Table 4.6.

 $xx$ $0.010.01$ $0.10.1$ $11$ $1010$ $100100$ $ln(x)ln(x)$ $−4.605−4.605$ $−2.303−2.303$ $00$ $2.3032.303$ $4.6054.605$
Table 4.6 End behavior of the natural logarithm function
Figure 4.61 The natural logarithm function approaches $∞∞$ as $x→∞.x→∞.$

### Example 4.27

#### Determining End Behavior for a Transcendental Function

Find the limits as $x→∞x→∞$ and $x→−∞x→−∞$ for $f(x)=(2+3ex)(7−5ex)f(x)=(2+3ex)(7−5ex)$ and describe the end behavior of $f.f.$

#### Solution

To find the limit as $x→∞,x→∞,$ divide the numerator and denominator by $ex:ex:$

$limx→∞f(x)=limx→∞2+3ex7−5ex=limx→∞(2/ex)+3(7/ex)−5.limx→∞f(x)=limx→∞2+3ex7−5ex=limx→∞(2/ex)+3(7/ex)−5.$

As shown in Figure 4.60, $ex→∞ex→∞$ as $x→∞.x→∞.$ Therefore,

$limx→∞2ex=0=limx→∞7ex.limx→∞2ex=0=limx→∞7ex.$

We conclude that $limx→∞f(x)=−35,limx→∞f(x)=−35,$ and the graph of $ff$ approaches the horizontal asymptote $y=−35y=−35$ as $x→∞.x→∞.$ To find the limit as $x→−∞,x→−∞,$ use the fact that $ex→0ex→0$ as $x→−∞x→−∞$ to conclude that $limx→∞f(x)=27,limx→∞f(x)=27,$ and therefore the graph of approaches the horizontal asymptote $y=27y=27$ as $x→−∞.x→−∞.$

### Checkpoint 4.26

Find the limits as $x→∞x→∞$ and $x→−∞x→−∞$ for $f(x)=(3ex−4)(5ex+2).f(x)=(3ex−4)(5ex+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.

Problem-Solving Strategy: Drawing the Graph of a Function

Given a function $f,f,$ use the following steps to sketch a graph of $f:f:$

1. Determine the domain of the function.
2. Locate the $xx$- and $yy$-intercepts.
3. Evaluate $limx→∞f(x)limx→∞f(x)$ and $limx→−∞f(x)limx→−∞f(x)$ to determine the end behavior. If either of these limits is a finite number $L,L,$ then $y=Ly=L$ is a horizontal asymptote. If either of these limits is $∞∞$ or $−∞,−∞,$ determine whether $ff$ has an oblique asymptote. If $ff$ is a rational function such that $f(x)=p(x)q(x),f(x)=p(x)q(x),$ where the degree of the numerator is greater than the degree of the denominator, then $ff$ can be written as
$f(x)=p(x)q(x)=g(x)+r(x)q(x),f(x)=p(x)q(x)=g(x)+r(x)q(x),$

where the degree of $r(x)r(x)$ is less than the degree of $q(x).q(x).$ The values of $f(x)f(x)$ approach the values of $g(x)g(x)$ as $x→±∞.x→±∞.$ If $g(x)g(x)$ is a linear function, it is known as an oblique asymptote.
4. Determine whether $ff$ has any vertical asymptotes.
5. Calculate $f′.f′.$ Find all critical points and determine the intervals where $ff$ is increasing and where $ff$ is decreasing. Determine whether $ff$ has any local extrema.
6. Calculate $f″.f″.$ Determine the intervals where $ff$ is concave up and where $ff$ is concave down. Use this information to determine whether $ff$ has any inflection points. The second derivative can also be used as an alternate means to determine or verify that $ff$ 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 4.28

#### Sketching a Graph of a Polynomial

Sketch a graph of $f(x)=(x−1)2(x+2).f(x)=(x−1)2(x+2).$

#### Solution

Step 1. Since $ff$ is a polynomial, the domain is the set of all real numbers.

Step 2. When $x=0,f(x)=2.x=0,f(x)=2.$ Therefore, the $yy$-intercept is $(0,2).(0,2).$ To find the $xx$-intercepts, we need to solve the equation $(x−1)2(x+2)=0,(x−1)2(x+2)=0,$ gives us the $xx$-intercepts $(1,0)(1,0)$ and $(−2,0)(−2,0)$

Step 3. We need to evaluate the end behavior of $f.f.$ As $x→∞,x→∞,$ $(x−1)2→∞(x−1)2→∞$ and $(x+2)→∞.(x+2)→∞.$ Therefore, $limx→∞f(x)=∞.limx→∞f(x)=∞.$ As $x→−∞,x→−∞,$ $(x−1)2→∞(x−1)2→∞$ and $(x+2)→−∞.(x+2)→−∞.$ Therefore, $limx→−∞f(x)=−∞.limx→−∞f(x)=−∞.$ To get even more information about the end behavior of $f,f,$ we can multiply the factors of $f.f.$ When doing so, we see that

$f(x)=(x−1)2(x+2)=x3−3x+2.f(x)=(x−1)2(x+2)=x3−3x+2.$

Since the leading term of $ff$ is $x3,x3,$ we conclude that $ff$ behaves like $y=x3y=x3$ as $x→±∞.x→±∞.$

Step 4. Since $ff$ is a polynomial function, it does not have any vertical asymptotes.

Step 5. The first derivative of $ff$ is

$f′(x)=3x2−3.f′(x)=3x2−3.$

Therefore, $ff$ has two critical points: $x=1,−1.x=1,−1.$ Divide the interval $(−∞,∞)(−∞,∞)$ into the three smaller intervals: $(−∞,−1),(−∞,−1),$ $(−1,1),(−1,1),$ and $(1,∞).(1,∞).$ Then, choose test points $x=−2,x=−2,$ $x=0,x=0,$ and $x=2x=2$ from these intervals and evaluate the sign of $f′(x)f′(x)$ at each of these test points, as shown in the following table.

Interval Test Point Sign of Derivative $f′(x)=3x2−3=3(x−1)(x+1)f′(x)=3x2−3=3(x−1)(x+1)$ Conclusion
$(−∞,−1)(−∞,−1)$ $x=−2x=−2$ $(+)(−)(−)=+(+)(−)(−)=+$ $ff$ is increasing.
$(−1,1)(−1,1)$ $x=0x=0$ $(+)(−)(+)=−(+)(−)(+)=−$ $ff$ is decreasing.
$(1,∞)(1,∞)$ $x=2x=2$ $(+)(+)(+)=+(+)(+)(+)=+$ $ff$ is increasing.

From the table, we see that $ff$ has a local maximum at $x=−1x=−1$ and a local minimum at $x=1.x=1.$ Evaluating $f(x)f(x)$ at those two points, we find that the local maximum value is $f(−1)=4f(−1)=4$ and the local minimum value is $f(1)=0.f(1)=0.$

Step 6. The second derivative of $ff$ is

$f″(x)=6x.f″(x)=6x.$

The second derivative is zero at $x=0.x=0.$ Therefore, to determine the concavity of $f,f,$ divide the interval $(−∞,∞)(−∞,∞)$ into the smaller intervals $(−∞,0)(−∞,0)$ and $(0,∞),(0,∞),$ and choose test points $x=−1x=−1$ and $x=1x=1$ to determine the concavity of $ff$ on each of these smaller intervals as shown in the following table.

Interval Test Point Sign of $f″(x)=6xf″(x)=6x$ Conclusion
$(−∞,0)(−∞,0)$ $x=−1x=−1$ $−−$ $ff$ is concave down.
$(0,∞)(0,∞)$ $x=1x=1$ $++$ $ff$ is concave up.

We note that the information in the preceding table confirms the fact, found in step $5,5,$ that $ff$ has a local maximum at $x=−1x=−1$ and a local minimum at $x=1.x=1.$ In addition, the information found in step $55$—namely, $ff$ has a local maximum at $x=−1x=−1$ and a local minimum at $x=1,x=1,$ and $f′(x)=0f′(x)=0$ at those points—combined with the fact that $f″f″$ changes sign only at $x=0x=0$ confirms the results found in step $66$ on the concavity of $f.f.$

Combining this information, we arrive at the graph of $f(x)=(x−1)2(x+2)f(x)=(x−1)2(x+2)$ shown in the following graph. Checkpoint 4.27

Sketch a graph of $f(x)=(x−1)3(x+2).f(x)=(x−1)3(x+2).$

### Example 4.29

#### Sketching a Rational Function

Sketch the graph of $f(x)=x2(1−x2).f(x)=x2(1−x2).$

#### Solution

Step 1. The function $ff$ is defined as long as the denominator is not zero. Therefore, the domain is the set of all real numbers $xx$ except $x=±1.x=±1.$

Step 2. Find the intercepts. If $x=0,x=0,$ then $f(x)=0,f(x)=0,$ so $00$ is an intercept. If $y=0,y=0,$ then $x2(1−x2)=0,x2(1−x2)=0,$ which implies $x=0.x=0.$ Therefore, $(0,0)(0,0)$ is the only intercept.

Step 3. Evaluate the limits at infinity. Since $ff$ is a rational function, divide the numerator and denominator by the highest power in the denominator: $x2.x2.$ We obtain

$limx→±∞x21−x2=limx→±∞11x2−1=−1.limx→±∞x21−x2=limx→±∞11x2−1=−1.$

Therefore, $ff$ has a horizontal asymptote of $y=−1y=−1$ as $x→∞x→∞$ and $x→−∞.x→−∞.$

Step 4. To determine whether $ff$ has any vertical asymptotes, first check to see whether the denominator has any zeroes. We find the denominator is zero when $x=±1.x=±1.$ To determine whether the lines $x=1x=1$ or $x=−1x=−1$ are vertical asymptotes of $f,f,$ evaluate $limx→1f(x)limx→1f(x)$ and $limx→−1f(x).limx→−1f(x).$ By looking at each one-sided limit as $x→1,x→1,$ we see that

$limx→1+x21−x2=−∞andlimx→1−x21−x2=∞.limx→1+x21−x2=−∞andlimx→1−x21−x2=∞.$

In addition, by looking at each one-sided limit as $x→−1,x→−1,$ we find that

$limx→−1+x21−x2=∞andlimx→−1−x21−x2=−∞.limx→−1+x21−x2=∞andlimx→−1−x21−x2=−∞.$

Step 5. Calculate the first derivative:

$f′(x)=(1−x2)(2x)−x2(−2x)(1−x2)2=2x(1−x2)2.f′(x)=(1−x2)(2x)−x2(−2x)(1−x2)2=2x(1−x2)2.$

Critical points occur at points $xx$ where $f′(x)=0f′(x)=0$ or $f′(x)f′(x)$ is undefined. We see that $f′(x)=0f′(x)=0$ when $x=0.x=0.$ The derivative $f′f′$ is not undefined at any point in the domain of $f.f.$ However, $x=±1x=±1$ are not in the domain of $f.f.$ Therefore, to determine where $ff$ is increasing and where $ff$ is decreasing, divide the interval $(−∞,∞)(−∞,∞)$ into four smaller intervals: $(−∞,−1),(−∞,−1),$ $(−1,0),(−1,0),$ $(0,1),(0,1),$ and $(1,∞),(1,∞),$ and choose a test point in each interval to determine the sign of $f′(x)f′(x)$ in each of these intervals. The values $x=−2,x=−2,$ $x=−12,x=−12,$ $x=12,x=12,$ and $x=2x=2$ are good choices for test points as shown in the following table.

Interval Test Point Sign of $f′(x)=2x(1−x2)2f′(x)=2x(1−x2)2$ Conclusion
$(−∞,−1)(−∞,−1)$ $x=−2x=−2$ $−/+=−−/+=−$ $ff$ is decreasing.
$(−1,0)(−1,0)$ $x=−1/2x=−1/2$ $−/+=−−/+=−$ $ff$ is decreasing.
$(0,1)(0,1)$ $x=1/2x=1/2$ $+/+=++/+=+$ $ff$ is increasing.
$(1,∞)(1,∞)$ $x=2x=2$ $+/+=++/+=+$ $ff$ is increasing.

From this analysis, we conclude that $ff$ has a local minimum at $x=0x=0$ but no local maximum.

Step 6. Calculate the second derivative:

$f″(x)=(1−x2)2(2)−2x(2(1−x2)(−2x))(1−x2)4=(1−x2)[2(1−x2)+8x2](1−x2)4=2(1−x2)+8x2(1−x2)3=6x2+2(1−x2)3.f″(x)=(1−x2)2(2)−2x(2(1−x2)(−2x))(1−x2)4=(1−x2)[2(1−x2)+8x2](1−x2)4=2(1−x2)+8x2(1−x2)3=6x2+2(1−x2)3.$

To determine the intervals where $ff$ is concave up and where $ff$ is concave down, we first need to find all points $xx$ where $f″(x)=0f″(x)=0$ or $f″(x)f″(x)$ is undefined. Since the numerator $6x2+2≠06x2+2≠0$ for any $x,x,$ $f″(x)f″(x)$ is never zero. Furthermore, $f″f″$ is not undefined for any $xx$ in the domain of $f.f.$ However, as discussed earlier, $x=±1x=±1$ are not in the domain of $f.f.$ Therefore, to determine the concavity of $f,f,$ we divide the interval $(−∞,∞)(−∞,∞)$ into the three smaller intervals $(−∞,−1),(−∞,−1),$ $(−1,−1),(−1,−1),$ and $(1,∞),(1,∞),$ and choose a test point in each of these intervals to evaluate the sign of $f″(x).f″(x).$ in each of these intervals. The values $x=−2,x=−2,$ $x=0,x=0,$ and $x=2x=2$ are possible test points as shown in the following table.

Interval Test Point Sign of $f″(x)=6x2+2(1−x2)3f″(x)=6x2+2(1−x2)3$ Conclusion
$(−∞,−1)(−∞,−1)$ $x=−2x=−2$ $+/−=−+/−=−$ $ff$ is concave down.
$(−1,−1)(−1,−1)$ $x=0x=0$ $+/+=++/+=+$ $ff$ is concave up.
$(1,∞)(1,∞)$ $x=2x=2$ $+/−=−+/−=−$ $ff$ is concave down.

Combining all this information, we arrive at the graph of $ff$ shown below. Note that, although $ff$ changes concavity at $x=−1x=−1$ and $x=1,x=1,$ there are no inflection points at either of these places because $ff$ is not continuous at $x=−1x=−1$ or $x=1.x=1.$ Checkpoint 4.28

Sketch a graph of $f(x)=(3x+5)(8+4x).f(x)=(3x+5)(8+4x).$

### Example 4.30

#### Sketching a Rational Function with an Oblique Asymptote

Sketch the graph of $f(x)=x2(x−1)f(x)=x2(x−1)$

#### Solution

Step 1. The domain of $ff$ is the set of all real numbers $xx$ except $x=1.x=1.$

Step 2. Find the intercepts. We can see that when $x=0,x=0,$ $f(x)=0,f(x)=0,$ so $(0,0)(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, $ff$ must have an oblique asymptote. To find the oblique asymptote, use long division of polynomials to write

$f(x)=x2x−1=x+1+1x−1.f(x)=x2x−1=x+1+1x−1.$

Since $1/(x−1)→01/(x−1)→0$ as $x→±∞,x→±∞,$ $f(x)f(x)$ approaches the line $y=x+1y=x+1$ as $x→±∞.x→±∞.$ The line $y=x+1y=x+1$ is an oblique asymptote for $f.f.$

Step 4. To check for vertical asymptotes, look at where the denominator is zero. Here the denominator is zero at $x=1.x=1.$ Looking at both one-sided limits as $x→1,x→1,$ we find

$limx→1+x2x−1=∞andlimx→1−x2x−1=−∞.limx→1+x2x−1=∞andlimx→1−x2x−1=−∞.$

Therefore, $x=1x=1$ is a vertical asymptote, and we have determined the behavior of $ff$ as $xx$ approaches $11$ from the right and the left.

Step 5. Calculate the first derivative:

$f′(x)=(x−1)(2x)−x2(1)(x−1)2=x2−2x(x−1)2.f′(x)=(x−1)(2x)−x2(1)(x−1)2=x2−2x(x−1)2.$

We have $f′(x)=0f′(x)=0$ when $x2−2x=x(x−2)=0.x2−2x=x(x−2)=0.$ Therefore, $x=0x=0$ and $x=2x=2$ are critical points. Since $ff$ is undefined at $x=1,x=1,$ we need to divide the interval $(−∞,∞)(−∞,∞)$ into the smaller intervals $(−∞,0),(−∞,0),$ $(0,1),(0,1),$ $(1,2),(1,2),$ and $(2,∞),(2,∞),$ and choose a test point from each interval to evaluate the sign of $f′(x)f′(x)$ in each of these smaller intervals. For example, let $x=−1,x=−1,$ $x=12,x=12,$ $x=32,x=32,$ and $x=3x=3$ be the test points as shown in the following table.

Interval Test Point Sign of $f′(x)=x2−2x(x−1)2=x(x−2)(x−1)2f′(x)=x2−2x(x−1)2=x(x−2)(x−1)2$ Conclusion
$(−∞,0)(−∞,0)$ $x=−1x=−1$ $(−)(−)/+=+(−)(−)/+=+$ $ff$ is increasing.
$(0,1)(0,1)$ $x=1/2x=1/2$ $(+)(−)/+=−(+)(−)/+=−$ $ff$ is decreasing.
$(1,2)(1,2)$ $x=3/2x=3/2$ $(+)(−)/+=−(+)(−)/+=−$ $ff$ is decreasing.
$(2,∞)(2,∞)$ $x=3x=3$ $(+)(+)/+=+(+)(+)/+=+$ $ff$ is increasing.

From this table, we see that $ff$ has a local maximum at $x=0x=0$ and a local minimum at $x=2.x=2.$ The value of $ff$ at the local maximum is $f(0)=0f(0)=0$ and the value of $ff$ at the local minimum is $f(2)=4.f(2)=4.$ Therefore, $(0,0)(0,0)$ and $(2,4)(2,4)$ are important points on the graph.

Step 6. Calculate the second derivative:

$f″(x)=(x−1)2(2x−2)−(x2−2x)(2(x−1))(x−1)4=(x−1)[(x−1)(2x−2)−2(x2−2x)](x−1)4=(x−1)(2x−2)−2(x2−2x)(x−1)3=2x2−4x+2−(2x2−4x)(x−1)3=2(x−1)3.f″(x)=(x−1)2(2x−2)−(x2−2x)(2(x−1))(x−1)4=(x−1)[(x−1)(2x−2)−2(x2−2x)](x−1)4=(x−1)(2x−2)−2(x2−2x)(x−1)3=2x2−4x+2−(2x2−4x)(x−1)3=2(x−1)3.$

We see that $f″(x)f″(x)$ is never zero or undefined for $xx$ in the domain of $f.f.$ Since $ff$ is undefined at $x=1,x=1,$ to check concavity we just divide the interval $(−∞,∞)(−∞,∞)$ into the two smaller intervals $(−∞,1)(−∞,1)$ and $(1,∞),(1,∞),$ and choose a test point from each interval to evaluate the sign of $f″(x)f″(x)$ in each of these intervals. The values $x=0x=0$ and $x=2x=2$ are possible test points as shown in the following table.

Interval Test Point Sign of $f″(x)=2(x−1)3f″(x)=2(x−1)3$ Conclusion
$(−∞,1)(−∞,1)$ $x=0x=0$ $+/−=−+/−=−$ $ff$ is concave down.
$(1,∞)(1,∞)$ $x=2x=2$ $+/+=++/+=+$ $ff$ is concave up.

From the information gathered, we arrive at the following graph for $f.f.$ Checkpoint 4.29

Find the oblique asymptote for $f(x)=(3x3−2x+1)(2x2−4).f(x)=(3x3−2x+1)(2x2−4).$

### Example 4.31

#### Sketching the Graph of a Function with a Cusp

Sketch a graph of $f(x)=(x−1)2/3.f(x)=(x−1)2/3.$

#### Solution

Step 1. Since the cube-root function is defined for all real numbers $xx$ and $(x−1)2/3=(x−13)2,(x−1)2/3=(x−13)2,$ the domain of $ff$ is all real numbers.

Step 2: To find the $yy$-intercept, evaluate $f(0).f(0).$ Since $f(0)=1,f(0)=1,$ the $yy$-intercept is $(0,1).(0,1).$ To find the $xx$-intercept, solve $(x−1)2/3=0.(x−1)2/3=0.$ The solution of this equation is $x=1,x=1,$ so the $xx$-intercept is $(1,0).(1,0).$

Step 3: Since $limx→±∞(x−1)2/3=∞,limx→±∞(x−1)2/3=∞,$ the function continues to grow without bound as $x→∞x→∞$ and $x→−∞.x→−∞.$

Step 4: The function has no vertical asymptotes.

Step 5: To determine where $ff$ is increasing or decreasing, calculate $f′.f′.$ We find

$f′(x)=23(x−1)−1/3=23(x−1)1/3.f′(x)=23(x−1)−1/3=23(x−1)1/3.$

This function is not zero anywhere, but it is undefined when $x=1.x=1.$ Therefore, the only critical point is $x=1.x=1.$ Divide the interval $(−∞,∞)(−∞,∞)$ into the smaller intervals $(−∞,1)(−∞,1)$ and $(1,∞),(1,∞),$ and choose test points in each of these intervals to determine the sign of $f′(x)f′(x)$ in each of these smaller intervals. Let $x=0x=0$ and $x=2x=2$ be the test points as shown in the following table.

Interval Test Point Sign of $f′(x)=23(x−1)1/3f′(x)=23(x−1)1/3$ Conclusion
$(−∞,1)(−∞,1)$ $x=0x=0$ $+/−=−+/−=−$ $ff$ is decreasing.
$(1,∞)(1,∞)$ $x=2x=2$ $+/+=++/+=+$ $ff$ is increasing.

We conclude that $ff$ has a local minimum at $x=1.x=1.$ Evaluating $ff$ at $x=1,x=1,$ we find that the value of $ff$ at the local minimum is zero. Note that $f′(1)f′(1)$ is undefined, so to determine the behavior of the function at this critical point, we need to examine $limx→1f′(x).limx→1f′(x).$ Looking at the one-sided limits, we have

$limx→1+23(x−1)1/3=∞andlimx→1−23(x−1)1/3=−∞.limx→1+23(x−1)1/3=∞andlimx→1−23(x−1)1/3=−∞.$

Therefore, $ff$ has a cusp at $x=1.x=1.$

Step 6: To determine concavity, we calculate the second derivative of $f:f:$

$f″(x)=−29(x−1)−4/3=−29(x−1)4/3.f″(x)=−29(x−1)−4/3=−29(x−1)4/3.$

We find that $f″(x)f″(x)$ is defined for all $x,x,$ but is undefined when $x=1.x=1.$ Therefore, divide the interval $(−∞,∞)(−∞,∞)$ into the smaller intervals $(−∞,1)(−∞,1)$ and $(1,∞),(1,∞),$ and choose test points to evaluate the sign of $f″(x)f″(x)$ in each of these intervals. As we did earlier, let $x=0x=0$ and $x=2x=2$ be test points as shown in the following table.

Interval Test Point Sign of $f″(x)=−29(x−1)4/3f″(x)=−29(x−1)4/3$ Conclusion
$(−∞,1)(−∞,1)$ $x=0x=0$ $−/+=−−/+=−$ $ff$ is concave down.
$(1,∞)(1,∞)$ $x=2x=2$ $−/+=−−/+=−$ $ff$ is concave down.

From this table, we conclude that $ff$ is concave down everywhere. Combining all of this information, we arrive at the following graph for $f.f.$ Checkpoint 4.30

Consider the function $f(x)=5−x2/3.f(x)=5−x2/3.$ Determine the point on the graph where a cusp is located. Determine the end behavior of $f.f.$

### Section 4.6 Exercises

For the following exercises, examine the graphs. Identify where the vertical asymptotes are located.

251. 252. 253. 254. 255. For the following functions $f(x),f(x),$ determine whether there is an asymptote at $x=a.x=a.$ Justify your answer without graphing on a calculator.

256.

$f(x)=x+1x2+5x+4,a=−1f(x)=x+1x2+5x+4,a=−1$

257.

$f(x)=xx−2,a=2f(x)=xx−2,a=2$

258.

$f(x)=(x+2)3/2,a=−2f(x)=(x+2)3/2,a=−2$

259.

$f(x)=(x−1)−1/3,a=1f(x)=(x−1)−1/3,a=1$

260.

$f(x)=1+x−2/5,a=1f(x)=1+x−2/5,a=1$

For the following exercises, evaluate the limit.

261.

$limx→∞13x+6limx→∞13x+6$

262.

$limx→∞2x−54xlimx→∞2x−54x$

263.

$limx→∞x2−2x+5x+2limx→∞x2−2x+5x+2$

264.

$limx→−∞3x3−2xx2+2x+8limx→−∞3x3−2xx2+2x+8$

265.

$limx→−∞x4−4x3+12−2x2−7x4limx→−∞x4−4x3+12−2x2−7x4$

266.

$limx→∞3xx2+1limx→∞3xx2+1$

267.

$limx→−∞4x2−1x+2limx→−∞4x2−1x+2$

268.

$limx→∞4xx2−1limx→∞4xx2−1$

269.

$limx→−∞4xx2−1limx→−∞4xx2−1$

270.

$limx→∞2xx−x+1limx→∞2xx−x+1$

For the following exercises, find the horizontal and vertical asymptotes.

271.

$f(x)=x−9xf(x)=x−9x$

272.

$f(x)=11−x2f(x)=11−x2$

273.

$f(x)=x34−x2f(x)=x34−x2$

274.

$f(x)=x2+3x2+1f(x)=x2+3x2+1$

275.

$f(x)=sin(x)sin(2x)f(x)=sin(x)sin(2x)$

276.

$f(x)=cosx+cos(3x)+cos(5x)f(x)=cosx+cos(3x)+cos(5x)$

277.

$f(x)=xsin(x)x2−1f(x)=xsin(x)x2−1$

278.

$f(x)=xsin(x)f(x)=xsin(x)$

279.

$f(x)=1x3+x2f(x)=1x3+x2$

280.

$f(x)=1x−1−2xf(x)=1x−1−2x$

281.

$f(x)=x3+1x3−1f(x)=x3+1x3−1$

282.

$f(x)=sinx+cosxsinx−cosxf(x)=sinx+cosxsinx−cosx$

283.

$f(x)=x−sinxf(x)=x−sinx$

284.

$f(x)=1x−xf(x)=1x−x$

For the following exercises, construct a function $f(x)f(x)$ that has the given asymptotes.

285.

$x=1x=1$ and $y=2y=2$

286.

$x=1x=1$ and $y=0y=0$

287.

$y=4,y=4,$ $x=−1x=−1$

288.

$x=0x=0$

For the following exercises, graph the function on a graphing calculator on the window $x=[−5,5]x=[−5,5]$ and estimate the horizontal asymptote or limit. Then, calculate the actual horizontal asymptote or limit.

289.

[T] $f(x)=1x+10f(x)=1x+10$

290.

[T] $f(x)=x+1x2+7x+6f(x)=x+1x2+7x+6$

291.

[T] $limx→−∞x2+10x+25limx→−∞x2+10x+25$

292.

[T] $limx→−∞x+2x2+7x+6limx→−∞x+2x2+7x+6$

293.

[T] $limx→∞3x+2x+5limx→∞3x+2x+5$

For the following exercises, draw a graph of the functions without using a calculator. Be sure to notice all important features of the graph: local maxima and minima, inflection points, and asymptotic behavior.

294.

$y=3x2+2x+4y=3x2+2x+4$

295.

$y=x3−3x2+4y=x3−3x2+4$

296.

$y=2x+1x2+6x+5y=2x+1x2+6x+5$

297.

$y=x3+4x2+3x3x+9y=x3+4x2+3x3x+9$

298.

$y=x2+x−2x2−3x−4y=x2+x−2x2−3x−4$

299.

$y=x2−5x+4y=x2−5x+4$

300.

$y=2x16−x2y=2x16−x2$

301.

$y=cosxx,y=cosxx,$ on $x=[−2π,2π]x=[−2π,2π]$

302.

$y=ex−x3y=ex−x3$

303.

$y=xtanx,x=[−π,π]y=xtanx,x=[−π,π]$

304.

$y=xln(x),x>0y=xln(x),x>0$

305.

$y=x2sin(x),x=[−2π,2π]y=x2sin(x),x=[−2π,2π]$

306.

For $f(x)=P(x)Q(x)f(x)=P(x)Q(x)$ to have an asymptote at $y=2y=2$ then the polynomials $P(x)P(x)$ and $Q(x)Q(x)$ must have what relation?

307.

For $f(x)=P(x)Q(x)f(x)=P(x)Q(x)$ to have an asymptote at $x=0,x=0,$ then the polynomials $P(x)P(x)$ and $Q(x).Q(x).$ must have what relation?

308.

If $f′(x)f′(x)$ has asymptotes at $y=3y=3$ and $x=1,x=1,$ then $f(x)f(x)$ has what asymptotes?

309.

Both $f(x)=1(x−1)f(x)=1(x−1)$ and $g(x)=1(x−1)2g(x)=1(x−1)2$ have asymptotes at $x=1x=1$ and $y=0.y=0.$ What is the most obvious difference between these two functions?

310.

True or false: Every ratio of polynomials has vertical asymptotes.