girgit.org

Application of Derivatives

Sign charts: where does a function rise and fall?

The big ideaTo find where a function rises and falls, find the points where f′ is zero, cut the number line there, and test the sign of f′ on each piece: a sign chart turns the whole job into one small table.

In simple words

A path can only change from going up to going down at a spot where it is flat for a moment. So first find all the flat spots. They cut the path into pieces. On each piece the path goes only one way, so you can test any one point of that piece and you know the whole piece.

The method

  1. Find \( f'(x) \) and factorise it as far as you can.
  2. Solve \( f'(x) = 0 \), and note any points where f′ does not exist. These points split the line (or the given interval) into disjoint intervals, pieces that do not overlap.
  3. In each interval, find the sign of f′: either plug in a test point, or read the sign of each factor.
  4. f′ > 0: f is increasing there. f′ < 0: f is decreasing there.

Because f is continuous at the cutting points, you may write the intervals with closed brackets at those points, like [1, 2]; the open versions are also accepted.

Worked example 1

\( f(x) = x^2 - 6x + 5 \). Then \( f'(x) = 2x - 6 \), which is 0 at x = 3. For x < 3, 2x − 6 < 0; for x > 3, it is positive. So f is decreasing on (−∞, 3) and increasing on (3, ∞). (The graph is a U with its bottom at x = 3.)

Worked example 2

\( f(x) = 2x^3 - 9x^2 + 12x + 1 \). Then \( f'(x) = 6x^2 - 18x + 12 = 6(x - 1)(x - 2) \), zero at x = 1 and x = 2. Three intervals:

Intervalx − 1x − 2Sign of f′f is
(−∞, 1)−−(−)(−) > 0increasing
(1, 2)+−(+)(−) < 0decreasing
(2, ∞)++(+)(+) > 0increasing

f is increasing on (−∞, 1) and (2, ∞), decreasing on (1, 2), and neither on R as a whole.

Worked example 3: three factors

\( f(x) = x^4 - 2x^2 \). Then \( f'(x) = 4x^3 - 4x = 4x(x - 1)(x + 1) \), zero at −1, 0, 1.

IntervalTest xx + 1xx − 1f′f is
(−∞, −1)−2−−−−decreasing
(−1, 0)−0.5+−−+increasing
(0, 1)0.5++−−decreasing
(1, ∞)2++++increasing

The signs alternate because each cutting point is a simple root. The graph is a W shape.

Try it: drag the test line across each worked example and watch every factor's sign.

Worked example 4: on a given interval

\( f(x) = \sin x - \cos x \) on [0, 2π]. Then \( f'(x) = \cos x + \sin x \), which is 0 when tan x = −1, that is, at \( x = \frac{3\pi}{4} \) and \( \frac{7\pi}{4} \). Test points: f′(0) = 1 > 0; f′(π) = −1 < 0; near 2π, f′ ≈ 1 > 0. So f is increasing on \( \left[ 0, \frac{3\pi}{4} \right) \) and \( \left( \frac{7\pi}{4}, 2\pi \right] \), and decreasing on \( \left( \frac{3\pi}{4}, \frac{7\pi}{4} \right) \).

Don't mix these up

  • A repeated factor does not flip the sign. If \( f'(x) = (x - 2)^2(x + 1) \), the sign changes at −1 but not at 2, because \( (x - 2)^2 \ge 0 \) on both sides.
  • For trigonometric f, only keep the zeros of f′ that lie inside the given interval.
  • In Example 2, f is increasing on (−∞, 1) and on (2, ∞) separately, but not on the two pieces joined together: 0.9 < 2.1, yet f(0.9) ≈ 5.97 is more than f(2.1) ≈ 5.03. Write the intervals separately.

Try it. Where is \( f(x) = x e^{-x} \) increasing and where decreasing?

Answer
\( f'(x) = e^{-x} - x e^{-x} = e^{-x}(1 - x) \). Since \( e^{-x} > 0 \) always, the sign is the sign of 1 − x: increasing on (−∞, 1), decreasing on (1, ∞).

Words to know

Sign chart
A table of intervals showing whether f′ is positive or negative on each.
Disjoint intervals
Pieces of the number line that do not overlap.
Test point
Any one number inside an interval, used to find the sign of f′ there.
Repeated root
A factor like \( (x - 2)^2 \); f′ touches 0 there without changing sign.

\( f(x) = 2x^3 - 3x^2 - 12x + 7 \). On which interval is f decreasing?

  1. (−1, 2)
  2. (2, ∞)
  3. (−∞, −1)

\( f'(x) = (x - 3)^2 (x + 4) \). At which point does f′ change sign?

  1. Only at x = 3
  2. Only at x = −4
  3. At both x = 3 and x = −4

Where is \( f(x) = x^2 - 8x + 1 \) increasing?

  1. (−∞, 4)
  2. (4, ∞)
  3. all of R