Increasing and decreasing functions · Mathematics Class… | StemPy Lab
Course 10.1·Lesson 3 of 3
Increasing and decreasing functions
A function is increasing on an interval if its graph rises as you move to the right, and decreasing if it falls. The sign of the derivative tells which. If f′(x)>0
Lesson 3 of 3Show all lessonsHide
Try the code and the simulations beside the lesson.
What you will be able to do
define increasing, decreasing and strictly monotonic functions;
use the sign of f′ to find where a function rises and falls;
find the intervals of increase and decrease of a polynomial or other function;
use monotonic behaviour to count roots and to prove an inequality.
Rising and falling
Walk along a graph from left to right. If you climb, the function is increasing. If you descend, it is decreasing. In symbols, for x1<x2 in an interval I:
f is increasing on I if f(x1)≤f(x2);
f is strictly increasing if f(x1)<f(x2);
f is decreasing on I if f(x1)≥f(x2), and strictly decreasing if f(x1)>f(x2).
A word of care. NCERT uses these definitions, so a constant function counts as increasing. A-Level, IB and AP usually say increasing when they mean strictly increasing. In this course we write strictly whenever we mean it, so there is no doubt. A function that is increasing everywhere, or decreasing everywhere, is called monotonic.
The sign of the derivative
The derivative is the gradient of the graph. A positive gradient means the graph climbs. This gives the test.
Let f be continuous on [a,b] and differentiable on (a,b).
If f′(x)>0 for all x in (a,b), then f is strictly increasing on [a,b].
If f′(x)<0 for all x in (a,b), then f is strictly decreasing on [a,b].
Two panels sharing the x axis. The top panel is the graph of y equals x cubed minus 6 x squared plus 9 x plus 2. It rises to a high point at (1, 6), falls to a low point at (3, 2) and then rises again. The rising parts are blue and the falling part between x equals 1 and x equals 3 is red. The bottom panel is a number line for the sign of f prime of x, which equals 3 times (x minus 1) times (x minus 3): plus before 1, minus between 1 and 3, plus after 3.
The graph above has f′(x)=3(x−1)(x−3). It is positive before 1, negative between 1 and 3, and positive after 3.
Finding the intervals
Differentiate. Find f′(x).
Solve f′(x)=0. These points cut the number line into gaps. Also note any point where f′ does not exist.
Test the sign of f′ in each gap. Pick one test value in each gap.
Write the answer. Include the end points where f is continuous.
For f(x)=x3−6x2+9x+2, we have f′(x)=3x2−12x+9=3(x−1)(x−3).
Gap
Test value
f′
Result
x<1
0
9
increasing
1<x<3
2
−3
decreasing
x>3
4
9
increasing
So f is increasing on (−∞,1] and [3,∞), and decreasing on [1,3].
Strictly monotonic functions
Take f(x)=x3. Its derivative 3x2 is 0 at x=0. Does the graph stop rising there? No. It flattens for an instant and keeps climbing. The rule is:
The rule. If f′(x)≥0 on an interval, and f′(x)=0 only at isolated points, then f is strictly increasing on the interval.
So x3 is strictly increasing on all of R. Another example is f(x)=x+sinx. Its derivative 1+cosx is 0 only at isolated points x=π,3π,…, so f is strictly increasing even though its graph has flat moments.
A strictly monotonic function never takes the same value twice. Two things follow.
An equation f(x)=k has at most one root on that interval.
The function is one-one, so it has an inverse.
Proving an inequality
To show that x>sinx for x>0, let g(x)=x−sinx. Then g′(x)=1−cosx≥0, with zeros only at isolated points. So g is strictly increasing. Since g(0)=0, we get g(x)>0 for x>0.
A worked example
Find the intervals on which f(x)=x2e−x increases and decreases.
Differentiate.f′(x)=2xe−x−x2e−x=xe−x(2−x).
Solve f′(x)=0. The factor e−x is never 0, so x=0 or x=2.
Test the gaps. For x<0: x is negative and 2−x is positive, so f′<0. For 0<x<2: both are positive, so f′>0. For x>2: 2−x is negative, so f′<0.
Answer. Decreasing on (−∞,0] and [2,∞), increasing on [0,2].
Practise with new numbers
Try it in Python
The program differentiates a polynomial, finds where the derivative is 0 and tests a point in each gap. It reports whether the function is increasing or decreasing there.
Common mistakes
Testing the sign of f instead of f′. The graph rises where f′ is positive, whatever the value of f.
Thinking f′(c)=0 means f stops rising. For x3 it keeps rising through x=0.
Joining two intervals that are separated.f is increasing on (−∞,1] and on [3,∞). It is not increasing on their union.
Forgetting a point where f′ does not exist. It can also split the number line.
Writing a wrong direction at an end point. The test value, not the end point, tells the direction.
Remember these
f′>0 on an interval means strictly increasing. f′<0 means strictly decreasing.
Solve f′(x)=0, test each gap, and write the intervals.
f′≥0 with isolated zeros still gives a strictly increasing function.
A strictly monotonic function has at most one root of f(x)=k.
Check yourself
Try each one on your own first. If you are stuck, open a hint. Then check with Show the answer.
Is f(x)=7−3x increasing or decreasing? Is it strict?
Find the interval on which f(x)=x2−6x+5 is decreasing.
Show that f(x)=x3+3x is strictly increasing on R.
Why is f(x)=x3 strictly increasing although f′(0)=0?
Show that cosx is strictly decreasing on (0,π).
References
NCERT, Mathematics Textbook for Class XII, Part I, Chapter 6 (Application of Derivatives), the section on increasing and decreasing functions.
OpenStax, Calculus Volume 1, Section 4.5 (Derivatives and the Shape of a Graph).
Enroll free in Rates of Change and Monotonic Functions
Every lesson is open to read. Enrolling also lets you:
Mark lessons done and carry on where you stopped.
Take the tests of this lesson and its course.
Count the course towards the certificate for its chapter.