We've updated our
Privacy Policy effective December 15. Please read our updated Privacy Policy and tap

Study Guides > Calculus Volume 1

The Second Derivative Test and Curve Sketching

Learning Objectives

  • Use concavity and inflection points to explain how the sign of the second derivative affects the shape of a function’s graph.
  • Explain the concavity test for a function over an open interval.
  • Explain the relationship between a function and its first and second derivatives.
  • State the second derivative test for local extrema.
  • Analyze a function and its derivatives to draw its graph.

Concavity and Points of Inflection

We now know how to determine where a function is increasing or decreasing. However, there is another issue to consider regarding the shape of the graph of a function. If the graph curves, does it curve upward or curve downward? This notion is called the concavity of the function.

(Figure)(a) shows a function ff with a graph that curves upward. As xx increases, the slope of the tangent line increases. Thus, since the derivative increases as xx increases, ff^{\prime} is an increasing function. We say this function ff is concave up. (Figure)(b) shows a function ff that curves downward. As xx increases, the slope of the tangent line decreases. Since the derivative decreases as xx increases, ff^{\prime} is a decreasing function. We say this function ff is concave down.

Definition

Let ff be a function that is differentiable over an open interval II. If ff^{\prime} is increasing over II, we say ff is concave up over II. If ff^{\prime} is decreasing over II, we say ff is concave down over II.

This figure is broken into four figures labeled a, b, c, and d. Figure a shows a function increasing convexly from (a, f(a)) to (b, f(b)). At two points the derivative is taken and both are increasing, but the one taken further to the right is increasing more. It is noted that f’ is increasing and f is concave up. Figure b shows a function increasing concavely from (a, f(a)) to (b, f(b)). At two points the derivative is taken and both are increasing, but the one taken further to the right is increasing less. It is noted that f’ is decreasing and f is concave down. Figure c shows a function decreasing concavely from (a, f(a)) to (b, f(b)). At two points the derivative is taken and both are decreasing, but the one taken further to the right is decreasing less. It is noted that f’ is increasing and f is concave up. Figure d shows a function decreasing convexly from (a, f(a)) to (b, f(b)). At two points the derivative is taken and both are decreasing, but the one taken further to the right is decreasing more. It is noted that f’ is decreasing and f is concave down. Figure 5. (a), (c) Since ff^{\prime} is increasing over the interval (a,b)(a,b), we say ff is concave up over (a,b)(a,b). (b), (d) Since ff^{\prime} is decreasing over the interval (a,b)(a,b), we say ff is concave down over (a,b)(a,b).

In general, without having the graph of a function ff, how can we determine its concavity? By definition, a function ff is concave up if ff^{\prime} is increasing. From Corollary 3, we know that if ff^{\prime} is a differentiable function, then ff^{\prime} is increasing if its derivative f(x)>0f^{\prime \prime}(x)>0. Therefore, a function ff that is twice differentiable is concave up when f(x)>0f^{\prime \prime}(x)>0. Similarly, a function ff is concave down if ff^{\prime} is decreasing. We know that a differentiable function ff^{\prime} is decreasing if its derivative f(x)<0f^{\prime \prime}(x)<0. Therefore, a twice-differentiable function ff is concave down when f(x)<0f^{\prime \prime}(x)<0. Applying this logic is known as the concavity test.

Test for Concavity

Let ff be a function that is twice differentiable over an interval II.

  1. If f(x)>0f^{\prime \prime}(x)>0 for all xIx \in I, then ff is concave up over II.
  2. If f(x)<0f^{\prime \prime}(x)<0 for all xIx \in I, then ff is concave down over II.

We conclude that we can determine the concavity of a function ff by looking at the second derivative of ff. In addition, we observe that a function ff can switch concavity ((Figure)). However, a continuous function can switch concavity only at a point xx if f(x)=0f^{\prime \prime}(x)=0 or f(x)f^{\prime \prime}(x) is undefined. Consequently, to determine the intervals where a function ff is concave up and concave down, we look for those values of xx where f(x)=0f^{\prime \prime}(x)=0 or f(x)f^{\prime \prime}(x) is undefined. When we have determined these points, we divide the domain of ff into smaller intervals and determine the sign of ff^{\prime \prime} over each of these smaller intervals. If ff^{\prime \prime} changes sign as we pass through a point xx, then ff changes concavity. It is important to remember that a function ff may not change concavity at a point xx even if f(x)=0f^{\prime \prime}(x)=0 or f(x)f^{\prime \prime}(x) is undefined. If, however, ff does change concavity at a point aa and ff is continuous at aa, we say the point (a,f(a))(a,f(a)) is an inflection point of ff.

Definition

If ff is continuous at aa and ff changes concavity at aa, the point (a,f(a))(a,f(a)) is an inflection point of ff.

A sinusoidal function is shown that has been shifted into the first quadrant. The function starts decreasing, so f’ < 0 and f’’ > 0. The function reaches the local minimum and starts increasing, so f’ > 0 and f’’ > 0. It is noted that the slope is increasing for these two intervals. The function then reaches an inflection point (a, f(a)) and from here the slop is decreasing even though the function continues to increase, so f’ > 0 and f’’ < 0. The function reaches the maximum and then starts decreasing, so f’ < 0 and f’’ < 0. Figure 6. Since f(x)>0f^{\prime \prime}(x)>0 for x<ax<a, the function ff is concave up over the interval (,a)(−\infty,a). Since f(x)<0f^{\prime \prime}(x)<0 for x>ax>a, the function ff is concave down over the interval (a,)(a,\infty). The point (a,f(a))(a,f(a)) is an inflection point of ff.

Testing for Concavity

For the function f(x)=x36x2+9x+30f(x)=x^3-6x^2+9x+30, determine all intervals where ff is concave up and all intervals where ff is concave down. List all inflection points for ff. Use a graphing utility to confirm your results.

Answer:

To determine concavity, we need to find the second derivative f(x)f^{\prime \prime}(x). The first derivative is f(x)=3x212x+9f^{\prime}(x)=3x^2-12x+9, so the second derivative is f(x)=6x12f^{\prime \prime}(x)=6x-12. If the function changes concavity, it occurs either when f(x)=0f^{\prime \prime}(x)=0 or f(x)f^{\prime \prime}(x) is undefined. Since ff^{\prime \prime} is defined for all real numbers xx, we need only find where f(x)=0f^{\prime \prime}(x)=0. Solving the equation 6x12=06x-12=0, we see that x=2x=2 is the only place where ff could change concavity. We now test points over the intervals (,2)(−\infty ,2) and (2,)(2,\infty) to determine the concavity of ff. The points x=0x=0 and x=3x=3 are test points for these intervals.

Interval Test Point Sign of f(x)=6x12f^{\prime \prime}(x)=6x-12 at Test Point Conclusion
(,2)(−\infty ,2) x=0x=0 - ff is concave down
(2,)(2,\infty ) x=3x=3 ++ ff is concave up.

We conclude that ff is concave down over the interval (,2)(−\infty ,2) and concave up over the interval (2,)(2,\infty). Since ff changes concavity at x=2x=2, the point (2,f(2))=(2,32)(2,f(2))=(2,32) is an inflection point. (Figure) confirms the analytical results.

The function f(x) = x3 – 6x2 + 9x + 30 is graphed. The inflection point (2, 32) is marked, and it is roughly equidistant from the two local extrema. Figure 7. The given function has a point of inflection at (2,32)(2,32) where the graph changes concavity.

For f(x)=x3+32x2+18xf(x)=−x^3+\frac{3}{2}x^2+18x, find all intervals where ff is concave up and all intervals where ff is concave down.

Answer:

ff is concave up over the interval (,12)(−\infty ,\frac{1}{2}) and concave down over the interval (12,)(\frac{1}{2},\infty )

Hint

Find where f(x)=0f^{\prime \prime}(x)=0.

We now summarize, in (Figure), the information that the first and second derivatives of a function ff provide about the graph of ff, and illustrate this information in (Figure).

What Derivatives Tell Us about Graphs
Sign of ff^{\prime} Sign of ff^{\prime \prime} Is ff increasing or decreasing? Concavity
Positive Positive Increasing Concave up
Positive Negative Increasing Concave down
Negative Positive Decreasing Concave up
Negative Negative Decreasing Concave down
A function is graphed in the first quadrant. It is broken up into four sections, with the breaks coming at the local minimum, inflection point, and local maximum, respectively. The first section is decreasing and concave up; here, f’ < 0 and f’’ > 0. The second section is increasing and concave up; here, f’ > 0 and f’’ > 0. The third section is increasing and concave down; here, f’ > 0 and f’’ < 0. The fourth section is increasing and concave down; here, f’ < 0 and f’’ < 0. Figure 8. Consider a twice-differentiable function ff over an open interval II. If f(x)>0f^{\prime}(x)>0 for all xIx \in I, the function is increasing over II. If f(x)<0f^{\prime}(x)<0 for all xIx \in I, the function is decreasing over II. If f(x)>0f^{\prime \prime}(x)>0 for all xIx \in I, the function is concave up. If f(x)<0f^{\prime \prime}(x)<0 for all xIx \in I, the function is concave down on II.

The Second Derivative Test

The first derivative test provides an analytical tool for finding local extrema, but the second derivative can also be used to locate extreme values. Using the second derivative can sometimes be a simpler method than using the first derivative.

We know that if a continuous function has a local extrema, it must occur at a critical point. However, a function need not have a local extrema at a critical point. Here we examine how the second derivative test can be used to determine whether a function has a local extremum at a critical point. Let ff be a twice-differentiable function such that f(a)=0f^{\prime}(a)=0 and ff^{\prime \prime} is continuous over an open interval II containing aa. Suppose f(a)<0f^{\prime \prime}(a)<0. Since ff^{\prime \prime} is continuous over II, f(x)<0f^{\prime \prime}(x)<0 for all xIx \in I ((Figure)). Then, by Corollary 3, ff^{\prime} is a decreasing function over II. Since f(a)=0f^{\prime}(a)=0, we conclude that for all xI,f(x)>0x \in I, \, f^{\prime}(x)>0 if x<ax<a and f(x)<0f^{\prime}(x)<0 if x>ax>a. Therefore, by the first derivative test, ff has a local maximum at x=ax=a. On the other hand, suppose there exists a point bb such that f(b)=0f^{\prime}(b)=0 but f(b)>0f^{\prime \prime}(b)>0. Since ff^{\prime \prime} is continuous over an open interval II containing bb, then f(x)>0f^{\prime \prime}(x)>0 for all xIx \in I ((Figure)). Then, by Corollary 3,f3, \, f^{\prime} is an increasing function over II. Since f(b)=0f^{\prime}(b)=0, we conclude that for all xIx \in I, f(x)<0f^{\prime}(x)<0 if x<bx<b and f(x)>0f^{\prime}(x)>0 if x>bx>b. Therefore, by the first derivative test, ff has a local minimum at x=bx=b.

A function f(x) is graphed in the first quadrant with a and b marked on the x-axis. The function is vaguely sinusoidal, increasing first to x = a, then decreasing to x = b, and increasing again. At (a, f(a)), the tangent is marked, and it is noted that f’(a) = 0 and f’’(a) < 0. At (b, f(b)), the tangent is marked, and it is noted f’(b) = 0 and f’’(b) > 0. Figure 9. Consider a twice-differentiable function ff such that ff^{\prime \prime} is continuous. Since f(a)=0f^{\prime}(a)=0 and f(a)<0f^{\prime \prime}(a)<0, there is an interval II containing aa such that for all xx in II, ff is increasing if x<ax<a and ff is decreasing if x>ax>a. As a result, ff has a local maximum at x=ax=a. Since f(b)=0f^{\prime}(b)=0 and f(b)>0f^{\prime \prime}(b)>0, there is an interval II containing bb such that for all xx in II, ff is decreasing if x<bx<b and ff is increasing if x>bx>b. As a result, ff has a local minimum at x=bx=b.

Second Derivative Test

Suppose f(c)=0,ff^{\prime}(c)=0, \, f^{\prime \prime} is continuous over an interval containing cc.

  1. If f(c)>0f^{\prime \prime}(c)>0, then ff has a local minimum at cc.
  2. If f(c)<0f^{\prime \prime}(c)<0, then ff has a local maximum at cc.
  3. If f(c)=0f^{\prime \prime}(c)=0, then the test is inconclusive.

Note that for case iii. when f(c)=0f^{\prime \prime}(c)=0, then ff may have a local maximum, local minimum, or neither at cc. For example, the functions f(x)=x3f(x)=x^3, f(x)=x4f(x)=x^4, and f(x)=x4f(x)=−x^4 all have critical points at x=0x=0. In each case, the second derivative is zero at x=0x=0. However, the function f(x)=x4f(x)=x^4 has a local minimum at x=0x=0 whereas the function f(x)=x4f(x)=−x^4 has a local maximum at x=0x=0 and the function f(x)=x3f(x)=x^3 does not have a local extremum at x=0x=0.

Let’s now look at how to use the second derivative test to determine whether ff has a local maximum or local minimum at a critical point cc where f(c)=0f^{\prime}(c)=0.

Using the Second Derivative Test

Use the second derivative to find the location of all local extrema for f(x)=x55x3f(x)=x^5-5x^3.

Answer:

To apply the second derivative test, we first need to find critical points cc where f(c)=0f^{\prime}(c)=0. The derivative is f(x)=5x415x2f^{\prime}(x)=5x^4-15x^2. Therefore, f(x)=5x415x2=5x2(x23)=0f^{\prime}(x)=5x^4-15x^2=5x^2(x^2-3)=0 when x=0,±3x=0,\pm \sqrt{3}.

To determine whether ff has a local extrema at any of these points, we need to evaluate the sign of ff^{\prime \prime} at these points. The second derivative is

f(x)=20x330x=10x(2x23)f^{\prime \prime}(x)=20x^3-30x=10x(2x^2-3).

In the following table, we evaluate the second derivative at each of the critical points and use the second derivative test to determine whether ff has a local maximum or local minimum at any of these points.

xx f(x)f^{\prime \prime}(x) Conclusion
3−\sqrt{3} 303-30\sqrt{3} Local maximum
0 0 Second derivative test is inconclusive
3\sqrt{3} 30330\sqrt{3} Local minimum

By the second derivative test, we conclude that ff has a local maximum at x=3x=−\sqrt{3} and ff has a local minimum at x=3x=\sqrt{3}. The second derivative test is inconclusive at x=0x=0. To determine whether ff has a local extrema at x=0x=0, we apply the first derivative test. To evaluate the sign of f(x)=5x2(x23)f^{\prime}(x)=5x^2(x^2-3) for x(3,0)x \in (−\sqrt{3},0) and x(0,3)x \in (0,\sqrt{3}), let x=1x=-1 and x=1x=1 be the two test points. Since f(1)<0f^{\prime}(-1)<0 and f(1)<0f^{\prime}(1)<0, we conclude that ff is decreasing on both intervals and, therefore, ff does not have a local extrema at x=0x=0 as shown in the following graph.

The function f(x) = x5 – 5x3 is graphed. The function increases to (negative square root of 3, 10), then decreases to an inflection point at 0, continues decreasing to (square root of 3, −10), and then increases. Figure 10. The function ff has a local maximum at x=3x=−\sqrt{3} and a local minimum at x=3x=\sqrt{3}

Consider the function f(x)=x3(32)x218xf(x)=x^3-(\frac{3}{2})x^2-18x. The points c=3,2c=3,-2 satisfy f(c)=0f^{\prime}(c)=0. Use the second derivative test to determine whether ff has a local maximum or local minimum at those points.

Answer:

ff has a local maximum at -2 and a local minimum at 3.

Hint

f(x)=6x3f^{\prime \prime}(x)=6x-3

We have now developed the tools we need to determine where a function is increasing and decreasing, as well as acquired an understanding of the basic shape of the graph. Next we discuss what happens to a function as x±x \to \pm \infty. At that point, we have enough tools to provide accurate graphs of a large variety of functions.

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 ff use the following steps to sketch a graph of ff:

  1. Determine the domain of the function.
  2. Locate the xx- and yy-intercepts.
  3. Evaluate limxf(x)\underset{x\to \infty }{\lim}f(x) and limxf(x)\underset{x\to −\infty }{\lim}f(x) to determine the end behavior. If either of these limits is a finite number LL, then y=Ly=L is a horizontal asymptote. If either of these limits is \infty or −\infty, determine whether ff has an oblique asymptote. If ff is a rational function such that f(x)=p(x)q(x)f(x)=\frac{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)=\frac{p(x)}{q(x)}=g(x)+\frac{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\to \pm \infty. 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 ff^{\prime}. 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 ff^{\prime \prime}. 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.

Sketching a Graph of a Polynomial

Sketch a graph of f(x)=(x1)2(x+2)f(x)=(x-1)^2 (x+2).

Answer:

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

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

Step 3. We need to evaluate the end behavior of ff. As xx\to \infty, (x1)2(x-1)^2 \to \infty and (x+2)(x+2)\to \infty. Therefore, limxf(x)=\underset{x\to \infty }{\lim}f(x)=\infty. As xx\to −\infty, (x1)2(x-1)^2 \to \infty and (x+2)(x+2) \to −\infty. Therefore, limxf(x)=\underset{x\to -\infty }{\lim}f(x)=−\infty. To get even more information about the end behavior of ff, we can multiply the factors of ff. When doing so, we see that

f(x)=(x1)2(x+2)=x33x+2f(x)=(x-1)^2 (x+2)=x^3-3x+2.

Since the leading term of ff is x3x^3, we conclude that ff behaves like y=x3y=x^3 as x±x\to \pm \infty.

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)=3x23f^{\prime}(x)=3x^2-3.

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

Interval Test Point Sign of Derivative f(x)=3x23=3(x1)(x+1)f^{\prime}(x)=3x^2-3=3(x-1)(x+1) Conclusion
(,1)(−\infty ,-1) x=2x=-2 (+)()()=+(+)(−)(−)=+ ff is increasing.
(1,1)(-1,1) x=0x=0 (+)()(+)=(+)(−)(+)=− ff is decreasing.
(1,)(1,\infty ) 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=1x=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)=0f(1)=0.

Step 6. The second derivative of ff is

f(x)=6xf^{\prime \prime}(x)=6x.

The second derivative is zero at x=0x=0. Therefore, to determine the concavity of ff, divide the interval (,)(−\infty ,\infty) into the smaller intervals (,0)(−\infty ,0) and (0,)(0,\infty ), 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^{\prime \prime}(x)=6x Conclusion
(,0)(−\infty ,0) x=1x=-1 - ff is concave down.
(0,)(0,\infty ) x=1x=1 ++ ff is concave up.

We note that the information in the preceding table confirms the fact, found in step 5, that ff has a local maximum at x=1x=-1 and a local minimum at x=1x=1. In addition, the information found in step 5—namely, ff has a local maximum at x=1x=-1 and a local minimum at x=1x=1, and f(x)=0f^{\prime}(x)=0 at those points—combined with the fact that ff^{\prime \prime} changes sign only at x=0x=0 confirms the results found in step 6 on the concavity of ff.

Combining this information, we arrive at the graph of f(x)=(x1)2(x+2)f(x)=(x-1)^2 (x+2) shown in the following graph.

The function f(x) = (x −1)2 (x + 2) is graphed. It crosses the x axis at x = −2 and touches the x axis at x = 1.

Sketch a graph of f(x)=(x1)3(x+2)f(x)=(x-1)^3 (x+2).

Answer: The function f(x) = (x −1)3(x + 2) is graphed.

Hint

ff is a fourth-degree polynomial.

Sketching a Rational Function

Sketch the graph of f(x)=x21x2f(x)=\frac{x^2}{1-x^2}.

Answer:

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=±1x=\pm 1.

Step 2. Find the intercepts. If x=0x=0, then f(x)=0f(x)=0, so 0 is an intercept. If y=0y=0, then x21x2=0\frac{x^2}{1-x^2}=0, which implies x=0x=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: x2x^2. We obtain

limx±x21x2=limx±11x21=1\underset{x\to \pm \infty }{\lim}\frac{x^2}{1-x^2}=\underset{x\to \pm \infty }{\lim}\frac{1}{\frac{1}{x^2}-1}=-1.

Therefore, ff has a horizontal asymptote of y=1y=-1 as xx\to \infty and xx\to −\infty.

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=±1x=\pm 1. To determine whether the lines x=1x=1 or x=1x=-1 are vertical asymptotes of ff, evaluate limx1f(x)\underset{x\to 1}{\lim}f(x) and limx1f(x)\underset{x\to −1}{\lim}f(x). By looking at each one-sided limit as x1x\to 1, we see that

limx1+x21x2=\underset{x\to 1^+}{\lim}\frac{x^2}{1-x^2}=−\infty and limx1x21x2=\underset{x\to 1^-}{\lim}\frac{x^2}{1-x^2}=\infty.

In addition, by looking at each one-sided limit as x1x\to −1, we find that

limx1+x21x2=\underset{x\to −1^+}{\lim}\frac{x^2}{1-x^2}=\infty and limx1x21x2=\underset{x\to −1^-}{\lim}\frac{x^2}{1-x^2}=−\infty.

Step 5. Calculate the first derivative:

f(x)=(1x2)(2x)x2(2x)(1x2)2=2x(1x2)2f^{\prime}(x)=\frac{(1-x^2)(2x)-x^2(-2x)}{(1-x^2)^2}=\frac{2x}{(1-x^2)^2}.

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

Interval Test Point Sign of f(x)=2x(1x2)2f^{\prime}(x)=\frac{2x}{(1-x^2)^2} Conclusion
(,1)(−\infty ,-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,\infty ) 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)=(1x2)2(2)2x(2(1x2)(2x))(1x2)4=(1x2)[2(1x2)+8x2](1x2)4=2(1x2)+8x2(1x2)3=6x2+2(1x2)3\begin{array}{ll} f^{\prime \prime}(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} \end{array}

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^{\prime \prime}(x)=0 or f(x)f^{\prime \prime}(x) is undefined. Since the numerator 6x2+206x^2+2 \ne 0 for any xx, f(x)f^{\prime \prime}(x) is never zero. Furthermore, ff^{\prime \prime} is not undefined for any xx in the domain of ff. However, as discussed earlier, x=±1x=\pm 1 are not in the domain of ff. Therefore, to determine the concavity of ff, we divide the interval (,)(−\infty ,\infty ) into the three smaller intervals (,1)(−\infty ,-1), (1,1)(-1,-1), and (1,)(1,\infty ), and choose a test point in each of these intervals to evaluate the sign of f(x)f^{\prime \prime}(x) in each of these intervals. The values x=2x=-2, x=0x=0, and x=2x=2 are possible test points as shown in the following table.

Interval Test Point Sign of f(x)=6x2+2(1x2)3f^{\prime \prime}(x)=\frac{6x^2+2}{(1-x^2)^3} Conclusion
(,1)(−\infty ,-1) x=2x=-2 +/=+/-=− ff is concave down.
(1,1)(-1,-1) x=0x=0 +/+=++/+=+ ff is concave up.
(1,)(1,\infty ) 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=1x=1, there are no inflection points at either of these places because ff is not continuous at x=1x=-1 or x=1x=1.

The function f(x) = x2/(1 − x2) is graphed. It has asymptotes y = −1, x = −1, and x = 1.

Sketch a graph of f(x)=3x+58+4xf(x)=\frac{3x+5}{8+4x}.

Answer: The function f(x) = (3x + 5)/(8 + 4x) is graphed. It appears to have asymptotes at x = −2 and y = 1.

Hint

A line y=Ly=L is a horizontal asymptote of ff if the limit as xx\to \infty or the limit as xx\to −\infty of f(x)f(x) is LL. A line x=ax=a is a vertical asymptote if at least one of the one-sided limits of ff as xax\to a is \infty or −\infty.

Sketching a Rational Function with an Oblique Asymptote

Sketch the graph of f(x)=x2x1f(x)=\frac{x^2}{x-1}

Answer:

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

Step 2. Find the intercepts. We can see that when x=0x=0, f(x)=0f(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)=x2x1=x+1+1x1f(x)=\frac{x^2}{x-1}=x+1+\frac{1}{x-1}.

Since 1/(x1)01/(x-1)\to 0 as x±x\to \pm \infty, f(x)f(x) approaches the line y=x+1y=x+1 as x±x\to \pm \infty. The line y=x+1y=x+1 is an oblique asymptote for ff.

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

limx1+x2x1=\underset{x\to 1^+}{\lim}\frac{x^2}{x-1}=\infty and limx1x2x1=\underset{x\to 1^-}{\lim}\frac{x^2}{x-1}=−\infty.

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

Step 5. Calculate the first derivative:

f(x)=(x1)(2x)x2(1)(x1)2=x22x(x1)2f^{\prime}(x)=\frac{(x-1)(2x)-x^2(1)}{(x-1)^2}=\frac{x^2-2x}{(x-1)^2}.

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

Interval Test Point Sign of f(x)=x22x(x1)2=x(x2)(x1)2f^{\prime}(x)=\frac{x^2-2x}{(x-1)^2}=\frac{x(x-2)}{(x-1)^2} Conclusion
(,0)(−\infty ,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,\infty ) 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=2x=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)=4f(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)=(x1)2(2x2)(x22x)(2(x1))(x1)4=(x1)[(x1)(2x2)2(x22x)](x1)4=(x1)(2x2)2(x22x)(x1)3=2x24x+2(2x24x)(x1)3=2(x1)3\begin{array}{ll} f^{\prime \prime}(x) & =\frac{(x-1)^2(2x-2)-(x^2-2x)(2(x-1))}{(x-1)^4} \\ & =\frac{(x-1)[(x-1)(2x-2)-2(x^2-2x)]}{(x-1)^4} \\ & =\frac{(x-1)(2x-2)-2(x^2-2x)}{(x-1)^3} \\ & =\frac{2x^2-4x+2-(2x^2-4x)}{(x-1)^3} \\ & =\frac{2}{(x-1)^3} \end{array}

We see that f(x)f^{\prime \prime}(x) is never zero or undefined for xx in the domain of ff. Since ff is undefined at x=1x=1, to check concavity we just divide the interval (,)(−\infty ,\infty ) into the two smaller intervals (,1)(−\infty ,1) and (1,)(1,\infty ), and choose a test point from each interval to evaluate the sign of f(x)f^{\prime \prime}(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(x1)3f^{\prime \prime}(x)=\frac{2}{(x-1)^3} Conclusion
(,1)(−\infty ,1) x=0x=0 +/=+/-=− ff is concave down.
(1,)(1,\infty ) x=2x=2 +/+=++/+=+ ff is concave up.

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

The function f(x) = x2/(x − 1) is graphed. It has asymptotes y = x + 1 and x = 1.

Find the oblique asymptote for f(x)=3x32x+12x24f(x)=\frac{3x^3-2x+1}{2x^2-4}.

Answer:

y=32xy=\frac{3}{2}x

Hint

Use long division of polynomials.

Sketching the Graph of a Function with a Cusp

Sketch a graph of f(x)=(x1)2/3f(x)=(x-1)^{2/3}.

Answer:

Step 1. Since the cube-root function is defined for all real numbers xx and (x1)2/3=(x13)2(x-1)^{2/3}=(\sqrt[3]{x-1})^2, the domain of ff is all real numbers.

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

Step 3: Since limx±(x1)2/3=\underset{x\to \pm \infty }{\lim}(x-1)^{2/3}=\infty , the function continues to grow without bound as xx\to \infty and xx\to −\infty.

Step 4: The function has no vertical asymptotes.

Step 5: To determine where ff is increasing or decreasing, calculate ff^{\prime}. We find

f(x)=23(x1)1/3=23(x1)1/3f^{\prime}(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=1x=1. Therefore, the only critical point is x=1x=1. Divide the interval (,)(−\infty ,\infty ) into the smaller intervals (,1)(−\infty ,1) and (1,)(1,\infty ), and choose test points in each of these intervals to determine the sign of f(x)f^{\prime}(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(x1)1/3f^{\prime}(x)=\frac{2}{3(x-1)^{1/3}} Conclusion
(,1)(−\infty ,1) x=0x=0 +/=+/-=− ff is decreasing.
(1,)(1,\infty ) x=2x=2 +/+=++/+=+ ff is increasing.

We conclude that ff has a local minimum at x=1x=1. Evaluating ff at x=1x=1, we find that the value of ff at the local minimum is zero. Note that f(1)f^{\prime}(1) is undefined, so to determine the behavior of the function at this critical point, we need to examine limx1f(x)\underset{x\to 1}{\lim}f^{\prime}(x). Looking at the one-sided limits, we have

limx1+23(x1)1/3=\underset{x\to 1^+}{\lim}\frac{2}{3(x-1)^{1/3}}=\infty and limx123(x1)1/3=\underset{x\to 1^-}{\lim}\frac{2}{3(x-1)^{1/3}}=−\infty.

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

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

f(x)=29(x1)4/3=29(x1)4/3f^{\prime \prime}(x)=-\frac{2}{9}(x-1)^{-4/3}=\frac{-2}{9(x-1)^{4/3}}.

We find that f(x)f^{\prime \prime}(x) is defined for all xx, but is undefined when x=1x=1. Therefore, divide the interval (,)(−\infty ,\infty ) into the smaller intervals (,1)(−\infty ,1) and (1,)(1,\infty ), and choose test points to evaluate the sign of f(x)f^{\prime \prime}(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(x1)4/3f^{\prime \prime}(x)=\frac{-2}{9(x-1)^{4/3}} Conclusion
(,1)(−\infty ,1) x=0x=0 /+=−/+=− ff is concave down.
(1,)(1,\infty ) 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 ff.

The function f(x) = (x − 1)2/3 is graphed. It touches the x axis at x = 1, where it comes to something of a sharp point and then flairs out on either side.

Consider the function f(x)=5x2/3f(x)=5-x^{2/3}. Determine the point on the graph where a cusp is located. Determine the end behavior of ff.

Answer:

The function ff has a cusp at (0,5)(0,5): limx0f(x)=\underset{x\to 0^-}{\lim}f^{\prime}(x)=\infty, limx0+f(x)=\underset{x\to 0^+}{\lim}f^{\prime}(x)=−\infty. For end behavior, limx±f(x)=\underset{x\to \pm \infty }{\lim}f(x)=−\infty.

Hint

A function ff has a cusp at a point aa if f(a)f(a) exists, f(a)f^{\prime}(a) is undefined, one of the one-sided limits as xax\to a of f(x)f^{\prime}(x) is ++\infty, and the other one-sided limit is −\infty.

Key Concepts

  • If f(x)>0f^{\prime \prime}(x)>0 over an interval II, then ff is concave up over II.
  • If f(x)<0f^{\prime \prime}(x)<0 over an interval II, then ff is concave down over II.
  • If f(c)=0f^{\prime}(c)=0 and f(c)>0f^{\prime \prime}(c)>0, then ff has a local minimum at cc.
  • If f(c)=0f^{\prime}(c)=0 and f(c)<0f^{\prime \prime}(c)<0, then ff has a local maximum at cc.
  • If f(c)=0f^{\prime}(c)=0 and f(c)=0f^{\prime \prime}(c)=0, then evaluate f(x)f^{\prime}(x) at a test point xx to the left of cc and a test point xx to the right of cc, to determine whether ff has a local extremum at cc.
  • For a polynomial function p(x)=anxn+an1xn1++a1x+a0p(x)=a_n x^n + a_{n-1} x^{n-1} + \cdots + a_1 x + a_0, where an0a_n \ne 0, the end behavior is determined by the leading term anxna_n x^n. If n0n\ne 0, p(x)p(x) approaches \infty or −\infty at each end.
  • For a rational function f(x)=p(x)q(x)f(x)=\frac{p(x)}{q(x)}, the end behavior is determined by the relationship between the degree of pp and the degree of qq. If the degree of pp is less than the degree of qq, the line y=0y=0 is a horizontal asymptote for ff. If the degree of pp is equal to the degree of qq, then the line y=anbny=\frac{a_n}{b_n} is a horizontal asymptote, where ana_n and bnb_n are the leading coefficients of pp and qq, respectively. If the degree of pp is greater than the degree of qq, then ff approaches \infty or −\infty at each end.

2. For the function y=x3y=x^3, is x=0x=0 both an inflection point and a local maximum/minimum?

Answer:

It is not a local maximum/minimum because ff^{\prime} does not change sign

3. For the function y=x3y=x^3, is x=0x=0 an inflection point?

4. Is it possible for a point cc to be both an inflection point and a local extrema of a twice differentiable function?

Answer:

No

5. Why do you need continuity for the first derivative test? Come up with an example.

6. Explain whether a concave-down function has to cross y=0y=0 for some value of xx.

Answer:

False; for example, y=xy=\sqrt{x}.

7. Explain whether a polynomial of degree 2 can have an inflection point.

For the following exercises, analyze the graphs of ff^{\prime}, then list all inflection points and intervals ff that are concave up and concave down.

18. The function f’(x) is graphed. The function is linear and starts negative. It crosses the x axis at the origin.

Answer:

Concave up on all xx, no inflection points

19. The function f’(x) is graphed. It is an upward-facing parabola with 0 as its local minimum.
20. The function f’(x) is graphed. The function resembles the graph of x3: that is, it starts negative and crosses the x axis at the origin. Then it continues increasing.

Answer: Concave up on all xx, no inflection points

21. The function f’(x) is graphed. The function starts negative and crosses the x axis at (−0.5, 0). Then it continues increasing to (0, 1.5) before decreasing and touching the x axis at (1, 0). It then increases.
22. The function f’(x) is graphed. The function starts negative and crosses the x axis at (−1, 0). Then it continues increasing to a local maximum at (0, 1), at which point it decreases and touches the x axis at (1, 0). It then increases.

Answer:

Concave up for x<0x<0 and x>1x>1, concave down for 0<x<10<x<1, inflection points at x=0x=0 and x=1x=1

For the following exercises, draw a graph that satisfies the given specifications for the domain x=[3,3]x=[-3,3]. The function does not have to be continuous or differentiable.

23. f(x)>0,f(x)>0f(x)>0, \, f^{\prime}(x)>0 over x>1,3<x<0,f(x)=0x>1, \, -3<x<0, \, f^{\prime}(x)=0 over 0<x<10<x<1

24. f(x)>0f^{\prime}(x)>0 over x>2,3<x<1,f(x)<0x>2, \, -3<x<-1, \, f^{\prime}(x)<0 over 1<x<2,f(x)<0-1<x<2, \, f^{\prime \prime}(x)<0 for all xx

Answer:

Answers will vary

25. f(x)<0f^{\prime \prime}(x)<0 over 1<x<1,f(x)>0,3<x<1,1<x<3-1<x<1, \, f^{\prime \prime}(x)>0, \, -3<x<-1, \, 1<x<3, local maximum at x=0x=0, local minima at x=±2x=\pm 2

26. There is a local maximum at x=2x=2, local minimum at x=1x=1, and the graph is neither concave up nor concave down.

Answer:

Answers will vary

27. There are local maxima at x=±1x=\pm 1, the function is concave up for all xx, and the function remains positive for all xx.

For the following exercise, determine a. intervals where ff is concave up or concave down, and b. the inflection points of ff.

30. f(x)=x34x2+x+2f(x)=x^3-4x^2+x+2

Answer:

a. Concave up for x>43x>\frac{4}{3}, concave down for x<43x<\frac{4}{3} b. Inflection point at x=43x=\frac{4}{3}

For the following exercises, determine

  1. intervals where ff is increasing or decreasing,
  2. local minima and maxima of ff,
  3. intervals where ff is concave up and concave down, and
  4. the inflection points of ff.

31. f(x)=x26xf(x)=x^2-6x

32. f(x)=x36x2f(x)=x^3-6x^2

Answer:

a. Increasing over x<0x<0 and x>4x>4, decreasing over 0<x<40<x<4 b. Maximum at x=0x=0, minimum at x=4x=4 c. Concave up for x>2x>2, concave down for x<2x<2 d. Infection point at x=2x=2

33. f(x)=x46x3f(x)=x^4-6x^3

34. f(x)=x116x10f(x)=x^{11}-6x^{10}

Answer:

a. Increasing over x<0x<0 and x>6011x>\frac{60}{11}, decreasing over 0<x<60110<x<\frac{60}{11} b. Minimum at x=6011x=\frac{60}{11} c. Concave down for x<5411x<\frac{54}{11}, concave up for x>5411x>\frac{54}{11} d. Inflection point at x=5411x=\frac{54}{11}

35. f(x)=x+x2x3f(x)=x+x^2-x^3

36. f(x)=x2+x+1f(x)=x^2+x+1

Answer:

a. Increasing over x>12x>-\frac{1}{2}, decreasing over x<12x<-\frac{1}{2} b. Minimum at x=12x=-\frac{1}{2} c. Concave up for all xx d. No inflection points

37. f(x)=x3+x4f(x)=x^3+x^4

For the following exercises, determine

  1. intervals where ff is increasing or decreasing,
  2. local minima and maxima of ff,
  3. intervals where ff is concave up and concave down, and
  4. the inflection points of ff. Sketch the curve, then use a calculator to compare your answer. If you cannot determine the exact answer analytically, use a calculator.

38. [T] f(x)=sin(πx)cos(πx)f(x)= \sin (\pi x)- \cos (\pi x) over x=[1,1]x=[-1,1]

Answer:

a. Increases over 14<x<34-\frac{1}{4}<x<\frac{3}{4}, decreases over x>34x>\frac{3}{4} and x<14x<-\frac{1}{4} b. Minimum at x=14x=-\frac{1}{4}, maximum at x=34x=\frac{3}{4} c. Concave up for 34<x<14-\frac{3}{4}<x<\frac{1}{4}, concave down for x<34x<-\frac{3}{4} and x>14x>\frac{1}{4} d. Inflection points at x=34,x=14x=-\frac{3}{4}, \, x=\frac{1}{4}

39. [T] f(x)=x+sin(2x)f(x)=x + \sin (2x) over x=[π2,π2]x=[-\frac{\pi }{2},\frac{\pi }{2}]

40. [T] f(x)=sinx+tanxf(x)= \sin x+ \tan x over (π2,π2)(-\frac{\pi }{2},\frac{\pi }{2})

Answer:

a. Increasing for all xx b. No local minimum or maximum c. Concave up for x>0x>0, concave down for x<0x<0 d. Inflection point at x=0x=0

41. [T] f(x)=(x2)2(x4)2f(x)=(x-2)^2 (x-4)^2

42. [T] f(x)=11x,x1f(x)=\frac{1}{1-x}, \, x \ne 1

Answer:

a. Increasing for all xx where defined b. No local minima or maxima c. Concave up for x<1x<1, concave down for x>1x>1 d. No inflection points in domain

43. [T] f(x)=sinxxf(x)=\frac{\sin x}{x} over x=[2π,0)(0,2π]x=[-2\pi ,0) \cup (0,2\pi]

44. f(x)=sinxexf(x)= \sin x e^x over x=[π,π]x=[−\pi ,\pi]

Answer:

a. Increasing over π4<x<3π4-\frac{\pi }{4}<x<\frac{3\pi }{4}, decreasing over x>3π4,x<π4x>\frac{3\pi }{4}, \, x<-\frac{\pi }{4} b. Minimum at x=π4x=-\frac{\pi }{4}, maximum at x=3π4x=\frac{3\pi }{4} c. Concave up for π2<x<π2-\frac{\pi }{2}<x<\frac{\pi }{2}, concave down for x<π2,x>π2x<-\frac{\pi }{2}, \, x>\frac{\pi }{2} d. Infection points at x=±π2x=\pm \frac{\pi }{2}

45. f(x)=lnxx,x>0f(x)=\ln x \sqrt{x}, \, x>0

46. f(x)=14x+1x,x>0f(x)=\frac{1}{4}\sqrt{x}+\frac{1}{x}, \, x>0

Answer:

a. Increasing over x>4x>4, decreasing over 0<x<40<x<4 b. Minimum at x=4x=4 c. Concave up for 0<x<8230<x<8\sqrt[3]{2}, concave down for x>823x>8\sqrt[3]{2} d. Inflection point at x=823x=8\sqrt[3]{2}

47. f(x)=exx,x0f(x)=\frac{e^x}{x}, \, x\ne 0

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

1. The function graphed decreases very rapidly as it approaches x = 1 from the left, and on the other side of x = 1, it seems to start near infinity and then decrease rapidly.

Answer:

x=1x=1

2. The function graphed increases very rapidly as it approaches x = −3 from the left, and on the other side of x = −3, it seems to start near negative infinity and then increase rapidly to form a sort of U shape that is pointing down, with the other side of the U being at x = 2. On the other side of x = 2, the graph seems to start near infinity and then decrease rapidly.
3. The function graphed decreases very rapidly as it approaches x = −1 from the left, and on the other side of x = −1, it seems to start near negative infinity and then increase rapidly to form a sort of U shape that is pointing down, with the other side of the U being at x = 2. On the other side of x = 2, the graph seems to start near infinity and then decrease rapidly.

Answer:

x=1,x=2x=-1, \, x=2

4. The function graphed decreases very rapidly as it approaches x = 0 from the left, and on the other side of x = 0, it seems to start near infinity and then decrease rapidly to form a sort of U shape that is pointing up, with the other side of the U being at x = 1. On the other side of x = 1, there is another U shape pointing down, with its other side being at x = 2. On the other side of x = 2, the graph seems to start near negative infinity and then increase rapidly.
5. The function graphed decreases very rapidly as it approaches x = 0 from the left, and on the other side of x = 0, it seems to start near infinity and then decrease rapidly to form a sort of U shape that is pointing up, with the other side being a normal function that appears as if it will take the entirety of the values of the x-axis.

Answer:

x=0x=0

For the following functions f(x)f(x), determine whether there is an asymptote at x=ax=a. Justify your answer without graphing on a calculator.

6. f(x)=x+1x2+5x+4,a=1f(x)=\frac{x+1}{x^2+5x+4}, \, a=-1

7. f(x)=xx2,a=2f(x)=\frac{x}{x-2}, \, a=2

Answer:

Yes, there is a vertical asymptote

8. f(x)=(x+2)3/2,a=2f(x)=(x+2)^{3/2}, \, a=-2

9. f(x)=(x1)1/3,a=1f(x)=(x-1)^{-1/3}, \, a=1

Answer:

Yes, there is a vertical asymptote

10. f(x)=1+x2/5,a=1f(x)=1+x^{-2/5}, \, a=1

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

11. x=1x=1 and y=2y=2

Answer:

Answers will vary, for example: y=2xx1y=\frac{2x}{x-1}

12. x=1x=1 and y=0y=0

13. y=4y=4 and x=1x=-1

Answer:

Answers will vary, for example: y=4xx+1y=\frac{4x}{x+1}

14. 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.

15. [T] f(x)=1x+10f(x)=\frac{1}{x+10}

Answer:

y=0y=0

16. [T] f(x)=x+1x2+7x+6f(x)=\frac{x+1}{x^2+7x+6}

17. [T] limxx2+10x+25\underset{x\to −\infty }{\lim} x^2+10x+25

Answer:

\infty

18. [T] limxx+2x2+7x+6\underset{x\to −\infty }{\lim}\frac{x+2}{x^2+7x+6}

19. [T] limx3x+2x+5\underset{x\to \infty }{\lim}\frac{3x+2}{x+5}

Answer:

y=3y=3

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.

20. y=3x2+2x+4y=3x^2+2x+4

21. y=x33x2+4y=x^3-3x^2+4

Answer: The function starts in the third quadrant, increases to pass through (−1, 0), increases to a maximum and y intercept at 4, decreases to touch (2, 0), and then increases to (4, 20).

22. y=2x+1x2+6x+5y=\frac{2x+1}{x^2+6x+5}

23. y=x3+4x2+3x3x+9y=\frac{x^3+4x^2+3x}{3x+9}

Answer: An upward-facing parabola with minimum between x = 0 and x = −1 with y intercept between 0 and 1.

24. y=x2+x2x23x4y=\frac{x^2+x-2}{x^2-3x-4}

25. y=x25x+4y=\sqrt{x^2-5x+4}

Answer: This graph starts at (−2, 4) and decreases in a convex way to (1, 0). Then the graph starts again at (4, 0) and increases in a convex way to (6, 3).

26. y=2x16x2y=2x\sqrt{16-x^2}

27. y=cosxxy=\frac{ \cos x}{x}, on x=[2π,2π]x=[-2\pi ,2\pi]

Answer: This graph has vertical asymptote at x = 0. The first part of the function occurs in the second and third quadrants and starts in the third quadrant just below (−2π, 0), increases and passes through the x axis at −3π/2, reaches a maximum and then decreases through the x axis at −π/2 before approaching the asymptote. On the other side of the asymptote, the function starts in the first quadrant, decreases quickly to pass through π/2, decreases to a local minimum and then increases through (3π/2, 0) before staying just above (2π, 0).

28. y=exx3y=e^x-x^3

29. y=xtanx,x=[π,π]y=x \tan x, \, x=[−\pi ,\pi]

Answer: This graph has vertical asymptotes at x = ±π/2. The graph is symmetric about the y axis, so describing the left hand side will be sufficient. The function starts at (−π, 0) and decreases quickly to the asymptote. Then it starts on the other side of the asymptote in the second quadrant and decreases to the the origin.

30. y=xln(x),x>0y=x \ln (x), \, x>0

31. y=x2sin(x),x=[2π,2π]y=x^2 \sin (x), \, x=[-2\pi ,2\pi]

Answer: This function starts at (−2π, 0), increases to near (−3π/2, 25), decreases through (−π, 0), achieves a local minimum and then increases through the origin. On the other side of the origin, the graph is the same but flipped, that is, it is congruent to the other half by a rotation of 180 degrees.

32. For f(x)=P(x)Q(x)f(x)=\frac{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?

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

Answer:

Q(x)Q(x) must have have xk+1x^{k+1} as a factor, where P(x)P(x) has xkx^k as a factor.

34. If f(x)f^{\prime}(x) has asymptotes at y=3y=3 and x=1x=1, then f(x)f(x) has what asymptotes?

35. Both f(x)=1x1f(x)=\frac{1}{x-1} and g(x)=1(x1)2g(x)=\frac{1}{(x-1)^2} have asymptotes at x=1x=1 and y=0y=0. What is the most obvious difference between these two functions?

Answer:

limx1f(x)\underset{x\to 1^-}{\lim} f(x) and limx1g(x)\underset{x\to 1^-}{\lim} g(x)

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

Glossary

end behavior
the behavior of a function as xx\to \infty and xx\to −\infty
horizontal asymptote
if limxf(x)=L\underset{x\to \infty }{\lim}f(x)=L or limxf(x)=L\underset{x\to −\infty }{\lim}f(x)=L, then y=Ly=L is a horizontal asymptote of ff
infinite limit at infinity
a function that becomes arbitrarily large as xx becomes large
limit at infinity
the limiting value, if it exists, of a function as xx\to \infty or xx\to −\infty
oblique asymptote
the line y=mx+by=mx+b if f(x)f(x) approaches it as xx\to \infty or xx\to −\infty

Key Concepts

  • If cc is a critical point of ff and f(x)>0f^{\prime}(x)>0 for x<cx<c and f(x)<0f^{\prime}(x)<0 for x>cx>c, then ff has a local maximum at cc.
  • If cc is a critical point of ff and f(x)<0f^{\prime}(x)<0 for x<cx<c and f(x)>0f^{\prime}(x)>0 for x>cx>c, then ff has a local minimum at cc.
  • If f(x)>0f^{\prime \prime}(x)>0 over an interval II, then ff is concave up over II.
  • If f(x)<0f^{\prime \prime}(x)<0 over an interval II, then ff is concave down over II.
  • If f(c)=0f^{\prime}(c)=0 and f(c)>0f^{\prime \prime}(c)>0, then ff has a local minimum at cc.
  • If f(c)=0f^{\prime}(c)=0 and f(c)<0f^{\prime \prime}(c)<0, then ff has a local maximum at cc.
  • If f(c)=0f^{\prime}(c)=0 and f(c)=0f^{\prime \prime}(c)=0, then evaluate f(x)f^{\prime}(x) at a test point xx to the left of cc and a test point xx to the right of cc, to determine whether ff has a local extremum at cc.