A function is increasing on an interval if larger inputs give larger outputs there; decreasing if larger inputs give smaller outputs. The derivative tells us instantly: f′>0 means increasing, f′<0 means decreasing. This single observation underpins all the optimisation in this chapter.
Definitions
f is increasing on I if for all x1,x2∈I, x1<x2⇒f(x1)≤f(x2).
f is strictly increasing if x1<x2⇒f(x1)<f(x2).
Similarly for decreasing and strictly decreasing, with ≤ replaced by ≥ (or < by >).
The monotonicity criterion
Theorem. Let f be differentiable on an open interval I.
f′≥0 on I⇒f is increasing on I.
f′>0 on I (except possibly at finitely many points) ⇒f is strictly increasing.
f′≤0 on I⇒f is decreasing.
f′<0 on I (except possibly at finitely many points) ⇒f is strictly decreasing.
f′=0 on I⇒f is constant.
Proof. Apply MVT: for x1<x2, f(x2)−f(x1)=f′(c)(x2−x1) with c between. The sign of f(x2)−f(x1) matches that of f′(c).
The procedure for finding intervals of monotonicity
Compute f′(x).
Solve f′(x)=0 to find critical points.
Solve f′(x) undefined (vertical tangents, corners) for additional critical points.
Draw a sign chart: mark critical points on a number line and check the sign of f′ in each subinterval.
Read off the intervals of monotonicity.
Worked example
f(x)=x3−3x+2. f′(x)=3x2−3=3(x−1)(x+1).
Zeros at x=−1,1. Sign chart:
x<−1: f′(x)>0.
−1<x<1: f′(x)<0.
x>1: f′(x)>0.
So f is increasing on (−∞,−1)∪(1,∞) and decreasing on (−1,1).
Worked examples
Example 1. Find the intervals where f(x)=2x3−9x2+12x+5 is increasing.
f′(x)=6x2−18x+12=6(x2−3x+2)=6(x−1)(x−2).
Sign chart: f′>0 for x<1 or x>2; f′<0 for 1<x<2.
Increasing on (−∞,1)∪(2,∞); decreasing on (1,2).
Example 2. Show that f(x)=tanx−x is increasing on (0,π/2).
f′(x)=sec2x−1=tan2x≥0, with equality only at x=0. So f is increasing.
Example 3. Find the values of x for which f(x)=xex is decreasing.
f′(x)=ex+xex=ex(1+x). ex>0, so f′(x)<0 iff 1+x<0, i.e., x<−1. Decreasing on (−∞,−1).
Example 4. Show f(x)=logx/x is decreasing for x>e.
f′(x)=x21/x⋅x−logx⋅1=x21−logx. For x>e, logx>1, so f′(x)<0. Decreasing.
Example 5. For what values of a is f(x)=(a+2)x3−3ax2+9ax−1 decreasing for all real x?
f′(x)=3(a+2)x2−6ax+9a. For f to be decreasing for all x, need f′(x)≤0 for all x, with equality only at finitely many points.
This requires a+2<0 (leading coefficient negative , so the parabola opens down) AND discriminant ≤0 (so f′ never crosses zero, except possibly at one point).
Discriminant: 36a2−4⋅3(a+2)⋅9a=36a2−108a(a+2)=36a2−108a2−216a=−72a2−216a. Wait, that should be ≤0:
−72a2−216a≤0⇒72a2+216a≥0⇒72a(a+3)≥0⇒a≤−3 or a≥0.
Combined with a+2<0 (i.e., a<−2): a≤−3.
Example 6. Show that the function f(x)=sinx+cosx is increasing on (0,π/4).
f′(x)=cosx−sinx=2cos(x+π/4). On (0,π/4), x+π/4∈(π/4,π/2), where cosine is positive. So f′>0, increasing.
Try it yourself
Find the intervals of increase/decrease for f(x)=x2−4x+3.
Find the intervals of increase/decrease for f(x)=x3+3x2−9x+5.
Show f(x)=ex is strictly increasing on R.
Show f(x)=sinx is strictly increasing on (−π/2,π/2).
Find the intervals where f(x)=(x+1)3(x−3)3 is decreasing.
Show f(x)=log(1+x)−x/(1+x) is increasing on (0,∞).
Show f(x)=x−sinx is increasing on R.
Determine the intervals where f(x)=tan−1(sinx+cosx) is decreasing.
Find a such that f(x)=x3+ax2+3x is strictly increasing on R.
Show that f(x)=4sinx−3sinxcosx+5x is increasing on R.
Find the intervals of monotonicity for f(x)=logx−x.
Find the intervals where f(x)=x+4/x is decreasing.
Show f(x)=cosx is decreasing on (0,π).
Find all x where f(x)=x3−6x2+9x+15 is increasing.
Pitfalls / Tricks
f′>0 ⇒ strictly increasing, but f′≥0 allows f constant on subintervals.
Always include the critical points correctly on the sign chart.
If f′ is undefined somewhere in the domain, that point is also critical.
For polynomials in factored form, sign chart is automatic , just check signs of each factor.
Monotonic + continuous ⇒ injective. Useful in proving existence of inverses.