AP Calculus BC · Study guide

Sketching Graphs of Functions and Their Derivatives

AP® Calculus BC · Unit 5 · Analytical Applications of Differentiation

Sketching f, f′ and f″

The graphs of a function and its derivatives are tied together point by point. This guide shows how to sketch a derivative from a function, and a function from its derivative, using the features that line up between them.

The idea in one paragraph

Features match across the graphs. Where \(f\) has a horizontal tangent, \(f'\) is 0. Where \(f\) rises, \(f'\) is above the axis; where \(f\) falls, below. Where \(f\) is concave up, \(f'\) rises; concave down, \(f'\) falls. Inflection points of \(f\) line up with peaks and valleys of \(f'\). Going backward, from \(f'\) to \(f\), the derivative gives the shape but not the height: you need one known value of \(f\).

1What lines up

On the graph of fOn the graph of f′On the graph of f″
RisingAbove the axis(no direct link)
FallingBelow the axis(no direct link)
Horizontal tangentZero
Relative max / minCrosses zero (+ to − / − to +)Negative / positive (if not 0)
Concave upRisingAbove the axis
Concave downFallingBelow the axis
Inflection pointPeak or valleyCrosses zero

2From f to f′

Figure 1. Each turning point of f (violet) lines up with a zero of f′. The inflection point of f (red) lines up with the lowest point of f′. Where f rises, f′ is above the axis; where f falls, f′ is below.
Worked Example 1 Sketch f′ from f

Use Figure 1

  1. 1
    Find where \(f\) has horizontal tangents (its turning points, \(x = -1\) and \(x = 3\)): \(f'\) crosses zero there.
  2. 2
    Where \(f\) rises, draw \(f'\) above the axis; where \(f\) falls, below.
  3. 3
    Where \(f\) is steepest falling (the inflection point, \(x = 1\)), \(f'\) is at its lowest.
Answer: A parabola opening up, crossing the axis at −1 and 3, lowest at x = 1.
Common Mistake 1 · Copying the shape of f

The graph of \(f'\) is not a shifted copy of \(f\). Its height at each \(x\) is the slope of \(f\) there. A tall, flat part of \(f\) gives \(f'\) near zero.

3From f′ to f

Figure 2. Zeros of f′ where it changes sign become turning points of f (violet). Corners of f′, where it switches from falling to rising or back, become inflection points of f (red). The starting value f(0) = 1 fixes the height of the sketch.
Worked Example 2 Read f from a graph of f′

Use the top of Figure 2

  1. 1
    Sign changes of \(f'\): \(+\) to \(-\) at 1.5 (relative max of \(f\)), \(-\) to \(+\) at 3 (relative min), \(+\) to \(-\) at 6.5 (relative max).
  2. 2
    \(f'\) decreasing on \((0, 2)\) and \((5, 8)\): \(f\) concave down. \(f'\) increasing on \((2, 5)\): \(f\) concave up.
  3. 3
    Where \(f'\) switches between decreasing and increasing, at \(x = 2\) and \(x = 5\), \(f\) has inflection points.
Answer: f rises to a peak at 1.5, falls to a valley at 3, rises to a peak at 6.5, then falls; it bends down, up, then down.
Write it like this

“\(f'\) changes sign from positive to negative at \(x = 1.5\), so \(f\) has a relative maximum there. \(f'\) is decreasing on \((0, 2)\), so the graph of \(f\) is concave down on \((0, 2)\).”

Worked Example 3 Heights need a starting value

How high is the sketch?

  1. 1
    \(f'\) only gives slopes. Every vertical shift of a correct sketch has the same slopes.
  2. 2
    Given \(f(0) = 1\), the graph starts at height 1. Areas under \(f'\) then add or subtract height: from 0 to 1.5, \(f'\) is positive and the area is \(\frac12(1.5)(3) = 2.25\), so \(f(1.5) = 3.25\).
Answer: \(f(1.5) = 3.25\). One point fixes the whole graph; the derivative fixes its shape.
Common Mistake 2 · Reading the corners of f′ as extrema of f

At \(x = 2\) and \(x = 5\), \(f'\) has corners but does not change sign, so \(f\) has no extreme there; those are inflection points. Extrema of \(f\) come from sign changes of \(f'\).

Common Mistake 3 · Sketching f without a starting height

Two sketches with the same slopes can sit at different heights. If a value such as \(f(0) = 1\) is given, start there; if not, any vertical position is allowed, and you should say so.

4Checking a pair of graphs

Worked Example 4 Check a pair of graphs

Do the sketches agree?

A student’s sketch of \(f\) has a relative maximum at \(x = 2\), a relative minimum at \(x = 4\), and is concave down on \((0, 6)\). Their sketch of \(f'\) is positive on \((0, 2)\), negative on \((2, 6)\), and decreasing on \((0, 6)\).

  1. 1
    Maximum at 2: \(f'\) changes from \(+\) to \(-\) at 2. ✓
  2. 2
    Concave down on \((0, 6)\): \(f'\) is decreasing on \((0, 6)\). ✓
  3. 3
    Minimum at 4: \(f'\) would have to change from \(-\) to \(+\) at 4, but it stays negative on \((2, 6)\). ✗
  4. 4
    The sketch of f also disagrees with itself: a graph that bends down all the way across (0, 6) cannot have a valley inside that interval.
Answer: No. The relative minimum at x = 4 is wrong; f keeps falling after x = 2.
Common Mistake 4 · Treating every zero of f′ as a turn

If \(f'\) touches 0 without crossing, as \(f'(x) = (x - 1)^2\) does at \(x = 1\), \(f\) flattens for an instant and keeps going the same way. Only a sign change of \(f'\) makes a maximum or minimum.

Quick reference

f′ does thisSo f does this
Positive / negativeIncreases / decreases
Crosses zero, + to −Relative maximum
Crosses zero, − to +Relative minimum
Increasing / decreasingConcave up / down
Has a peak, valley or cornerInflection point