Math Bytes · Calculus · Episode 13 · Analyzing functions
Increasing, decreasing, max and min
The sign of the derivative tells you where a graph goes up or down. Where f′ changes from positive to negative there is a local max; where it changes from negative to positive there is a local min. For f(x) = x³ − 3x, f′(x) = 3x² − 3 is zero at x = −1 and x = 1, giving a local max at x = −1 and a local min at x = 1.
The sign of the derivative
The derivative f′(x) is the slope of the graph at x.
- If
f′(x) > 0on an interval,fis increasing there: the graph goes up as you move right. - If
f′(x) < 0on an interval,fis decreasing there: the graph goes down.
Find the critical points
Take f(x) = x³ − 3x. By the power rule, its derivative is
f′(x) = 3x² − 3
Set it to zero: 3x² − 3 = 0, so x² = 1, so x = −1 or x = 1. These are the critical points: the only places where the slope can switch sign. (Critical points also include places where f′ doesn't exist; this example has none.)
Test the signs
The critical points cut the number line into three pieces. Pick one test value in each piece:
| Region | Test value | f′ | Sign | Graph | |---|---|---|---|---| | left of −1 | x = −2 | 3(4) − 3 = 9 | + | going up | | between −1 and 1 | x = 0 | −3 | − | going down | | right of 1 | x = 2 | 3(4) − 3 = 9 | + | going up |
This is a sign chart: + − +.
Read off the max and min
This is the first derivative test:
- Up, then down (
f′changes from + to −): a hilltop, a local max. Here atx = −1, wheref(−1) = −1 + 3 = 2. - Down, then up (
f′changes from − to +): a valley, a local min. Here atx = 1, wheref(1) = 1 − 3 = −2.
So the graph of x³ − 3x rises to (−1, 2), falls to (1, −2), then rises again.
Try it yourself
- Find the local max and local min of
f(x) = x³ − 12x. - Where is
g(x) = x² + 2xincreasing, and where is it decreasing?
(Answers: 1. f′(x) = 3x² − 12 = 0 at x = −2 and x = 2. Signs + − +, so a local max at x = −2 (f(−2) = 16) and a local min at x = 2 (f(2) = −16). 2. g′(x) = 2x + 2 is negative for x < −1 and positive for x > −1, so g decreases on x < −1 and increases on x > −1.)
Good to know
fis increasing wheref′ > 0and decreasing wheref′ < 0. A local max is wheref′changes from positive to negative; a local min is where it changes from negative to positive (the first derivative test, AP Calculus Unit 5).- Critical points are where
f′ = 0orf′doesn't exist. This short only showsf′ = 0. f′ = 0alone doesn't guarantee a max or min:x³is flat at0but is neither. That's why you test the signs. Lesson 14 shows that case.- "Local" means highest or lowest nearby.
x³ − 3xhas no overall (absolute) max or min on all real numbers, because it keeps rising to the right and falling to the left.
Answer to the comment question
f(x) = x² − 8x. At what x is the minimum? x = 4. The derivative is f′(x) = 2x − 8, which is zero at x = 4. Left of 4 (try x = 0) f′ = −8, negative; right of 4 (try x = 5) f′ = 2, positive. Down, then up: a minimum, with f(4) = 16 − 32 = −16.
Test your knowledge
Quick quiz: Increasing, decreasing, max and min
4 multiple-choice questions. Pick one answer for each, then check how you did.
Sources
- OpenStax, "Calculus Volume 1, 4.5 Derivatives and the Shape of a Graph": the sign of f′ and increasing/decreasing; the first derivative test
- OpenStax, "Calculus Volume 1, 4.3 Maxima and Minima": local extrema and critical points
- College Board, "AP Calculus AB and BC Course and Exam Description": Unit 5, Analytical Applications of Differentiation (increasing and decreasing intervals; the first derivative test for relative extrema)
- MIT OpenCourseWare, "18.01 Single Variable Calculus (Fall 2006)": lecture notes on curve sketching
Video transcript
How can you find the hilltops and valleys of a graph without drawing it?
Use the sign of the derivative. Positive means going up. Negative means going down.
Try f(x) = x³ − 3x. Its derivative is 3x² − 3.
That's zero at x = −1 and x = 1. Those are the critical points.
Test the signs. Left of −1, the derivative is positive. Between them, negative. Right of 1, positive again.
Up, then down: a hilltop, a local max, at −1. Down, then up: a valley, a local min, at 1.
Your turn. f(x) = x² − 8x. At what x is the minimum? Comment your answer below!
That's your byte.
More from Calculus
- Calculus EP10Related rates
- Calculus EP11Position, velocity, acceleration
- Calculus EP15The mean value theorem
- Calculus EP16What an integral is