Dove's LibraryDove's Library

5.8 - Sketching Graphs of Functions and Their Derivatives

The Fundamental Connection

The slope of f(x)f(x) at any point equals the y-value of f′(x)f'(x) at that same x-coordinate.
Slope of f at x=c⇔y-value of f′(x) at x=c\text{Slope of } f \text{ at } x = c \quad \Leftrightarrow \quad y\text{-value of } f'(x) \text{ at } x = c
That relationship is what lets you sketch either graph from the other.

From f(x)f(x) to f′(x)f'(x): Reading Slopes

  1. Find critical points where the slope is zero (horizontal tangents)
  1. Label the slope signs along the curve: positive, negative, or zero
  1. Estimate slope magnitude: steep sections give large values, flat sections give values near zero
  1. Plot f′(x)f'(x) using those slopes as y-values

Example: Sketching f′(x)f'(x) from f(x)f(x)

5.8 - Sketching Graphs of Functions and Their Derivatives
Location
Slope Behavior
Value for f′(x)f'(x)
Left end
Negative, increasing toward zero
Negative, approaching 0
Local min
Horizontal tangent
f′(x)=0f'(x) = 0
Between min and max
Positive, rises then falls
Positive, with a maximum at the inflection point
Local max
Horizontal tangent
f′(x)=0f'(x) = 0
Between max and right
Negative, most negative at the inflection point
Negative, with a minimum at the inflection point
Right end
Negative, increasing toward zero
Negative, approaching 0
5.8 - Sketching Graphs of Functions and Their Derivatives
Key observations:
  • f′(x)=0f'(x) = 0 at the local extrema of f(x)f(x)
  • f′(x)f'(x) has extrema at the points of inflection of f(x)f(x)
  • Where ff is increasing, f′(x)>0f'(x) > 0 (above the axis)
  • Where ff is decreasing, f′(x)<0f'(x) < 0 (below the axis)

From f′(x)f'(x) to f(x)f(x): Building the Original Function

When you’re given the graph of f′(x)f'(x), look for:
  1. Where f′(x)=0f'(x) = 0: these are critical points of ff
  1. Sign changes of f′(x)f'(x):
      • Negative to positive means a local minimum of ff
      • Positive to negative means a local maximum of ff
  1. Where f′(x)f'(x) has extrema: these are points of inflection of ff
  1. The slope of f′(x)f'(x), which is f′′(x)f''(x):
      • f′(x)f'(x) increasing means f′′(x)>0f''(x) > 0 means ff is concave up
      • f′(x)f'(x) decreasing means f′′(x)<0f''(x) < 0 means ff is concave down

Example: Sketching f(x)f(x) from f′(x)f'(x)

5.8 - Sketching Graphs of Functions and Their Derivatives
Location on f′(x)f'(x)
Feature of f′(x)f'(x)
What it means for f(x)f(x)
First zero
Changes negative to positive
Local minimum
Maximum of f′(x)f'(x)
f′′(x)=0f''(x) = 0, changes + to -
Point of inflection
Second zero
Changes positive to negative
Local maximum
Minimum of f′(x)f'(x)
f′′(x)=0f''(x) = 0, changes - to +
Point of inflection
Third zero
Changes negative to positive
Local minimum
5.8 - Sketching Graphs of Functions and Their Derivatives

Important: The Vertical Shift Problem

When you sketch f(x)f(x) from f′(x)f'(x), there’s vertical ambiguity.
f(x)=3x2−2⇒f′(x)=6xf(x) = 3x^2 - 2 \quad \Rightarrow \quad f'(x) = 6xg(x)=3x2+1000⇒g′(x)=6xg(x) = 3x^2 + 1000 \quad \Rightarrow \quad g'(x) = 6x
Both have the same derivative but are shifted 1002 units apart vertically.
So your sketch can slide up or down anywhere. What actually has to be right:
  • The x-coordinates of the extrema
  • The x-coordinates of the inflection points
  • The concavity
  • The increasing/decreasing behavior
Any vertical shift is acceptable.

Pattern Recognition Shortcuts

f(x)f(x)
f′(x)f'(x)
f′′(x)f''(x)
Cubic
Parabola
Linear
Parabola (like x2x^2)
Linear (like 2x2x)
Constant (like 22)
Linear
Constant
Zero
Sine wave
Cosine wave
Negative sine wave
Example chain:
f(x)=x2→f′(x)=2x→f′′(x)=2f(x) = x^2 \quad \rightarrow \quad f'(x) = 2x \quad \rightarrow \quad f''(x) = 2
5.8 - Sketching Graphs of Functions and Their Derivatives
Use with caution: these shortcuts work for standard forms but they won’t help with unusual functions. Always be ready to fall back on analyzing signs and behavior directly.

Complex Example: A Non-Standard Function

5.8 - Sketching Graphs of Functions and Their Derivatives
From this f′(x)f'(x), for f(x)f(x):
  • Local minimum at x1x_1 (sign changes - to +)
  • Local maximum at x3x_3 (sign changes + to -)
  • Local minimum at x5x_5 (sign changes - to +)
  • The cusps of f′(x)f'(x) at x2x_2 and x4x_4 are where f′′(x)f''(x) doesn’t exist, but they can still be inflection points if concavity changes
No memorized pattern helps here, you just have to analyze the behavior directly.

Using a Table of f′f' and f′′f'' Values

Sometimes you don’t get a graph at all, just values of f′f' and f′′f'' at a few points. You can still describe ff at those points, as long as you only claim what the table actually shows.
Example: ff is twice differentiable. The table gives selected values of its derivatives.
xx
−1-1
0
2
4
f′(x)f'(x)
5
0
−4-4
0
f′′(x)f''(x)
−6-6
−4-4
0
4
  • At x=−1x = -1: f′(−1)=5>0f'(-1) = 5 > 0, so ff is increasing there. Also f′′(−1)=−6<0f''(-1) = -6 < 0, so ff is concave down there.
  • At x=0x = 0: f′(0)=0f'(0) = 0 and f′′(0)=−4<0f''(0) = -4 < 0, so ff has a relative maximum at x=0x = 0 by the second derivative test (5.7).
  • At x=2x = 2: f′(2)=−4<0f'(2) = -4 < 0, so ff is decreasing there. f′′(2)=0f''(2) = 0 only makes x=2x = 2 a candidate for a point of inflection. The table doesn’t show what f′′f'' does right next to x=2x = 2, so you can’t confirm a sign change from the table alone.
  • At x=4x = 4: f′(4)=0f'(4) = 0 and f′′(4)=4>0f''(4) = 4 > 0, so ff has a relative minimum at x=4x = 4.
What a table can’t tell you: what happens between the listed points. Don’t claim whole intervals of increasing, decreasing, or concavity from a table unless the problem gives you more information, like a graph or a formula.

Using a Calculator to Graph Derivatives

TI-84 Method

Given f(x)=sin⁡(ex)f(x) = \sin(e^x) on [0,2.5][0, 2.5]:
  1. Press Y=
  1. Enter Y₁ = sin(e^x)
  1. Move to Y₂
  1. Press MATH, scroll to 8:nDeriv(, press ENTER
  1. Syntax: nDeriv(Y₁, X, X)
      • First argument: the function (get it with VARS → Y-VARS → Function → Y₁)
      • Second argument: the variable you’re differentiating with respect to (X)
      • Third argument: the point to evaluate at (X means evaluate at every x-value)
  1. Press GRAPH
The calculator plots both f(x)f(x) and f′(x)f'(x) at once.
5.8 - Sketching Graphs of Functions and Their Derivatives
Verification:
  • Where f(x)f(x) has a max or min, f′(x)=0f'(x) = 0 (crosses the x-axis)
  • Where f(x)f(x) is increasing, f′(x)>0f'(x) > 0
  • Where f(x)f(x) is decreasing, f′(x)<0f'(x) < 0
Only use calculator methods when the problem allows them.

Key Takeaways

  • The slope of ff equals the y-value of f′f' at the same x-coordinate
  • From ff to f′f': read slopes as y-values, and zeros happen at horizontal tangents
  • From f′f' to ff: a zero of f′f' with a sign change is a local extremum, and extrema of f′f' are inflection points of ff
  • Sign changes in f′(x)f'(x): negative to positive is a minimum, positive to negative is a maximum
  • Vertical shifts don’t matter when sketching ff from f′f', any translation is valid
  • The x-coordinates of extrema and inflection points DO have to line up correctly
  • Pattern recognition (parabola → linear → constant) works only for standard forms
  • Concavity from f′(x)f'(x): f′f' increasing means ff concave up, f′f' decreasing means ff concave down
  • Calculator shortcut: nDeriv(function, X, X) graphs the derivative

AP® is a registered trademark of the College Board, which is not affiliated with Dove's Library and was not involved in the production of, and does not endorse, this website.

Providing free, high-quality AP notes to help students succeed, earn college credit, and reach their educational goals, ensuring everyone has access to the resources they need.

© 2026 Standard Learning Group, Inc., which operates Dove's Library. All rights reserved.