Math Core

Lesson 5.5 · Analytical Applications of Differentiation

Concavity and the second derivative test

Two graphs can both be increasing yet look completely different: one bends upward like the start of a rocket launch, the other flattens out like a runner getting tired. The first derivative can't tell them apart, but the second derivative can. In this lesson you'll use f′′f'' to describe how a graph bends and to classify critical points in a single step.

Concavity

Definition

Concavity

Let ff be differentiable on an open interval II.

  • ff is concave up on II if f′f' is increasing on II. The graph bends upward, like a cup, and lies above its tangent lines.
  • ff is concave down on II if f′f' is decreasing on II. The graph bends downward, like a frown, and lies below its tangent lines.

Concavity is about the slope changing, not about the graph going up or down. A concave up graph can be falling, as long as it is falling less and less steeply (think of the left half of y=x2y = x^2).

Since f′′f'' is the derivative of f′f', the increasing/decreasing test applied to f′f' gives a test for concavity.

Concavity test

  • If f′′(x)>0f''(x) > 0 on an interval, then ff is concave up there.
  • If f′′(x)<0f''(x) < 0 on an interval, then ff is concave down there.

Points of inflection

Definition

Point of inflection

A point of inflection is a point on the graph of ff where ff is continuous and the concavity changes (from up to down or from down to up).

The concavity can only change where f′′(x)=0f''(x) = 0 or f′′(x)f''(x) is undefined. So those are the candidates for inflection points, and you confirm them with a sign chart for f′′f'', just like you confirmed extrema with a sign chart for f′f'.

Worked example: Concavity of a cubic

Find the intervals of concavity and the inflection point of f(x)=x3−3x2−9x+2f(x) = x^3 - 3x^2 - 9x + 2.

Solution. f′(x)=3x2−6x−9f'(x) = 3x^2 - 6x - 9 and f′′(x)=6x−6=6(x−1)f''(x) = 6x - 6 = 6(x - 1). f′′(x)=0f''(x) = 0 at x=1x = 1.

  • For x<1x < 1, f′′(x)<0f''(x) < 0, so ff is concave down.
  • For x>1x > 1, f′′(x)>0f''(x) > 0, so ff is concave up.

The concavity changes at x=1x = 1, so there is a point of inflection at (1,f(1))=(1,−9)(1, f(1)) = (1, -9).

In the graph below, compare ff with f′f'. The inflection point of ff lines up with the lowest point of f′f': that's where the slope of ff stops decreasing and starts increasing.

f(x) = x³ − 3x² − 9x + 2 (solid) and f′ (dashed). f is concave down where f′ decreases and concave up where f′ increases; the switch is at x = 1.Open in grapher →

Common mistake

f′′(c)=0f''(c) = 0 does not guarantee an inflection point. For f(x)=x4f(x) = x^4, f′′(x)=12x2f''(x) = 12x^2 is 00 at x=0x = 0, but f′′f'' is positive on both sides, so the graph is concave up everywhere and (0,0)(0, 0) is not an inflection point. Always justify with a sign change of f′′f'' (or, equivalently, a change in whether f′f' is increasing or decreasing).

The second derivative test

At a critical point where f′(c)=0f'(c) = 0, the tangent line is horizontal. If the graph is concave up there, it must be the bottom of a cup: a minimum. If it's concave down, it's the top of a frown: a maximum.

The second derivative test

Suppose f′(c)=0f'(c) = 0 and f′′f'' exists near cc.

  • If f′′(c)>0f''(c) > 0, then ff has a relative minimum at x=cx = c.
  • If f′′(c)<0f''(c) < 0, then ff has a relative maximum at x=cx = c.
  • If f′′(c)=0f''(c) = 0, the test is inconclusive. Use the first derivative test instead.

For example, x4x^4, −x4-x^4 and x3x^3 all have f′(0)=0f'(0) = 0 and f′′(0)=0f''(0) = 0, yet they have a minimum, a maximum and neither at x=0x = 0. That's why a zero second derivative tells you nothing on its own.

Worked example: Classifying with f″

Use the second derivative test to classify the critical points of f(x)=2x3−9x2+12xf(x) = 2x^3 - 9x^2 + 12x.

Solution. f′(x)=6x2−18x+12=6(x−1)(x−2)f'(x) = 6x^2 - 18x + 12 = 6(x - 1)(x - 2), so the critical points are x=1x = 1 and x=2x = 2. Then f′′(x)=12x−18f''(x) = 12x - 18.

  • f′′(1)=−6<0f''(1) = -6 < 0, so ff has a relative maximum at x=1x = 1 (value f(1)=5f(1) = 5).
  • f′′(2)=6>0f''(2) = 6 > 0, so ff has a relative minimum at x=2x = 2 (value f(2)=4f(2) = 4).

Worked example: Inflection points of a quartic

Find the inflection points of f(x)=x4−6x2f(x) = x^4 - 6x^2.

Solution. f′(x)=4x3−12xf'(x) = 4x^3 - 12x and f′′(x)=12x2−12=12(x−1)(x+1)f''(x) = 12x^2 - 12 = 12(x - 1)(x + 1).

intervalx<−1x < -1−1<x<1-1 < x < 1x>1x > 1
sign of f′′f''++−-++
concavityupdownup

The concavity changes at both x=−1x = -1 and x=1x = 1. Since f(±1)=1−6=−5f(\pm 1) = 1 - 6 = -5, the inflection points are (−1,−5)(-1, -5) and (1,−5)(1, -5).

f(x) = x⁴ − 6x². It is concave up outside [−1, 1] and concave down between the inflection points (±1, −5).Open in grapher →

Justifying on the AP exam

Justifications must cite the right function:

claim about ffjustify with
increasing / decreasingsign of f′f'
relative max / minsign change of f′f', or sign of f′′f'' at a point where f′=0f' = 0
concave up / downsign of f′′f'', or f′f' increasing / decreasing
inflection pointsign change of f′′f'', or f′f' changing from increasing to decreasing (or vice versa)

Tip

If you're given the graph of f′f', you don't need f′′f'' at all. ff is concave up where the graph of f′f' is rising, concave down where it's falling, and inflection points of ff are at the relative extrema (the peaks and valleys) of f′f'.

Practice

Practice 1

Find the xx-coordinate of the inflection point of f(x)=x3−6x2+5f(x) = x^3 - 6x^2 + 5.

Enter a number. Fractions like 3/4 and sqrt(2) are OK.

Practice 2

On what interval is f(x)=x3−6x2+5f(x) = x^3 - 6x^2 + 5 concave up?

Enter an inequality, e.g. x >= 4, -2 < x <= 3, or x < 1 or x > 5

Practice 3

On what interval is f(x)=x4−24x2f(x) = x^4 - 24x^2 concave down? Use strict inequalities.

Enter an inequality, e.g. x >= 4, -2 < x <= 3, or x < 1 or x > 5

Practice 4

Find the xx-coordinates of all inflection points of f(x)=x4−6x3+12x2+1f(x) = x^4 - 6x^3 + 12x^2 + 1.

Separate answers with commas, e.g. 2, -5

Practice 5

A twice-differentiable function gg has g′(4)=0g'(4) = 0 and g′′(4)=−3g''(4) = -3. Which statement is true?

Practice 6

Find the xx-coordinate of the inflection point of f(x)=xe−xf(x) = xe^{-x}.

Enter a number. Fractions like 3/4 and sqrt(2) are OK.

Practice 7

Use the second derivative test to find the xx-value at which f(x)=x3−3x2−9x+20f(x) = x^3 - 3x^2 - 9x + 20 has a relative minimum.

Enter a number. Fractions like 3/4 and sqrt(2) are OK.

Practice 8

For f(x)=x5/3f(x) = x^{5/3}, which statement about the point (0,0)(0, 0) is true?