Skip to lesson content

Lesson 4 of 7

Application of Derivatives · Lesson 4 of 7

Testing for Local Extrema

“Classify critical points using derivative signs and choose a valid test when a shortcut is inconclusive.”

Learning Objectives

• Apply the first derivative test at continuous critical points. • Apply the second derivative test at suitable stationary points. • Handle nondifferentiable extrema and zero second derivatives. • Distinguish a stationary point, a turning point, and an inflection point. • Report local extreme values as well as their input locations.

Turn a Candidate into a Classification

Solving finds places worth investigating, but does not tell you whether the graph has a peak, a valley, or neither. To classify a critical point, ask how the function behaves just before and just after it. The sign of the derivative turns this graphical question into a procedure.

The first derivative test concerns a function continuous at an interior critical point, with derivative signs controlled on the neighbouring intervals. It can work even when the derivative does not exist at the point itself. What matters is the behaviour on the two sides and the continuity connecting them.

Sign just left of Sign just right of Conclusion at
PositiveNegativeLocal maximum
NegativePositiveLocal minimum
PositivePositiveNo local extremum
NegativeNegativeNo local extremum

In the first row, values rise towards and fall after it, so is a local peak. In the second row, values fall towards and rise after it, giving a valley. In the last two rows the direction does not reverse, so the graph passes through without turning.

Example — A cubic with a peak and a valley

Problem
Find and classify all local extrema of .

  1. 1.Differentiate: . The stationary candidates are and 1.
  2. 2.For the derivative is positive, for it is negative, and for it is positive.
  3. 3.At , the sign changes from positive to negative: a local maximum. Its value is .
  4. 4.At 1, the sign changes from negative to positive: a local minimum. Its value is .
  5. 5.The inputs are locations; the outputs 5 and 1 are the corresponding local extreme values.
Sign of f′(x)Read each interval from left to right.+−+-11
Classifying two stationary points— The sign applies throughout an interval, not just at one test point.
xy(−1, 5)(1, 1)
The sign changes produce a peak and a valley— A positive-to-negative change gives the peak; a negative-to-positive change gives the valley.
Example — A repeated derivative root without a turn

Problem
Classify the critical point of .

  1. 1.The derivative is , zero only at .
  2. 2.For inputs on either side of 1, the squared factor is positive. Thus the derivative stays positive rather than changing sign.
  3. 3.The input 1 is neither a local maximum nor a local minimum. Its output is .
  4. 4.For this particular cubic, changes sign at 1, so concavity changes there: it is a stationary inflection point.
No extremum does not automatically mean inflection

An inflection point is where the curve changes concavity. A derivative that does not change sign proves “no local extremum” under the first derivative test; it does not alone prove a concavity change. For example, has one at zero, but has no change in concavity there.

The Second Derivative as a Shortcut

When a function is sufficiently smooth, its second derivative can classify a stationary point without a full sign chart. A positive second derivative corresponds to a valley shape; a negative one corresponds to a peak shape. The stationary-point condition is essential.

Second derivative testLaTeX
Use the test when the function is twice differentiable in a neighbourhood of the stationary point. If the second derivative is zero, the test gives no conclusion.

The reasoning can be seen through the first derivative. A positive second derivative at a stationary point under these conditions makes the first derivative change from negative to positive there. A negative one gives the opposite change. This is another way to detect turning behaviour, not an unrelated rule.

Example — Three critical points in one quartic

Problem
Find local extrema of .

  1. 1.Differentiate and factor: , so the candidates are .
  2. 2.Differentiate again: . At it is 72, at 0 it is , and at 1 it is 36.
  3. 3.The positive values give local minima at and 1. The negative value gives a local maximum at 0.
  4. 4.Evaluate the original function: , , and .
  5. 5.There are two local minimum values at different inputs. Local valleys need not have equal heights.

When a Test Does Not Apply

A failed test is not a failed function. If the second derivative is unavailable or zero, return to the first derivative signs or compare function values directly. Treating “inconclusive” as “no extremum” would lose genuine maxima and minima.

Example — A corner handled by the first derivative test

Problem
Find the local minimum of .

  1. 1.The function is continuous at 0, but its derivative does not exist there, so 0 is a critical point.
  2. 2.For , and . For , and .
  3. 3.The derivative changes from negative to positive across 0. There is a local minimum at 0, with value .
  4. 4.The second derivative test cannot be used at the corner. The first derivative test succeeds because its side conditions hold.
xy(0, 3)
A corner minimum survives without a derivative— The left branch decreases and the right branch increases. The central value is the local minimum.
Example — A zero second derivative requires another test

Problem
Apply the second derivative test to at its stationary point.

  1. 1.As before, , so the stationary point is at 1.
  2. 2.Since , . The second derivative test is inconclusive.
  3. 3.The first derivative is positive on both sides, proving no local extremum. The separate concavity change establishes that this example has a stationary inflection point.
  4. 4.The conclusion came from further analysis, not from alone.
Function at input 0First derivative thereSecond derivative thereActual behaviour
00Local minimum
00Local maximum
00Neither; stationary inflection

These three functions show why zero second derivative carries no classification by itself. To find all local extrema, list every critical point in the domain, test each one, and calculate the associated output values. Keep domain endpoints for the separate absolute-extrema comparison.

Choosing a test

Use the first derivative test when a factored derivative makes signs easy, or when a corner is involved. Use the second test when its values at stationary points are quick to evaluate and nonzero. Check the assumptions whichever test you choose.

Check Your Understanding

Use these questions to check both your calculations and your interpretation of the ideas. Read the conditions carefully before choosing an answer.

Quiz

Quick check

Across , the derivative changes from positive to negative. What occurs?

Quick check

If and under the second-test conditions, what follows?

Quick check

What follows from alone?

Quick check

Why is 0 a local minimum of ?

Quick check

For , what is the local maximum value?

Quick check

What additional property defines an inflection point?

Practice Problems

Practice Problems
  1. Find all local extrema of , giving values and input locations.
  2. Find the local extrema of on and of on .
  3. Classify the critical point of on .
  4. Find and classify the critical points of .
  5. Find the local extrema of on , checking the domain while differentiating.
  6. Use first derivative signs to classify critical points of . Separately check which stationary point is an inflection point.
  7. Explain why , , and have different classifications at 0 even though their first two derivatives there are zero.

Key Takeaways

Key Takeaways

• A positive-to-negative derivative change gives a local maximum; the reverse gives a local minimum. • A nonzero second derivative classifies a stationary point under the test’s smoothness conditions. • A zero second derivative is inconclusive, so use another method. • An undefined derivative can occur at a genuine extremum. • Inflection requires a concavity change and cannot be inferred from absence of an extremum alone.