4.3 Curve Sketching

Curve Sketching

This section examines some of the interplay between the shape of the graph of [latex]f[/latex] and the behavior of [latex]f '.[/latex] If we have a graph of [latex]f ,[/latex] we will see what we can conclude about the values of [latex]f '.[/latex] If we know values of [latex]f ',[/latex] we will see what we can conclude about the graph of [latex]f.[/latex] We will also utilize the information from [latex]f ''[/latex] that we learning in the last section.

We can use the first derivative of a function to determine regions where a function is increasing vs. decreasing.
We can use the second derivative of a function to determine regions where a function is concave up vs. concave down.

First Derivative Information

 

Definitions

The function [latex]f[/latex] is increasing on [latex](a,b)[/latex] if [latex]a < x1 < x2 < b[/latex] implies [latex]f( x1 ) < f( x2 ).[/latex] The function [latex]f[/latex] is decreasing on [latex](a,b)[/latex] if [latex]a < x1 < x2 < b[/latex] implies [latex]f( x1 ) > f( x2 ).[/latex]

 

Graphically, [latex]f[/latex] is increasing (decreasing) if, as we move from left to right along the graph of [latex]f,[/latex] the height of the graph increases (decreases).

These same ideas make sense if we consider [latex]h(t)[/latex] to be the height (in feet) of a rocket at time [latex]t[/latex] seconds. We naturally say that the rocket is rising or that its height is increasing if the height [latex]h(t)[/latex] increases over a period of time, as [latex]t[/latex] increases.
 

Example 1

The graph of a polynomial function is shown and labeled as y = f(x).  The horizontal axis extended from 0 to 8.
Figure 4.16

List the intervals on which the function shown increasing or decreasing.

[latex]f[/latex] is increasing on the intervals [latex][0,1] , [ 2,3][/latex] and [latex][4,6].[/latex] [latex]f[/latex] is decreasing on [latex][1,2] and [6,8].[/latex]

On the interval [latex][3,4][/latex] the function is not increasing or decreasing, it is constant.

 

First Derivative Information about Shape

For a function [latex]f[/latex] which is differentiable on an interval [latex](a,b);[/latex]

  1. if [latex]f[/latex] is increasing on [latex](a,b) ,[/latex] then [latex]f '(x) ≥ 0[/latex] for all [latex]x[/latex] in [latex](a,b)[/latex]
  2. if [latex]f[/latex] is decreasing on [latex](a,b) ,[/latex] then [latex]f '(x) ≤ 0[/latex] for all [latex]x[/latex] in [latex](a,b)[/latex]
  3. if [latex]f[/latex] is constant on [latex](a,b) ,[/latex] then [latex]f '(x) = 0[/latex] for all [latex]x[/latex] in [latex](a,b).[/latex]

 

Example 2

The graph shows the height of a helicopter during a period of time. Sketch the graph of the upward velocity of the helicopter, [latex]\frac{dh}{dt}[/latex].

The graph of a polynomial function is shown which starts at the origin, increases to a maximum at (2, 30), the decreases to a minimum at (3, 20) then increases to a maximum at (5, 50) then decreases to (7, 0).  The vertical axis extends from 0 to 50 and is labeled as height in feet.  The horizontal axis extends from 0 to 7 and is labeled as time in minutes.
Figure 4.17

Notice that the [latex]h(t)[/latex] has a local maximum when [latex]t = 2[/latex] and [latex]t = 5[/latex], and so [latex]v(2) = 0[/latex] and [latex]v(5) = 0[/latex]. Similarly, [latex]h(t)[/latex] has a local minimum when [latex]t = 3[/latex], so [latex]v(3) = 0[/latex].

When [latex]h[/latex] is increasing, [latex]v[/latex] is positive. When [latex]h[/latex] is decreasing, [latex]v[/latex] is negative.

Using this information, we can sketch a graph of [latex]v(t) = \frac{dh}{dt}[/latex].

The graph of a polynomial function is shown which decreases then increases and then decreases.  The vertical axis extends from -25 to 25 and is labeled as velocity in feet per minute.  The horizontal axis extends from 0 to 7 and is labeled as time in minutes.
Figure 4.18

 

The next theorem is almost the converse of the First Shape Theorem and explains the relationship between the values of the derivative and the graph of a function from a different perspective. It says that if we know something about the values of [latex]f'[/latex], then we can draw some conclusions about the shape of the graph of [latex]f[/latex].

 

First Derivative Information about Shape (part 2)

For a function [latex]f[/latex] which is differentiable on an interval [latex]I[/latex];

  • if [latex]f'(x) \gt 0[/latex] for all [latex]x[/latex] in the interval [latex]I[/latex], then [latex]f[/latex] is increasing on [latex]I[/latex].
  • if [latex]f'(x) \lt 0[/latex] for all [latex]x[/latex] in the interval [latex]I[/latex], then [latex]f[/latex] is decreasing on [latex]I[/latex].
  • if [latex]f'(x) = 0[/latex] for all [latex]x[/latex] in the interval [latex]I[/latex], then [latex]f[/latex] is constant on [latex]I[/latex].

 

Example 3

Use information about the values of [latex]f'[/latex] to help graph [latex]f(x) = x^3 - 6x^2 + 9x + 1[/latex].

[latex]f'(x) = 3x^2 - 12x + 9 = 3(x - 1)(x - 3)[/latex] so [latex]f'(x) = 0[/latex] only when [latex]x = 1[/latex] or [latex]x = 3[/latex]. [latex]f'[/latex] is a polynomial so it is always defined.

The only critical numbers for [latex]f[/latex] are [latex]x = 1[/latex] and [latex]x = 3[/latex], and they divide the real number line into three intervals: [latex](-\infty, 1)[/latex], [latex](1,3)[/latex], and [latex](3, \infty)[/latex]. On each of these intervals, the function is either always increasing or always decreasing.

If [latex]x \lt 1[/latex], then [latex]f '(x) =[/latex] 3(negative number)(negative number) [latex]\gt 0[/latex] so [latex]f[/latex] is increasing.

If [latex]1 \lt x \lt 3[/latex], then [latex]f'(x) =[/latex] 3(positive number)(negative number) [latex]\lt 0[/latex] so f is decreasing.

If [latex]x \gt 3[/latex], then [latex]f'(x) =[/latex] 3(positive number)(positive number) [latex]\gt 0[/latex] so [latex]f[/latex] is increasing.

Even though we don’t know the value of [latex]f[/latex] anywhere yet, we do know a lot about the shape of the graph of [latex]f[/latex]: as we move from left to right along the [latex]x[/latex]-axis, the graph of [latex]f[/latex] increases until [latex]x = 1[/latex], then the graph decreases until [latex]x = 3[/latex], and then the graph increases again. The graph of [latex]f[/latex] makes “turns” when [latex]x = 1[/latex] and [latex]x = 3[/latex]; it has a local maximum at [latex]x = 1[/latex], and a local minimum at [latex]x = 3[/latex].

A graph with red arrows is shown.  On the left side of the graph the red arrows are increasing.  In the middle portion of the graph the red arrows are decreasing and on the right portion of the graph the red arrows are increasing.
Figure 4.19

To plot the graph of [latex]f[/latex], we still need to evaluate [latex]f[/latex] at a few values of [latex]x[/latex], but only at a very few values. [latex]f(1) = 5[/latex], and (1,5) is a local maximum of [latex]f[/latex]. [latex]f(3) = 1[/latex], and (3,1) is a local minimum of [latex]f[/latex]. The resulting graph of [latex]f[/latex] is shown here.

The graph of a polynomial function is shown. The graph starts at (-0.5, 0-2) and increases to a maximum at (1, 5) and then decreases to a minimum at (3, 1) and then turns to increasing.  The vertical axis is labeled as y and extends from -4 to 5.  The horizontal axis is labeled as x and extends from -0.5 to 4.
Figure 4.20

 

Second Derivative Information

Until now, we’ve only used first derivative information, but we could also use information from the second derivative to provide more information about the shape of the function.

Second Derivative Information about Shape

  • If [latex]f[/latex] is concave up on [latex](a,b)[/latex], then [latex]f''(x) \geq 0[/latex] for all [latex]x[/latex] in [latex](a,b)[/latex].
  • If [latex]f[/latex] is concave down on [latex](a,b)[/latex], then [latex]f''(x) \leq 0[/latex] for all [latex]x[/latex] in [latex](a,b)[/latex].

The converse of both of these are also true:

  • If [latex]f''(x) \geq 0[/latex] for all [latex]x[/latex] in [latex](a,b),[/latex] then [latex]f[/latex] is concave up on [latex](a,b)[/latex].
  • If [latex]f''(x) \leq 0[/latex] for all [latex]x[/latex] in [latex](a,b),[/latex] then [latex]f[/latex] is concave down on [latex](a,b)[/latex].

 

Example 4

Use information about the values of [latex]f''[/latex] to help determine the intervals on which the function [latex]f(x) = x^3 - 6x^2 + 9x + 1[/latex] is concave up and concave down.

For concavity, we need the second derivative: [latex]f'(x)=3x^2-12x+9[/latex], so [latex]f''(x)=6x-12[/latex].

To find possible inflection points, set the second derivative equal to zero. [latex]6x-12=0[/latex], so [latex]x = 2[/latex]. This divides the real number line into two intervals: [latex](-\infty,2)[/latex] and [latex](2,\infty)[/latex].

For [latex]x \lt 2[/latex], the second derivative is negative (for example, [latex]f''(0)=6(0)-12=-12[/latex]), so [latex]f[/latex] is concave down. For [latex]x \gt 2[/latex], the second derivative is positive, so [latex]f[/latex] is concave up.

We could have incorporated this concavity information when sketching the graph for the previous example, and indeed we can see the concavity reflected in the graph shown.

 

Example 5

Use information about the values of [latex]f'[/latex] and [latex]f''[/latex] to help graph [latex]f(x)=x^{2/3}[/latex].

[latex]f'(x)=\frac{2}{3}x^{-1/3}[/latex]. This is undefined at [latex]x = 0[/latex].

[latex]f''(x)=-\frac{2}{9}x^{-4/3}[/latex]. This is also undefined at [latex]x = 0[/latex].

This creates two intervals: [latex]x \lt 0[/latex], and [latex]x \gt 0[/latex].

On the interval [latex]x \lt 0[/latex], we could test out a value like [latex]x = -1[/latex]: \[ f'(-1)=\frac{2}{3}(-1)^{-1/3}=-\frac{2}{3} \] and \[ f”(-1)=-\frac{2}{9}(-1)^{-4/3}=-\frac{2}{9}. \]

[latex]f'(x)[/latex] is negative and [latex]f''(x)[/latex] is negative, so we can conclude that the function is decreasing and concave down on this interval.

On the interval [latex]x \gt 0[/latex], we could test out a value like [latex]x = 1[/latex]: \[ f'(1)=\frac{2}{3}(1)^{-1/3}=\frac{2}{3} \] and \[ f”(1)=-\frac{2}{9}(1)^{-4/3}=-\frac{2}{9}. \]

[latex]f'(x)[/latex] is positive and [latex]f''(x)[/latex] is negative, so we can conclude that the function is increasing and concave down on this interval.

We can also calculate that [latex]f(0)=0[/latex], giving us a base point for the graph. Using this information, we can conclude the graph must look like this:

A v-shaped graph is shown with a cusp shown at (0, 0).
Figure 4.21

Sketching without an Equation

Of course, graphing calculators and computers are great at graphing functions. Calculus provides a way to illuminate what may be hidden or out of view when we graph using technology. More importantly, calculus gives us a way to look at the derivatives of functions for which there is no equation given. We already saw the idea of this back in Section 2.3 where we sketched the derivative of two graphs by estimating slopes on the curves.

We can summarize all the derivative information about shape in a table.

 

Summary of Derivative Information about the Graph

Summary of Derivative Information about the Graph

Table 4.1
[latex]f(x)[/latex] Increasing Decreasing Concave Up Concave Down
[latex]f'(x)[/latex] [latex]+[/latex] [latex]-[/latex] Increasing Decreasing
[latex]f''(x)[/latex] NA NA [latex]+[/latex] [latex]-[/latex]

When [latex]f'(x) = 0[/latex], the graph of [latex]f[/latex] may have a local max or min.

When [latex]f''(x) = 0[/latex], the graph of [latex]f[/latex] may have an inflection point.

 

Example 6

A company’s bank balance, [latex]B[/latex], in millions of dollars, [latex]t[/latex] weeks after releasing a new product is shown in the graph below. Sketch a graph of the marginal balance – the rate at which the bank balance was changing over time.

The graph of a polynomial function is shown. The graph starts at (0, 4) and decreases to a minimum at (0.5, 1.5) and then increases to a maximum at (3.5, 6.5) and then turns to decreasing.  The vertical axis extends from 0 to 7.  The horizontal axis extends from 0 to 10.
Figure 4.22

Notice that since the tangent line will be horizontal at about [latex]t = 0.6[/latex] and [latex]t = 3.2[/latex], the derivative will be 0 at those points.

We can then identifying intervals on which the original function is increasing or decreasing. This will tell us when the derivative function is positive or negative.

Table 4.2 Interval versus [latex]B(t)[/latex] and [latex]B'(t)[/latex]
Interval [latex]B(t)[/latex] [latex]B'(t)[/latex]
[latex]0 \lt t \lt 0.6[/latex] Decreasing Negative
[latex]0.6 \lt t \lt 3.2[/latex] Increasing Positive
[latex]t \gt 3.2[/latex] Decreasing Negative

There appear to be inflection points at about [latex]t =1.5[/latex] and [latex]t = 5.5[/latex]. At these points, the derivative will be changing from increasing to decreasing or vice versa, so the derivative will have a local max or min at those points.

Looking at the intervals of concavity:

Table 4.3 Interval versus [latex]B(t)[/latex] and [latex]B'(t)[/latex]
Interval [latex]B(t)[/latex] [latex]B'(t)[/latex]
[latex]0 \lt t \lt 1.5[/latex] Concave Up Increasing
[latex]1.5 \lt t \lt 5.5[/latex] Concave Down Decreasing
[latex]t \gt 5.5[/latex] Concave Up Increasing

If we wanted a more accurate sketch of the derivative function, we could also estimate the derivative at a few points:

Table 4.4 Interval versus [latex]B'(t)[/latex]
[latex]t[/latex] [latex]B'(t)[/latex]
0 -10
1.5 3
6 -1
The graph of a polynomial function is shown. The graph starts at (0, 4) and decreases to a minimum at (0.5, 1.5) and then increases to a maximum at (3.5, 6.5) and then turns to decreasing.  The vertical axis extends from 0 to 7.  The horizontal axis extends from 0 to 10.  A tangent line to the curve is shown at the following points (0, 4) and (1.5, 3) and (5.5, 4.5)
Figure 4.23

Now we can sketch the derivative. We know a few values for the derivative function, and on each interval we know the shape we need. We can use this to create a rough idea of what the graph should look like.

A graph is shown for the derivative function which consists of various dotted line segments.
Figure 4.24

Smoothing this out gives us a good estimate for the graph of the derivative.

The graph of a polynomial function is shown. The graph starts at (0.3, -5) and increases to a maximum at (1.5, 3) and then decreases to a minimum at (5, -1) and then turns to increasing.  The vertical axis extends from -5 to 5.  The horizontal axis extends from 0 to 10.
Figure 4.25

License

Icon for the Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License

Techniques of Calculus 1 Copyright © 2021 by Larry Musolino is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License, except where otherwise noted.

Share This Book