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.
Table of Contents
Review of Definitions
Mathematically speaking, a function \(f\) is increasing on an interval \(I\) if A function may be sometimes increasing and sometimes decreasing (or neither). For example, the graph of \(f(x)=2x^{3}-12x^{2}+18x-2\) is illustrated in Figure 2. As we move along the curve from left to right, the curve rises until we reach the point \(A\), then it falls between \(x=1\) and \(x=3\), and to the right of \(B\) it is always rising. Hence, Evidently, \(A\) and \(B\) are turning points. At \(x=1\) the function ceases to increase and begins decreasing; at \(x=3\), the reverse is true. At \(x=1\) and \(x=3\) the tangent to the curve is evidently parallel to the \(x\)-axis, meaning the slope is zero. 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 \(\theta\) with the positive \(x\)-axis; hence 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\). Suppose \(x_{1}\) and \(x_{2}\) are any two numbers in \([a,b]\) with \(x_{1}<x_{2}\). To prove (a), we must show that \[f(x_{1})<f(x_{2}).\] If we apply the Mean Value Theorem on the interval \([x_{1},x_{2}]\), we obtain \[f(x_{2})-f(x_{1})=f'(c)(x_{2}-x_{1})\] for some \(c\) between \(x_{1}\) and \(x_{2}\). Because \(f'(c)>0\) by the hypothesis and \(x_{2}-x_{1}>0\), the right hand side of the above equation is positive, and so is the left hand side: Assume \(f\) is continuous on an interval \(I\) and has a (finite or infinite) derivative at every interior point* of \(I\). Then *Any point other than the endpoints (a) Graph of \(y=f(x)=\frac{1}{x}\). \(f\) is not monotonic on \((-\infty,+\infty)\) because (according to this figure) \(x_{0}<x_{1}\) and \(f(x_{0})>f(x_{1})\), but \( x_{1}<x_{2}\) and \( f(x_{1})<0<f(x_{2})\) (b) Graph of \(y=g(x)\). \(g\) is not monotonic on its domain because (according to this figure) \(x_{0}<x_{1}\) and $g(x_{0})<g(x_{1})$, but \(x_{1}<x_{2}\) and \(g(x_{1})>g(x_{2})\) Q: If \(f'(x_{0})>0\), is \(f\) increasing on some neighborhood of \(x_{0}\)? A: If \(f’\) is continuous at \(x_{0}\), then \(f'(x)\) is positive in some neighborhood of \(x_{0}\),1 and hence the function is increasing in that neighborhood. This is the case in almost all problems that we deal with in elementary calculus. However, if \(f’\) is not continuous at \(x_{0}\), \(f'(x_{0})>0\) does not imply that \(f\) is an increasing function on some interval containing \(x_{0}\). For example, consider the following function \[f(x)=\begin{cases} x+2x^{2}\sin\frac{1}{x} & \text{if }x\neq0\\ 0 & \text{if }x=0 \end{cases}\]
Using the definition of the derivative, we can show \(f'(0)=1>0\) \[\begin{align} f'(0) & =\lim_{h\to0}\frac{f(0+h)-f(0)}{h}\\ & Show the review
Hide the review
\[f(x_{1})<f(x_{2})\quad\text{whenever}\quad x_{1}<x_{2}\text{ in }I\] and it is decreasing on \(I\) if
\[f(x_{1})>f(x_{2})\quad\text{whenever}\quad x_{1}<x_{2}\text{ in }I.\] We say \(f\) is constant on \(I\) if
\[f(x_{1})=f(x_{2})\quad\text{for all points }x_{1}\text{ and }x_{2}\text{ in }I.\]
Slope of Graph and Increasing and Decreasing Functions
\[\text{slope}=\tan\theta=f'(x)>0\] and on the interval where the function is decreasing, the tangent line makes an obtuse angle \(\theta\) with the positive \(x\)-axis; hence
\[\text{slope}=\tan\theta=f'(x)<0.\] Theorem
Show the proof
Hide the proof
\[f'(c)>0,\ (x_{2}-x_{1})>0\Rightarrow f(x_{2})-f(x_{1})>0.\]
Therefore \(f(x_{2})>f(x_{1})\), as asserted. The proofs of parts (b) and (c) are similar.
(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\).
Figure 9.
A More Advanced Topic
Show the more advanced topic
Hide the more advanced topic
=\lim_{h\to0}\frac{h+2h^{2}\sin\frac{1}{h}}{h}\\ & =\lim_{h\to0}\left(1+2h\sin\frac{1}{h}\right)\\ &
=\lim_{h\to0}1+2\lim_{h\to0}h\sin\frac{1}{h}\\ & =1+0\\ & =1\end{align}\]
[Recall from here that \(\lim_{x\to0}x\sin\frac{1}{x}=0\)]
and thus
\[f'(x)=\begin{cases} 1-2\cos\frac{1}{x}+4x\sin\frac{1}{x} & \text{if }x\neq0\\ 1 & \text{if }x=0
\end{cases}\]
\(f'(x)\) assumes both positive and negative values in every neighborhood of \(0\) (see Figure 10). Therefore, \(f\) is neither increasing nor decreasing on any interval containing \(0\).