Extreme Values of Functions

Download Report

Transcript Extreme Values of Functions

Extreme Values of Functions
Chapter 5.1
Absolute (Global) Extreme Values
β€’ Up to now we have used the derivative in applications to find rates of
change
β€’ However, we are not limited to the rate-of-change interpretation of the
derivative
β€’ In this section you will learn how we can use derivatives to find
extreme values of functions (that is maximum or minimum values)
2
Definition of Extreme Values on an Interval
DEFINITION:
Let 𝑓 be defined on an interval 𝐼 containing 𝑐.
a) 𝑓(𝑐) is the minimum of 𝒇 on 𝑰 if 𝑓 𝑐 ≀ 𝑓(π‘₯) for all π‘₯ in 𝐼
b) 𝑓(𝑐) is the maximum of 𝒇 on 𝑰 if 𝑓 𝑐 β‰₯ 𝑓 π‘₯ for all π‘₯ in 𝐼
The minimum and maximum of a function on an interval are the extreme values or
extrema (plural of extremum), of the function on the interval. The minimum and
maximum of a function on an interval are also called the absolute minimum and
absolute maximum. They are also sometimes called the global minimum and
global maximum.
3
Definition of Extreme Values on an Interval
β€’ The definition given is slightly different than the one given in your
textbook
β€’ Most of the time we are only concerned with extreme values in an
interval, rather than on the entire domain (many functions have neither
absolute maxima nor absolute minima over the entire domain)
β€’ Over an interval, extrema can occur either in the interior or at the
endpoints
β€’ It is possible for a function to have no extrema on an interval
4
Definition of Extreme Values on an Interval
5
Definition of Extreme Values on an Interval
6
Definition of Extreme Values on an Interval
7
Example 1: Exploring Extreme Values
Use the graphs of 𝑓 π‘₯ = cos π‘₯ and 𝑔 π‘₯ = sin π‘₯ on
determine absolute maxima and minima (if any).
πœ‹ πœ‹
βˆ’ ,
2 2
to
8
Example 1: Exploring Extreme Values
9
The Extreme Value Theorem
THEOREM:
If 𝑓 is continuous on a closed interval [π‘Ž, 𝑏], then 𝑓 has both a maximum value and
a minimum value on the interval.
10
The Extreme Value Theorem
β€’ The proof of this theorem requires more advanced calculus, so we will
take the theorem as given
β€’ Note that continuity is a requirement of the proof; if we know that the
function is not continuous on a given interval, then we cannot use the
theorem
β€’ In plain words, this tells us that a function is guaranteed to have both a
maximum and a minimum value on a closed interval (if continuous)
β€’ These extrema may be either at the endpoints of the interval or the
interior of the interval
11
The Extreme Value Theorem
12
The Extreme Value Theorem
13
The Extreme Value Theorem
14
The Extreme Value Theorem
15
Local (Relative) Extrema
β€’ In addition to absolute (or global) extrema, which are always the
greatest/least function value on an interval, we will want to define
relative (local) extrema
β€’ These occur when β€œnearby” values are all less (for a relative
maximum) or greater (for a relative minimum)
β€’ Relative extrema may also be absolute extrema, but not all relative
extrema are absolute extrema (but all absolute extrema are also
relative extrema)
16
Local (Relative) Extrema
DEFINITION:
Let 𝑐 be an interior point of the domain of the function 𝑓. Then 𝑓(𝑐) is a
a) local maximum value at 𝑐 if and only if 𝑓 π‘₯ ≀ 𝑓(𝑐) for all π‘₯ in some open
interval containing 𝑐
b) local minimum value at 𝑐 if and only if 𝑓 π‘₯ β‰₯ 𝑓(𝑐) for all π‘₯ in some open
interval containing 𝑐
c) A function 𝑓 has a local maximum or local minimum at an endpoint 𝑐 if the
appropriate inequality holds for all π‘₯ in some half-open interval containing 𝑐
17
Local (Relative) Extrema
18
Local (Relative) Extrema
β€’ Relative extrema in the interior of an interval occur at points where the
graph of a function changes direction (from increasing to decreasing,
or vice versa)
β€’ We would like to be able to find both absolute and relative extrema for
a function over a closed interval
β€’ To narrow down the possibilities for the interior of an interval, we can
ask, β€œis there anything about relative extrema by which we can identity
them?”
19
Critical Point
DEFINITION:
Let 𝑓 be a function defined over some interval 𝐼. A point 𝑐, 𝑓 𝑐 , where 𝑐 is in the
interior of 𝐼, at which 𝑓 β€² 𝑐 = 0 or 𝑓 is not differentiable is called a critical point
of 𝑓.
The number 𝑐 in the interval is called a critical number of 𝑓.
20
Critical Point
β€’ Note that critical points occur where either
β€’ 𝑓′ is zero
β€’ 𝑓 is not differentiable
β€’ The next theorem (not in your text and presented without proof) gives
us an answer to our previous question
21
Relative Extrema Occur Only at Critical
Numbers
THEOREM:
If 𝑓 has a relative minimum or relative maximum at π‘₯ = 𝑐, then 𝑐 is a critical
number of 𝑓 (and 𝑐, 𝑓 𝑐 is a critical point of 𝑓).
22
Relative Extrema Occur Only at Critical
Numbers
β€’ This theorem joins the definition of a critical number with the
definition of relative extrema
β€’ Specifically, it says that relative extrema occur only at critical
numbers
β€’ Therefore, to find relative extrema, we need only find critical
numbers, which occur where either 𝑓′ is zero or where 𝑓 is not
differentiable
β€’ However, we must be clear about what it does not say: it does not say
that, if we find a critical number, then we have found a relative
extremum
23
Relative Extrema Occur Only at Critical
Numbers
24
Finding Absolute Extrema
β€’ We now have enough understanding to be able to find the absolute
extrema on a closed interval
β€’ If we have a closed interval, the Extreme Value Theorem guarantees that there
exist both an absolute maximum and absolute minimum in the interval
β€’ These absolute extrema may occur at either the endpoints or in the interior
β€’ If absolute extrema occur in the interior, then they occur at relative extrema
(which, in turn, occur at critical numbers)
β€’ To find absolute extrema, we will first find relative extrema in the
interior (i.e., find critical numbers), evaluate the function at this
25
Finding Absolute Extrema
β€’ To find absolute extrema
1.
2.
3.
4.
We will first find relative extrema in the interior (i.e., find critical numbers)
Evaluate the function at all critical numbers
Evaluate the function at its endpoints
Compare these values; the largest of these is the absolute maximum and the
smallest is the absolute minimum
26
Example 3: Finding Absolute Extrema
2
3
Find the absolute maximum and minimum values of 𝑓 π‘₯ = π‘₯ on the
interval [βˆ’2,3].
27
Example 3: Finding Absolute Extrema
2
3
Find the absolute maximum and minimum values of 𝑓 π‘₯ = π‘₯ on the
interval [βˆ’2,3].
β€²
Find the critical numbers by taking the derivative: 𝑓 π‘₯ =
2 βˆ’1
π‘₯ 3
3
=
2
33 π‘₯
Critical numbers occur where 𝑓′ is zero or where 𝑓 is not differentiable. Note that
𝑓′ is never zero. However, 𝑓′ is not defined at π‘₯ = 0, which means that 𝑓 is not
differentiable at π‘₯ = 0, by our definition, π‘₯ = 0 is a critical number (and 0,0 is a
critical point). Now, check the function values at π‘₯ = βˆ’2, π‘₯ = 0, and π‘₯ = 3:
𝑓 βˆ’2 β‰ˆ 1.587, 𝑓 0 = 0, 𝑓 3 β‰ˆ 2.08
The maximum is approximately 2.08 and occurs at π‘₯ = 3; the minimum is 0 and
occurs at π‘₯ = 0
28
Example 3: Finding Absolute Extrema
29
Example 4: Finding Extreme Values
Find the extreme values of 𝑓 π‘₯ =
1
4βˆ’π‘₯ 2
.
30
Example 4: Finding Extreme Values
Find the extreme values of 𝑓 π‘₯ =
1
4βˆ’π‘₯ 2
.
First note that no interval is provided. From the function it is clear that the domain
is βˆ’2,2 . Since this is not a closed interval, we cannot conclude that the function
has both an absolute minimum and absolute maximum. We differentiate to find
critical numbers:
βˆ’1
1
1
π‘₯
βˆ’
βˆ’1
2
β€²
2
𝑓 π‘₯ = 4 βˆ’ π‘₯ 2 ⟹ 𝑓 π‘₯ = βˆ’ β‹… βˆ’2π‘₯ β‹… 4 βˆ’ π‘₯ 2 =
3
2
4 βˆ’ π‘₯2 2
We have that 𝑓 β€² π‘₯ = 0 if π‘₯ = 0 and this is the only critical number because critical
1
numbers are only interior values of an interval. The critical point occurs at 0,
2
31
Example 4: Finding Extreme Values
Find the extreme values of 𝑓 π‘₯ =
1
4βˆ’π‘₯ 2
.
How can we know whether 𝑓(0) is a maximum, minimum, or neither? If π‘₯ > 0,
then the denominator of 𝑓 decreases, so its reciprocal increases. The same is true if
π‘₯ < 0. This means that, for all π‘₯ β‰  0, 𝑓 π‘₯ > 𝑓(0) and by definition this means
that we have an absolute minimum at π‘₯ = 0.
Is there an absolute maximum? As π‘₯ approaches 2 from the left, the denominator
approaches zero, so the function approaches infinity. The same is true as π‘₯
approaches βˆ’2 from the right. So this function has no maximum value.
32
Example 4: Finding Extreme Values
33
Example 5: Finding Local Extrema
Find the local extrema of
5 βˆ’ 2π‘₯ 2 , if π‘₯ ≀ 1
𝑓 π‘₯ =
π‘₯ + 2, if π‘₯ > 1
34
Example 5: Finding Local Extrema
Find the local extrema of
5 βˆ’ 2π‘₯ 2 , if π‘₯ ≀ 1
𝑓 π‘₯ =
π‘₯ + 2, if π‘₯ > 1
This function cannot have absolute extrema since function values continue
increasing to the right of 1, and continue decreasing to the left of 1. What about
local (relative) extrema? We differentiate 𝑓 by differentiating the two pieces of the
function. But we must determine whether the function is differentiable at π‘₯ = 1. To
do this, find the left- and right-hand derivatives:
𝑓 1+β„Ž βˆ’π‘“ 1
1 + β„Ž + 2 βˆ’ (1 + 2)
β„Ž
lim
= lim+
= lim+ = 1
β„Žβ†’0+
β„Žβ†’0
β„Žβ†’0 β„Ž
β„Ž
β„Ž
35
Example 5: Finding Local Extrema
Find the local extrema of
5 βˆ’ 2π‘₯ 2 , if π‘₯ ≀ 1
𝑓 π‘₯ =
π‘₯ + 2, if π‘₯ > 1
𝑓 1+β„Ž βˆ’π‘“ 1
5βˆ’2 1+β„Ž 2βˆ’ 5βˆ’2 1
limβˆ’
= limβˆ’
β„Žβ†’0
β„Žβ†’0
β„Ž
β„Ž
2
βˆ’4β„Ž βˆ’ 2β„Ž2
= limβˆ’
= limβˆ’(βˆ’4 βˆ’ 2β„Ž) = βˆ’4
β„Žβ†’0
β„Žβ†’0
β„Ž
The derivatives are different, so 𝑓 is not differentiable at π‘₯ = 1.
36
Example 5: Finding Local Extrema
Find the local extrema of
5 βˆ’ 2π‘₯ 2 , if π‘₯ ≀ 1
𝑓 π‘₯ =
π‘₯ + 2, if π‘₯ > 1
So our derivative is
𝑓′
βˆ’4π‘₯, if π‘₯ < 1
π‘₯ =
1, if π‘₯ > 1
Therefore we have critical points at π‘₯ = 0 and π‘₯ = 1. Since the function piece
defined for π‘₯ ≀ 1 is a parabola that opens down, then 𝑓(0) must be a local
maximum.
37
Example 5: Finding Local Extrema
We can determine how to classify the critical point (1,3) by examining what
happens to the function values at π‘₯ on either side of (but near) π‘₯ = 1. To the
left of π‘₯ = 1, note that 𝑓 .9 = 3.38, 𝑓 0.8 = 3.72, 𝑓 0.7 = 4.02; in general,
these nearby values are greater than 3. To the right of π‘₯ = 1: 𝑓 1.1 = 3.1,
𝑓 1.2 = 3.2, 𝑓 1.3 = 3.3; in general, these nearby values are greater than 3.
So we have, that 𝑓 π‘₯ > 𝑓(1) for values near π‘₯ = 1 so by definition, 1,3
occurs at a local minimum.
38
Example 5: Finding Local Extrema
39
Example 6: Finding Local Extrema
Find the local extrema of 𝑓 π‘₯ = ln
π‘₯
1+π‘₯ 2
.
40
Example 6: Finding Local Extrema
Find the local extrema of 𝑓 π‘₯ = ln
π‘₯
1+π‘₯ 2
.
The textbook asks you to use a calculator, but differentiating this function is not
beyond your ability if you first note the following:
Suppose that 𝑒 is a differentiable function of π‘₯. Then 𝑦 = ln 𝑒 can be written as a
piecewise defined function
ln 𝑒 , if 𝑒 > 0
𝑦=
ln(βˆ’π‘’) , if 𝑒 < 0
𝑑𝑦
1
𝑑𝑦
1
1
Then we get = 𝑒′ β‹… if 𝑒 > 0 and = βˆ’π‘’β€² β‹…
= 𝑒′ β‹… , if 𝑒 < 0. We can
𝑑π‘₯
𝑒
𝑑π‘₯
βˆ’π‘’
𝑒
ignore the absolute value sign!
41
Example 6: Finding Local Extrema
Find the local extrema of 𝑓 π‘₯ = ln
Now, if 𝑒 =
π‘₯
,
1+π‘₯ 2
π‘₯
1+π‘₯ 2
.
then
β€²
𝑒
𝑓 π‘₯ = ln 𝑒 ⟹ 𝑓 β€² π‘₯ =
𝑒
Find 𝑒′ (with respect to π‘₯):
2 β‹… 1 βˆ’ π‘₯ 2π‘₯
2
1
+
π‘₯
1
βˆ’
π‘₯
𝑒′ =
=
2
2
1+π‘₯
1 + π‘₯2 2
Therefore,
2
2
2
1
βˆ’
π‘₯
1
+
π‘₯
1
βˆ’
π‘₯
𝑓′ π‘₯ =
β‹…
=
2
2
1+π‘₯
π‘₯
π‘₯ 1 + π‘₯2
42
Example 6: Finding Local Extrema
Find the local extrema of 𝑓 π‘₯ = ln
π‘₯
1+π‘₯ 2
.
2
2
2
1
βˆ’
π‘₯
1
+
π‘₯
1
βˆ’
π‘₯
𝑓′ π‘₯ =
β‹…
=
2
2
1+π‘₯
π‘₯
π‘₯ 1 + π‘₯2
Find where 𝑓′ is zero and where 𝑓 is not differentiable. The function is not
differentiable at π‘₯ = 0, but this doesn’t count because ln 0 is not defined (so zero is
not in the domain of 𝑓). We have 1 βˆ’ π‘₯ 2 = 0 ⟹ π‘₯ = ±1. The function values for
1
these critical numbers are 𝑓 1 = ln
= 𝑓 βˆ’1 β‰ˆ βˆ’0.693
2
43
Example 6: Finding Local Extrema
Find the local extrema of 𝑓 π‘₯ = ln
π‘₯
1+π‘₯ 2
.
Finally, check some nearby function values to determine whether these are
local maxima, minima, or neither.
At π‘₯ = βˆ’1: 𝑓 βˆ’1.1 β‰ˆ βˆ’0.698, 𝑓 βˆ’0.9 β‰ˆ βˆ’0.699; this appears to be a local
maximum
At π‘₯ = 1: 𝑓 1.1 β‰ˆ βˆ’0.698, 𝑓 0.9 β‰ˆ βˆ’0.699; this, too, appears to be a local
maximum.
44
Example 6: Finding Local Extrema
45
Exercise 5.1
46