Grade by GradeEssential student suppliesSign in
C. Content · Calculus 12: Functions, Limits, Derivatives, Integrals and Their Applications

Relating f, f' and f'': Higher Derivatives, Increasing, Concavity and the Mean Value Theorem

BC CALC 12: higher order BC CALC 12: concavity BC CALC 12: mean value theoremAbout 80 minutes
Learning goals
  • I can find higher-order derivatives and use them for position, velocity and acceleration.
  • I can use f' to find where f is increasing or decreasing and to find local extrema.
  • I can use f'' to find concavity and points of inflection.
  • I can state the mean value theorem and find a value c that it guarantees.

Words to know

critical number
A value c in the domain of f where f'(c) = 0 or f'(c) does not exist.
local maximum / minimum
A point higher (or lower) than all nearby points on the graph.
concave up / down
Concave up: the graph bends upward, like a cup, and f'' > 0. Concave down: bends downward, f'' < 0.
point of inflection
A point on the graph where the concavity changes.
mean value theorem (MVT)
If f is continuous on [a, b] and differentiable on (a, b), then f'(c) = (f(b) - f(a))/(b - a) for some c in (a, b).

Higher-order derivatives

The derivative of f' is the second derivative, f'' (or d^2y/dx^2). Then come f''' and f^(4), and so on.

In motion along a line: if s(t) is position, then v(t) = s'(t) is velocity, and a(t) = v'(t) = s''(t) is acceleration. An object speeds up when v and a have the same sign, and slows down when they have opposite signs.

Worked example

Example 1: Motion on a line

A particle moves with s(t) = t^3 - 6t^2 + 9t metres, t ≥ 0 in seconds. When is it at rest? Find v(2) and a(2), and decide whether it is speeding up at t = 1.5.

  1. v(t) = 3t^2 - 12t + 9 = 3(t - 1)(t - 3). At rest when v = 0: t = 1 s and t = 3 s.
  2. a(t) = 6t - 12.
  3. v(2) = 12 - 24 + 9 = -3 m/s (moving backward); a(2) = 0.
  4. At t = 1.5: v = 3(0.5)(-1.5) = -2.25 < 0 and a = 9 - 12 = -3 < 0. Same sign, so it is speeding up.

At rest at t = 1 and t = 3; v(2) = -3 m/s, a(2) = 0 m/s^2; speeding up at t = 1.5.

What f' says about f

  • If f'(x) > 0 on an interval, f is increasing there; if f'(x) < 0, f is decreasing.
  • Local extrema can only happen at critical numbers.
  • First derivative test: if f' changes from + to - at c, f has a local maximum at c; from - to +, a local minimum. If f' does not change sign, there is no extremum.

What f'' says about f

  • f'' > 0: concave up (f' is increasing). f'' < 0: concave down.
  • A point of inflection is where the concavity changes.
  • Second derivative test: if f'(c) = 0 and f''(c) > 0, local minimum; if f''(c) < 0, local maximum; if f''(c) = 0, the test gives no answer.
Worked example

Example 2: A full analysis

Analyse f(x) = x^3 - 3x^2 - 9x + 5.

  1. f'(x) = 3x^2 - 6x - 9 = 3(x - 3)(x + 1). Critical numbers: x = -1 and x = 3.
  2. f'(x) > 0 for x < -1 and x > 3, and f'(x) < 0 for -1 < x < 3.
  3. Local max f(-1) = -1 - 3 + 9 + 5 = 10. Local min f(3) = 27 - 27 - 27 + 5 = -22.
  4. f''(x) = 6x - 6, zero at x = 1. f'' < 0 for x < 1 and f'' > 0 for x > 1.
  5. Inflection point: f(1) = 1 - 3 - 9 + 5 = -6.

Increasing on x < -1 and x > 3; decreasing on -1 < x < 3; local max (-1, 10), local min (3, -22); concave down for x < 1, up for x > 1; inflection (1, -6).

Intervalx < -1-1 < x < 11 < x < 3x > 3
sign of f'+--+
sign of f''--++
shape of frising, bending downfalling, bending downfalling, bending uprising, bending up
Sign chart for f(x) = x^3 - 3x^2 - 9x + 5.
xy-2-112345-20-1010max (-1, 10)min (3, -22)inflection (1, -6)
The graph of f(x) = x^3 - 3x^2 - 9x + 5 with its local maximum, local minimum and point of inflection.
Worked example

Example 3: When the second derivative test fails

Find and classify the critical numbers of f(x) = x^4 - 4x^3.

  1. f'(x) = 4x^3 - 12x^2 = 4x^2(x - 3). Critical numbers: 0 and 3.
  2. f''(x) = 12x^2 - 24x. f''(3) = 108 - 72 = 36 > 0, so a local minimum: f(3) = 81 - 108 = -27.
  3. f''(0) = 0, so the second derivative test says nothing.
  4. First derivative test: 4x^2 ≥ 0 and x - 3 < 0 near 0, so f' < 0 on both sides. No extremum at 0.

Local minimum (3, -27); no extremum at x = 0 (it is a point of inflection, since f'' = 12x(x - 2) changes sign there).

The mean value theorem

If a smooth curve joins two points, somewhere in between the tangent is parallel to the secant. In symbols: if f is continuous on [a, b] and differentiable on (a, b), there is at least one c in (a, b) with

f'(c) = (f(b) - f(a))/(b - a).

The special case f(a) = f(b) (a horizontal secant, so f'(c) = 0) is called Rolle's theorem. The MVT is the reason the increasing/decreasing test works: if f' > 0 everywhere, every secant slope is positive.

xy12246(2, 6)c ≈ 1.155secant, slope 3
For f(x) = x^3 - x on [0, 2], the secant from (0, 0) to (2, 6) has slope 3. The tangent at c = 2/sqrt(3) ≈ 1.155 has the same slope.
Worked example

Example 4: Finding c

Find the value c guaranteed by the MVT for f(x) = x^3 - x on [0, 2].

  1. f is a polynomial, so it is continuous and differentiable: the MVT applies.
  2. Secant slope: (f(2) - f(0))/(2 - 0) = (6 - 0)/2 = 3.
  3. f'(c) = 3c^2 - 1 = 3, so c^2 = 4/3 and c = ±2/sqrt(3).
  4. Only c = 2/sqrt(3) ≈ 1.155 is in (0, 2).

c = 2/sqrt(3) ≈ 1.155

Worked example

Example 5: A road trip

A driver on the Coquihalla Highway covers 150 km in 1.5 hours. Explain why the speedometer read exactly 100 km/h at some moment.

  1. Let s(t) be the distance travelled. It is continuous and differentiable (cars don't teleport).
  2. Average speed: 150/1.5 = 100 km/h.
  3. By the MVT, s'(c) = 100 for some time c in the trip.

At some instant the speed was exactly 100 km/h.

Check the sign change

A critical number of f is where f' is 0 or undefined; a possible inflection point is where f'' is 0 or undefined. In both cases you still have to check that the sign actually changes.

Hands-on activity

Read a graph of f'

Sketch any wavy curve and say it is the graph of f', not f. Mark where it crosses the x-axis (critical numbers of f), where it is above the axis (f increasing) and where it has its own peaks and valleys (inflection points of f). Then sketch a possible f. Swap with a classmate and check each other's sketches.

Just for fun

The word inflection comes from the Latin inflectere, "to bend". And Rolle's theorem is named for the French mathematician Michel Rolle, who published a version of it for polynomials in 1691. Rolle is also remembered as one of the early critics of the new calculus, though he later dropped his objections.

Your turn

1

For f(x) = 2x^3 - 6x, find the intervals of increase and decrease and the local extrema.

2

Find the concavity and inflection point of f(x) = x^3 - 6x^2 + 1.

3

Find f'''(x) for f(x) = x^5.

4

Find d^2y/dx^2 for y = e^(2x).

5

Find c from the MVT for f(x) = x^2 on [1, 5].

6

f'(x) = (x - 2)(x + 1)^2. Where does f have local extrema?

More practice

1

A particle has s(t) = t^3 - 9t^2 + 24t. When is it at rest, and when is a(t) = 0?

2

Use the second derivative test on f(x) = x + 4/x for x > 0.

3

Verify Rolle's theorem for f(x) = x^2 - 4x on [0, 4].

4

Does the MVT apply to f(x) = |x| on [-1, 2]? Explain.

5

For f(x) = x e^(-x), find the local maximum and the inflection point.

Check your understanding

Quiz

1.

f'(x) changes from positive to negative at x = 4. What happens at x = 4?

2.

If f''(x) < 0 on an interval, then f is...

3.

What are the critical numbers of f(x) = x^3 - 12x?

4.

For f(x) = x^2 on [0, 4], what value of c does the MVT give?

5.

A particle has s(t) = t^2 - 4t. When is it at rest?

For parents and teachers

How to help: Ask your teen to explain a sign chart in words: "Here f' is negative, so the graph is going down..." Connect to a hike: going uphill is f' > 0, the summit is a local maximum.

Common mistakes:

  • Calling every point where f'' = 0 an inflection point without checking for a sign change.
  • Mixing up information from f' (rising and falling) and f'' (bending).
  • Forgetting to check the hypotheses (continuity and differentiability) before using the MVT.
  • Giving extrema as x-values only, without the y-values when points are asked for.