MAT 295
Chapter 8
Extremum of
Functions
At the end of this chapter, students should be able to:
Define, compute and classify critical points for a function of two variables
Define and compute the relative extrema for a function of two variables
8.1 Introduction
In earlier chapter the discussion involved application of partial derivatives. In
chapter 7, problems such as determining the slope of the tangent line at a
point (a, b) and rate at which a volume of certain object change as the
dimension changed were look into.
In chapter 8, another application of partial derivatives will be explored. Refer
to Figure 8.1, the graph consist of high and low points. Among the higher and
lower points, it is possible to have the highest and lowest point among all
points. What are these points and how can they be located? To answer this
question an understanding of the critical point and the extremum for a function
of a single variable is required.
103
MAT 295
dy
0 (Figure 8.2).
dx
y
In this section the critical points for a function of two variables f ( x, y ) will be
identified and later classify them in section 8.3. A critical point is also known
as a stationary point.
Definition
Let f ( x, y ) be a function of two variables. A point (a, b) is a critical point of
f ( x, y ) if either
(a)
f x a, b 0 and fy a, b 0 or
(b)
104
MAT 295
Steps
Find f x and fy
Let f x 0 and fy 0
Example 1
Find the critical point(s) for the function f ( x, y ) 4xy 2x 2 y .
Solution
Find f x and fy
f x 4y 4 x
(1)
fy 4 x 1
(2)
Let fx 0 and fy 0
f x 4y 4 x 0
fy 4 x 1 0
4x 1 0
1
x
4
105
1
:
4
1
4
1 1
Therefore the critical point is ,
.
4 4
Example 2
Find the critical points for the function f ( x, y ) 3 4xy 2x 2 y 3 .
Solution
Find f x and fy
f x 4y 4 x
(1)
f y 4 x 3y 2
(2)
Let fx 0 and fy 0
fy 4 x 3y 2 0
f x 4y 4 x 0
4 x 3y 2 0
4x 3x 2 0
x 4 3 x 0
x 0 @
4
3
4
:
3
y 0
y
(0, 0)
4
3
4 4
,
3 3
4 4
Therefore the critical points are 0, 0 and ,
.
3 3
Example 3
Find the critical point(s) for the function
f ( x, y ) 2x 3 y 3 3x 2 18y 2 81y 5 .
106
MAT 295
MAT 295
Solution
fx 6x 2 6x
(1)
fy 3y 2 36 y 81
(2)
x 1
and
3y 2 36 y 81 0
y 2 12 y 27 0
y 9y 3 0
y 9
y 3
The solutions, which are the critical points to the above system of
equations are given by 0, 3 , 0, 9 , 1, 3 and 1, 9 .
Warm up exercise
3
Let f ( x, y ) 3y x y 3x :
(i)
find f x and fy .
(ii)
(iii)
8.3 Extremum
Once the critical points of a function f ( x, y ) are identified, how can they be
classified? Recall that the critical point(s) of a function of a single variable
f (x ) can be classified as relative minimum, relative maximum or inflection
point by applying the first and second derivatives tests. Similarly, the critical
107
MAT 295
Definition
A function f of two variables is said to have a relative maximum at a point
(a, b) if for all point ( x, y ) sufficiently close to (a, b) such that f (a, b) f ( x, y ) .
Definition
A function f of two variables is said to have a relative minimum at a point
(a, b) if for all point ( x, y ) sufficiently close to (a, b) such that f (a, b) f ( x, y ) .
Definition
A function f of two variables is said to have a saddle point at (a, b) if the
function f has neither a relative minimum nor a relative maximum point.
Minimum point
Maximum point
Saddle point
Definition
The term D D(a, b) f xx (a, b)fyy (a, b) f xy (a, b) 2 is called the discriminant
of the function f ( x, y ) .
108
MAT 295
Theorem
Second Partial Derivatives Test
Suppose the second partial derivatives of f are continuous on critical point
(a, b), and suppose that f x (a, b) 0 and fy (a, b) 0 . Let
a)
b)
c)
d)
Steps
Identify the critical point(s) (a, b) of f
Find f xx , fyy , and fxy
f xy (a, b) I
Example 4
The critical points for the function f ( x, y ) 3 4xy 2x 2 y 3 are 0, 0
4 4
and ,
. Classify the critical point(s).
3 3
Solution
0, 0 and 4 ,
3
f xy 4
4 4
,
3 3
f xx (a, b)
fyy (a, b)
f xy (a, b)
-16
4 4
,
3 3
16
(0, 0)
4 4
,
3 3
<0
> 0
Not
f xx (a, b)
necessary
>0
to check
(0, 0)
3 3
Conclusion
Saddle point
Relative
minimum
Example 5
Locate and classify the critical point for f ( x, y ) 3x 2 2xy y 2 8y .
Solution
MAT 295
110
MAT 295
(1)
2 x 2(3 x ) 8
4x 8
x2
Replacing x 2 into (1) yields y 6 . Therefore the critical point is (2, 6).
fyy 2
f xy 2
(2, 6)
fxx 6
fyy 2
f xy 2
-2
2
(a, b)
Compute discriminant D f xx (a, b)fyy (a, b) f xy
Critical point
(2, 6)
D f xxfyy f xy 2
D f xxfyy f xy 2
(2, 6)
>0
(2, 6)
Conclusion
Minimum
Example 6
Locate all relative extremum and saddle points of f ( x, y ) x 3 y 3 3xy .
111
MAT 295
Solution
f ( x, y ) x 3 y 3 3xy
fx 3 x 2 3y
fy 3 y 2 3 x
(1)
fy 3 y 2 3 x 0
3( x 2 )2 3 x 0
x4 x 0
x (1 x 3 ) 0
x 0 @ x 1
Replacing
x 0 and
y 0 and y 1
fyy 6y
f xy 3
To determine the extremum and saddle points apply the second partial
derivative test.
Critical point
(0, 0)
f xx 6 x
fyy 6y
f xy 3
2
D f xx (a, b)fyy (a, b) f xy
(a, b)
Conclusion
-9
Saddle point
112
(1, -1)
27
Minimum point
MAT 295
Example 7
Find the stationary point(s) and determine the nature of the point(s) if
f ( x, y ) 2x 3 6xy 2 3y 3 150 x .
Solution
f ( x, y ) 2 x 3 6 xy 2 3 y 3 150 x
f x 6 x 2 6 y 2 150
f y 12 xy 9 y 2
(1)
fy 12 xy 9 y 2 0
3 y 4 x 3 y 0
y 0
Replacing y 0 and y
y 0
or
4x
into (1) yields
3
25 x 2 0
4x
3
x 5
4x
16 x 2
: 25 x 2
3
9
25
25 x 2
0
9
5 x
5x
5
5
0
3
3
x 3
x 3 :
x 3 :
or
x 3
y 4
y 4
Therefore the critical points are (5, 0), (-5, 0), (3, 4), and (-3, -4). Then
compute the second partial derivatives to determine the determinant
f xx 12 x
fyy 12 x 18 y
f xy 12y
To determine the extremum and saddle points apply the second partial
derivative test.
113
Critical point
(5, 0)
(-5, 0)
(3, 4)
(-3, -4)
fxx 12x
60
-60
36
-36
fyy 12 x 18 y
60
-60
-36
36
f xy 12y
48
-48
3600
3600
-3600
-3600
Min
Max
Saddle
Saddle
D f xxfyy f xy 2
Conclusion
MAT 295
Example 8
Find all the critical points of the function f ( x, y ) 4xy x 4 y 4 . Determine
which give relative minima, relative maxima or saddle points.
Solution
(1)
4 x 1 x 1 x 1 x 0
4 x 1 x 1 x 1 x 1 x 0
4x 1 x 4 1 x 4 0
fy 4 x 4y 3 0
4 x 4( x 3 )3 0
4x 4x 9 0
4x 1 x 8 0
x 0
or
x 1
or
x 1
or
x i
y 0
x 1 :
y 1
x 1:
y 1
Therefore the critical points are (0, 0), (1, 1) and (-1, -1).
f xx 12x 2
fyy 12y 2
fxy 4
114
MAT 295
Critical point
(0, 0)
(1, 1)
(-1, -1)
f xx 12x 2
-12
-12
fyy 12y 2
-12
-12
fxy 4
-16
128
128
Saddle
Maximum
Maximum
D f xxfyy f xy 2
Conclusion
Warm up exercise
Classify the given critical points for the function f ( x, y ) .
Critical point
(0, 0)
(2, 1)
,2
3
1
,1
3
fxx 6 x
fyy 2y
f xy 2
D fxxfyy fxy 2
Conclusion
115
MAT 295
Steps
Identify the unknown (variables)
Determine the function f ( x, y ) to represent the
problem
Find f x , fy to identify the critical number
Example 9
A rectangular box open at the top is to have a volume of 32 cm3 . What
must be the dimensions so that the total surface is minimum?
Solution
w width
h height
V volume
S total surface
h
w
L
Figure 8.4 : A rectangular box open at the top
Volume V Lwh 32
32
L
wh
Surface S h, L, w Lw 2Lh 2wh
32
32
w 2
h 2wh
wh
wh
32 32
S h, w 2 2wh
h w
116
(1)
32
2w
Sh
h2
MAT 295
(2)
2h 0
w2
32
h
w2
2w 0
32
w 4 64w 0
w w 3 64 0
w w 4 w 2 4w 16 0
and
L4
h2
128
w
Shh
64
h3
Swh 2
Conclude
Example 10
Find the dimensions of a six-faced box that has the shape of a rectangular
prism with the largest possible volume that you can make with 12 square
meters of cardboard.
117
MAT 295
Solution
Using all available cardboard to make the box, the total area A of all six
faces of the prism is given by
A 2xy 2yz 2zx 12
6 xy
xy
V ( x, y ) xy
xy
Let us find the critical points by first finding the first order partial derivatives
Vx ( x, y )
Vx ( x, y )
y 2 x 2 2xy 6
x y
x 2 y 2 2xy 6
x y
Solve to obtain
x y and x y
The solution x y is not valid for this problem since both x and y are
dimensions and cannot be negative. Use x y in the equation
x 2 2xy 6 0 ,
we obtain x 2 2x 2 6 0 .
Solve for x
x 2
118
MAT 295
Find y
y 2
Vyy ( x, y )
2y 2 y 2 6
x y
2x 2 x 2 6
x y
Vxy ( x, y )
2xy x 2 3 xy y 2 6
x y
We now need the values of Axx , Ayy , and Axy to find the value of
D Vxx
2, 2 Vyy
2, 2 Vxy
2, 2
2, 2 Vyy 2, 2 Vxy2
2, 2
5
2
is maximum for
x 2 meters
y 2 meters
z
6 xy
2 meters
xy
Warm up exercise
A prism is to have a volume of 50cm3 . What must be the dimensions so
that the total surface is minimum?
(i) Identify the variables.
(ii) Determine a suitable function.
(iii) Compute the critical number and discriminant.
(iv) Conclude your answer.
119
MAT 295
Exercise 8
1.
Determine the critical point(s) of the functions. Hence, investigate the nature of
the critical points.
a) f ( x, y ) 3y x 3 y 3 2x
b) f ( x, y ) x 3 y 3 2x 6y
c) f ( x, y ) x 2 xy 2y x 1
d) f ( x, y ) x 2 8x 5y 2 10y 13
2.
3.
Find the dimension of a closed rectangular box of minimum surface area that
has a volume of 100 cm3.
4.
5.
Find three numbers x, y and z such that their sum is 30 and their product is a
maximum.
120