We have been learning how we can understand the behavior of a function based on its first and second derivatives. While we have been treating the properties of a function separately (increasing and decreasing, concave up and concave down, etc.), we combine them here to produce an accurate graph of the function without plotting lots of extraneous points.
Why bother? Graphing utilities are very accessible, whether on a computer, a hand-held calculator, or a smartphone. These resources are usually very fast and accurate. We will see that our method is not particularly fast — it will require time (but it is not hard). So again: why bother?
We are attempting to understand the behavior of a function based on the information given by its derivatives. While all of a function’s derivatives relay information about it, it turns out that “most” of the behavior we care about is explained by and . Understanding the interactions between the graph of and and is important and is illustrated in Figure 3.5.1. To gain this understanding, one might argue that all that is needed is to look at lots of graphs. This is true to a point, but is somewhat similar to stating that one understands how an engine works after looking only at pictures. It is true that the basic ideas will be conveyed, but “hands-on” access increases understanding.
The following Key Idea summarizes what we have learned so far that is applicable to sketching graphs of functions and gives a framework for putting that information together. It is followed by several examples.
To produce an accurate sketch a given function , consider the following steps.
Find the domain of . Generally, we assume that the domain is the entire real line then find restrictions, such as where a denominator is 0 or where negatives appear under the radical.
Find the location of any vertical asymptotes of (usually done in conjunction with the previous step).
Find the and -intercepts of , and any symmetry.
Consider the limits and to determine the end behavior of the function.
Find the critical points of .
Find the possible points of inflection of .
Create a number line that includes all critical points, possible points of inflection, and locations of vertical asymptotes. For each interval created, determine whether is increasing or decreasing, concave up or down.
Evaluate at each critical point and possible point of inflection. Plot these points on a set of axes. Connect these points with curves exhibiting the proper concavity. Sketch asymptotes and and -intercepts where applicable.
Watch the video:
Summary of Curve Sketching — Example 2, Part 1 of 4 from https://youtu.be/DMYUsv8ZaoY
Use Key Idea 3.5.1 to sketch .
SolutionWe follow the steps outlined in the Key Idea.
The domain of is the entire real line; there are no values for which is not defined.
There are no vertical asymptotes.
We see that , and does not appear to factor easily (so we skip finding the roots). It has no symmetry.
We determine the end behavior using limits as approaches infinity.
We do not have any horizontal asymptotes.
Find the critical points of . We compute , so that .
Find the possible points of inflection of . We see , so that
We place the values on a number line. We mark each subinterval as increasing or decreasing, concave up or down, using the techniques used in Sections 3.3 and 3.4.
We plot the appropriate points on axes as shown in Figure 3.5.2(a) and connect the points with the proper concavity. Our curve crosses the axis at and crosses the axis near . In Figure 3.5.2(b) we show a graph of drawn with a computer program, verifying the accuracy of our sketch.
Sketch .
SolutionWe again follow the steps outlined in Key Idea 3.5.1.
In determining the domain, we assume it is all real numbers and look for restrictions. We find that at and , is not defined. So the domain of is .
The vertical asymptotes of are at and , the places where is undefined. We see that , , , and .
We see that and that when so that . There is no symmetry.
There is a horizontal asymptote of , as both and . (Either one would be sufficient to give the horizontal asymptote.)
To find the critical points of , we first find . Using the Quotient Rule, we find
when , and is undefined when . Since is undefined only when is, these are not critical points. The only critical point is .
To find the possible points of inflection, we find , again employing the Quotient Rule:
We find that is never 0 (setting the numerator equal to 0 and solving for , we find the only roots to this quadratic are imaginary) and is undefined when . Thus concavity will possibly only change at and (although these are not inflection points, since is not defined there). ††margin: (a) (b) Λ
We place the values , and on a number line. We mark in each interval whether is increasing or decreasing, concave up or down. We see that has a relative maximum at ; concavity changes only at the vertical asymptotes.
In Figure 3.5.3(a), we plot the points from the number line on a set of axes and connect the points with the appropriate concavity. We also show crossing the axis at and . Figure 3.5.3(b) shows a computer generated graph of , which verifies the accuracy of our sketch.
Sketch .
SolutionWe again follow Key Idea 3.5.1.
We assume that the domain of is all real numbers and consider restrictions. The only restrictions come when the denominator is 0, but this never occurs. Therefore the domain of is all real numbers, .
There are no vertical asymptotes.
We see that and that when .
We have a horizontal asymptote of , as
We find the critical points of by setting and solving for . We find
We find the possible points of inflection by solving for . We find
The cubic in the numerator does not factor very “nicely.” We instead approximate the roots at , and .
We place the critical points and possible inflection points on a number line and mark each interval as increasing/decreasing, concave up/down appropriately.
In Figure 3.5.4(a) we plot the significant points from the number line as well as the two roots of , and , and connect the points with the appropriate concavity. Figure 3.5.4(b) shows a computer generated graph of , affirming our results (but the top left was slightly off). ††margin: (a) (b) Λ
In each of our examples, we found a few, significant points on the graph of that corresponded to changes in increasing/decreasing or concavity. We connected these points with curves, and finished by showing a very accurate, computer generated graph.
Why are computer graphics so good? It is not because computers are “smarter” than we are. Rather, it is largely because computers are much faster at computing than we are. In general, computers graph functions much like most students do when first learning to draw graphs: they plot equally spaced points, then connect the dots using lines. By using lots of points, the connecting lines are short and the graph looks smooth.
This does a fine job of graphing in most cases (in fact, this is the method used for many graphs in this text). However, in regions where the graph is very “curvy,” this can generate noticeable sharp edges on the graph unless a large number of points are used. High quality computer algebra systems, such as Mathematica, use special algorithms to plot lots of points only where the graph is “curvy.”
In Figure 3.5.5, a graph of is given, generated by Mathematica. The small points represent each of the places Mathematica sampled the function. Notice how at the “bends” of , lots of points are used; where is relatively straight, fewer points are used. (Many points are also used at the endpoints to ensure the “end behavior” is accurate.)
How does Mathematica know where the graph is “curvy”? Calculus. When we study curvature in a later chapter, we will see how the first and second derivatives of a function work together to provide a measurement of “curviness.” Mathematica employs algorithms to determine regions of “high curvature” and plots extra points there.
Again, the goal of this section is not “How to graph a function when there is no computer to help.” Rather, the goal is “Understand that the shape of the graph of a function is largely determined by understanding the behavior of the function at a few key places.” In Example 3.5.3, we were able to accurately sketch a complicated graph using only 5 points and knowledge of asymptotes!
There are many applications of our understanding of derivatives beyond curve sketching. The next chapter explores some of these applications, demonstrating just a few kinds of problems that can be solved with a basic knowledge of differentiation.
Why is sketching curves by hand beneficial even though technology is readily available?
T/F: When sketching graphs of functions, it is useful to find the critical points.
T/F: When sketching graphs of functions, it is useful to find the possible points of inflection.
T/F: When sketching graphs of functions, it is useful to find the horizontal and vertical asymptotes.
In Exercises 7–12., practice using Key Idea 3.5.1 by applying the principles to the given functions with familiar graphs.
In Exercises 13–46., sketch a graph of the given function using Key Idea 3.5.1. Show all work; check your answer with technology.
on .
on
on .
on .
on
on
on
In Exercises 47–52., sketch the graph of a function that satisfies all of the given conditions.
In Exercises 53–56., a function with the parameters and are given. Describe the critical points and possible points of inflection of in terms of and .
Given , use implicit differentiation to find and . Use this information to justify the sketch of the unit circle.