Educerie

Educerie · AP · Calculus AB and BC

AP Calculus AB and BC 5.8

Sketching Graphs of Functions and Their Derivatives

How can the derivative, the rate of change at a point, tell you what a whole function is doing?

What you will learn

  • Understand how features of f appear in the graph of f', and the reverse.
  • Know that a corner in f gives a jump or gap in f'.
  • Understand that f' fixes the shape of f but not its height.
  • Know how to work from a graph, a table or an equation.

You must be able to

  1. Choose or sketch the graph of f' from the graph of f
  2. Choose or sketch the graph of f from the graph of f'
  3. Show corners, cusps and jumps correctly with open circles
  4. Read f' for a graph made of line segments
  5. Relate high and low points of f' to inflection points of f

In the exam. Section I (multiple choice), Part A: a graph of ff, f′f' or a table, and a question about another one of them: "Which could be the graph of f′f'?", "At which xx is f′f' greatest?" In the free-response section the graph of f′f' (or ff) is the given in a justification question, and answers are read from it: increasing, extrema, concavity, inflection.

1A dictionary

What ff doesWhat f′f' does
risingf′>0f' > 0, the graph of f′f' is above the axis
fallingf′<0f' < 0, below the axis
horizontal tangentf′=0f' = 0, the graph of f′f' is on the axis
local maximumf′f' crosses the axis from above to below
local minimumf′f' crosses the axis from below to above
rising more steeplyf′f' is larger
concave upf′f' is rising
concave downf′f' is falling
inflection pointf′f' has a high or low point
cornerf′f' has a jump (no value at that point)
cusp or vertical tangentf′f' does not exist, and may grow without bound

The concavity and inflection rows come from 5.6. The rest come from 5.3 and 5.4.

2From the graph of ff to the graph of f′f'

Take f(x)=x3−3xf(x) = x^{3} - 3x. Its graph rises to a peak at x=−1x = -1, falls to a valley at x=1x = 1, and rises again. Figure 1 sets it beside the graph of f′f'.

Figure 1. f(x) = x cubed - 3x and f'(x) = 3x squared - 3: f' is zero where f has horizontal tangents, negative where f decreases, and lowest where f changes concavity y = f(x) x x = -1 x = 1 Figure 1. f(x) = x cubed - 3x and f'(x) = 3x squared - 3: f' is zero where f has horizontal tangents, negative where f decreases, and lowest where f changes concavity y = f'(x) x x = -1 x = 1
Figure 1 · f(x) = x cubed - 3x and f'(x) = 3x squared - 3: f' is zero where f has horizontal tangents, negative where f decreases, and lowest where f changes concavity

Go from left to right and read the slope.

  1. Far left: ff is rising steeply. So f′f' is large and positive.
  2. At x=−1x = -1: the peak. A horizontal tangent, so f′=0f' = 0. The graph of f′f' crosses the axis, from above to below.
  3. Between −1-1 and 11: ff falls. So f′f' is negative. It is most negative where ff is steepest, at x=0x = 0, the inflection point of ff.
  4. At x=1x = 1: the valley, f′=0f' = 0 again, crossing from below to above.
  5. Far right: ff rises again, so f′f' is positive and growing.

The graph of f′f' is a parabola with its lowest point at x=0x = 0, the same place ff changes from concave down to concave up. This is the rule that a high or low point of f′f' is an inflection point of ff. The reason is that at a high or low point of f′f', the slope of f′f' (which is f′′f'') changes sign, so the bend of ff changes.

3Corners, cusps and jumps

A corner in ff means two different slopes meet at a point. The derivative has no value there.

Figure 2 shows f(x)=∣x2−1∣f(x) = |x^{2} - 1|.

Figure 2. f(x) = |x squared - 1| has corners at x = -1 and x = 1, so f' jumps there and f'(-1) and f'(1) do not exist −1 1 y = f(x) x Figure 2. f(x) = |x squared - 1| has corners at x = -1 and x = 1, so f' jumps there and f'(-1) and f'(1) do not exist −1 1 −2 2 y = f'(x) x
Figure 2 · f(x) = |x squared - 1| has corners at x = -1 and x = 1, so f' jumps there and f'(-1) and f'(1) do not exist
  • For ∣x∣>1|x| > 1, f(x)=x2−1f(x) = x^{2} - 1 and f′(x)=2xf'(x) = 2x.
  • For ∣x∣<1|x| < 1, f(x)=1−x2f(x) = 1 - x^{2} and f′(x)=−2xf'(x) = -2x.

At x=1x = 1, the slope of ff just to the left is −2-2 and just to the right is +2+2. The graph of f′f' jumps from −2-2 to 22. Both ends of the jump are drawn as open circles, because f′(1)f'(1) has no value.

A cusp or a vertical tangent is similar. f′f' does not exist there, and its graph may rise or fall without bound as xx approaches that point.

4A graph made of line segments

Graphs of line segments often appear on the exam. On each segment the slope is constant. So f′f' is a horizontal step on each segment.

Figure 3 shows ff with corners at x=2x = 2, 4 and 6.

Figure 3. A graph of f made of line segments, and its derivative: constant on each segment, undefined at the corners 2 4 6 8 4 y = f(x) x Figure 3. A graph of f made of line segments, and its derivative: constant on each segment, undefined at the corners 2 4 6 8 −2 2 y = f'(x) x
Figure 3 · A graph of f made of line segments, and its derivative: constant on each segment, undefined at the corners
SegmentSlope riserun\dfrac{\text{rise}}{\text{run}}f′f'
0<x<20 < x < 2, from (0,0)(0, 0) to (2,4)(2, 4)42\dfrac{4}{2}2
2<x<42 < x < 4, flat at y=4y = 400
4<x<64 < x < 6, from (4,4)(4, 4) to (6,0)(6, 0)−42\dfrac{-4}{2}−2-2
6<x<86 < x < 8, from (6,0)(6, 0) to (8,−2)(8, -2)−22\dfrac{-2}{2}−1-1

The graph of f′f' is four horizontal steps with a gap at each corner.

Read it back: f′f' goes ++, 00, −-, −-. So ff rises, is flat, then falls. Its highest values are on the flat stretch.

5From the graph of f′f' to the graph of ff

To sketch ff from f′f', build it up from left to right.

  1. Zeros of f′f': horizontal tangents on ff. Mark them.
  2. Sign of f′f': ff rises where f′>0f' > 0 and falls where f′<0f' < 0.
  3. Extrema: where f′f' crosses the axis from above to below, put a peak. From below to above, a valley.
  4. Concavity: where f′f' is rising, ff is concave up. Where f′f' is falling, ff is concave down.
  5. Inflection points: put them at the high and low points of f′f'.
  6. Height: a given value such as f(0)=2f(0) = 2 fixes where the curve is. Without it, any vertical shift is correct.

Example. f′f' is positive for x<−2x < -2, zero at −2-2, negative on (−2,3)(-2, 3), zero at 3, and positive for x>3x > 3. It has a high point at x=−4x = -4 and a low point at x=1x = 1.

  • ff rises, peaks at x=−2x = -2, falls to a valley at x=3x = 3, then rises.
  • f′f' is rising on (−∞,−4)(-\infty, -4): ff is concave up there.
  • f′f' is falling on (−4,1)(-4, 1): ff is concave down.
  • f′f' is rising again on (1,∞)(1, \infty): ff is concave up.
  • Inflection points of ff are at x=−4x = -4 and x=1x = 1.

6From a table or an equation

A table of f′f' values. A table gives samples. Say the values of f′f' go 5,2,−1,−35, 2, -1, -3 at equally spaced xx.

  • f′f' is positive, then negative, so ff rises, then falls.
  • The values of f′f' are decreasing, so ff is concave down.

A table cannot prove what happens between its entries.

An equation for f′f'. If f′(x)f'(x) is a formula, you can sketch f′f' from its roots and sign, then read off ff as in section 6. For f′′f'', differentiate again.

A graph of f′′f''. The sign of f′′f'' gives the concavity of ff, and where f′′f'' crosses the axis is a candidate inflection point of ff.

Practice questions

30 questions on this note, from easy to hard. Each one you get right lights a star of this topic's constellation.