 # Second Derivative: Test, Examples

Contents:

## What is a Second Derivative?

The second derivative (f), is the derivative of the derivative (f). In other words, in order to find it, take the derivative twice.

One reason to find a 2nd derivative is to find acceleration from a position function; the first derivative of position is velocity and the second is acceleration. This is useful when it comes to classifying relative extreme values; if you can take the derivative of a function twice you can determine if a graph of your original function is concave up, concave down, or a point of inflection.

## Examples

Example question 1: Find the 2nd derivative of 2x3.

Step 1: Take the derivative:
f’ 2x3 = 6x2
f’ 6x2 = 12x

Example question 2: Find the 2nd derivative of 3x5 – 5x3 + 3

Step 1: Take the derivative:
f’ 3x5 – 5x3 + 3 = 15x4 – 15x2 = 15x2 (x-1)(x+1)
f’ 15x2 (x-1)(x+1) = 60x3 – 30x = 30x(2x2 – 1)

That’s it!

Warning: You can’t always take the second derivative of a function. For example, the derivative of 5 is 0.

## Second Derivative Test

This test is used to find intervals where a function has a relative maxima and minima. You can also use the test to determine concavity.

## The second derivative test for extrema

The test for extrema uses critical numbers to state that:

• If the 2nd derivative f” at a critical value is positive, the function has a relative minimum at that critical value.
• If the 2nd derivative f” at a critical value is negative, the function has a relative maximum at that critical value.
• If the 2nd derivative f” at a critical value is inconclusive the function may be a point of inflection.

## Test for concavity

The second derivative test for concavity states that:

• If the 2nd derivative is greater than zero, then the graph of the function is concave up.
• If the 2nd derivative is less than zero, then the graph of the function is concave down. Inflection points indicate a change in concavity. Photo courtesy of UIC.

Example problem: What concavity does the graph x3 have between -2 and 3? Where are the local minimum(s) and local maximum(s)?

Step 1: Find the critical values for the function. (Click here if you don’t know how to find critical values).

1. Take the derivative: f’= 3x2 – 6x + 1.
2. Set the derivative equal to zero: 0 = 3x2 – 6x + 1.
3. Solve for the critical values (roots), using algebra.

There are two critical values for this function:
C1:1-13√6 ≈ 0.18.
C2:1+13√6 ≈ 1.82.

Step 2: Take the second derivative (in other words, take the derivative of the derivative):
f’ = 3x2 – 6x + 1
f” = 6x – 6 = 6(x – 1).

Step 3: Insert both critical values into the second derivative:
C1: 6(1 – 13√6 – 1) ≈ -4.89
C2: 6(1 + 13√6 – 1) ≈ 4.89.

The second derivative at C1 is negative (-4.89), so according to the second derivative rules there is a local maximum at that point.
The second derivative at C1 is positive (4.89), so according to the second derivative rules there is a local minimum at that point. Step 4: Use the second derivative test for concavity to determine where the graph is concave up and where it is concave down. For this function, the graph has negative values for the second derivative to the left of the inflection point, indicating that the graph is concave down. The graph has positive x-values to the right of the inflection point, indicating that the graph is concave up. The above graph shows x3 – 3x2 + x-2 (red) and the graph of the second derivative of the graph, f” = 6(x – 1) green. Positive x-values to the right of the inflection point and negative x-values to the left of the inflection point.

## Only Critical Point in Town Test Graph showing Global Extrema (also called Absolute Extrema) and Local Extrema (a.k.a. Relative Extrema).

The Only Critical Point in Town test is a way to find absolute extrema for functions of one variable. The test fails for functions of two variables (Wagon, 2010), which makes it impractical for most uses in calculus. Most mentions of the test in the literature (most notably, Rosenholtz & Smylie, 1995, who coined the phrase) show examples of how the test fails, rather than how it works.

## Definition for the Only Critical Point in Town test

The test states that:

Suppose that a continuous function f, defined on a certain interval, has a local extrema at point x0. If x0 is the function’s only critical point, then the function has an absolute extremum at x0

To put that another way, If a real-valued, single variable function f(x) has just one critical point and that point is also a local maximum, then the function has its global maximum at that point (Wagon 2010).

## Definition by Derivatives

The only critical point in town test can also be defined in terms of derivatives:

Suppose f : ℝ → ℝ has two continuous derivatives, has a single critical point x0 and the second derivative f′′ x0 < 0. Then the function achieves a global maximum at x0: f(x) ≤ f(x0)for all x ∈ &Ropf.

The test is practically the same as the second-derivative test for absolute extreme values. The second-derivative test can be used to find relative maximum and minimum values, and it works just fine for this purpose. The second derivative test can also be used to find absolute maximums and minimums if the function only has one critical number in its domain; This particular application of the second derivative test is what is sometimes informally called the Only Critical Point in Town test (Berresford & Rocket, 2015).

## References

Berresford, G. & Rocket, A. Brief Applied Calculus. 2015.
Nazarenko, S. MA124: Maths by Computer – Week 9.
Rosenholtz, I. & Smylie, L. “The Only Critical Point in Town Test”. Mathematics Magazine , Vol . 58, 1995.
Wagon, S. Mathematica® in Action: Problem Solving Through Visualization and Computation. 2010.

------------------------------------------------------------------------------

Need help with a homework or test question? With Chegg Study, you can get step-by-step solutions to your questions from an expert in the field. Your first 30 minutes with a Chegg tutor is free!