Kim’s Math NotesCourse index

Connecting f, f′, and f″

How do I connect the graphs of a function and its first two derivatives?

Connect f, f′, and f′′: read each property from the right graph or table, and give each property its own reason about the given graph.

The wrong graph in the reason

Common mistake f changes concavity at 1 because the graph changes direction.

Correction Say it about the given graph: f′ changes from increasing to decreasing at x=1.

Whose graph is it? The chain of slopes

On the exam, you often get just one graph, and the questions are all about f. So before anything else: whose graph is it? f, f prime, or f double prime? By the end, you'll tell the three apart fast, and you'll write every reason so that no one can misread it. Idea one: follow the chain of slopes.

Take f of x equals cosine x, from zero to two pi.

Watch this part of the concept lesson

Read the rest of this scene

It starts high, drops to a flat bottom at pi, and climbs back up. Its slope graph, f prime, is negative sine x. Right at pi, where f was flat, f prime crosses zero. f prime has flat spots of its own: a valley at pi over two, and a peak at three pi over two. One more step down: f double prime is negative cosine x.

It crosses zero at pi over two and three pi over two, right where f prime was flat. Each graph is the slope graph of the one right above it. So wherever one graph is zero, the one above it is flat. Idea two: read all three at once, straight down the dashed lines. Where f prime is greater than zero, on pi to two pi, f is increasing.

Where f prime is less than zero, on zero to pi, f is decreasing. At pi, f prime changes from negative to positive, so f has a relative minimum at pi. The Second Derivative Test agrees: f prime of pi is zero, and f double prime of pi is one, positive. Now the bend. On pi over two to three pi over two, f double prime is positive, so f prime is increasing, and f is concave up. Near both ends, f double prime is negative, so f prime is decreasing, and f is concave down.

At pi over two and three pi over two, f prime has a valley and a peak, and f double prime changes sign. So f has points of inflection there. Now, careful. One f prime graph can answer three different questions about f. One: f prime is positive, above the axis, on pi to two pi.

That tells you f is increasing. Two: f prime is increasing, climbing from its valley to its peak, on pi over two to three pi over two. That tells you f is concave up. Three: f prime is largest at its peak, three pi over two, where f prime equals one. That's where f is increasing fastest.

At the two ends, f prime is only zero, so the peak wins. The height of f prime and the rise of f prime are two different readings. Mix them up, and you answer the wrong question. Idea three: on paper, every reason is about the graph you were given. Given f prime: for a relative maximum of f, write that f prime changes from positive to negative.

For a point of inflection, write that f prime changes from increasing to decreasing, or the other way. Same thing: f prime has a relative extremum there. Two properties at once, like decreasing and concave down, means you owe two reasons. Here, that means f prime is negative, and f prime is decreasing. Write both. If you're given f double prime instead, the reasons are about f double prime.

And name it every time: f prime. Not 'it', not 'the graph'. The reader should never have to guess. And in motion problems, position, velocity, and acceleration are the very same chain.

Example 1: reading the graph of f'

Example one. f is continuous on the closed interval negative three to five, and here is the graph of f prime. Part a: where does f have a relative maximum? Part b: where does f have a point of inflection? Part c: on what open intervals is f decreasing and concave down?

Justify each answer. Part a. We're given f prime, so every reason will name f prime. Signs first: plus, minus, plus, minus. f prime is zero at negative two, zero, and three. At negative two and at three, f prime changes from positive to negative.

So f has a relative maximum at x equals negative two and at x equals three, because f prime changes from positive to negative there. At zero, f prime goes from negative to positive: a relative minimum, but part a didn't ask for that.

Watch this part of the concept lesson

Read the rest of this scene

Part b. For points of inflection, look for where f prime turns: rising to falling, or falling to rising. On this graph, that's at its corners. At negative one and at four, f prime changes from decreasing to increasing. At one, f prime changes from increasing to decreasing. Even at a sharp corner, these are relative extrema of f prime.

So f has points of inflection at x equals negative one, one, and four, because f prime changes between increasing and decreasing there. Part c asks for decreasing and concave down: two properties, so two reasons. Decreasing means f prime is negative, below the axis: negative two to zero, and three to five. Concave down means f prime is decreasing, going downhill: negative three to negative one, and one to four. Both happen on negative two to negative one, and on three to four.

So f is decreasing and concave down on the open intervals negative two to negative one, and three to four, because f prime is negative and f prime is decreasing there. There's another graph of f prime in your workbook. Write a reason for every part.

Common mistake: a reason with no name

Here's how a right answer can still lose credit. You're given the graph of f prime, and the answer is an inflection point at x equals one. One student writes: because f changes concavity. True, but that's the definition again, not a reason. Another writes: because the graph changes from increasing to decreasing.

Which graph? The reader can't tell.

Watch this part of the concept lesson

Read the rest of this scene

The fix names the graph you were given: because f prime changes from increasing to decreasing at x equals one. On the 2025 AP exam, one question gave the graph of a derivative, and the scoring asked you to say whose derivative it was.

Example 2: a table of f, f', f''

Example two. f is twice differentiable, and the table gives values of f, f prime, and f double prime at x equals one, two, and three. Which statement must be true? The plan: scan f prime for zeros first, then check f double prime right there. At three, f prime is zero, and f double prime is three, positive. By the Second Derivative Test, f has a relative minimum at three.

That must be true.

Watch this part of the concept lesson

Read the rest of this scene

Choice A: at two, f prime is negative two, not zero, so two isn't even a critical point. Out. Choice C: f double prime of two is zero, but a zero alone doesn't make an inflection point. f double prime has to change sign, and a table can't promise that. Out. Choice D: f of three is one, less than f of one, which is five. So f went down somewhere, and it can't be increasing on one to three. Out.

Remember: a table gives values at points only. To claim something on a whole interval, you'd need to be told the sign doesn't change in between. So the answer is B. Your workbook has another table. Read it the same way, one column at a time.

Example 3: which is f, f', f''?

Example three. The graphs of f, f prime, and f double prime are shown together, labeled one, two, and three. Which matching is correct? Bring back the chain: where one graph is zero, the graph before it in the chain is flat. Curve two bottoms out, flat, at x equals zero. And curve three crosses zero right there.

So three is the slope graph of two.

Watch this part of the concept lesson

Read the rest of this scene

Curve three is flat at negative one, and curve one crosses zero at negative one. So one is the slope graph of three. Two, then three, then one. So f is two, f prime is three, and f double prime is one. That's choice C.

Quick check of the others. Choice A says two is the slope of one. But one is flat at negative two, and two isn't zero there. Out. Choice B says one is the slope of two. But two is flat at zero, and one isn't zero there. Out.

Choice D says two is the slope of three. But three is flat at negative one, and two isn't zero there. Out. There are three more graphs in your workbook. Find the chain first.

Worked examples

Example 1

f is continuous on [−3,5]. The graph of f′ is shown. Justify each.
(a) Where does f have a relative maximum?
(b) Where does f have a point of inflection?
(c) On what open intervals is f decreasing and concave down?
xy-3-2-112345-2-112
Graph of f'(x)
Hint

Every reason is about f′: its sign, and whether it rises or falls.

Answer and solution
  1. x = -2 and x = 3
  2. x = -1, 1, 4
  3. (-2, -1) and (3, 4)
  1. (a) f′ changes from + to − at x=−2 and x=3: relative maxima there.
  2. (b) f′ changes from decreasing to increasing at x=−1 and x=4, and from increasing to decreasing at x=1: points of inflection at x=−1,1,4.
  3. (c) f′<0 on (−2,0) and (3,5); f′ is decreasing on (−3,−1) and (1,4).
  4. Both: (−2,−1) and (3,4), where f′<0 and f′ is decreasing.

Example 2

f is twice differentiable. Which must be true?
x123
f(x)531
f′(x)0-20
f′′(x)-203
  1. relative max at x=2
  2. relative min at x=3
  3. point of inflection at x=2
  4. f increasing on (1,3)
Hint

f′(c)=0 first, then the sign of f′′(c).

Answer and solution

Answer B. relative min at x=3

  1. f′(3)=0 and f′′(3)=3>0: a relative min at x=3. (B) must be true.
  2. Not (A): f′(2)=−2≠0. Not (C): f′′(2)=0 alone. Not (D): f(3)<f(1). Answer B.

Example 3

The graphs of f,f′,f′′ are labeled I, II, III. Which is correct?
xy-3-2-112-1123IIIIII
Graph
  1. f: I, f′: II, f′′: III
  2. f: II, f′: I, f′′: III
  3. f: II, f′: III, f′′: I
  4. f: III, f′: II, f′′: I
Hint

Zero below means flat above.

Answer and solution

Answer C. f: II, f′: III, f′′: I

  1. II is flat at 0, and III is 0 there: III is the slope of II.
  2. III is flat at −1, and I is 0 there: I is the slope of III.
  3. So f: II, f′: III, f′′: I. Answer C.

Workbook

Problem 1

The graph of f′, the derivative of f, is shown for 0≤x≤5. On what intervals is f increasing? Where does f have a relative maximum? Justify your answer.
xy12345-112
Graph of f'(x)
Hint

f increases where f′>0. A relative max: f′ from + to −.

Answer and solution

Answer increasing on (0,2) and (4,5); relative max at x=2

  1. f′>0 on (0,2) and (4,5), so f is increasing there.
  2. f′ changes from + to − at x=2, so f has a relative maximum at x=2.

Common mistake Using the graph as f instead of f'.

Watch the worked solution to Problem 1

Problem 2

The function f is twice differentiable, with f′(2)=−3 and f′′(2)=4. At x=2, is f increasing or decreasing? Is the graph of f concave up or concave down? Give a reason for each answer.
Hint

The sign of f′(2) decides increasing or decreasing; the sign of f′′(2) decides the bending.

Answer and solution

Answer decreasing (f′(2)<0); concave up (f′′(2)>0)

  1. f′(2)=−3<0, so f is decreasing at x=2.
  2. f′′(2)=4>0, so the graph of f is concave up at x=2.

Common mistake Using the sign of f''(2) to decide increasing or decreasing.

Watch the worked solution to Problem 2

Problem 3

The graphs of f, f′, and f′′ are shown, labeled I, II, and III. Which of the following is correct?
xy-2-112-4-3-2-11234IIIIII
Graph
  1. f: I, f′: II, f′′: III
  2. f: III, f′: I, f′′: II
  3. f: I, f′: III, f′′: II
  4. f: II, f′: III, f′′: I
Hint

Find the chain: where one graph crosses zero, the graph above it is flat.

Answer and solution

Answer D. f: II, f′: III, f′′: I

  1. II is flat at −1 and 1, and III is 0 there: III is the slope of II.
  2. III is flat at 0, and I is 0 there: I is the slope of III. So f: II, f′: III, f′′: I. Answer D.

Common mistake Matching the graphs by height instead of by slope.

Watch the worked solution to Problem 3

Problem 4

The function f is twice differentiable. Selected values of f, f′, and f′′ are shown in the table. Which of the following must be true?
x0123
f(x)4213
f′(x)-3-102
f′′(x)2210
  1. f has a relative minimum at x=2
  2. f has a point of inflection at x=3
  3. f has a relative maximum at x=1
  4. f is decreasing at x=3
Hint

Read one column at a time. A relative min needs f′=0 and f′′>0.

Answer and solution

Answer A. f has a relative minimum at x=2

  1. f′(2)=0 and f′′(2)=1>0: a relative min at x=2. (A) must be true.
  2. Not (B): f′′(3)=0 alone. Not (C): f′(1)=−1≠0. Not (D): f′(3)=2>0. Answer A.

Common mistake Choosing an inflection point at x = 3 because f''(3) = 0.

Watch the worked solution to Problem 4

Problem 5

The graph of f′′, the second derivative of f, is shown for 0≤x≤6. On what interval is f concave down? At what value of x does f′ have a relative maximum? Justify your answer.
xy123456-2-112
Graph of f''(x)
Hint

Concave down where f′′<0. f′ has a relative max where f′′ changes from + to −.

Answer and solution

Answer concave down on (1,5); f′ has a relative max at x=1

  1. f′′<0 on (1,5), so f is concave down on (1,5).
  2. f′′ is the derivative of f′. f′′ changes from + to − at x=1, so f′ has a relative maximum at x=1.

Common mistake Reading where f'' falls instead of where it is negative.

Watch the worked solution to Problem 5

Problem 6

The graph of f′, the derivative of f, is shown for 0≤x≤7. On what intervals is f decreasing and concave up? Find all x where f has a point of inflection. Justify your answer.
xy1234567-2-112
Graph of f'(x)
Hint

Decreasing: f′<0. Concave up: f′ rising. Find where both hold.

Answer and solution

Answer decreasing and concave up on (0,1) and (5,6); inflection at x=2,5

  1. f′<0 on (0,1) and (4,6): decreasing. f′ is increasing on (0,2) and (5,7): concave up.
  2. Both: (0,1) and (5,6).
  3. f′ changes from increasing to decreasing at x=2 and from decreasing to increasing at x=5: points of inflection at x=2 and x=5.

Common mistake Using the sign of f' for concavity.

Watch the worked solution to Problem 6