Maximum and Minimum Values

Download Maple Worksheet

Some of the the most important applications of differential calculus are optimization problems.

For examples :

What is the shape of a can that minimizes manufacturing costs ?

What is the maximum acceleration of a space shuttle ?

These problems can be reduced to finding the maximum or minimum values of a function.

 

DefinitionA function f has an absolute maximum at c if f(x) <= f(c) for all x in D ,  where D is the domain of f . The number f(c) is called the maximum value of f on D .  Similarly, f has an absolute minimum at c if f(c) <= f(x) for all x in D . The number f(c) is called the minimum value of f on D . The maximum and minimum values of f are called the extreme values of f .

 

Definition:  A function f has a local maximum at c if f(x) <= f(c) when x near c . Similarly, f  has a local minimum at c if f(c) <= f(x) when x near c .

 

Example: The graph of the function f(x) = 3*x^4-16*x^3+18*x^2 is shown below. We see that f  has a local maximum at x = 1 , whereas the absolute maximum is f(-1) . Also, f has a local minimum at 0 and f(3) is both a local and absolute minimum.

[Maple Plot]

 

The Extreme Value Theorem

If f is continuous on a closed interval [a, b] , then f attains an absolute maximum value and an absolute minimum value in [a, b] . That is, there exist c and d in [a, b] such that f(x) <= f(c) and f(d) <= f(x) for all x in [a, b] .

 

Remarks:

1. An extreme value can be taken on more than once. For example : f(x) = sin(x)on[-4*Pi, 4*Pi] .

[Maple Plot]

2. If f is not continuous on a closed interval [a, b] , then f may not attain an absolute maximum value and an minimum value in [a, b] .

For example :

f(x) = PIECEWISE([x+2, x < 1],[-x+3, 1 <= x])on[0, 2]

[Maple Plot]

3.If f is continuous on a closed interval ( a, b ), then f may not attain an absolute maximum value and an minimum value in (a, b).

For example : f(x) = 1/x on (0, 1).

[Maple Plot]

4.If f is continuous on an unbounded interval  (for example : ( a, infinity ) ),  then f may not attain an absolute maximum value and an minimum value on the interval. 

For example : f(x) = x on [ 0, infinity).

Given a continuous function f on [ a, b ], how to find its extreme values ?

 

1. The extreme values may occur at the endpoints (which is true for every monotonic functions).

2. If f has an extreme value at c in (a, b) then f(c) must be a local extrema .

 

If f(c) is a local extreme, the following animations show the possible situations that can happen :

[Maple Plot]

 

 

 

 

[Maple Plot]

 

 

 

[Maple Plot]

 

 

 

[Maple Plot]

 

 

 

 

[Maple Plot]

 

 

It seems that at the local maximum and minimum points either the tangent lines do not exist or the tangent lines are horizontal. The following theorem says that this is always true.

 

Fermat's Theorem

If f has a local maximum or minimum at c , and if f ' ( c ) exists, then f ' ( c ) = 0.

Proof: Suppose that f ' ( c ) exists, without loss of generality, we may assume f has a local maximum at c.

 

Then, f(x) <= f(c) if x is sufficiently close to c . This implies that if x is sufficiently close to c and c < x , we have

(f(x)-f(c))/(x-c) <= 0

Thus,

limit((f(x)-f(c))/(x-c),x = c,right) <= 0 .

 

Whereas, if x is sufficiently close to c and x < c , we have

0 <= (f(x)-f(c))/(x-c)

and hence

0 <= limit((f(x)-f(c))/(x-c),x = c,left) .

 

Since f ' ( c ) exists, we have

0 <= limit((f(x)-f(c))/(x-c),x = c,left) = f ' ( c )

and

f ' ( c ) = limit((f(x)-f(c))/(x-c),x = c,right) <= 0

 

Therefore, f ' ( c ) = 0.

 

Definition: A critical number of a function f is a number in the domain of f such that f ' ( c ) does not exist or f ' ( c ) = 0.

 

Note that f(c) may not be a local extrema if c is a critical number of f . For example, 0 is a critical number of f(x) = x^3 but f does not have a local extrema at x = 0 .

[Maple Plot]

Example  Find the absolute maximum and minimum values of f(x) = abs(x)-x^2on [-2, 3] .

[Maple Plot]

(1). Find all the critical numbers of f :

Since f ( x ) = x-x^2 for all 0 < x , hence

f ' ( x ) = 1-2*x for all 0 < x

and f ( x ) = -x-x^2 for all 0 < x , hence

f ' ( x ) = -1-2*x for all 0 < x .

 

Note that f ' (0) does not exist (why ??).

 

Therefore, all the critical numbers of f are 0, -1/2 and 1/2 .

 

(2). Find the values of f at the critical points and two endpoints :

 

f (0) = 0, f ( 1/2 ) = f ( -1/2 ) = 1/4 , f ( -2 ) = -2 , f (3) = -6 .

 

(3).Compare the values found in (2) :

 

f ( 1/2 ) = f ( -1/2 ) = 1/4 is the maximum value and f (3) = -6 is the minimum value of f .

 

 

Example: Find all the local and absolute extreme values of g(x) = x^(2/3)-x^(5/3) on [-1, 2] .

[Maple Plot]

Since

g' ( x ) = 2/(3*x^(1/3))-5/3*x^(2/3) = -1/3*(-2+5*x)/(x^(1/3))... for all x <> 0 and

g ' (0) does not exist, the critical numbers of g are 2/5 and 0. For all x in [-1, 1] 0 <= g(x)and g(x) <= g(2/5) , these imply that g has a local maximum at x = 2/5 and has a local minimum at x = 0 .

 

The values of of g at the critical numbers are

 

g(0) = 0 g(2/5) = 3/25 20^(1/3) < 9/25

 

The values of of g at the critical numbers are

 

g(-1) = 2 g(2) = -2^(2/3)

 

Comparing these four numbers, we see that the absolute maximum value is g(-1) = 2 and the absolute minimum value is g(2) = -2^(2/3) .

We leave it as an exercise for you to find all the local and absolute extreme values of h(x) = x^(3/5)*(x-4) on [-1, 5] .

Here are some problems to think about :

Let f be a quadratic function 

(  i.e. f(x) = a*x^2+b*x+c , where a <> 0 ).

 

(a). How many critical numbers can f have at most ?

Is it possible that f has no critical number ?

 

(b). How many local extreme values can f have at most ?

Is it possible that f has no local extreme value ?

(c). If f is a cubic function

(i.e. f(x) = a*x^3+b*x^2+c*x+d , where a <> 0 ),

what are the answers to (a) and (b) ?


Download Maple Worksheet

2003-11-17