Applications of the Mean Value Theorem

We say a function f ( x ) is strictly increasing if whenever a < b , f ( a ) < f ( b ) . f ( x ) is strictly decreasing if a < b implies f ( a ) > f ( b ) . f ( x ) is called monotone increasing if a < b implies f ( a ) f ( b ) , and monotone decreasing if a < b implies f ( a ) f ( b ) .

Now suppose f ( x ) is continuous for a x b and f'(x) exists and is positive for all x such that a < x < b . Then let c and d be such that a c < d b . Then surely f ( x ) satisfies the hypotheses of the Mean Value Theorem on the interval c x d . Therefore

f(d) - f(c) = f'(\xi)(d - c), \quad \text{where } c < \xi < d .

But then f'(\xi) > 0, and d c > 0 . Therefore f ( d ) f ( c ) > 0 , or f ( c ) < f ( d ) . This is exactly the condition that f ( x ) be strictly increasing on a x b .

In similar fashion, one shows that
a) If f'(x) < 0 for a < x < b , then f ( x ) is strictly decreasing.
b) If f'(x) \ge 0 for a < x < b , then f ( x ) is monotone increasing.
c) If f'(x) \le 0 for a < x < b , then f ( x ) is monotone decreasing.

These are left as exercises. Observe, however, that there are functions which are, for instance, monotone decreasing, but which are not continuous, therefore do not even have derivatives throughout an interval. As an example, let

f(x) = \left\{ \begin{aligned} 1 - x, \quad 0 \le x < \frac{1}{2} \\ 0, \quad \frac{1}{2} \le x \le 1 \end{aligned} \right\} .
Illustration for Applications of the Mean Value Theorem

We have seen that the derivative of a constant is zero. Now we can prove the converse, namely that a continuous function f ( x ) on a x b whose derivative f'(x) = 0 for all x , a < x < b , is a constant. For if a < d b , then f(d) - f(a) = f'(\xi)(d - a) for some ξ , a < ξ < d , by the Mean Value Theorem. But f'(\xi) = 0, and f ( d ) = f ( a ) . Since d could be any number of the interval, we have f ( x ) = f ( a ) for all x , a x b , and f ( x ) is a constant.

As a corollary to this result, let f ( x ) and g ( x ) be continuous on a x b and let f'(x) = g'(x) for all x , a < x < b . Then f ( x ) g ( x ) is continuous and has derivative 0, therefore is a constant c . So f ( x ) = g ( x ) + c . We have proved that two functions having equal derivatives in an interval differ by a constant function. (Note that it was the linearity of the operation of differentiation that made this an easy consequence of the preceding result.)

Next consider the function f ( x ) = x sin x . This is continuous and differentiable in any interval; its derivative is 1 cos x 0 . Therefore it is monotone increasing. But f ( 0 ) = 0 , so if x 0 , then f ( x ) f ( 0 ) = 0 , and x sin x 0 if x 0 . Likewise the function 1 + 1 2 x 2 + cos x has value 0 when x = 0 ; its derivative is x sin x 0 for x 0 by the above. Hence it is also a monotone increasing function, and so 1 + 1 2 x 2 + cos x 0 when x 0 . Now

x + x 3 6 + sin x 0

for x 0 , by similar reasoning; continuing, we have

1 x 2 2 ! + x 4 4 ! cos x 0 , x x 3 3 ! + x 5 5 ! sin x 0 , 1 + x 2 2 ! x 4 4 ! + x 6 6 ! + cos x 0 ,

for all x 0 , where n ! ( 𝒏 -factorial) is the product 1 2 n . (Note that 2 ! = 2 , 1 ! = 1 . We agree to write 0 ! = 1 .) These can be transposed to give the following inequalities for all x 0 :

sin x x 1 1 2 ! x 2 cos x 1 x x 3 3 ! sin x x 1 x 2 2 ! cos x 1 x 2 2 ! + x 4 4 ! x x 3 3 ! sin x x x 3 3 ! + x 5 5 !

Thus we have polynomials for approximating sin x and cos x , at least for x 0 (one can also apply the method to the case x 0 ). The error in using one of these polynomials as an approximation is at most the difference between it and the next polynomial in the sequence; for example, if we use 1 1 3 ! = .833 to estimate sin 1 , our error is at most 1 5 ! = 1 120 .

PROBLEMS

Exercise 1.
  1. Let f ( x ) = cos 2 x , g ( x ) = 2 cos 2 x . Find f'(x) and g'(x) and show that f'(x) = g'(x). Then find a constant c such that f ( x ) = g ( x ) + c .
Exercise 2.
  1. Courant, p. 557, ex. 77.
Exercise 3.
  1. Estimate sin ( 1 / 2 ) to five decimal places.