- 1. How fast is it changing? The derivative as a rate
- 2. Related rates: when two things change together
- 3. A sliding ladder, an oil spill and a growing shadow
- 4. When is a function going up? Increasing and decreasing functions
- 5. Sign charts: where does a function rise and fall?
- 6. Hills and valleys: maxima and minima
- 7. The first derivative test: watch the sign of the slope
- 8. The second derivative test: cup or cap?
- 9. The greatest and least value on a closed interval
- 10. Optimisation: the biggest box from a sheet
- 11. Optimisation: the cheapest can, the shortest fence, the nearest point
- Review
4 of 11·NCERT §6.3·5 min
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
| Name | Condition 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 I | perfectly 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
- \( 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.
- \( f(x) = e^{3x} \). \( f'(x) = 3e^{3x} > 0 \) always. Increasing on R.
- \( f(x) = \log x \). \( f'(x) = \frac{1}{x} > 0 \) for x > 0. Increasing on (0, ∞).
- \( 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
- 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.
Words to know
On which interval is \( f(x) = \sin x \) decreasing?
- \( \left( 0, \frac{\pi}{2} \right) \)
- \( \left( \frac{\pi}{2}, \pi \right) \)
- (0, π)
\( f'(x) = 3x^2 \) for \( f(x) = x^3 \). Which statement is true?
- f is decreasing near 0 because f′(0) = 0
- f is strictly increasing on R
- f is increasing for x > 0 and decreasing for x < 0
For which f is \( f'(x) > 0 \) for every real x?
- \( x^2 + 1 \)
- \( e^{-2x} \)
- \( x^3 + 2x \)
Picture and video credits