girgit.org

Application of Derivatives

When is a function going up? Increasing and decreasing functions

The big ideaA function is increasing where its graph climbs as you move right and decreasing where it falls; the sign of the derivative tells you which: f′ > 0 means climbing, f′ < 0 means falling.

In simple words

Walk along a hill path from left to right. Some parts go up, some go down, and some are flat. If you only know how steep the path is right under your feet, and which way it tips, you already know whether you are going up or down. The derivative is that steepness, with a plus sign for up and a minus sign for down.

Climbing and falling

Look at \( f(x) = x^2 \). To the right of 0, as x grows (0, 1, 2, 3), the values grow too (0, 1, 4, 9): the graph climbs. To the left of 0, as x grows (−3, −2, −1, 0), the values shrink (9, 4, 1, 0): the graph falls. So \( x^2 \) is increasing for x > 0 and decreasing for x < 0. We always read a graph from left to right.

The definitions

Let I be an interval inside the domain of a real function f. Take any two points \( x_1 < x_2 \) in I. Then f is

NameCondition when \( x_1 < x_2 \)In words
increasing on I\( f(x_1) \le f(x_2) \)never goes down (flat bits allowed)
strictly increasing on I\( f(x_1) < f(x_2) \)always goes up
decreasing on I\( f(x_1) \ge f(x_2) \)never goes up
strictly decreasing on I\( f(x_1) > f(x_2) \)always goes down
constant on I\( f(x) = c \) for all x in Iperfectly flat

A function is increasing at a point \( x_0 \) if there is some open interval around \( x_0 \) on which it is increasing (and the same for decreasing).

Example: \( f(x) = 5x + 2 \). If \( x_1 < x_2 \), then \( 5x_1 < 5x_2 \), so \( 5x_1 + 2 < 5x_2 + 2 \). Thus f is strictly increasing on R, straight from the definition.

The derivative test for rising and falling

Checking every pair \( x_1, x_2 \) is slow. The derivative does it in one go.

Theorem 1

  • Let f be continuous on [a, b] and differentiable on (a, b).
  • If \( f'(x) > 0 \) for every x in (a, b), f is increasing on [a, b].
  • If \( f'(x) < 0 \) for every x in (a, b), f is decreasing on [a, b].
  • If \( f'(x) = 0 \) for every x in (a, b), f is constant on [a, b].

(With \( f' > 0 \) the function in fact rises strictly; the theorem's "increasing" includes that.) The test only needs the sign inside the open interval; continuity carries the result to the endpoints.

Not in the current textbook, but JEE asks it: the Mean Value Theorem, which the textbook's proof of Theorem 1 uses. If f is continuous on [a, b] and differentiable on (a, b), there is some c between a and b with \( f'(c) = \frac{f(b) - f(a)}{b - a} \): somewhere the instant slope equals the average slope. (If your average speed between two toll booths is 80 km/h, at some instant your speedometer read exactly 80.) Rolle's theorem is the special case f(a) = f(b), which gives a point with \( f'(c) = 0 \). Theorem 1 follows: if \( f' > 0 \) everywhere, then \( f(x_2) - f(x_1) = f'(c)(x_2 - x_1) > 0 \).

Worked examples

  1. \( f(x) = x^3 + 3x^2 + 6x - 1 \). \( f'(x) = 3x^2 + 6x + 6 = 3(x + 1)^2 + 3 \). A square is never negative, so \( f'(x) \ge 3 > 0 \) for every x. Increasing on R.
  2. \( f(x) = e^{3x} \). \( f'(x) = 3e^{3x} > 0 \) always. Increasing on R.
  3. \( f(x) = \log x \). \( f'(x) = \frac{1}{x} > 0 \) for x > 0. Increasing on (0, ∞).
  4. \( f(x) = \cos x \). \( f'(x) = -\sin x \). On (0, π), sin x > 0, so f′ < 0: decreasing. On (π, 2π), sin x < 0, so f′ > 0: increasing. On (0, 2π) as a whole it is neither, because it does both.

Guess first: is \( x^3 \) increasing through 0?

For \( f(x) = x^3 \), \( f'(x) = 3x^2 \), and \( f'(0) = 0 \). The slope is flat at 0. Guess: is \( x^3 \) strictly increasing on all of R, or does it stop rising at 0?

Guess, then drag two points anywhere and compare their heights.

See what happens
It is strictly increasing on all of R. Take any \( x_1 < x_2 \): cubes keep order (−8 < −1 < 0 < 1 < 8), so \( x_1^3 < x_2^3 \). The graph flattens for an instant at 0 and then keeps climbing. So \( f' > 0 \) everywhere is enough to be increasing, but it is not needed: a derivative that is zero at a single point (and positive on both sides) still gives a strictly increasing function. We meet this curve again in Concept 6.

Words to know

Increasing
Never goes down as x moves right: \( x_1 < x_2 \Rightarrow f(x_1) \le f(x_2) \).
Strictly increasing
Always goes up as x moves right: \( f(x_1) < f(x_2) \).
Decreasing / strictly decreasing
Never goes up / always goes down as x moves right.
Constant function
Same value everywhere on the interval; f′ = 0.
Monotonic
Either increasing on the whole interval or decreasing on the whole interval.

On which interval is \( f(x) = \sin x \) decreasing?

  1. \( \left( 0, \frac{\pi}{2} \right) \)
  2. \( \left( \frac{\pi}{2}, \pi \right) \)
  3. (0, π)

\( f'(x) = 3x^2 \) for \( f(x) = x^3 \). Which statement is true?

  1. f is decreasing near 0 because f′(0) = 0
  2. f is strictly increasing on R
  3. f is increasing for x > 0 and decreasing for x < 0

For which f is \( f'(x) > 0 \) for every real x?

  1. \( x^2 + 1 \)
  2. \( e^{-2x} \)
  3. \( x^3 + 2x \)