**Contents:**

- What is a Second Derivative?
- Find the Second Derivative (Examples)
- Second Derivative Test
- Only Critical Point in Town Test

## 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 2x^{3}.

Step 1: **Take the derivative:**

f’ 2x^{3} = 6x^{2}

Step 2: **Take the derivative of your answer from Step 1**:

f’ 6x^{2} = 12x

**Example question 2:** Find the 2nd derivative of 3x^{5} – 5x^{3} + 3

Step 1: **Take the derivative:**

f’ 3x^{5} – 5x^{3} + 3 = 15x^{4} – 15x^{2} = 15x^{2} (x-1)(x+1)

Step 2: **Take the derivative of your answer from Step 1**:

f’ 15x^{2} (x-1)(x+1) = 60x^{3} – 30x = 30x(2x^{2} – 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.

**Example problem:**What concavity does the graph x^{3}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).

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

There are two critical values for this function:

C_{1}:1-^{1}⁄_{3}√6 ≈ 0.18.

C_{2}:1+^{1}⁄_{3}√6 ≈ 1.82.

Step 2: **Take the second derivative** (in other words, take the derivative of the derivative):

f’ = 3x^{2} – 6x + 1

f” = 6x – 6 = 6(x – 1).

Step 3: **Insert both critical values into the second derivative**:

C_{1}: 6(1 – ^{1} ⁄_{3}√6 – 1) ≈ -4.89

C_{2}: 6(1 + ^{1} ⁄_{3}√6 – 1) ≈ 4.89.

The second derivative at C_{1} is negative (-4.89), so according to the second derivative rules there is a local maximum at that point.

The second derivative at C_{1} 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 x^{3} – 3x^{2} + 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

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 x_{0}. If x_{0}is the function’s only critical point, then the function has an absolute extremum at x_{0}

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 x_{0}and the second derivative f′′ x_{0}< 0. Then the function achieves a global maximum at x_{0}:f(x) ≤f(x_{0})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.

**CITE THIS AS:**

**Stephanie Glen**. "Second Derivative: Test, Examples" From

**CalculusHowTo.com**: Calculus for the rest of us! https://www.calculushowto.com/derivatives/second-derivative-test/

**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!