Unit 4, lesson 37

Concavity and Inflection Points

How the sign of the second derivative tells you which way a graph bends, where it switches bending, and how it can classify a critical point.

  • Theory part 73
  • Practice part 74
  • Extrema and Shape

Theory, part 73

Practice, part 74

Two cars can both be speeding up while one gains speed faster and faster and the other gains it more and more slowly. Their position graphs both rise, yet they bend in opposite directions. The first derivative tells you whether a graph goes up or down. The second derivative tells you which way it bends, and that extra information sharpens both graph sketches and the hunt for maxima and minima.

Key terms

Concave up and concave down

Definition Let ff be differentiable on an open interval II. The function ff is concave up on II if f′f' is strictly increasing on II, and concave down on II if f′f' is strictly decreasing on II. Equivalently, ff is concave up on II exactly when its graph lies above every one of its tangent lines on II, touching each only at its point of tangency, so that for all a≠xa \neq x in II

f(x)>f(a)+f′(a)(x−a),f(x) > f(a) + f'(a)(x - a),

and concave down when the inequality is reversed.

In plain words A concave up graph bends like a cup that holds water, and its slopes keep getting larger. A concave down graph bends like a cap, and its slopes keep getting smaller.

Example For f(x)=x3f(x) = x^3 the slope is f′(x)=3x2f'(x) = 3x^2. On (−∞,0)(-\infty, 0) the slope decreases from large positive values toward 00, so ff is concave down there. On (0,∞)(0, \infty) the slope increases, so ff is concave up there.

The sign of the second derivative

Definition This is the concavity test. Suppose f′′f'' exists at every point of an open interval II.

  1. If f′′(x)>0f''(x) > 0 for all xx in II, then ff is concave up on II.
  2. If f′′(x)<0f''(x) < 0 for all xx in II, then ff is concave down on II.

The test follows from the increasing and decreasing test applied to f′f'. Its converse fails. The function x4x^4 is concave up on all of R\mathbb{R} even though its second derivative is 00 at x=0x = 0.

In plain words A positive second derivative means the slope is growing, so the graph bends up. A negative one means the slope is shrinking, so the graph bends down.

Example Take f(x)=x4−4x3f(x) = x^4 - 4x^3. Then f′(x)=4x3−12x2f'(x) = 4x^3 - 12x^2 and

f′′(x)=12x2−24x=12x(x−2).f''(x) = 12x^2 - 24x = 12x(x - 2).
IntervalSign of f′′f''Concavity
(−∞,0)(-\infty, 0)positiveup
(0,2)(0, 2)negativedown
(2,∞)(2, \infty)positiveup

Inflection points

Definition A point P=(c,f(c))P = (c, f(c)) on the graph of ff is an inflection point if ff is continuous at cc and there is a δ>0\delta > 0 such that ff is concave up on (c−δ,c)(c - \delta, c) and concave down on (c,c+δ)(c, c + \delta), or concave down on (c−δ,c)(c - \delta, c) and concave up on (c,c+δ)(c, c + \delta).

If f′′(c)f''(c) exists at an inflection point, then f′′(c)=0f''(c) = 0, because f′f' has a local maximum or minimum at cc. The reverse is false. A zero of f′′f'' is only a candidate, and the concavity has to actually change there.

In plain words An inflection point is where the graph switches from bending one way to bending the other. A zero second derivative alone does not make one.

Example For f(x)=x4−4x3f(x) = x^4 - 4x^3 the table above shows a change of concavity at x=0x = 0 and at x=2x = 2. Since f(0)=0f(0) = 0 and f(2)=16−32=−16f(2) = 16 - 32 = -16, the inflection points are (0,0)(0, 0) and (2,−16)(2, -16). By contrast, g(x)=x4g(x) = x^4 has g′′(0)=0g''(0) = 0, but g′′(x)=12x2>0g''(x) = 12x^2 > 0 on both sides of 00, so the origin is not an inflection point of gg.

The second derivative test

Definition Let ff be differentiable on an open interval containing cc, with f′(c)=0f'(c) = 0, and suppose f′′(c)f''(c) exists.

  1. If f′′(c)>0f''(c) > 0, then ff has a local minimum at cc.
  2. If f′′(c)<0f''(c) < 0, then ff has a local maximum at cc.

In plain words At a point where the tangent is flat, a graph that bends up must sit at the bottom of a valley, and a graph that bends down must sit at the top of a hill.

Example Let f(x)=x3−3xf(x) = x^3 - 3x. Then f′(x)=3x2−3=3(x−1)(x+1)f'(x) = 3x^2 - 3 = 3(x - 1)(x + 1), so the critical points are x=1x = 1 and x=−1x = -1, and f′′(x)=6xf''(x) = 6x.

f′′(1)=6>0,f′′(−1)=−6<0.f''(1) = 6 > 0, \qquad f''(-1) = -6 < 0.

So f(1)=−2f(1) = -2 is a local minimum and f(−1)=2f(-1) = 2 is a local maximum.

When the second derivative test is inconclusive

Definition If f′(c)=0f'(c) = 0 and f′′(c)=0f''(c) = 0, or if f′′(c)f''(c) does not exist, the second derivative test gives no conclusion. The point cc may be a local minimum, a local maximum or neither. In that case use the first derivative test, which looks at the sign of f′f' on each side of cc.

In plain words A second derivative of zero means the test cannot tell. It does not mean there is no extremum, and it does not mean there is one.

Example Each of these functions has f′(0)=0f'(0) = 0 and f′′(0)=0f''(0) = 0.

FunctionSign of f′f' left of 00Sign of f′f' right of 00What happens at 00
x4x^4negativepositivelocal minimum
−x4-x^4positivenegativelocal maximum
x3x^3positivepositiveneither

The same zero second derivative leads to three different answers, which is why the test stays silent.

Check yourself

  1. Find where f(x)=x3−6x2+5f(x) = x^3 - 6x^2 + 5 is concave up, where it is concave down, and its inflection point.
Show the answer

The second derivative is f′′(x)=6x−12f''(x) = 6x - 12, which is negative for x<2x < 2 and positive for x>2x > 2. So ff is concave down on (−∞,2)(-\infty, 2) and concave up on (2,∞)(2, \infty). The inflection point is (2,f(2))=(2,−11)(2, f(2)) = (2, -11).

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

The derivatives are

f′(x)=6x2+6x−12=6(x+2)(x−1),f′′(x)=12x+6,f'(x) = 6x^2 + 6x - 12 = 6(x + 2)(x - 1), \qquad f''(x) = 12x + 6,

so the critical points are x=1x = 1 and x=−2x = -2. Since f′′(1)=18>0f''(1) = 18 > 0, there is a local minimum f(1)=−7f(1) = -7. Since f′′(−2)=−18<0f''(-2) = -18 < 0, there is a local maximum f(−2)=20f(-2) = 20.

  1. Does f(x)=x3f(x) = \sqrt[3]{x} have an inflection point at the origin, even though f′′(0)f''(0) does not exist?
Show the answer

Yes. For x≠0x \neq 0 the second derivative is

f′′(x)=−29x−5/3,f''(x) = -\frac{2}{9}x^{-5/3},

which is positive for x<0x < 0 and negative for x>0x > 0. The function is continuous at 00 and the concavity changes there, so (0,0)(0, 0) is an inflection point.

How this lesson connects

It also uses derivative sign.