Curve Sketching
The process of curve sketching is to illustrate the graph of some function by using and whether is positive or negative. To curve sketch, we state some key propositions up front:
Lemma. Let be a differentiable function. Then the following propositions are true:
- If then is increasing.
- If then is decreasing.
- If then is increasing.
- If then is decreasing.
Put differently, if a function is increasing, then its derivative's tangent lines are positive (i.e., becoming less negative). If a function is decreasing, then its derivative's tangent lines are negative (becoming less positive). We can visualize the principles above with a rough sketch:
Examining the sketches above, we see that the tangent lines on tend negative, corresponding to the graph of And with the tangent lines tend positive, corresponding to the graph of With the graph of we see that the tangent lines tend negative, so a graph of the third derivative, would show a graph with a negative slope.
In the case where or when is increasing, we say that is concave up. And when or when is decreasing, we say that is concave down. In the sketches above, is concave down. Thus, we have the following propositions:
lemma. Let be a differentiable function. Then the following propositions are true:
- If then is concave up.
- If then is concave down.
We will denote these two propositions with the following notation:
notation. Given a function if then is
concave up. If then is concave down. If then is neither concave up nor concave down.
Let's apply these principles by considering the function Differentiating this function, we have:
Factoring the derivative:
We can draw several inferences from examining the derivative's equation. If then This is a positive number. More generally, the factor is positive iff both and are greater than Based on this fact, we can express this as an interval:
Hence, when then is positive. From the propositions we saw above, we infer that:
These aren't the only inferences we can draw. Looking back at the term we see that it's negative if either of the terms are negative. When is negative? Again we solve for as an inequality:
And when:
Thus, when is negative. Finally, we can determine when is zero:
Hence, when then is zero. We've gathered quite a few inferences just from the derivative:
- is increasing.
- is decreasing.
- is decreasing.
- is constant.
- is constant.
Based on this information, we can sketch the graph as follows:
Notice the yellow dots above. These points are called turning points or inflection points. They're simply points where the derivative (i.e., the slope) changes its sign. Formally:
definition. If then is a critical point, and the number is called a critical value.
From the definition above, we see that the critical points are and If we substitue and to the original function, we get:
Accordingly, we have the critical points:
Plotting these points on a graph:
Now, from our earlier sketch:
we know that at the point we hit Before that point (x < -1,) is decreasing, and after that point is increasing. We also know that at the point we hit but before that point () is increasing, and after that point, is decreasing. Thus, we know that the graph along these points looks like:
We now continue filling in the gaps. First, it's always a good idea to step away from calculus for a moment and revisit the original function, applying techniques we learned from basic algebra and precalculus. The original function is This tells us that the function's graph has the property of crossing the point We confirm this by substituting
So, we place that point as well:
Based on these facts alone, we have a wide range of possibilities for what this function might look like:
The goal now is to just keep drawing inferences to narrow down the possibilities. Looking at the original function, the function's equation consists of odd powers, so we know that this is an odd function. And since is an odd function, we know that the graph of is symmetric. Everything that's done on the right is done on the left.
Knowing this, the next step is to consider 's extremeties.1 By this we mean answering the following questions:
- What happens when
- What happens when
Let's consider the first question, when goes to positive infinity. When is a massive term, then the term in is negligible. This implies: When goes to positive infinity, then behaves like which goes to negative infinity. Symbolically:
Next, when goes to negative infinity, then the term becomes negligble, and behaves like which tends towards positive infinity.
This tells us that with the part of the graph before the first critical point is pointing up, and the part of the graph after the second critical point is pointing down:
At this point, our sketch is getting pretty accurate. All that's left to do is to decorate. In other words, add more detail. We can do so by considering the second derivative:
Examining the expression we know that:
This tells us that:
This tells us that where , is concave down, and where is concave up:
That's about as complete of a sketch as we can get. Here's the actual graph of
That was a pretty accurate sketch. Importantly, the point is where the graph changes from concave up to concave down. We know this because
Because of this special property, this point is called the inflection point. Let's consider another example. Let's say we want to sketch the graph of:
The derivative of
Looking at this derivative, we know that can never be In other words, This in turn means that there are only two cases for
- or
This tells us that there are no critical points. Why? Because of the definition of a critical point: A critical point exists if, and only if, And since can never be there are no points such that
Whenever we encounter a situation like this — where we still don't have enough information after applying calculus — we want to go back to the basics; recall basic algebra and precalculus. Looking at the function:
We see that where is undefined:
From this deduction, we have the following:
By plotting we effectively impose a border. The function can never touch that line. The next step, is to answer the following:
What happens when gets very close to
To answer this question, we keep in mind that there are two possibilities for approaching
- approaches from the right, and
- approaches from the left.
When approaches from the right, we write:
And when approaches from the left, we write:
Examining the function, we have the following inferences. When approaches from the right, we get:
When we write we mean that it's not quite Instead, it's just a little more than say Similarly, when we write we mean that it's just tiny bit more than We can think of it this way:
In other words, it's some number just a little more than divided by some number that's just a little more than This means we have a negative number divided by a very, very small positive number. This yields negative infinity:
Thus, when approaches from the right, it goes towards negative infinity. Next, when approaches from the left, we have:
which we can think of as:
Here, we have a negative number divided by a very, very small negative number. This yields positive infinity:
All together, our analysis yielded several conclusions. When approaches from the right, it tends towards negative infinity. And when approaches from the left, it tends towards positive infinity. Symbolically:
Because we have these inferences, we can next consider 's extremities
- What happens when is very large? (i.e., )
- What happens when is very small? (i.e., )
For the first question, we evaluate the limit:
This limit is a little difficult to interpret as is, so we rewrite it by dividing the numerator and the denominator by
Looking at it this way, we can see that as and Thus:
Just looking at the rewritten expression, the analysis doesn't change when tends to negative infinity. We still tend to
Thus, we have the following inferences:
We can abstract both inferences above as:
So, putting all of our inferences together, we have:
- Proposition 1:
- Proposition 2:
- Proposition 3:
From these propositions, we know that there are two special asymptotes for the graph of namely: and On a graph:
Next, from proposition 1, we know that as we approach from the right, we plunge towards negative infinity:
And from proposition we know that as we approach from the left, we fly towards positive infinity:
Finally, from proposition we know that when for very small we're tending towards and for very large we're also tending towards
Now we have to consider the missing portions above. The key question is, does this graph ever dip into and come back up? The answer is
no. Why? Because there are no critical points. If did dip below and come back up, we would have a critical point. But we know for a fact that there are not. Since we know that we can never have a horizontal tangent line, which means that the the graph of can never dip down and come back up. As such, the graph of should look like:
At this point, we're essentially done, but it's worth doing a few double-checks. To do so, we consider the derivatives. First, we rewrite the function's expression:
The first derivative is now easier to compute:
Examining the first derivative, we easily see that is just a hyperbola, so we're correct in sketching a graph consisting of two arms. The first derivative also tells us that:
is increasing on the intervals: and
It's importat that we specify the interval, because it is not true is increasing. It's increasing only at a specific point — where Next, we consider the second derivative:
Looking at the second derivative, we can draw the following inferences:
- (concave down)
- (concave up)
The inferences above tell us that there's no "wiggle" in 's graph. In other words, it rules out the possibility of one of the arms doing something like this:
And with that, we're done. Here's the actual graph of
Having gone through the examples, here's a general strategy for sketching:
- For basic sketching:
- Plot any discontinuities (especially infinite discontinuities).
- Plot the endpoints or where
- Plot any immediate points.
- For first-derivative-informed sketching:
- Solve for where
- Plot the resulting critical points and values, if any.
- Determine whether or on each interval between the critical points or discontinuities.
- Second-derivative-informed sketching:
- Determine whether or (concave up or concave down).
- Solve for where
- Plot the resulting inflection points, if any.
Footnotes
-
This consideration is something that we can't perform with graphing calculators. It's essentially asking, What does the graph look like off the graphing calculator's screen? ↩