Math Core

Lesson 5.3 · Analytical Applications of Differentiation

Increasing and decreasing functions

The sign of the derivative tells you which way a graph is heading. A positive slope means the graph is climbing, and a negative slope means it's falling. In this lesson you'll use that idea to find exactly where a function increases and decreases, and to justify your answer the way the AP exam expects.

The derivative sign rule

Recall that ff is increasing on an interval if f(x1)<f(x2)f(x_1) < f(x_2) whenever x1<x2x_1 < x_2 in that interval, and decreasing if f(x1)>f(x2)f(x_1) > f(x_2) whenever x1<x2x_1 < x_2.

Increasing/decreasing test

Suppose ff is differentiable on an open interval II.

  • If f′(x)>0f'(x) > 0 for every xx in II, then ff is increasing on II.
  • If f′(x)<0f'(x) < 0 for every xx in II, then ff is decreasing on II.

Why is this true? It's the mean value theorem at work. Take any x1<x2x_1 < x_2 in II. The MVT gives a cc between them with

f(x2)−f(x1)=f′(c) (x2−x1).f(x_2) - f(x_1) = f'(c)\,(x_2 - x_1).

If f′>0f' > 0 everywhere on II, the right side is a positive number times a positive number, so f(x2)>f(x1)f(x_2) > f(x_1). The function went up. The same argument with f′<0f' < 0 shows the function goes down.

Sign charts

A derivative can only change sign where it equals zero or is undefined, which means at critical points (or at points where ff itself is undefined). So to find where ff increases and decreases:

  1. Find f′(x)f'(x) and factor it as much as possible.
  2. Find the critical points, plus any xx-values not in the domain of ff. These split the number line into intervals.
  3. Test one value in each interval (or read signs from the factors) to find the sign of f′f'.
  4. Where f′>0f' > 0, ff increases. Where f′<0f' < 0, ff decreases.

Worked example: A cubic

Find the intervals on which f(x)=x3−3x2−9x+2f(x) = x^3 - 3x^2 - 9x + 2 is increasing and decreasing.

Solution. f′(x)=3x2−6x−9=3(x−3)(x+1)f'(x) = 3x^2 - 6x - 9 = 3(x - 3)(x + 1). The critical points are x=−1x = -1 and x=3x = 3. Check the sign of each factor on each interval:

intervalx<−1x < -1−1<x<3-1 < x < 3x>3x > 3
sign of x+1x + 1−-++++
sign of x−3x - 3−-−-++
sign of f′(x)f'(x)++−-++
behavior of ffincreasingdecreasingincreasing

So ff is increasing for x<−1x < -1 or x>3x > 3, and decreasing on −1<x<3-1 < x < 3.

Justification: ff is increasing on (−∞,−1)(-\infty, -1) and (3,∞)(3, \infty) because f′(x)>0f'(x) > 0 there, and decreasing on (−1,3)(-1, 3) because f′(x)<0f'(x) < 0 there.

The picture below shows ff and f′f' together. Wherever the graph of f′f' is above the xx-axis, the graph of ff is rising. Wherever f′f' dips below the axis, ff falls. The turning points of ff line up exactly with the zeros of f′f'.

f(x) = x³ − 3x² − 9x + 2 (solid) and f′(x) = 3(x − 3)(x + 1) (dashed). f rises where f′ > 0 and falls where f′ < 0.Open in grapher →

Tip

Instead of plugging a test value into f′f', read the sign from the factored form. Factors that are always positive, like exe^x or x2+1x^2 + 1, never affect the sign, so you can ignore them. This is faster and avoids arithmetic slips.

Reading from the graph of f′

AP questions often show you the graph of f′f', not ff. Don't confuse the two. You're looking at the slope of ff, so the only question is: is this graph above or below the xx-axis?

Worked example: Given the graph of the derivative

The graph below is the graph of f′f', the derivative of a function ff. On what intervals is ff decreasing?

The graph of f′ (not f).Open in grapher →

Solution. ff decreases where f′(x)<0f'(x) < 0, meaning where the graph of f′f' is below the xx-axis. That happens only for x<−2x < -2. At x=1x = 1 the graph of f′f' touches the axis but doesn't go below it, so ff keeps increasing on both sides of 11. So ff is decreasing on (−∞,−2)(-\infty, -2) because f′<0f' < 0 there, and increasing on (−2,1)(-2, 1) and (1,∞)(1, \infty).

Common mistake

On a graph of f′f', "the graph is going down" does not mean ff is decreasing. It means f′f' is decreasing (the slope of ff is getting smaller). For increasing and decreasing ff, only the sign of f′f' matters: above the axis or below it.

Watch the domain

Points where ff is undefined also split the number line, even though they aren't critical points. The sign of f′f' can change across a vertical asymptote, and a function can't be "increasing across" a place where it doesn't exist.

Worked example: A rational function

Find where f(x)=x2x−1f(x) = \dfrac{x^2}{x - 1} is increasing and decreasing.

Solution. The domain excludes x=1x = 1. By the quotient rule,

f′(x)=2x(x−1)−x2(x−1)2=x2−2x(x−1)2=x(x−2)(x−1)2.f'(x) = \frac{2x(x - 1) - x^2}{(x - 1)^2} = \frac{x^2 - 2x}{(x - 1)^2} = \frac{x(x - 2)}{(x - 1)^2}.

The critical points are x=0x = 0 and x=2x = 2, and x=1x = 1 is a break in the domain. The denominator is positive wherever it's defined, so f′f' has the sign of x(x−2)x(x - 2).

intervalx<0x < 00<x<10 < x < 11<x<21 < x < 2x>2x > 2
sign of f′f'++−-−-++

ff is increasing for x<0x < 0 or x>2x > 2, and decreasing on (0,1)(0, 1) and on (1,2)(1, 2). Don't merge the last two into "0<x<20 < x < 2": that interval contains x=1x = 1, where ff isn't defined, and in fact f(0.5)=−0.5f(0.5) = -0.5 while f(1.5)=4.5f(1.5) = 4.5, so ff is not decreasing across the whole stretch.

Transcendental functions

The same method works for any differentiable function. Just remember which factors can never be zero.

Worked example: A trig function on a closed interval

Find where f(x)=x+2cos⁡xf(x) = x + 2\cos x is increasing on [0,2π][0, 2\pi].

Solution. f′(x)=1−2sin⁡xf'(x) = 1 - 2\sin x. Set it to 00: sin⁡x=12\sin x = \dfrac{1}{2}, so x=π6x = \dfrac{\pi}{6} or x=5π6x = \dfrac{5\pi}{6}. Test a value in each piece:

  • x=0x = 0: f′(0)=1>0f'(0) = 1 > 0.
  • x=π2x = \dfrac{\pi}{2}: f′ ⁣(π2)=1−2=−1<0f'\!\left(\dfrac{\pi}{2}\right) = 1 - 2 = -1 < 0.
  • x=πx = \pi: f′(π)=1>0f'(\pi) = 1 > 0.

So ff is increasing on [0,π6]\left[0, \dfrac{\pi}{6}\right] and [5π6,2π]\left[\dfrac{5\pi}{6}, 2\pi\right], and decreasing on [π6,5π6]\left[\dfrac{\pi}{6}, \dfrac{5\pi}{6}\right].

A note on endpoints: a function that increases on (a,b)(a, b) and is continuous at aa and bb also increases on [a,b][a, b], so AP graders accept either open or closed intervals. In this course's answer boxes, use strict inequalities (open intervals) unless a problem says otherwise.

Practice

Practice 1

On what interval is f(x)=x2−8x+3f(x) = x^2 - 8x + 3 increasing? Answer with an inequality in xx.

Enter an inequality, e.g. x >= 4, -2 < x <= 3, or x < 1 or x > 5

Practice 2

On what interval is f(x)=2x3+3x2−36xf(x) = 2x^3 + 3x^2 - 36x decreasing? Use strict inequalities.

Enter an inequality, e.g. x >= 4, -2 < x <= 3, or x < 1 or x > 5

Practice 3

On what intervals is f(x)=x4−8x2f(x) = x^4 - 8x^2 increasing? Use strict inequalities, joining intervals with "or".

Enter an inequality, e.g. x >= 4, -2 < x <= 3, or x < 1 or x > 5

Practice 4

On what interval is f(x)=xe−2xf(x) = xe^{-2x} increasing?

Enter an inequality, e.g. x >= 4, -2 < x <= 3, or x < 1 or x > 5

Practice 5

The graph of f′f', the derivative of ff, is shown. On which interval is ff decreasing?

The graph of f′.Open in grapher →
Practice 6

On what interval is f(x)=ln⁡(x2+1)f(x) = \ln(x^2 + 1) decreasing?

Enter an inequality, e.g. x >= 4, -2 < x <= 3, or x < 1 or x > 5

Practice 7

On what interval is f(x)=xx2+4f(x) = \dfrac{x}{x^2 + 4} increasing? Use strict inequalities.

Enter an inequality, e.g. x >= 4, -2 < x <= 3, or x < 1 or x > 5

Practice 8

For a differentiable function gg, a student writes: "gg is decreasing on (1,5)(1, 5)." Which reason is a correct justification?