Extrema, Concavity and Curve Sketching
Find critical points, use the first and second derivative tests, read concavity and inflection points, and locate absolute extrema on closed intervals.
Welcome back!
Step 1 of 13Learn
Where a graph turns around
After a dose of medicine, its concentration in the blood rises, peaks, then slowly falls. Doctors care a lot about that peak: too high is toxic, too low is useless. Finding it is a calculus problem.
At the top of a smooth peak, the curve stops rising and starts falling, so the tangent line is horizontal: f'(x) = 0. The same is true at the bottom of a valley. Peaks and valleys can also happen at sharp corners, where f' doesn't exist.
A critical point (or critical number) of f is a number c in the domain where f'(c) = 0 or f'(c) does not exist. Critical points are the candidates for local maximums and minimums.
- A local maximum at c means f(c) is at least as large as every nearby value.
- A local minimum at c means f(c) is at most every nearby value.
- Together they're called local extrema.
Not every critical point is an extremum. For f(x) = x³, f'(0) = 0, but the graph just flattens momentarily and keeps rising; there's no peak or valley. So after finding critical points, you need a test to classify them. This lesson gives you two: the first derivative test and the second derivative test.
Step 2 of 13Learn
Increasing, decreasing and the first derivative test
The sign of f' tells you which way f is going:
- f'(x) > 0 on an interval means f is increasing there.
- f'(x) < 0 means f is decreasing.
First derivative test. At a critical point c:
- f' changes from + to −: local maximum (rising, then falling).
- f' changes from − to +: local minimum.
- f' doesn't change sign: neither.
Example. f(x) = x³ − 3x² − 9x + 5
- f'(x) = 3x² − 6x − 9 = 3(x − 3)(x + 1). Critical points: x = −1 and x = 3.
- Sign chart. Test a value in each interval:
- x = −2: f'(−2) = 3(−5)(−1) = 15 > 0, so f is increasing on (−∞, −1).
- x = 0: f'(0) = −9 < 0, so f is decreasing on (−1, 3).
- x = 4: f'(4) = 3(1)(5) = 15 > 0, so f is increasing on (3, ∞).
- Classify. At x = −1, f' goes + to −: local max, f(−1) = −1 − 3 + 9 + 5 = 10. At x = 3, f' goes − to +: local min, f(3) = 27 − 27 − 27 + 5 = −22.
Report extrema as both a location and a value: "a local maximum of 10 at x = −1." A common mistake is reporting only x = −1 when the question asks for the maximum value.
Step 3 of 13Practice · Work it out
f(x) = x³ − 12x has a local maximum. What is the local maximum value?
Step 4 of 13Practice · Chart
f(x) = x3 − 12x
Tap the local minimum.
Tap the point that answers the question, then press Check.
| x | f(x) |
|---|---|
| −4 | -16 |
| −3 | 9 |
| −2 | 16 |
| −1 | 11 |
| 0 | 0 |
| 1 | -11 |
| 2 | -16 |
| 3 | -9 |
| 4 | 16 |
Step 5 of 13Learn
Concavity and the second derivative
The second derivative describes how the slope itself is changing, which shows up as the bending of the graph.
- f''(x) > 0: the slope is increasing, and the graph is concave up, shaped like a cup (∪). It holds water.
- f''(x) < 0: the slope is decreasing, and the graph is concave down, shaped like a cap (∩). It spills water.
An inflection point is where the concavity changes. For f(x) = x³ − 3x² − 9x + 5: f''(x) = 6x − 6, which is negative for x < 1 and positive for x > 1. So the graph is concave down, then concave up, with an inflection point at x = 1, where f(1) = −6.
Second derivative test. At a critical point c with f'(c) = 0:
- f''(c) < 0 (concave down, a cap): local maximum.
- f''(c) > 0 (concave up, a cup): local minimum.
- f''(c) = 0: the test fails; use the first derivative test instead.
For our example, f''(−1) = −12 < 0 confirms the maximum at x = −1, and f''(3) = 12 > 0 confirms the minimum at x = 3.
Concavity has real meaning. If a company's sales are increasing but concave down, growth is slowing. A news story saying "the rate of increase is decreasing" is describing f' > 0 with f'' < 0.
Step 6 of 13Explore
Cubic explorer: f(x) = x³ + bx² + cx
f'(x) = 3x² + 2bx + c, and f''(x) = 6x + 2b. When the discriminant of f' is positive, the cubic has a local max and a local min; when it is negative, the graph never turns around. The inflection point always sits at x = −b/3, exactly halfway between the two critical points when they exist.
- Discriminant of f' (4b² − 12c)
- 144
- Inflection point x = −b/3
- 1
- f'' at x = 0 (2b)
- -6
Step 7 of 13Practice · Match the pairs
Match each piece of information about f near x = c to the correct conclusion.
Tap an answer, then tap the place where it belongs (or drag it there).
- f'(c) = 0 and f''(c) > 0
- f'(c) = 0 and f''(c) < 0
- f' is positive on both sides of c
- f'' changes sign at c
- f'(x) < 0 on an interval
Step 8 of 13Practice · Diagram
Direction and bending: the signs of f′ and f″
Cooling coffee: its temperature drops quickly at first, then more and more slowly. Which quadrant?
Tap the shape that answers the question, then press Check.
- Rising, slowing down
Increasing and concave down, like a rocket running out of fuel.
- Rising faster and faster
Increasing and concave up, like early compound growth.
- Falling faster and faster
Decreasing and concave down.
- Falling, leveling off
Decreasing and concave up, like cooling coffee approaching room temperature.
Step 9 of 13Learn
Absolute extrema on a closed interval
Local extrema are about nearby points. Often you need the absolute maximum or minimum: the largest or smallest value of f on a whole interval.
Extreme value theorem. If f is continuous on a closed interval [a, b], then f has both an absolute maximum and an absolute minimum on [a, b].
They can occur only at critical points inside the interval or at the endpoints. That gives the closed interval method:
- Find the critical points of f in (a, b).
- Evaluate f at each critical point and at both endpoints.
- The largest value is the absolute max; the smallest is the absolute min.
No sign charts needed: just compare values.
Example. f(x) = x³ − 3x on [0, 2].
- f'(x) = 3x² − 3 = 0 at x = ±1. Only x = 1 is in the interval.
- f(0) = 0, f(1) = 1 − 3 = −2, f(2) = 8 − 6 = 2.
- Absolute max: 2 at x = 2 (an endpoint). Absolute min: −2 at x = 1.
Forgetting the endpoints is the classic error. Here the maximum is at an endpoint, and checking only the critical point would miss it entirely.
On an open interval or an infinite one, an absolute extremum might not exist at all: f(x) = x on (0, 1) never reaches a largest value.
Step 10 of 13Practice · Work it out
What is the absolute maximum value of f(x) = x² − 4x + 1 on the interval [0, 5]?
Step 11 of 13Note
Step 12 of 13Practice · True or false
If f''(c) = 0, then f must have an inflection point at x = c.
Step 13 of 13Practice · Choose one
For a twice-differentiable function, f'(2) = 0 and f''(2) = −5. What can you conclude?
Lesson complete!