- Foundation
- About 15 min
- 5 practice questions
Increasing and decreasing functions
Use the sign of f′(x) to find the intervals on which a function is increasing or decreasing, with a sign table, and recognise functions that increase for every x.
If something looks wrong, please tell us.
Is a quantity growing or shrinking, and where does it switch? The sign of the derivative answers this. A positive slope means the graph is rising; a negative slope means it is falling. This lesson turns that idea into a method for finding the intervals on which a function increases or decreases, a skill used again for maxima and minima in the next lesson.
What increasing and decreasing mean
A function f is increasing on an interval if the larger x always gives the larger value: x₁ < x₂ means f(x₁) < f(x₂). It is decreasing if the larger x always gives the smaller value. For example, f(x) = x² is decreasing for x ≤ 0 and increasing for x ≥ 0.
The derivative test
- If f′(x) > 0 at every point inside an interval, f is increasing on that interval.
- If f′(x) < 0 at every point inside an interval, f is decreasing on it.
- If f′(x) = 0 throughout an interval, f is constant there.
- f′ may be zero at a single point without spoiling the pattern: f(x) = x³ has f′(0) = 0 but is increasing everywhere.
f′(x) > 0 on an interval: f is increasing. f′(x) < 0: f is decreasing. Find where f′(x) = 0, split the number line at those points, and test the sign of f′ in each piece.
Worked example 1: a quadratic
f(x) = x² − 6x + 4. f′(x) = 2x − 6, which is negative for x < 3 and positive for x > 3. So f is decreasing on (−∞, 3] and increasing on [3, ∞). The switch happens at the vertex, x = 3.
Worked example 2: a cubic with a sign table
f(x) = 2x³ − 9x² + 12x + 1. f′(x) = 6x² − 18x + 12 = 6(x − 1)(x − 2), which is zero at x = 1 and x = 2. These split the number line into three pieces. Pick one test point in each:
| Interval | Test point | Sign of f′ | f is |
|---|---|---|---|
| x < 1 | x = 0: f′ = 12 | + | increasing |
| 1 < x < 2 | x = 1.5: f′ = −1.5 | − | decreasing |
| x > 2 | x = 3: f′ = 12 | + | increasing |
So f is increasing on (−∞, 1] and on [2, ∞), and decreasing on [1, 2]. Textbooks usually include the points where f′ = 0 in the intervals, as here; open intervals such as (1, 2) carry the same information.
Worked example 3: increasing everywhere
f(x) = x³ + 3x + 2. f′(x) = 3x² + 3. Since x² ≥ 0, f′(x) ≥ 3 > 0 for every x, so f is increasing on the whole real line. A function like this crosses any horizontal line at most once, a fact used in later courses to count the roots of equations.
Worked example 4: a trigonometric function
f(x) = sin x on [0, 2π]. f′(x) = cos x is positive on [0, π/2), negative on (π/2, 3π/2) and positive on (3π/2, 2π]. So sin x increases on [0, π/2] and [3π/2, 2π] and decreases on [π/2, 3π/2], which matches the familiar wave.
Key takeaways: the sign of f′ decides whether f rises or falls. Solve f′(x) = 0, split the line at those points, test one point in each piece and read off the intervals. If f′ is positive everywhere (for example a sum of squares plus a positive number), the function is increasing on the whole real line.
Check your understanding
-
1. For which values of x is f(x) = x² − 8x + 1 increasing?
- x < 4
- x > 4
- x > 8
- x > −4
Show answer
Answer: B. f′(x) = 2x − 8, which is positive when x > 4.
-
2. On which interval is f(x) = x³ − 12x decreasing?
- x < −2 or x > 2
- 0 < x < 4
- x > 2
- −2 < x < 2
Show answer
Answer: D. f′(x) = 3x² − 12 = 3(x − 2)(x + 2), which is negative between the roots, for −2 < x < 2. Outside that interval f is increasing.
-
3. Which of these functions is increasing for every real x?
- x² + 5x
- x³ + 5x
- x³ − 5x
- x − x³
Show answer
Answer: B. For x³ + 5x, f′(x) = 3x² + 5 ≥ 5 > 0 for every x. The others have derivatives 2x + 5, 3x² − 5 and 1 − 3x², each of which is negative for some x.
-
4. On which interval is f(x) = 2x³ − 3x² − 36x + 7 decreasing?
- −2 < x < 3
- −3 < x < 2
- x < −2 or x > 3
- x > 3
Show answer
Answer: A. f′(x) = 6x² − 6x − 36 = 6(x − 3)(x + 2). It is negative between the roots, so f is decreasing for −2 < x < 3.
-
5. How does f(x) = cos x behave on the interval (0, π)?
- Increasing throughout
- Decreasing throughout
- Increasing on (0, π/2), then decreasing
- Decreasing on (0, π/2), then increasing
Show answer
Answer: B. f′(x) = −sin x, and sin x > 0 for every x in (0, π), so f′(x) < 0 throughout: cos x falls steadily from 1 towards −1.
Sign in to keep track of the lessons you finish.