The sign of the derivative indicates if a function is increasing, decreasing, or constant.

In Section 2.14, the concepts of increasing and decreasing functions were introduced. In this section, we learn how to use differentiation to determine where a function is increasing and where it is decreasing.

Before anything else, let’s review the concepts of increasing and decreasing functions.

Review of Definitions

 

Show the review

 

Slope of Graph and Increasing and Decreasing Functions

It is evident from Figure 3 that on the interval where a function f(x) is increasing, the tangent line makes a positive acute angle θ with the positive x-axis; hence
slope=tanθ=f(x)>0 and on the interval where the function is decreasing, the tangent line makes an obtuse angle θ with the positive x-axis; hence
slope=tanθ=f(x)<0.

Figure 3. The tangent line makes a positive acute angle with the positive x-axis wherever the function is increasing and makes an obtuse angle wherever the function is decreasing.

Theorem

These observations lead us to the following theorem:

Theorem 1. Increasing/Decreasing Test. Assume f is continuous on the closed interval [a,b] and is differentiable on the open interval (a,b).

(a) If f(x)>0 for every x in (a,b), then f is increasing on [a,b].

(b) If f(x)<0 for every x in (a,b), then f is decreasing on [a,b].

(c) If f(x)=0 for every x in (a,b), then f is constant on I.

  • Recall: We say a function is differentiable on an interval if it has a derivative at every point of that interval.

Show the proof

  • Although stated for closed intervals, after minor changes we can apply the above theorem to any (finite or infinite) interval I:

Assume f is continuous on an interval I and has a (finite or infinite) derivative at every interior point* of I. Then
(a) if f(x)>0 for every interior point of I, f is increasing on I
(b) if f(x)<0 for every interior point of I, f is decreasing on I.


*Any point other than the endpoints

Example 1
Determine the intervals on which the following functions are increasing and the intervals on which they are decreasing.
(a) f(x)=2x25x7
(b) f(x)=x3
Solution

(a)
f(x)=2x25x7f(x)=4x5=4(x54)

\dpi{200} \large x   54   +
sign of f(x)   0 +++  
I/D f(x)   ↘   ↗  

f(x)<0 when <x<5/4 I/D testf(x) is decreasing ↘ on (,5/4]
f(x)>0 when 5/4<x<+ I/D testf(x) is increasing ↗ on [5/4,).
The graph of y=f(x) shows us that our conclusion is correct.

Figure 4. Graph of y=2x25x7

(b) f(x)=x3f(x)=3x2

\dpi{200} \large x   0   +
sign of f(x)   +++ 0 +++  
I/D f(x)   ↗   ↗  

f(x)<0 when <x<0 I/D testf(x) is increasing ↗ on (,0]
f(x)>0 when 0<x<+ I/D testf(x) is increasing ↗ on [0,).
Therefore, f is always increasing. The graph of y=f(x) shows us that our conclusion is correct.

Figure 5. Graph of y=x3
Example 2
Find where the function f(x)=x33x2+1 is increasing and where it is decreasing.
Solution
f(x)=x33x2+1f(x)=3x26x=3x(x2)

\dpi{200} \large x   0   2   +
sign of x   0 +++ + +++  
sign of x2   0 +++  
sign of f(x)   +++ 0 0 +++  
I/D f(x)   ↗   ↘   ↗  

This table shows that f(x) is increasing ↗ on (,0][2,+) (because f(x)>0) and is decreasing ↘ on [0,2] (because
f(x)<0). The graph of f is shown in the following figure.

Figure 6. Graph of y=x33x2+1
Example 3
Determine where f(x)=x2ex is increasing and where it is decreasing.
Solution
f(x)=x2exf(x)=2xexx2ex=ex(2xx2)
Because ex>0, the sign of f(x) is solely determined by 2xx2=x(2x).

\dpi{200} \large x   0   2   +
sign of x   0 +++ + +++  
sign of 2x   +++ + +++ 0  
sign of f(x)   0 +++ 0  
I/D f(x)   ↘   ↗   ↘  

This table shows that f(x) is decreasing ↘ on (,0][2,+) (because f(x)<0) and is increasing ↗ on [0,2] (because f(x)>0). The graph of f is shown in the following figure.

Figure 7. Graph of y=x2ex. This graph shows that this function is decreasing on (,0] and [2,+) and is increasing on [0,2].
Example 4
Determine where f(x)=x3(x2) is increasing and where it is decreasing.
Solution
To differentiate f, it is easier to rewrite f(x) as

f(x)=x1/3(x2)=x4/32x1/3
f(x)=43x1/323x2/3=23x2/3(2x1)=2(2x1)x2/3 So f(1/2)=0 and f(0) does not exist. Because x2/30, the sign of f(x) is determined by 2x1.

\dpi{200} \large x   0   1/2   +
sign of 2x1   0 ++++  
sign of x2/3   ++++ 0 ++++ + ++++  
sign of f(x)   0 ++++  
I/D f(x)   ↘   ↘   ↗  

The function is decreasing on (,0] and [0,1/2] (we have included the point 0 in these intervals because f is continuous at x=0) and thus is decreasing on the union of these intervals (,1/2]. The function is increasing on [1/2,+). The graph of f is shown in the following figure.

Figure 8. Graph of y=x1/3(x2). This graph shows that this function is decreasing on (,1/2] and is increasing on [1/2,+).
  • Theorem 1 may fail, if f is not continuous at all points of I. For example, let f(x)=1/x. Although f(x)=1/x2<0, f is NOT decreasing on (,) (see Figure 9(a)). In fact, in this case, because f is not continuous at x=0, Theorem 1 is not applicable. However, if we consider I=(,0) or I=(0,), we can say f is decreasing on I because f exists and is negative at every point of I. As another example, consider the function g whose graph is shown in Figure 9(b). Although g(x)>0 (except at the point of discontinuity where g(x) does not exist), g is not an increasing function on its entire domain. Theorem 1 is again not applicable because g is discontinuous at a point.

 

(a) Graph of y=f(x)=1x.

f is not monotonic on (,+) because (according to this figure)

x0<x1 and f(x0)>f(x1),

but x1<x2 and f(x1)<0<f(x2)

(b) Graph of y=g(x).

g is not monotonic on its domain because (according to this figure)

 x0<x1 and g(x0)<g(x1),

but x1<x2 and g(x1)>g(x2)

Figure 9.

A More Advanced Topic

 

Show the more advanced topic