Optimization and Applications: Background You’ll Need 2

  • Apply the second derivative to determine concavity and locate inflection points

Concavity and the Second Derivative

The second derivative tells you about the concavity of a function—whether the graph curves upward or downward.

  • When [latex]f[/latex] is concave up, the slope [latex]f'[/latex] is increasing, so [latex]f''(x) > 0[/latex]
  • When [latex]f[/latex] is concave down, the slope [latex]f'[/latex] is decreasing, so [latex]f''(x) < 0[/latex]

test for concavity

Let [latex]f[/latex] be twice differentiable over an interval [latex]I[/latex]:

  • If [latex]f''(x) > 0[/latex] for all [latex]x \in I[/latex], then [latex]f[/latex] is concave up on [latex]I[/latex]
  • If [latex]f''(x) < 0[/latex] for all [latex]x \in I[/latex], then [latex]f[/latex] is concave down on [latex]I[/latex]

A function can switch concavity, but only at points where [latex]f''(x) = 0[/latex] or [latex]f''(x)[/latex] is undefined. When [latex]f[/latex] is continuous at such a point and actually changes concavity there, we call it an inflection point.

inflection point

If [latex]f[/latex] is continuous at [latex]a[/latex] and [latex]f[/latex] changes concavity at [latex]a[/latex], then the point [latex](a, f(a))[/latex] is an inflection point of [latex]f[/latex].

Quick Reference: What Derivatives Tell You

Sign of [latex]f^{\prime}[/latex] Sign of [latex]f^{\prime \prime}[/latex] Is [latex]f[/latex] increasing or decreasing? Concavity
Positive Positive Increasing Concave up
Positive Negative Increasing Concave down
Negative Positive Decreasing Concave up
Negative Negative Decreasing Concave down

The Second Derivative Test

The second derivative provides an alternative method for classifying critical points. At a critical point [latex]c[/latex] where [latex]f'(c) = 0[/latex], the concavity tells you whether you have a maximum or minimum.

second derivative test

Suppose [latex]f'(c) = 0[/latex] and [latex]f''[/latex] is continuous near [latex]c[/latex]:

  • If [latex]f''(c) > 0[/latex], then [latex]f[/latex] has a local minimum at [latex]c[/latex]
  • If [latex]f''(c) < 0[/latex], then [latex]f[/latex] has a local maximum at [latex]c[/latex]
  • If [latex]f''(c) = 0[/latex], the test is inconclusive (use the first derivative test instead)
Use the second derivative to find the location of all local extrema for [latex]f(x)=x^5-5x^3[/latex].