Kim’s Math NotesCourse index

Sketching Graphs of f and f’

How can I sketch the derivative from the graph of a function?

Go from the graph of f to the graph of f′ and back, and read rising, falling, cups, and caps from the signs of f′ and f′′.

Reading f' like f

Common mistake f′ has its top at 3, so f has a maximum at 3. f′ falls, so f falls.

Correction Peaks and valleys of f are where f′ crosses 0. f′ falling means f is a cap.

Idea 3: four pieces

Idea three. Every smooth graph is built from four kinds of pieces: rising or falling, cup or cap. F prime plus and f double prime plus mean rising, and a cup. Plus, minus: rising, a cap. Minus, minus: falling, a cap.

Minus, plus: falling, a cup.

Watch this part of the concept lesson

Read the rest of this scene

On each interval, the two signs pick the piece. Connect the pieces smoothly, and one point fixes the height.

Example 1: order the slopes

Example one. The graph of f is shown. Which is true about f prime of one, f prime of two, and f prime of three? First: this graph is f, and the question is about f prime. So don't compare heights. The plan: read the bend, then f double prime, then f prime.

The whole curve is a cap, concave down.

Watch this part of the concept lesson

Read the rest of this scene

So f double prime is negative. F double prime negative means f prime is decreasing: the slopes keep shrinking as x grows. From one to two to three: f prime of three is less than f prime of two, less than f prime of one. That's B. Order the slopes on your workbook's graph the same way.

Example 2: from f' to f

Example two. The graph of f prime is shown, for x from zero to seven. F of two is one, and f of five is four. Your job: sketch the graph of f. Say it before you touch the pen: this graph is f prime, not f. Signs first. Zero to two, f prime is below the axis: f falls.

From two to five, it's above, so f rises.

Watch this part of the concept lesson

Read the rest of this scene

From five to seven, it's below again, so f falls. Minus to plus at two means a valley, and we're told it's at two, one. Plus to minus at five means a peak, at five, four. Now the bend. Where is f prime rising, and where is it falling?

From zero to three, f prime climbs, so f is a cup. At three it tops out, and falls all the way to seven: f is a cap. So x equals three is not a peak of f. It's where the bend of f flips. And f prime has a corner at three.

Does f? No: f prime of three is two, one slope, so f is smooth there. Draw. Start at zero, and fall into the valley at two, one, as a cup. Climb out, still a cup, until three. Then switch to a cap: rise over the peak at five, four, and fall as a cap to seven. Mark x equals three on the curve: where concave up meets concave down, a point of inflection.

That's where f prime has its relative maximum. The next graph of f prime is in your workbook. Read it as f prime.

Common mistake: reading f' as f

The classic slip here: reading f prime as if it were f. One rushed answer: f prime peaks at three, so f has a relative max at three. Another: f prime falls after three, so f decreases. But f prime is above the axis until five, so f is still rising. F prime falling only makes f a cap.

F has its extrema where f prime crosses zero: at two, and five.

Watch this part of the concept lesson

Read the rest of this scene

So check the label first, every time.

Example 3: from signs to a sketch

Example three. f is twice differentiable on zero to six. F of one is five, f of three is three, and f of five is one. Here are the signs of f prime and f double prime on each interval. Your job: sketch f.

Two steps: plot the three points, then snap in one piece on each interval.

Watch this part of the concept lesson

Read the rest of this scene

Plot one, five; three, three; and five, one. From zero to one, it's plus, minus: a rising cap into a rounded peak at one, five. Twice differentiable means no sharp corners. From one to three, minus, minus: falling, still a cap. From three to five, it's minus, plus: still falling, but now a cup.

The bend flips at three, three: a point of inflection. From five to six, it's plus, plus: a rising cup, out of the valley at five, one. That's a peak at one, an inflection point at three, and a valley at five. One more in your workbook gives you only the signs. Build it piece by piece.

Worked examples

Example 1

The graph of f is shown. Which is true?
xy1234512345
Graph of f(x)
  1. f′(1)<f′(2)<f′(3)
  2. f′(3)<f′(2)<f′(1)
  3. f′(2)<f′(3)<f′(1)
  4. f′(3)<f′(1)<f′(2)
Hint

Read the slope at each point, not the height.

Answer and solution

Answer B. f′(3)<f′(2)<f′(1)

  1. At 1 the graph rises steeply: f′(1)>0. At 2 it rises less steeply: 0<f′(2)<f′(1). At 3 it is flat: f′(3)=0.
  2. So f′(3)<f′(2)<f′(1). Answer B.

Example 2

The graph of f′ is shown, 0≤x≤7. f(2)=1, f(5)=4.
Sketch the graph of f.
xy1234567-4-3-2-112345
Graph of f'(x)
Hint

The sign of f′: up or down. f′ rising or falling: a cup or a cap.

Answer and solution

Answer falls on (0,2), rises on (2,5), falls on (5,7); valley (2,1), peak (5,4); concave up on (0,3), down on (3,7)

  1. f′<0 on (0,2) and (5,7): f falls. f′>0 on (2,5): f rises.
  2. f′ changes − to + at 2: a valley at (2,1). + to − at 5: a peak at (5,4).
  3. f′ rises on (0,3): a cup. f′ falls on (3,7): a cap. The bend changes at x=3.

Example 3

f is twice differentiable on [0,6]. f(1)=5, f(3)=3, f(5)=1.
On (0,1) → f′>0,f′′<0
On (1,3) → f′<0, f′′<0
On (3,5) → f′<0, f′′>0
On (5,6) → f′>0, f′′>0
Sketch the graph of f.
Hint

Plot the three points, then one piece per interval.

Answer and solution

Answer rising cap to the peak (1,5); falling cap; bend changes at (3,3); falling cup to the valley (5,1); rising cup

  1. Plot (1,5), (3,3), (5,1).
  2. (0,1): rising, a cap. (1,3): falling, a cap. (3,5): falling, a cup. (5,6): rising, a cup.
  3. A peak at x=1, the bend changes at x=3, a valley at x=5.

Workbook

Problem 1

The graph of f is shown for −1≤x≤3. Where is f′(x)=0? On what intervals is f′(x)>0, and on what intervals is f′(x)<0?
xy-11231234
Graph of f(x)
Hint

f′=0 at the flat points, f′>0 where f rises, f′<0 where it falls.

Answer and solution

Answer f′=0 at x=0,2; f′>0 on (0,2); f′<0 on (−1,0) and (2,3)

  1. The graph of f is flat at x=0 and x=2: f′=0 there.
  2. Rising on (0,2): f′>0. Falling on (−1,0) and (2,3): f′<0.

Common mistake Mixing up where f' = 0 and where f = 0.

Watch the worked solution to Problem 1

Problem 2

The graph of f is shown, with points at x=0, 1, and 3. Which of the following is true?
xy-1123123
Graph of f(x)
  1. f′(0)<f′(1)<f′(3)
  2. f′(1)<f′(0)<f′(3)
  3. f′(3)<f′(1)<f′(0)
  4. f′(1)<f′(3)<f′(0)
Hint

Compare the slopes of the tangent lines at the three points.

Answer and solution

Answer A. f′(0)<f′(1)<f′(3)

  1. Falling at 0: f′(0)<0. Flat at 1: f′(1)=0. Rising at 3: f′(3)>0.
  2. So f′(0)<f′(1)<f′(3). Answer A. (B) orders the heights of f, not the slopes.

Common mistake Ordering the heights of f instead of its slopes.

Watch the worked solution to Problem 2

Problem 3

The graph of f′, the derivative of f, is shown for −2≤x≤4. Find all x where f has a relative extremum, and classify each. On what interval is f concave up? Justify your answer.
xy-2-11234-4-3-2-112345
Graph of f'(x)
Hint

Extrema: where f′ changes sign. Concave up: where the graph of f′ rises.

Answer and solution

Answer relative max at x=−1, relative min at x=3; concave up on (1,4)

  1. f′ changes from + to − at x=−1: a relative max. From − to + at x=3: a relative min.
  2. f′ is increasing on (1,4), so f is concave up on (1,4).

Common mistake Reading concave up where f' > 0.

Watch the worked solution to Problem 3

Problem 4

The graph of f is shown, with points A, B, C, and D. At which point is f′(x)>0 and f′′(x)<0?
xyABCD
Graph of f(x)
  1. A
  2. B
  3. C
  4. D
Hint

f′>0: rising. f′′<0: bending down. Find the point that does both.

Answer and solution

Answer A. A

  1. A: rising, a cap (f′>0, f′′<0). B: falling, a cap. C: falling, a cup. D: rising, a cup.
  2. Answer A.

Common mistake Choosing a point where f is above the axis instead of rising.

Watch the worked solution to Problem 4

Problem 5

The function f is twice differentiable on [0,6], with f(0)=0, f(2)=2, f(4)=1, and f(6)=0. Also f′>0 on (0,2), f′<0 on (2,6), f′′<0 on (0,4), and f′′>0 on (4,6). Sketch a possible graph of f. Where does f have a relative maximum, and where does it have a point of inflection?
Hint

Plot the four points, then join them using the signs of f′ and f′′ on each interval.

Answer and solution

Answer relative max at x=2; point of inflection at x=4

  1. (0,2): rising, a cap. (2,4): falling, a cap. (4,6): falling, a cup.
  2. f′ changes from + to − at x=2: a relative max. f′′ changes sign at x=4: a point of inflection.

Common mistake Drawing the inflection point at a peak.

Watch the worked solution to Problem 5

Problem 6

The graph of f′, the derivative of f, is shown for −2.5≤x≤2. Which of the following is true?
xy-2-112-3-2-112
Graph of f'(x)
  1. f has a relative maximum at x=1
  2. f is decreasing on (−2,1)
  3. f is concave down on (−1,1)
  4. f has a relative maximum at x=−2
Hint

f′ crosses at −2 and touches at 1. Where does the graph of f′ fall?

Answer and solution

Answer C. f is concave down on (−1,1)

  1. (A) f′ touches 0 at 1 with no sign change: no extremum. (B) f′>0 on (−2,1): increasing.
  2. (C) f′ falls on (−1,1): concave down. True. (D) f′ changes − to + at −2: a min, not a max.
  3. Answer C.

Common mistake Calling x = 1 an extremum because f' touches 0 there.

Watch the worked solution to Problem 6

Problem 7

Let f(x)=x4−4x3.
  1. Find f′(x) and f′′(x) in factored form.
  2. On what intervals is f increasing, and on what intervals is it decreasing? On what intervals is the graph of f concave up, and on what intervals is it concave down?
  3. Find the relative extrema and the points of inflection of the graph of f. Then sketch the graph of f.
Hint

Make two sign lines, one for f′ and one for f′′. Plot the special points, then join them with the right rise and bend.

Answer and solution
  1. f′(x)=4x2(x−3), f′′(x)=12x(x−2)
  2. f′: −,−,+; f′′: +,−,+
  3. min (3,−27); inflection (0,0) and (2,−16); x=0 is flat but not an extremum
  1. f′(x)=4x3−12x2=4x2(x−3),f′′(x)=12x2−24x=12x(x−2)
  2. f′: −,−,+ around 0 and 3. Decreasing on (−∞,0) and (0,3), increasing on (3,∞).
  3. f′′: +,−,+ around 0 and 2. Concave up on (−∞,0) and (2,∞), concave down on (0,2).
  4. Relative minimum (3,−27). Points of inflection (0,0) and (2,−16); at x=0 the graph is flat but keeps falling.

Common mistake Calling x = 0 a relative minimum because f'(0) = 0.

Watch the worked solution to Problem 7