| Rising and falling | |
|---|---|
| First derivative test at a critical point c | |
| Candidates test on [a, b] |
Lesson
The theory — First Derivative Test
A critical point of f is an x where f has a value and f′(x) = 0 or f′(x) does not exist. The first derivative test: if f is continuous at a critical point c and f′ changes from + to − across it, f(c) is a local maximum; from − to +, a local minimum; if f′ keeps its sign, neither.
Where the formula comes from
- Find f′ and the critical points. Solve f′(x) = 0, and add every x where f has a value and f′ does not (a corner, a cusp). Where f itself has no value, an asymptote or a gap, the line is split too, but that x is not a critical point.
- Draw the sign chart. Between neighbouring split points f′ keeps one sign, so one test value in each interval decides it. On the page these are the + and − in the strip under the graph.
- Read rising and falling. Where f′ > 0 f increases and where f′ < 0 it decreases. The mean value theorem is why: any chord across the interval has the slope of some tangent inside it.
- Classify each critical point by the signs on its two sides.
- On a closed interval [a, b], with f continuous there, the absolute maximum and minimum are among the candidates: f at a, at b and at every critical point inside. Compare the values; an end can win.
Problems solved in full
-
A cubic with a maximum and a minimum 3 steps
Find the intervals on which f(x) = 2x³ − 3x² − 12x increases and decreases, and classify its critical points.
-
Differentiate and factorise, then set f′ = 0:
-
Test one value in each interval, for instance f′(−2) = 24, f′(0) = −12, f′(3) = 24:
-
Read the two critical points off the chart:
Answer
Increasing on (−∞, −1) and (2, ∞), decreasing on (−1, 2); a local maximum f(−1) = 7 and a local minimum f(2) = −20.
-
-
f′ = 0 without a change of sign 3 steps
Find and classify the critical points of f(x) = x⁴ − 4x³.
Show solution
-
Differentiate and factorise:
-
The factor x² is never negative, so f′ has the sign of x − 3 on both sides of 0:
-
So 0 is a critical point where f only pauses, the case of x³ on the derivative page, and 3 is a turn:
Answer
x = 0 is neither; f(3) = −27 is a local minimum. f decreases on (−∞, 3) straight through 0 and increases on (3, ∞).
-
-
A cusp: f′ does not exist 3 steps
Find and classify the critical points of f(x) = x − 3x^(2/3).
Show solution
-
Differentiate. f′ is 0 where the numerator is, and does not exist where the denominator is 0, although f(0) = 0 exists:
-
The sign chart, with the denominator's sign changing at 0:
-
Both points are critical, and both are turns:
Answer
A local maximum f(0) = 0, at a cusp where f′ does not exist, and a local minimum f(8) = −4. Solving f′ = 0 alone misses the maximum.
-
-
A sign change at an asymptote 3 steps
f(x) = x + 4/x². Find where f increases and decreases and classify every critical point.
Show solution
-
Differentiate. f′ is 0 at x = 2 and has no value at 0, where f has none either:
-
Split the line at 2 and at 0 and test each piece:
-
f′ changes from + to − across 0, but 0 is not in the domain of f, so it is not a critical point and there is no maximum there; the graph runs up the asymptote. The only critical point is 2:
Answer
Increasing on (−∞, 0) and (2, ∞), decreasing on (0, 2); one local minimum, f(2) = 3.
-
-
A trigonometric function on an interval 3 steps
Classify the critical points of f(x) = 2 sin x + sin 2x on [0, 2π] and find its absolute extremes there.
Show solution
-
Use cos 2x = 2cos²x − 1 and factorise:
-
cos x + 1 ≥ 0 and is 0 only at π, so the sign of f′ is the sign of 2cos x − 1, except at π itself:
-
Compare the candidates, ends included:
Answer
A local maximum f(π/3) = 3√3/2 ≈ 2.5981, a local minimum f(5π/3) = −3√3/2 ≈ −2.5981, and π is neither. Both ends give 0, so the two turns are also the absolute maximum and minimum.
-
-
The candidates test: the maximum at an end 2 steps
Find the absolute maximum and minimum of f(x) = x³ − 3x on [0, 3].
Show solution
-
f is a polynomial, continuous on [0, 3]. The critical points:
-
Only x = 1 lies inside (0, 3). Evaluate f at it and at both ends:
Answer
The absolute maximum is f(3) = 18, at the end; the absolute minimum is f(1) = −2. At x = 3 f′ = 24, not 0, as for the depth-limited box on the optimisation page.
-
-
No critical point inside 2 steps
Find the absolute extremes of f(x) = x³ + 3x on [−1, 2].
Show solution
-
Differentiate:
-
So f is increasing on the whole interval, and the only candidates are the ends:
Answer
Absolute minimum f(−1) = −4, absolute maximum f(2) = 14.
-
-
Reading the intervals from a factorised f′ 2 steps
A function f has f′(x) = (x + 2)(x − 1)²(x − 4). On which intervals is f increasing, and what are its critical points?
Show solution
-
The critical points are the zeros of the factors:
-
A squared factor is never negative and does not change the sign; the other two do:
Answer
Increasing on (−∞, −2) and (4, ∞), decreasing on (−2, 4); a local maximum at −2, a local minimum at 4, and x = 1 is neither. No formula for f was needed.
-
Supplementary problems, answers only
-
Classify the critical points of f(x) = x³ − 12x.
Show answer
local maximum f(−2) = 16, local minimum f(2) = −16
-
Where does f(x) = x e^(−x) increase and decrease?
Show answer
increasing on (−∞, 1), decreasing on (1, ∞); local maximum f(1) = 1/e ≈ 0.3679
-
Find and classify the critical points of f(x) = |x² − 4|.
Show answer
local minima f(−2) = f(2) = 0, at corners; local maximum f(0) = 4
-
Classify the critical points of f(x) = x/(x² + 1).
Show answer
local minimum f(−1) = −1/2, local maximum f(1) = 1/2
-
Find the absolute extremes of f(x) = x⁴ − 2x² on [−2, 3].
Show answer
absolute maximum f(3) = 63; absolute minimum −1, at x = −1 and x = 1
-
Find the absolute extremes of f(x) = x − 2 sin x on [0, π].
Show answer
absolute minimum f(π/3) = π/3 − √3 ≈ −0.6849; absolute maximum f(π) = π
Learning path
What f′ and f″ say about a graph
References (3)
- The definition of a critical number (f′(c) = 0 or f′(c) undefined), the extreme value theorem (Theorem 4.1), Fermat's theorem (Theorem 4.2) and the strategy for absolute extrema on a closed interval that the candidates table follows: evaluate f at the ends and at the critical points inside, and compare: G. Strang and E. Herman, Calculus Volume 1, OpenStax (2016), section 4.3, “Maxima and Minima”.
- The first derivative test (Theorem 4.9), and Corollary 3 of the mean value theorem: f′ > 0 on an interval makes f increasing there: G. Strang and E. Herman, Calculus Volume 1, OpenStax (2016), section 4.5, “Derivatives and the Shape of a Graph”.
- Insight block 1: Darboux's memoir of 1875 on discontinuous functions, where a derivative is shown to take every value between any two of its values, continuous or not: G. Darboux, “Mémoire sur les fonctions discontinues”, Annales scientifiques de l'École Normale Supérieure, 2e série, 4 (1875), 57–112.