Applications of Differentation I
Applications of Differentation I
Application of Differentiation
Maximum and Minimum Values
In other words, the largest value of f (x) is f (3) = 5. Likewise, the smallest
value is f (6) = 2.
We say that f (3) = 5 is the absolute maximum of f (x) and f (6) = 2 is
the absolute minimum.
MH1100 (NTU) Derivatives 20/21 Han 10 (§3.1-3.2) 4 / 31
Maximum and Minimum Values
For instance, in the figure below, we see that f (4) = 5 is a local minimum
because it is the smallest value of f on the interval I . It is not the
absolute minimum, because f (x) takes smaller values when x is near 12.
In fact f (12) = 3 is both a local minimum and the absolute minimum.
Similarly, f (8) = 7 is a local maximum, but not the absolute maximum
because f (x) takes larger values near 1.
For function f (x) = cos x, it has infinitely many both local and absolute
maximum values f = 1, since cos(2nπ) = 1 for any integer n and
−1 ≤ cosx ≤ 1 for all x.
Since cos(2n + 1)π = −1, function f (x) = cos x also has infinitely many
both local and absolute minimum values f = −1.
Left Figure: This function has no maximum value. The function is not
continuous on the interval. The range of f (x) is [0, 3), it can never
attains the value 3.
Right Figure: This function has neither a maximum nor a minimum value.
The function is continuous on the open interval (0, 2), and the range of
the function is (1, ∞).
MH1100 (NTU) Derivatives 20/21 Han 10 (§3.1-3.2) 11 / 31
Maximum and Minimum Values
The Extreme Value Theorem does not tell us how to find these extreme
values. However, we can start by looking for local extreme values.
The above figure shows the function f (x) has a local maximum at x = c
and a local minimum at x = d. It appears that at the maximum and
minimum points, the tangent lines are horizontal thus have slope 0.
We know that the slope of the tangent line is exactly the derivative at that
point, thus we should have f 0 (c) = 0 and f 0 (d) = 0.
Fermat’s Theorem
If f has a local maximum or minimum at c, and if f 0 (c) exists, then
f 0 (c) = 0.
For example, function f (x) = |x| has its (local and absolute) minimum
value at x = 0, but f 0 (0) does not even exist.
There may be an extreme value even when f 0 (c) does not exist.
The above examples show that we must be careful when using Fermat’s
Theorem. In general, the converse of Fermat’s Theorem is false.
MH1100 (NTU) Derivatives 20/21 Han 10 (§3.1-3.2) 15 / 31
Maximum and Minimum Values
Example
f (x) = x 3 − 3x 2 + 1 − 1/2 ≤ x ≤ 4.
f 0 (x) = 3x 2 − 6x = 3x(x − 2)
Since f 0 (x) exists for all x, the only critical numbers are x = 0 and x = 2.
We have f (0) = 1 and f (2) = −3.
The values of f (x) at the endpoints are f (−1/2) = 1/8 and f (4) = 17.
Comparing these four values, we can see that the absolute maximum value
is f (4) = 17, and the absolute minimum value is f (2) = −3.
Case II f (x) > f (a), for some x in (a, b).[Figure (b) and (c)]
By Extreme Value Theorem, f has a global maximum value in [a, b]. Since
f (a) = f (b), it must attain this global maximum value at a number c in
the open interval (a,b). Then f has a local maximum at c, f is also
differentiable at c. Therefore f 0 (c) = 0 by Fermat’s Theorem.
Case III f (x) < f (a), for some x in (a, b).[Figure (c) and (d)]
Same as Case II.
MH1100 (NTU) Derivatives 20/21 Han 10 (§3.1-3.2) 20 / 31
The Mean Value Theorem
Example
Solution First we use the Intermediate Value Theorem to show that a root
exists. Let f (x) = x 3 + x− 1. Then f (0) = −1 < 0 and f (1) = 1 > 0.
Since f is a polynomial, it is continuous, so the Intermediate Value
Theorem states that there is a number c between 0 and 1 such that
f (c) = 0. Thus the given equation has a root.
To show that the equation has no other real root or roots, we use Rolle’s
Theorem and argue by contradiction.
Suppose that it had two roots a and b, then f (a) = f (b) = 0. Since f is a
polynomial, it is differentiable on (a, b) and continuous on [a, b]. Thus, by
Rolles Theorem, there is a number c between a and b such that f 0 (c) = 0.
Therefore the equation can’t have more than one real root. That is the
equation has exactly one real root.
Rolle’s Theorem can be directly used to prove the Mean Value Theorem.
or, equivalently
Imaging fix the curve (by ion metal), and rotate point B counterclockwise
until f (a) = f (b), i.e, mAB = 0. From Rolle’s theorem, we will have
f 0 (c) = 0, i.e., f 0 (c) = mAB .
MH1100 (NTU) Derivatives 20/21 Han 10 (§3.1-3.2) 24 / 31
Prove of the Mean Value Theorem
We define a new function,
f (b) − f (a)
h(x) = f (x) − f (a) − (x − a)
b−a
The new function satisfies h(a) = h(b) = 0, and h0 (x) = f 0 (x) − f (b)−f
b−a
(a)
f (x) = x 3 − x, a = 0, b = 2.
6 − 0 = (3c 2 − 1) 2 = 6c 2 − 2
which gives c 2 = 43 , that is, c = ±√23 . But c must lies in the region (0, 2),
so c = √23 .
The tangent line at this value of c is parallel to the secant line OB.
MH1100 (NTU) Derivatives 20/21 Han 10 (§3.1-3.2) 27 / 31
The Mean Value Theorem
Example
Suppose that f (0) = −3 and f 0 (x) ≤ 5 for all values of x. How large can
f (2) possibly be?
We have f 0 (x) ≤ 5 for all x, so we have f 0 (c) ≤ 5, thus 2f 0 (c) ≤ 10. And
we have
f (2) = −3 + 2f 0 (c) ≤ −3 + 10 = 7
The largest possible value for f (2) is 7.
MH1100 (NTU) Derivatives 20/21 Han 10 (§3.1-3.2) 28 / 31
The Mean Value Theorem
Prove Let x1 and x2 be any two numbers in (a,b) and x1 < x2 . Since f is
differentiable on (a, b), it must be differentiable on (x1 , x2 ) and continuous
on [x1 , x2 ]. By the Mean Value Theorem, we have a number c, such that c
is in (x1 , x2 ) and
f (x2 ) − f (x1 ) = f 0 (c)(x2 − x1 )
Since f 0 (x) = 0 for all x, we have f 0 (c) = 0, and
Therefore f has the same value at any two numbers x1 and x2 . This
means that f is constant on (a,b).
Note
Care must be taken in applying the above Theorem. For example,
x 1 ∀x > 0
f (x) = =
|x| −1 ∀x < 0