Lecture 28
Lecture 28
Lecture 28
While we know continuous functions are nice because they make evaluating limits
easy, we saw earlier in the term that they posses another nice property. On an
intuitive level, the graph of a continuous function f is an “unbroken” curve. If f
is continuous on the closed interval [ a, b] with f ( a) < 0 and f (b) > 0, geometric
intuition tells us that there is at least one point c between a and b such that f (c) =
0. When f is not continuous, it is evident that such a point c need not exist.
◦.................
........
........
..................... ........
........
..... • •
....
....
...
..
..
..
....
.
..
...
...
.... •...
a ...
...
c b a ...
...
b
... ...
.... ...
.
•.... .... • .... ....
..................... .....................
There is nothing special about 0; the same is true for any number between f ( a)
and f (b). The first important property of continuous functions in this section is
THEOREM 28.1 (IVT: The Intermediate Value Theorem). Let f be a continuous function on a
closed interval [ a, b]. Let L be any number between f ( a) and f (b). Then there is some point
c in ( a, b) so that f (c) = L.
a c b a c1 c2 c3 b a b
Though this theorem may seem ‘obvious’, the proof is surprisingly difficult
and is covered in Math 331. Nonetheless, you can see how the hypothesis that f
is continuous is critical. See the right-hand graph in Figure 28.1. When f is not
continuous, the curve can ‘jump over’ the value L so that there is no point c in
( a, b) with f (c) = L.
EXAMPLE 28.1. Prove that p( x ) = 6x4 + 4x3 − 2x2 − x − 3 has a root in the interval
[−1, 1].
EXAMPLE 28.2. Prove that f ( x ) = x3 − 4x + cos(πx ) has a root in the interval [0, 1].
YOU TRY IT 28.1 (Hand in for extra credit). Show that p( x ) = x4 − x3 + x2 + x − 1 has at least
two roots in [−1, 1]. Big hint: Split [−1, 1] in half into two smaller closed intervals. Show
that p has a root in each of the two smaller intervals.
EXAMPLE 28.3. Your parents invest $20,000 in a savings account for you when you
are 8-years-old. They want it to be worth $50,000 ten years later when when you start
HWS. If the account has an annual interest rate r, with monthly compounding, Then
the amount in the account after 10 years (120 months) is
r 120
A(r ) = 20, 000 1 + .
12
Use the IVT to show that there is a value r in (0, 0.10)—i.e., an interest rate between 0
and 10% so that A(r ) = 50, 000. 60000
...
r 120 ....
SOLUTION. The function A(r ) = 20, 000 1 + 12 is a composition of continuous 50000 .....
..
.......
... .
..... ..
functions (or a polynomial of degree 120 if you multiply it out!) At any rate, it is as .....
..... ...
..
......
. .
continuous function for all values of r. So we can apply the IVT, Theorem 28.1 on 40000 .....
..
......
.
..
..
...
.....
[0, 0.10]. A(0) = 20, 000—the bank is paying no interest. A(0.10) = 54140.83. So we ...
.
.
....
..
.... ...
.
30000 ......
have ...
......
. ..
..
.
...
.....
.
...
..... ...
A(0) < 50000 < A(0.10) ...
......
. .
.....
20000 ....... ..
.
so by the IVT, there is a value of r in (0, 0.10) so that A(r ) = 50, 000. ...
.
...
10000 .
...
.
Introduction to Extrema and Optimization 0
...
.
EXAMPLE 28.5. Your Favorite Band is playing at the Smith Opera House. What ticket
price will maximize their revenue? Here, optimal means maximize.
math 130, day 28 properties of continuous functions 3
EXAMPLE 28.6. For several years I served on a committee that investigated what
tuition will maximize the revenue for Hobart & William Smith Colleges.
Extrema Terminology
There are several types of extreme values and it is important that we define them
carefully.
DEFINITION 28.1. Let f be a function defined on an interval I containing the point c.
(a) f has an absolute (global) maximum at c if f (c) ≥ f ( x ) for all x in I. The num-
ber f (c) is the maximum value of f .
(b) f has an absolute (global) minimum at c if f (c) ≤ f ( x ) for all x in I. The num-
ber f (c) is the minimum value of f .
(c) Absolute maxima or minima are called absolute extreme values (extrema) of f
The absolute extrema are marked with • in these graphs. Notice that the second
graph has no absolute max or min (since it does not contain the endpoints) and
that the third graph has no absolute min (the small dot is part of the graph but is
not a min) and two maxima (at the endpoints.
• .
... .......
◦
.............. •...... • .
...
... ...... ... ...
.. ..... ... ..
.
...
.
....
.
.. ...
.... • .
..
.
..... ..... ....
...... ... ... ...... .....
... ......... ... ... ......... ..............
..
. ..... ...
....... ..
.
.... ◦
... .. ...
... ...
... ...
... .
....
... ..
... a
... ... ...
... ..
.. ...
...
... ..
...
...
. .. .....
. ............... ....
... ..... ....
... ..... .....
... ........ .....
....... ......
• ..............
.
...
..
◦
In the graphs above, the first has three local minima and two local maxima
(note that the endpoints are not local extrema because there is no open interval
containing the endpoints. The second and third graphs have no local extrema.
We can see in third graph that the function would have both a local and global
minimum value if the removable discontinuity were eliminated, that is, if it were
continuous. So we see that continuity is important in finding extreme values. On
the other hand, the second graph is continuous but does not have any relative
or global extrema. This time the problem is that the interval over which it is de-
fined is not closed. If the interval were closed and the endpoints of the graph
included, then it would have at least had a global max and a global min, though it
still would not have had any local extrema.
The second fact about continuous functions on closed intervals is that they
always have global extrema (though they may not have local ones).
math 130, day 28 properties of continuous functions 4
• ..
...
◦
... .
...
◦
... ... ...
.. ... ...
...
. ...
. ....
.. .. .
... ... ...
... ... ...
.. ... ...
..... .
.... .
....
... .. ..
...
... .... .....
..... ..... .....
..... .....
•....
..... .
....
.....
. ◦ ....
..... ...
..... .
...
..
......
.....
..... ...... ..... .....
......
...... ....... ...... ......
.........
..................................... ............... ...................... ......
• •...... ◦ .............
−1 2 −1 2 −1 2
◦.............. ◦
..
....... •..............
....... ....... .......
....... ....... .......
.......
....... .
...
......... .......
.......
...
....... ....... .......
....... ....... .......
....... ....... .......
....... ....... .......
.......
..... .
......... .......
.....
•
.......
.......
• • .....
.......
.
..
• ◦
.....
.......
•
....... ....... .......
....... ....... .......
....... ....... .......
•....... .......
◦ .......
•
0 1 3 0 3 0 1 3
It turns out that when we have a continuous function on a closed interval, life is
good!
THEOREM 28.2 (EVT: The Extreme Value Theorem). A function f that is continuous on a closed
interval [ a, b] has an absolute maximum value and an absolute minimum value in that ...............
... .....
interval [ a, b]. ... .....
...
. ....
....
•
...
... .
.
...
. ...
...
... ..
. ...
... .. ...
YOU TRY IT 28.2. Mark the global maximum and minimum values of the continuous func- ... ... ...
...
... .
..
............
....... ..
.
.
.
.. •
.. ...
....... ..
.. ..
tion on the closed interval [ a, b] on the figure in the margin. ...
... ...
... ...
.
. ...
........ ....
......
.
..
.
......
..
YOU TRY IT 28.3. (From class). Draw a function that satisfies the given conditions or explain
why this is impossible. a b
(a) A continuous function on (1, 8) which has no absolute minimum
(b) A function which is continuous on [1, 8] which has no absolute extreme points.
(c) A function on [1, 8] which has no absolute maximum.
(d) A continuous function on [1, 8] for which f (1) = −3 and f (8) = 4 and which is
never 0 (has no roots).
(e) A continuous function on (1, 8) for which f (3) is a relative max and f (5) is a
relative min but for which f has no absolute max or min.
math 130, day 28 properties of continuous functions 5
YOU TRY IT 28.4. (More general). Draw your own graph that shows that the conclusion of
the EVT can fail—that is, the function may not have a global max or a global min—if the
function is not continuous even if it is defined at every point on a closed interval.
Draw another function hat shows that the conclusion of the EVT can fail on a non-closed
interval even if the function is continuous.
These examples show that for a function to always have both a global max and a global
min, it must be continuous on a closed interval. Both conditions are important.
The IVT and EVT are two great theorems (and both are very hard to prove; take
Math 331). The latter, in particular, tells us that can always optimize a continuous
function on a closed interval, which is what motivated us in the first place. HOW-
EVER, the EVT does not tell us HOW to find the extrema, it only tells that they
exist. When a function is differentiable on a closed interval [ a, b], we will see that we
can give an algorithm (recipe) for how to find the extrema.
EXAMPLE 28.0.3. The function below is differentiable, hence continuous on the closed inter-
val [0, 10.5]. The EVT says the function should have both an absolute max and an absolute
min. Mark them. For a differentiable function where should we look for extreme values?
Mark at all the local extrema. What is the common property that all these local extrema
share?
..........................
.
..... .....
..... .....
..
.....
. ....
... ...
.
...
............................ .
.... ...
...
. .
..... ...... .
..
.
..
. ..
..... .. ...
.
...
...... ..
. ...
. ...
.. ..... .. ...
............
• ..... .
. ...
..... ...
. ...
..... ..
. ...
..... .
.. ...
..... ..
. ...
..... ..
....
. ...
.....
..... ..
....
. ...
....... .
...
..... ...
...
................ .....
• ..
0 10.5
29
Optimization: Differentiability and Extrema
Our first theorem tells us that when f is differentiable, then at a local high or low
point, the function has a horizontal tangent. In fact, if we first define a new term,
then we can say even more.
DEFINITION 29.1. Assume that f is defined at c. Then c is a critical number of f if either
1. f 0 (c) = 0 or
2. f 0 (c) does not exist.
2 1
f 0 ( x ) = 2x −1/3 − 2 = − 2 = 0 ⇐⇒ 1/3 = 1 ⇐⇒ 1 = x1/3 ⇐⇒ 1 = x.
x1/3 x
Also notice
2
f 0 ( x ) = 2x −1/3 − 2 = − 2 DNE ⇐⇒ x = 0.
x1/3
So f has two critical points, x = 0, 1.
2e2x − 4 ln 2
f 0 (x) = = 0 ⇐⇒ 2e2x − 4 = 0 ⇐⇒ e2x = 2 ⇐⇒ 2x = ln 2 ⇐⇒ x = .
1 + (e2x − 4x )2 2
From the graphs we saw that sometimes we have extrema at critical points. The
next theorem makes the connection explicit.
THEOREM 29.1 (CNT: The Critical Number Theorem). If f has a local max or min at c, then c is a
critical number of f .
Proof. We will examine the case where f has a a local max at c. A similar proof
works for a local min. There are two possibilities: Either f is not differentiable at c
or it is.
f ( x ) − f (c)
f 0 (c) = lim exists.
x →c x−c
Consequently, both one-sided limits (derivatives) exist and are equal at c. Notice
that the numerator f ( x ) − f (c) ≤ 0 so
f ( x ) − f (c) − or 0
f 0 (c) = lim = ≥0
x →c− x−c −
while
f ( x ) − f (c) − or 0
f 0 (c) = lim = ≤ 0.
x →c+ x−c +
Since both one-sided limits are equal, the only possibility is that they are both 0.
In other words, f 0 (c) = 0 so c is a critical number.
YOU TRY IT 29.1. Do the proof for the case when f has a local min at c. What changes?
Caution: Notice that the CNT does NOT say that if c is a critical number, then f
has a relative extrema at c. It is possible to have a zero derivative and not have an
extreme point. It just says among all the critical points we will find the relative
extrema.
.. ...
... ....
... ... .......
... ... ...... Figure 29.1: Three critical points which
.. ....
. ... ....
...
...
... .... are not relative extreme values.
... ... ...
... ... ...
..
....
. •
...............
........ ...
..... ....
• .............. ......
•
....................... ..... ..
...... .....
...
..... .....
... ..... ..
...
. .....
.... .
...
.
... ....
.... ...
... .... ....
.. ... ....
. ... ......
... .... .
.......
...
... .
Putting Theorems Together. Now assume that f is continuous on the closed interval
[ a, b]. Then the EVT implies that f has an absolute max at some point c in [ a, b].
There are two possibilities:
2. OR c is between a and b. . . so a < c < b. But then c is not only an absolute max,
it is also a relative max on ( a, b). So the CNT implies that c is a critical number
of f .
The same is true for an absolute min of f on [ a, b]. Thus, we have proven
THEOREM 29.2 (CIT: The Closed Interval Theorem). Let f be a continuous function on a closed
interval [ a, b]. Then the absolute extrema of f occur either at critical points of f on the open
interval ( a, b) or at the endpoints a and/or b.
Algorithm (Recipe) for Finding Absolute Extrema. To find the absolute extrema of a
continuous function f on a closed interval [ a, b]
1. Find the critical points of f on the open interval ( a, b) and evaluate f at each
such point.
3. Compare the values; the largest is the absolute max and the smallest is the
absolute min.
EXAMPLE 29.4. Find the absolute extrema of p( x ) = 31 x3 − 2x2 + 3x + 1 on [0, 2].
So 2x − 12 x3 = x (2 − 21 x2 ) = 0 = 0 at x = 0 or 2 = 12 x2 ⇒ 4 = x2 ; x = ±2. So x =
0, 2 are the critical points in the interval. And f (0) = 0 while f (2) = 4e−1 ≈ 1.471.
2. Evaluate f at the endpoints, x = −1 and x = 4: f (−1) = e−1/4 ≈ 0.7788 and
f (4) = 16e−4 ≈ 0.293.
3. The absolute max is 4e−1 at x = 2 and the absolute min is 0 at x = 0.
YOU TRY IT 29.2. Find the absolute extrema of f ( x ) = ln( x2 + 1) on [−2, 1]. [Answer: Global
max of ln 5 at x = −2 and global min of 0 at x = 0.]
√
YOU TRY IT 29.3. Find the absolute extrema of f ( x ) = 8x − x2 on [0, 6]. [Answer: Global
max of 4 at x = 4 and global min of 0 at x = 0.]
YOU TRY IT 29.4. Find the absolute extrema of f ( x ) = xe x on [−2, 3]. [Answer: Global max
of 3e3 at x = 3 and global min of −e−1 at x = −1.]
math 130, day 28 properties of continuous functions 9
EXAMPLE 29.7. Two non-negative numbers x and y sum to 10. What choices for x and
y maximize e xy ?
Introduction
Today we discuss one of the most important theorems in calculus—the MVT. It
says something about the slope of a function on a closed interval based on the
values of the function at the two endpoints of the interval. It relates local behavior
of the function to its global behavior. This theorem turns out to be the key to many
other theorems about the graphs of functions and their behavior. We begin with a
simple case.
Rolle’s Theorem
Rolle’s theorem deals with functions that have the same starting and ending val-
ues.
•....... • ...
... f 0 (c) = 0 f 0 (c) = 0
...
.... ... Figure 30.1: When the hypotheses of
.... ..... ........................................................................................................................
. ......
.... .
... ...... ..... Rolle’s theorem are satisfied, there is a
.... .... ..... ... .....
..... 0 .... ..... . ..... d •............................................................................................•..
..... f (c) = 0 .... ..... ....
......
...... ..
..
...... ...
.
.
. .
.
.
.
...
...
.
...
horizontal tangent, i.e., a critical point
... ..
........ ....... .. ...
..... ........ ... ... .... exists.
.................................................................................................................... .
.
. .
.
.
. ... .
. ...
.. .... . ... ...
.. ..
. ..
. ... .
... ...
.. ...
... . .
. ... ...
. •
.. .. • .
a c b a c b a c b
EXAMPLE 30.1. How does Rolle’s theorem apply to tossing a ball up and catching it
at the same height? What about about walking a long a straight line and starting and
ending at the same point?
Proof. By the CIT, f must have maximum and minimum values on [ a, b]. There are
two possibilities: either (i) both of these extreme values occur at the endpoints of
[ a, b] or (ii) at least one of the extreme values occurs at a critical point of f .
In case (i), f ( a) = f (b) = d is both the minimum value and the maximum
value of f on [ a, b]. This can only happen if f is constant on the interval. But if f is
constant, f 0 (c) = 0 for any point c between a and b. The situation in case (ii) is even
easier. If f has an extreme point c between a and b, since f is differentiable, then
by the CNT f 0 (c) = 0.
math 130, day 28 properties of continuous functions 11
a c b
Note: When f ( a) = f (b) we are back to Rolle’s theorem. . . the conclusion of the Figure 30.2: Under the conditions of the
MVT says in this case that f 0 (c) = 0. MVT, there’s a point c in ( a, b) so that
f (b)− f ( a)
the secant slope f 0 (c) = b− a equals
Proof. Strategy: Modify f so that we can apply Rolle’s theorem. the tangent slope f 0 (c).
Let `( x ) be the (secant) line (to f ) that passes through the points ( a, f ( a)) and
(b, f (b)). Notice `( x ) is both continuous and differentiable everywhere (since it is a
line). In fact, we know that `0 ( x ) is just the slope of the line which is (always)
f (b) − f ( a)
`0 ( x ) = . (30.1)
b−a
Now consider the difference function g( x ) = f ( x ) − `( x ). Since f and ` are both
continuous on [ a, b] so is g and since f and ` are both differentiable on ( a, b) so is
g.
a b a b a c b
Further
So Rolle’s theorem applies to g. This means there is a point c between a and b such
that g0 (c) = 0. But g0 (c) = f 0 (c) − `0 (c) = 0 which means using (30.1)
f (b) − f ( a)
f 0 (c) = `0 (c) = .
b−a
math 130, day 28 properties of continuous functions 12
Mostly the MVT gets used to prove other theorems. But we can look at an ex-
ample or two to see how it works.
EXAMPLE 30.3. Show how the MVT applies to f ( x ) = x3 − 6x + 1 on [0, 3].
f 0 ( x ) = 3x2 − 6 = 3
3x2 = 9
√
x=± 3
√
Only x = 3 is in the interval, so this is the value of c.
EXAMPLE 30.4. Show there does not exist a differentiable function on [1, 5] with
f (1) = −3 and f (5) = 9 with f 0 ( x ) ≤ 2 for all x.
SOLUTION. The MVT would apply to such a function f : So there is some point c
between 1 and 5 so that
f (5) − f (1) 9 − (−3)
f 0 (c) = = = 3.
5−1 4
But supposedly f 0 ( x ) ≤ 2 for all x. Contradiction. So no such f can exist.
Proof. We’ll prove (2). So assume f 0 ( x ) < 0 for all x in I. Let a and b be any two
points in I with a < b. To show that f is decreasing, we need to show that f (b) <
f ( a ).
•
a b
But f is differentiable on I so it is continuous on [ a, b] and differentiable on ( a, b)
so the MVT applies to f on [ a, b]. So there’s a point c in ( a, b) so that
f (b) − f ( a)
= f 0 (c)
b−a
or
f (b) − f ( a) = f 0 (c)(b − a) = (−)(+) < 0.
But
f (b) − f ( a) < 0 ⇒ f (b) < f ( a)
which is what we wanted to show.
math 130, day 28 properties of continuous functions 13
YOU TRY IT 30.1. Prove case (1) of the Increasing/Decreasing Test where f 0 ( x ) > 0.
SOLUTION. Use the Increasing/Decreasing Test. Find the derivative and the critical
points (where f 0 ( x ) = 0 or DNE).
√ √ √
f 0 ( x ) = 4x3 − 12x = 4x ( x2 − 3) = 4x ( x − 3)( x + 3) = 0 at x = ± 3, 0.
Now determine the sign of f 0 ( x ) between and beyond the critical points. Here we
use the IVT to know that the only places that the derivative can change sign are at
the critical points because the derivative is continuous. Just plug in values in the
appropriate intervals. f 0 (−2) = −8, f 0 (−1) = +8, f 0 (1) = −8, and f 0 (2) = +8.
decreasing increasing decreasing increasing
−−− 0 +++ 0 −−− 0 +++
f0
−(31/2 ) 0 31/2
√ √
√ notation:√f is increasing on (− 3, 0) and ( 3, ∞) and it is decreasing
Using interval
on (−∞, − 3) and (0, 3).
SOLUTION. Use the Increasing/Decreasing Test. Find the derivative and the critical
points.
f 0 ( x ) = e2x + 2xe2x = e2x [1 + 2x ] = 0 at x = −1/2.
Set up the number line and determine the sign of f 0 (x) on either side of the critical
point. f 0 (−1) = −e−2 < 0 and f 0 (0) = 1.
decreasing increasing
−−− 0 +++
f0
−1/2
SOLUTION. Use the Increasing/Decreasing Test. Find the derivative and the critical
points.
f 0 ( x ) = 1 − cos x = 0 at x = 0, ±2π, ±4π . . . .
Since cos x ≤ 1 the sign of f 0 ( x ) between the critical points is always positive.
increasing increasing increasing increasing
+++ 0 +++ 0 +++ 0 +++
f0
−2π 0 2π
SOLUTION. Use the Increasing/Decreasing Test. Find the derivative and the critical
points.
2 2 4x
f 0 (x) = ( x − 4)−1/3 2x = = 0 at x = 0 DNE at x = ±2.
3 3( x − 4)1/3
2
math 130, day 28 properties of continuous functions 14
Determine the sign of f 0 ( x ) between and beyond the critical points. f 0 (−3) < 0,
f 0 (−1) > 0, f 0 (1) < 0 and f 0 (3) > 0.
decreasing increasing decreasing increasing
− − −− DNE +++ 0 − − −− DNE +++
f0
−2 0 2
Look at each of the critical points. Given how the function behaves on either side of
each critical point, can you say which are relative extrema and what type? Justify your
answer.
Can you sketch the shape of the graph based on the information?
... ..
... ...
... ...
...
... ...
... .....
... ...
... ...
... ...
... ...
...
... .
....
... ..
... ...
... ...
... ...
... .
....
...
... ...
... ...
... ...
... .....
... .
... ...
... ...................................
............... ...
... .........
......... ..
... .
........
.
........
..
. .
....
... .. .
....... .
... ..... .
...
..... .....
.....
... ..... ..... ...
... ..... .... ..
...
... ......
. .... ....
.
... ... .... .
...
... .... ....
... .... .... ...
... ...... ... ....
... ... ... ..
... . .
.....
−2 0 2
f 0 DNE f0 = 0 f 0 DNE
• f 0 ( x ) > 0 ⇒ f is increasing
• f 0 ( x ) < 0 ⇒ f is decreasing,
we can use this to classify a critical number as either local max or local min or
neither as we did in the last example
...
..
.. Figure 31.1: When the hypotheses of
...
... .
... f0 =0 f 0 >......0
... ...
... .. Rolle’s theorem are satisfied, there is a
....
.... ..... .....
•
..................................................................
...... ...
...
....
.... ....
.
...
. .....
.....
.....
..... .......... horizontal tangent, i.e., a critical point
.... 0 ..... ..... ..... .......
.....
.....
......
f =0 .....
...... 0
f0 > 0 .
..
.
.
... ....
... f0 < 0 ....... 0
•
............................... exists.
0 ....... .
..
. .. ... ..... f =0
f <0 ........ ........
.
..... f >0 .... loc max ...
... .....
.
............................................................................
• ..
. ... .
...
.... ...
... ...
... ... ... neither
... ... ..
.
loc min ... ...
f0 > 0 ...
... ... ...
...
f0 < 0 ...
...
...
......
......
......
....
......
......
f 0 DNE ...
...
...... .....•
...... ....... ...
...... ..
. ...
...... .
.... .......... ..... ..... ....
...... ...... ...... ..... .....
...... ..... ..... .......
...... 0
......
f DNE ...... f0 > 0 ..... ..... f <0 0 ...............................
•
...... ..
...... .....
. ..... .......
......
0 ...... .
... 0 .
....
. .....
f =0 0
f <0 ...... ........... f >0 .... loc max .....
.....
....
...
........... .... ..... ...
• .
...
..
.....
.....
...
...
.. ..... ...
... .... neither ...
loc min ... ...
... f <0 0 ...
.. .
YOU TRY IT 31.1. Return to the example at the end of the last section and classify the critical
points using the First Derivative Test.
SOLUTION. We determined earlier the sign of f 0 ( x ) along a number line. So now all
we have to do is fill in the type of critical point.
dec l min inc l min dec l max inc
−−− 0 +++ 0 −−− 0 +++
f0
−(31/2 ) 0 31/2
EXAMPLE 31.2. Classify the relative extrema of h( x ) = ( x2 − 4)3 . Then sketch a quick
graph plotting only the critical points.
math 130, day 28 properties of continuous functions 16
YOU TRY IT 31.2. Classify the relative extrema of f ( x ) = 14 ( x2 − 9)2 . [Answer: The critical
values are at x = 0, ±2. Classify them.]
EXAMPLE 31.3. Suppose that a function f ( x ) is continuous and has the following
number line that describes its first derivative. Interpret this information to find where
f is increasing, decreasing, and has relative extrema. Then draw a graph of the origi-
nal function f that satisfies these conditions.
SOLUTION. Use the First Derivative Test to determine what type of extrema we have.
We can use this information to graph one possible solution for f . Note the function is
cannot be differentiable at 0 (but should be elsewhere).
.....
... ...
... .....
.
... ...
. ...
... ...
.. ...
....
. ...
.... ...
...
..
. ...
...
. ...
... ...
−3 .
..
.
.
.. 0 ...
... 3
.. ...
.... ...
....
..
.... .....
..
...
. .....
..
....
. .....
.....
..... .
...
. ..... ...
..... .
.... ..... .....
..... ...
. ..... .....
...... ..
.... ...... ......
......
....... .
...
.
.
..... ......
. ..
........
.
... ....... .
........ ........ ......... .......
...........
................................... ............................................
EXAMPLE 31.4. Suppose that the graph of f 0 is given below. Translate this information
into ‘number line’ form and then attempt to graph the original function f .
...................................
...... .....
...... ....
.... .....
..... .....
.....
...
. .....
... .....
... .....
.....
... .....
... .....
.. ... ................................
.
.. ... .... ....
. ... ... ....
..
. ... .. ...
..
. ... ... ...
. ... .. ...
... ...
... ..
.
. ... .
.
.. . .
..
. .... ..
..
. ..... ..
..
... ...... .....
... ........... ................
.....
...
....
..
...
... f 0
math 130, day 28 properties of continuous functions 17
−4 0 4
Here’s one function that satisfies these conditions. Notice that x = 4 is not a relative
extreme point.
......... •
.......................
.......
...... ......
..... ......
..
.....
. ......
......
..... ......
.
... ......
.......
...
. ........
.... ..........
......................................
.
...
.
. • ...........
..
.
...
...
.
..
.
...
.. ...
.. ..
.. ...
.
.. ..
..
... ..
... ...
... ...
... ..
.
.. ...
..
... ...
..
...
... .
....
.
.... ..........
• ............
math 130, day 28 properties of continuous functions 18
a c b
Note: When f ( a) = f (b) we are back to Rolle’s theorem. . . the conclusion of the Figure 31.2: Under the conditions of the
MVT says in this case that f 0 (c) = 0. MVT, there’s a point c in ( a, b) so that
f (b)− f ( a)
the secant slope f 0 (c) = b− a equals
Proof. Strategy: Modify f so that we can apply Rolle’s theorem. the tangent slope f 0 (c).
Let `( x ) be the (secant) line (to f ) that passes through the points ( a, f ( a)) and
(b, f (b)). Even though we have not figured out the equation for `( x ) we still know
its derivative:
So Rolle’s theorem applies to g. This means there is a point c between a and b such
that g0 (c) = . But then g0 (c) = f 0 (c) − `0 (c) = 0 which means using
(31.1)
f 0 (c) = `0 (c) = .
a b a b a c b