Watch on Instagram

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.

Posted · About a 1 minute watch, 3 minute read · Take the quiz

The sign of the derivative

The derivative f′(x) is the slope of the graph at x.

  • If f′(x) > 0 on an interval, f is increasing there: the graph goes up as you move right.
  • If f′(x) < 0 on an interval, f is 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 at x = −1, where f(−1) = −1 + 3 = 2.
  • Down, then up (f′ changes from − to +): a valley, a local min. Here at x = 1, where f(1) = 1 − 3 = −2.

So the graph of x³ − 3x rises to (−1, 2), falls to (1, −2), then rises again.

Try it yourself

  1. Find the local max and local min of f(x) = x³ − 12x.
  2. Where is g(x) = x² + 2x increasing, 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

  • f is increasing where f′ > 0 and decreasing where f′ < 0. A local max is where f′ 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′ = 0 or f′ doesn't exist. This short only shows f′ = 0.
  • f′ = 0 alone doesn't guarantee a max or min: x³ is flat at 0 but is neither. That's why you test the signs. Lesson 14 shows that case.
  • "Local" means highest or lowest nearby. x³ − 3x has 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.

1If f′(x) > 0 on an interval, what is the graph of f doing there?
2What are the critical points of f(x) = x³ − 3x?
3The sign of f′ changes from + to − at a critical point. What is there?
4For f(x) = x³ − 3x, where is the local min?

Sources

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

All Calculus lessons