Skip to content
Family Table Math

Connecting f, f′, and f″

On the AP exam you’ll often be shown the graph of f′f', not ff, and asked about ff: where it increases, where it has a maximum, where it’s concave up. This page puts all the connections between ff, f′f', and f′′f'' in one place, so you can move between the three graphs confidently. The trick is to keep asking: “which graph am I looking at, and what does its height tell me?”

If this is true……then this is true about ff
f′>0f' \gt 0 (graph of f′f' above the xx-axis)ff is increasing
f′<0f' \lt 0 (graph of f′f' below the xx-axis)ff is decreasing
f′f' changes from ++ to −- (crosses the axis going down)ff has a relative maximum
f′f' changes from −- to ++ (crosses the axis going up)ff has a relative minimum
f′f' is increasing, or f′′>0f'' \gt 0ff is concave up
f′f' is decreasing, or f′′<0f'' \lt 0ff is concave down
f′f' switches between increasing and decreasing, or f′′f'' changes signff has a point of inflection

The pattern: each graph’s sign tells you whether the graph above it rises or falls, and each graph’s zeros (with a sign change) mark the turning points of the graph above it.

Three stacked graphs with the same x-axis from -2.5 to 2.5. Top: f(x) = x cubed over 3 minus x, with a relative maximum at x = -1, a relative minimum at x = 1 and an inflection point at x = 0. Middle: f prime of x = x squared minus 1, which crosses zero at x = -1 and x = 1 and has its minimum at x = 0. Bottom: f double prime of x = 2x, negative for x < 0 and positive for x > 0. −2 −1 1 2 −1 1 y = f(x) = x³/3 - x −2 −1 1 2 2 y = f′(x) = x² - 1 −2 −1 1 2 −4 −2 2 4 y = f′′(x) = 2x rel max rel min inflection min of f′
Follow the dashed lines: the extrema of ff line up with the zeros of f′f', and the inflection point of ff lines up with the minimum of f′f' and the zero of f′′f''.

When the graph you’re given is f′f':

  • Its height (above or below the axis) is the slope of ff.
  • Its zeros are the critical points of ff. Check whether the graph crosses (extremum of ff) or just touches (no extremum).
  • Its own slope (rising or falling) is f′′f'', so it tells you the concavity of ff.
  • Where it switches between rising and falling (its peaks and valleys, including corners), ff has inflection points.

What a graph of f′f' does not tell you is the height of ff. Many functions have the same derivative (they differ by a constant), so you can’t read f(2)f(2) off a graph of f′f' without extra information. That’s what integration is for, in the next unit.

Go left to right across the graph of ff:

  1. Wherever ff has a horizontal tangent, the graph of f′f' touches or crosses the xx-axis.
  2. Where ff rises, draw f′f' above the axis; where it falls, below. Steeper means farther from the axis.
  3. Where ff has a point of inflection (steepest rise or fall), f′f' has a peak or valley.
  4. Corners or cusps on ff become breaks in f′f' (f′f' is undefined there).

If a question gives the graph of f′f', your reasons should talk about f′f': ”f′f' changes from positive to negative at x=0x = 0”, or ”f′f' is decreasing on (−2,2)(-2, 2), so ff is concave down there.” Saying ”ff goes up then down” describes a graph you weren’t shown and doesn’t earn the point.

The figure below is used for Examples 1 and 2 and some practice questions. It shows the graph of f′f', the derivative of a function ff, on −4≤x≤6-4 \le x \le 6. It is made of straight segments joining (−4,−2)(-4, -2), (−2,2)(-2, 2), (2,−2)(2, -2), (4,0)(4, 0), and (6,−1)(6, -1).

A graph of y = f prime of x made of straight segments joining (-4, -2), (-2, 2), (2, -2), (4, 0) and (6, -1). It crosses the x-axis at x = -3 and x = 0 and touches it at x = 4. −4 −3 −2 −1 1 2 3 4 5 6 −2 −1 1 2 graph of y = f′(x)
The graph of f′f', not ff. It crosses the xx-axis at x=−3x = -3 and x=0x = 0, and touches it at x=4x = 4.

Example 1: Increasing, decreasing, and extrema from f′

Section titled “Example 1: Increasing, decreasing, and extrema from f′”

Using the graph of f′f', find the intervals where ff is increasing and decreasing, and the xx-values of the relative extrema of ff. Justify your answers.

Solution. Read the sign of f′f':

  • f′(x)>0f'(x) \gt 0 on (−3,0)(-3, 0), so ff is increasing on (−3,0)(-3, 0).
  • f′(x)<0f'(x) \lt 0 on (−4,−3)(-4, -3), (0,4)(0, 4), and (4,6)(4, 6), so ff is decreasing on those intervals. (Since f′f' is only 00 at the single point x=4x = 4, you can also say ff is decreasing on (0,6)(0, 6).)

Extrema:

  • f′f' changes from negative to positive at x=−3x = -3, so ff has a relative minimum at x=−3x = -3.
  • f′f' changes from positive to negative at x=0x = 0, so ff has a relative maximum at x=0x = 0.
  • At x=4x = 4, f′=0f' = 0 but f′f' doesn’t change sign (negative on both sides), so ff has no relative extremum there.

Example 2: Concavity and inflection points from f′

Section titled “Example 2: Concavity and inflection points from f′”

Using the same graph, find the intervals where ff is concave up and concave down, and the xx-values of the points of inflection of ff.

Solution. Now read whether f′f' is rising or falling (the slope of the graph of f′f' is f′′f''):

  • f′f' is increasing on (−4,−2)(-4, -2) and (2,4)(2, 4), so ff is concave up there.
  • f′f' is decreasing on (−2,2)(-2, 2) and (4,6)(4, 6), so ff is concave down there.

f′f' switches between increasing and decreasing at x=−2x = -2, x=2x = 2, and x=4x = 4, so ff has points of inflection at all three. (At the corners of the graph of f′f', f′′f'' doesn’t exist, but the concavity of ff still changes.)

Notice that x=4x = 4 is both a critical point of ff and an inflection point: the graph of ff flattens out while switching from concave up to concave down, then keeps falling.

The top graph in the stacked figure is f(x)=x33−xf(x) = \dfrac{x^3}{3} - x. Describe the graph of f′f' without differentiating, then check.

Solution. Reading the graph of ff left to right:

  • ff rises until x=−1x = -1, so f′>0f' \gt 0 for x<−1x \lt -1.
  • ff has horizontal tangents at x=−1x = -1 and x=1x = 1, so f′(−1)=f′(1)=0f'(-1) = f'(1) = 0.
  • ff falls between them, so f′<0f' \lt 0 on (−1,1)(-1, 1).
  • ff is steepest going down at its inflection point x=0x = 0, so f′f' has its minimum there.
  • ff rises after x=1x = 1, more and more steeply, so f′>0f' \gt 0 and growing.

That describes an upward parabola with zeros at ±1\pm 1 and its vertex at x=0x = 0. Check: f′(x)=x2−1f'(x) = x^2 - 1. ✓

Example 4: From sign information to a sketch

Section titled “Example 4: From sign information to a sketch”

A continuous function ff has these properties:

Intervalx<−1x \lt -1−1<x<1-1 \lt x \lt 11<x<31 \lt x \lt 3x>3x \gt 3
f′f'++−-−-++
f′′f''−-−-++++

Describe the shape of the graph of ff and name its key features.

Solution. Go interval by interval:

  • x<−1x \lt -1: increasing and concave down (rising, but flattening).
  • −1<x<1-1 \lt x \lt 1: decreasing and concave down (falling more and more steeply).
  • 1<x<31 \lt x \lt 3: decreasing and concave up (still falling, but levelling off).
  • x>3x \gt 3: increasing and concave up (rising more and more steeply).

Features: f′f' changes from ++ to −- at x=−1x = -1, so a relative maximum there. f′′f'' changes sign at x=1x = 1, so a point of inflection there. f′f' changes from −- to ++ at x=3x = 3, so a relative minimum there. The graph looks like a stretched “N” shape, similar to a cubic.

Reading the graph of f′ as if it were f. The highest point on a graph of f′f' is not a maximum of ff. It’s where ff is increasing fastest: an inflection point. Write “graph of f′f'” in the margin to remind yourself.

Thinking “f′ is decreasing” means “f is decreasing”. ff decreasing needs f′<0f' \lt 0 (below the axis). f′f' decreasing means ff is concave down, which can happen while ff is still rising, like on (−2,0)(-2, 0) in Example 1.

Calling every zero of f′ an extremum. At x=4x = 4 in Example 1, the graph of f′f' touches the axis without crossing, so there’s no extremum. Look for a sign change.

Missing inflection points at corners. On a piecewise-linear graph of f′f', the corners where f′f' switches from rising to falling are inflection points of ff, even though f′′f'' is undefined there.

Trying to read values of f from a graph of f′. The graph of f′f' tells you about the slope and shape of ff, not its height. You need an initial value and integration to find f(x)f(x).

1. (Warm-up) If f′′(x)<0f''(x) \lt 0 on an interval, what is the graph of f′f' doing there? What is the graph of ff doing?

Solution

f′′f'' is the derivative of f′f', so f′′<0f'' \lt 0 means f′f' is decreasing. The graph of ff is concave down.

2. (Warm-up) On the interval (2,5)(2, 5), f′f' is positive and decreasing. Describe the graph of ff there.

Solution

f′>0f' \gt 0, so ff is increasing. f′f' is decreasing, so ff is concave down. The graph of ff is rising, but more and more slowly.

3. (Warm-up) The graph of f′f' crosses the xx-axis from above to below at x=3x = 3. What does ff have at x=3x = 3? Write the justification.

Solution

A relative maximum. ”f′f' changes from positive to negative at x=3x = 3, so ff has a relative maximum at x=3x = 3.”

4. (Core) The graph of f′f' is the parabola y=x2−2x−3y = x^2 - 2x - 3, with xx-intercepts −1-1 and 33 and vertex (1,−4)(1, -4).

  • (a) Where is ff increasing and decreasing?
  • (b) Where does ff have relative extrema?
  • (c) Where is ff concave up and down, and where is its point of inflection?
Solution

(a) The parabola is above the axis for x<−1x \lt -1 and x>3x \gt 3, and below on (−1,3)(-1, 3). So ff is increasing on (−∞,−1)(-\infty, -1) and (3,∞)(3, \infty), and decreasing on (−1,3)(-1, 3).

(b) f′f' changes from ++ to −- at x=−1x = -1: relative maximum. f′f' changes from −- to ++ at x=3x = 3: relative minimum.

(c) The parabola is falling for x<1x \lt 1 and rising for x>1x \gt 1. So ff is concave down on (−∞,1)(-\infty, 1) and concave up on (1,∞)(1, \infty), with a point of inflection at x=1x = 1 (the vertex of the graph of f′f').

5. (Core) Suppose f′(x)=sin⁡xf'(x) = \sin x on (0,2π)(0, 2\pi) (radians). Find where ff is increasing and decreasing, its relative extrema, its intervals of concavity, and the xx-values of its points of inflection.

Solution

sin⁡x>0\sin x \gt 0 on (0,π)(0, \pi) and <0\lt 0 on (π,2π)(\pi, 2\pi). So ff is increasing on (0,π)(0, \pi) and decreasing on (π,2π)(\pi, 2\pi), with a relative maximum at x=πx = \pi (f′f' changes from ++ to −-).

f′′(x)=cos⁡xf''(x) = \cos x, which is positive on (0,π2)\left(0, \frac{\pi}{2}\right) and (3π2,2π)\left(\frac{3\pi}{2}, 2\pi\right), and negative on (π2,3π2)\left(\frac{\pi}{2}, \frac{3\pi}{2}\right). So ff is concave up on (0,π2)\left(0, \frac{\pi}{2}\right) and (3π2,2π)\left(\frac{3\pi}{2}, 2\pi\right), and concave down on (π2,3π2)\left(\frac{\pi}{2}, \frac{3\pi}{2}\right).

Points of inflection at x=π2x = \dfrac{\pi}{2} and x=3π2x = \dfrac{3\pi}{2}, where f′′=cos⁡xf'' = \cos x changes sign (and where f′=sin⁡xf' = \sin x has its maximum and minimum).

6. (Core) A differentiable function ff has a relative maximum at (−1,4)(-1, 4), a relative minimum at (2,−1)(2, -1), and a point of inflection at (0.5,1.5)(0.5, 1.5), and no other turning points or inflection points. Describe the graph of f′f'.

Solution
  • f′(−1)=0f'(-1) = 0 and f′(2)=0f'(2) = 0: the graph of f′f' has zeros at x=−1x = -1 and x=2x = 2.
  • ff rises before −1-1, falls between −1-1 and 22, and rises after 22: so f′>0f' \gt 0 for x<−1x \lt -1, f′<0f' \lt 0 on (−1,2)(-1, 2), and f′>0f' \gt 0 for x>2x \gt 2.
  • ff is falling most steeply at the inflection point, so f′f' has its minimum at x=0.5x = 0.5.

The graph of f′f' looks like an upward-opening, U-shaped curve with xx-intercepts −1-1 and 22 and its lowest point at x=0.5x = 0.5. (You can’t tell the exact yy-value of that lowest point.)

7. (Core) Using the graph of f′f' from the worked examples, on which intervals is ff both decreasing and concave up? Explain.

Solution

ff is decreasing where f′<0f' \lt 0 and concave up where f′f' is increasing. Both are true on (−4,−3)(-4, -3) and (2,4)(2, 4): the graph of f′f' is below the axis and rising.

8. (Core) Using the graph of f′f' from the worked examples, find f′′(1)f''(1), f′′(3)f''(3), and f′′(5)f''(5). Is f′′(−2)f''(-2) defined?

Solution

f′′f'' is the slope of the graph of f′f'.

  • From (−2,2)(-2, 2) to (2,−2)(2, -2), the slope is −2−22−(−2)=−1\dfrac{-2 - 2}{2 - (-2)} = -1, so f′′(1)=−1f''(1) = -1.
  • From (2,−2)(2, -2) to (4,0)(4, 0), the slope is 0−(−2)4−2=1\dfrac{0 - (-2)}{4 - 2} = 1, so f′′(3)=1f''(3) = 1.
  • From (4,0)(4, 0) to (6,−1)(6, -1), the slope is −1−06−4=−12\dfrac{-1 - 0}{6 - 4} = -\dfrac{1}{2}, so f′′(5)=−12f''(5) = -\dfrac{1}{2}.

f′′(−2)f''(-2) is not defined: the graph of f′f' has a corner there (slope 22 on the left, −1-1 on the right).

9. (Challenge) True or false? Explain each.

  • (a) If f′′(c)=0f''(c) = 0, then the graph of ff has a point of inflection at x=cx = c.
  • (b) If ff is continuous at x=cx = c and f′f' changes from increasing to decreasing at x=cx = c, then the graph of ff has a point of inflection at x=cx = c.
Solution

(a) False. f(x)=x4f(x) = x^4 has f′′(0)=0f''(0) = 0, but f′′(x)=12x2f''(x) = 12x^2 doesn’t change sign, so there’s no inflection point.

(b) True. Where f′f' is increasing, ff is concave up; where f′f' is decreasing, ff is concave down. So ff changes from concave up to concave down at x=cx = c, and since ff is continuous there, that’s a point of inflection.

Be careful with the wording, though. ”f′f' has a relative maximum at cc” on its own isn’t quite enough: if f(x)=xf(x) = x, then f′(x)=1f'(x) = 1 is constant, and every point counts as a (non-strict) relative maximum of f′f', yet a straight line has no inflection points. What matters is that f′f' actually switches from increasing to decreasing.

10. (Challenge) Using the graph of f′f' from the worked examples, let g(x)=f(x)−xg(x) = f(x) - x. Find the intervals where gg is increasing, and the xx-values of the relative extrema of gg.

Solution

g′(x)=f′(x)−1g'(x) = f'(x) - 1, so gg is increasing where f′(x)>1f'(x) \gt 1: where the graph of f′f' is above the line y=1y = 1.

  • On [−4,−2][-4, -2], the segment through (−4,−2)(-4, -2) and (−2,2)(-2, 2) is f′(x)=2x+6f'(x) = 2x + 6. 2x+6>12x + 6 \gt 1 when x>−2.5x \gt -2.5.
  • On [−2,2][-2, 2], the segment is f′(x)=−xf'(x) = -x. −x>1-x \gt 1 when x<−1x \lt -1.
  • For x≥2x \ge 2, f′(x)≤0<1f'(x) \le 0 \lt 1.

So gg is increasing on (−2.5,−1)(-2.5, -1) and decreasing on (−4,−2.5)(-4, -2.5) and (−1,6)(-1, 6).

g′g' changes from negative to positive at x=−2.5x = -2.5: relative minimum. g′g' changes from positive to negative at x=−1x = -1: relative maximum.