Chalk−1

Math · Calculus I · Worked example

When the second derivative test fails

Find the local extrema and inflection points of f⁡(x)=x4−4x3.

f⁡(x)=x4−4x3

Try one — Chalk checks each line

Differentiate

The power rule gives f′(x)=4x3−12x2.

f′(x)=4x3−12x2

Factor to find the critical points

Unlike the cubic, one factor here is squared. f′(x)=4x2(x−3) is zero at x=0 and x=3.

f′(x)=4x2(x−3)

Differentiate again

f′⁢′(x)=12x2−24⁢x.

f′′(x)=12x2−24⁢x

Try the second derivative test

At x=3, f′⁢′(3) =108−72 =36 >0, so the graph is concave up there and f⁡(3) is a local minimum. At x=0, f′⁢′(0)=0, and the test gives no answer.

f′′(3)=36>0,f′′(0)=0

Find the minimum value

f⁡(3)=81−108=−27.

f⁡(3)=−27

Use the first derivative test at x=0

The factor 4x2 is never negative, so f′ has the sign of x−3, which is negative on both sides of 0. The graph falls through x=0 without turning, so there is no extremum there.

Sign of f′(x) =4x2(x−3)
IntervalTest xf′(x)f is
x<0−1−16decreasing
0 <x <31−8decreasing
x>3464increasing

Find where the concavity changes

Factored, f′⁢′(x)=12⁢x⁢(x−2) changes sign at x=0 and x=2. The graph is concave up for x<0, down for 0<x<2 and up for x>2.

f′′(x)=12⁢x⁢(x−2)

Find the inflection points

f⁡(0)=0 and f⁡(2)=16−32=−16, so the inflection points are (0,0) and (2,−16). The point x=0 is a critical point and an inflection point, but not an extremum.

f⁡(2)=−16

Result

The only local extremum is the minimum f⁡(3)=−27. The inflection points are (0,0) and (2,−16). The critical point x=0 is not an extremum.

Your turn

1. One like the example

Does f⁡(x)=x3 have a local extremum at x=0? What do the two tests say?

Show the answer and explanation

No. f′(0)=0 and f′⁢′(0)=0, so the second test is silent, and the first test finds no change of sign.

f′(x)=3x2 is positive on both sides of 0, so f rises through 0 without turning. f′⁢′(x)=6⁢x changes sign at 0, so (0,0) is an inflection point.

f⁡(x)=x3f′(x)=3x2f′′(x)=6⁢xf′(0)=0f′′(0)=0

2. A variation

f⁡(x)=x4 also has f′(0)=0 and f′⁢′(0)=0. Is 0 an extremum, an inflection point, or neither?

Show the answer and explanation

A minimum, and not an inflection point.

f′(x)=4x3 goes from negative to positive at 0, so f⁡(0)=0 is a local minimum, in fact the lowest value. f′⁢′(x)=12x2 is never negative, so the concavity never changes. Both x3 and x4 have f′⁢′(0)=0 yet behave differently, which is why the second test gives no answer there.

f⁡(x)=x4f′(x)=4x3f′′(x)=12x2f′′(0)=0

3. Somewhere new

Find the local extrema of f⁡(x)=x+1⁢/⁢x and compare their values. Is there an inflection point?

Show the answer and explanation

Local maximum f⁡(−1)=−2 and local minimum f⁡(1)=2. There is no inflection point.

f′(x)=1−1⁢/x2 is 0 at x=±1, and f′⁢′(x)=2⁢/x3 is negative at −1 and positive at 1, which gives the maximum and the minimum. The local maximum, −2, is lower than the local minimum, 2, because “local” compares only nearby points and the graph breaks at 0. The concavity changes across 0, but 0 is not in the domain, so there is no inflection point.

f⁡(x)=x+1xf′(x)=1−1x2f′′(x)=2x3f⁡(−1)=−2f⁡(1)=2

Keep exploring

In Secant → Tangent at x=0, the tangent is flat, yet the curve keeps falling on both sides. With Auto trace on, move P across 0: the dots of f′ touch 0 there and stay below it on both sides.

Return to the concept →
Sources and scope

Authored study material. Tool results depend on the stated inputs and model assumptions.

After reading

Try it, then study it

Open the example in its tool to check steps or change values, then review the key terms as flashcards.

Trace the derivative at x=0 in Secant → Tangent Check the derivatives in Math Study the 7 key terms Open worked example on a board Derivative tests in Math Reference

Your existing work stays on this device. Examples open as editable copies.