AP Calculus AB · Topic 5.8 · Reading guide, about 5 min

Drawing f from f' and f' from f

Sketch the graph of f from the graph of f' and the other way around, using signs, zeros and slopes of the derivative.

In one minute

Many exam problems give you a graph or formula for f′f' and ask you to describe ff. You are not asked to find an exact formula. You are asked to read the shape: where ff climbs, where it falls, where it bends, and where it turns.

The same skills run backward when you are given ff and asked about f′f'. Both directions rest on one idea: the derivative's height is the function's slope, and the derivative's slope is the function's concavity.

Key terms

Derivative graph
A graph of y=f′(x)y=f'(x). Its height at xx is the slope of ff at xx, not the height of ff.
Zero of f'
An xx-intercept of f′f'. There ff has a horizontal tangent, so it may have a relative extremum.
Sign of f'
Where the f′f' graph is above the axis, ff is increasing; below the axis, ff is decreasing.
Slope of f'
The slope of the f′f' graph is f′′f''. Rising f′f' means ff is concave up; falling f′f' means concave down.
Inflection point
A point where the concavity of ff changes, which shows up as a relative max or min of f′f'.
Corner and cusp
Points where f′f' does not exist because the one-sided slopes differ or go to infinity.
Vertical tangent
A point where the slope of ff grows without bound, so f′f' has a vertical asymptote there.
Initial value
One known point on ff, such as f(0)=1f(0)=1. Without it you can only sketch the shape, not fix its height.

Reading f from the graph of f'

Work through the graph of f′f' in three passes. First, mark the zeros of f′f'. These are the places where ff has a horizontal tangent. Second, mark whether f′f' is above or below the axis between those zeros, which tells you whether ff rises or falls. Third, mark where f′f' is rising or falling, which tells you whether ff is concave up or down.

A relative extremum of ff requires that f′f' changes sign at the zero. A zero where f′f' touches the axis and turns back, like y=x2y=x^2, gives a flat spot on ff but no turning point. The inflection points of ff are at the peaks and valleys of the f′f' graph, because that is where f′f' switches between rising and falling.

Dictionary between the graph of f' and the graph of f
What f' doesWhat f does
Crosses the axis from above to belowRelative maximum
Crosses the axis from below to aboveRelative minimum
Above the axisIncreasing
Below the axisDecreasing
Increasing (rising)Concave up
Decreasing (falling)Concave down
Has a relative max or minInflection point
Is undefinedCorner, cusp, vertical tangent or break

A fully worked example

Suppose f′(x)=x2−2x−3=(x−3)(x+1)f'(x)=x^2-2x-3=(x-3)(x+1) and f(0)=1f(0)=1. The zeros of f′f' are x=−1x=-1 and x=3x=3. The parabola opens up, so f′f' is positive for x<−1x < -1, negative for −1<x<3-1 < x < 3, and positive for x>3x > 3.

So ff increases, then decreases, then increases. There is a relative maximum at x=−1x=-1 and a relative minimum at x=3x=3. The slope of f′f' is f′′(x)=2x−2f''(x)=2x-2, zero at x=1x=1. Here f′f' goes from falling to rising, so ff changes from concave down to concave up. It has an inflection point at x=1x=1.

To place the points, the antiderivative that passes through (0,1)(0,1) is f(x)=x33−x2−3x+1f(x)=\frac{x^3}{3}-x^2-3x+1. Check: its derivative is x2−2x−3x^2-2x-3 and f(0)=1f(0)=1. Then f(−1)=−13−1+3+1=83f(-1)=-\frac13-1+3+1=\frac83, f(1)=13−1−3+1=−83f(1)=\frac13-1-3+1=-\frac83, and f(3)=9−9−9+1=−8f(3)=9-9-9+1=-8. So the sketch has a peak near (−1, 2.67)(-1,\ 2.67), a trough at (3,−8)(3,-8), and a bend at (1, −2.67)(1,\ -2.67).

On the exam you usually describe the shape rather than compute these heights, but the signs and the order of events are what earn credit.

Going the other way: f' from f

Now start with the graph of ff. Wherever ff has a peak or trough, f′f' crosses zero. Where ff is rising, plot f′f' above the axis; where it is falling, below. How steep ff is sets how far f′f' is from the axis, so a very steep part of ff means a tall part of f′f'.

Where ff is concave up, f′f' is increasing, and where ff is concave down, f′f' is decreasing. At an inflection point of ff, the graph of f′f' has its highest or lowest point locally. A corner on ff becomes a jump in f′f', with f′f' not defined at the corner itself. A cusp or vertical tangent on ff becomes a vertical asymptote of f′f'. For example, f(x)=∣x∣f(x)=|x| gives f′(x)=−1f'(x)=-1 for x<0x<0 and 11 for x>0x>0, with no value at 00.

Asymptotes carry over too. Where ff has a vertical asymptote, ff is undefined, so f′f' is undefined there as well and its graph is also broken at that input. Where ff levels off toward a horizontal asymptote, its slope shrinks toward 0, so on typical exam graphs f′f' approaches the xx-axis at that end. Going back from f′f' to ff, an f′f' graph that approaches 0 tells you ff is flattening, but not that ff has a horizontal asymptote: ln⁡x\ln x keeps growing even though its derivative 1x\frac{1}{x} goes to 0. Intercepts work the same way: the xx-intercepts of f′f' are the horizontal tangents of ff, but the intercepts of ff itself cannot be read from f′f' without a known value such as f(0)f(0).

Also notice that f′f' tells you nothing about the vertical position of ff. Two functions that differ by a constant have the same derivative graph.

How it connects

  • Back to 5.3: the sign of f′f' gives increasing and decreasing, which is the first pass of every sketch.
  • Back to 5.6: concavity and inflection points come from the sign and sign changes of f′′f'', or from rising and falling of f′f'.
  • Forward to 5.9: you will look at ff, f′f' and f′′f'' all at once and decide which curve is which.

Common mistakes

  • **Reading the height of f′f' as the height of ff.** A positive f′f' means ff is rising, not that ff is positive.
  • **Putting an extremum at every zero of f′f'.** If f′f' touches the axis without crossing, there is no sign change and no extremum.
  • **Mixing up when ff is concave up.** It is when f′f' is rising, not when f′f' is positive.
  • Ignoring the starting value. The shape of ff is fixed by f′f', but its height needs a given point.

How it shows up on the exam

  • A graph of f′f' is shown and you choose or justify statements about where ff has extrema, is increasing, or is concave down.
  • You are given a graph of ff and asked to select the graph that could be f′f' from several candidates.
  • A free-response part gives a graph of f′f' made of line segments and a value of ff at one point, and asks for values (using areas, see 6.5), extrema and inflection points, with a short written reason.

Check yourself

  1. If the graph of f′f' is above the axis and decreasing, what do you know about ff?
  2. Where does ff have an inflection point if f′f' has a relative minimum at x=4x=4, and why does a sign change in f′′f'' follow?
  3. How does the graph of f′f' look near a corner of ff compared with near a smooth peak of ff?

Practice this topic. AP Practice questions on exactly what this lesson covers, with an explanation for every answer.