Maxima Minima For Several Variables
Maxima Minima For Several Variables
19
Extrema of Function of
Several Variables
@Introduction
chapter we have alr eady derived the extrema (i.e., maxima or minima) of a
previous
variable. In the present chapter we will derive the extrema (both maxima
ctionofsingle
function of multi variable (mainly two or three variables). Further in this
minima)of a
find the extrema of a function of more than one variable subject to one
weintend to
chapter
functionalrestriction(s) by Lagrange's multiplier method.
more
or
ExtremePoint of a Function of Two Variables
19.1
for a function f!x, y) to have extreme point(s) at (a, b) is the first
Thenecessarycondition
order partialderivative should vanish at (a, b) [i.e.,rx (a, b) = 0 = fy (a, b)}. Now an extreme
point(a, b) of a function does not imply that the function is minimum (or maximum) at
(a,b). Below we state
the working rule to determine extrema as well as possible maxima or
of a function of two variables.
minima
Working Rule
Letttx,y) be a function of two variables and our objective is to find extrema of ftx, y).
Step-I : First solve the equations fx(x, y) = 0 and fy (x, y) = 0 to obtain the extreme points
andlet (a, b) be one such extreme point.
Step-2 : Find Hessian matrix H(x, y) = fxxfyy—(fxy)2.
Step-3: (i) If H (a, b) > 0, then f(x,y) is minimum at (a, b) if either fxx(a, b) > 0 or
G (a, b) > 0 and fix, y) is maximum at (a, b) if either (a, b) < 0 or f», (a, b) < 0.
(ii)IfH(a, b) < 0 then (a, b) is a saddle point of the function flx, y).
(iii)IfH (a, b)= 0, then we cannot draw any conclusion and further investigation is required.
Note
It shouldbe noted that instead of finding H(a, b) we may find d 2f (a, b), where
d2f= —dt+—dy /(x, y).
Ox DY
Inthiscase, in step-3, H(a, b) should be replaced by d2f (a, b) to check the nature of the
point(a, b).
[4031
404 | Fundamental Engineering Mathematics
Working Rule for Function of Three Variables
Let flx, y, z) be a function of three variables x, y, z and our objective is to find the
possible
maxima and minimum of the function flx, y, z).
• Step-I : Solve the equations fr (x, y, z) = fy (x, y, z) = fz (x, y z) = O. Let (Q,b, c)
solution of the above systems so that (a, b, c) is an extreme point of the function Rx
• Step-2 : Find the value of d2f(a, b, c), where YR).
(ii) If H (a, b) < 0, then (a, b) is a saddle point for the function fix, y).
(iii) If H (a, b) = 0, then no conclusion can be drawn regarding the maximum or
minimum
of the point (a, b).
Extrema of Function of Several Variables 405
Here our targate is to minimize the function /(x, y, z) subject to xyz = c3.
We form the Lagrangian
L(x, y, z) = x2 + Y2 + z2 + A(xyz -- c3)
Taking first and second order partial derivatives, we have, lax= 2r + 2AY2,lay= O,
14 = 2z + 2Æty. +
LA c3, 2, 2, 2 and Lay= 2Az, lox = 2Ay,
At the extreme points we have, zye2
Lx = 0 giving 2(x + Ayz) = 0 — x = —Ayz
Ly = 0 giving 26' + Axz)= 0 * y = —Axz,
and = 0 giving 2(z + Axy)= 0 z = —Axy
Multiplying above three we have,
xzy = —13 x2y2 z2 i.e., A3xyz = —1
i.e., 13 c3 = —1 giving , since A is real.
c
Therefore at extreme point
— i.e., x 2 _ xyz = c giving x = ± c.
c c
Similarly, at extreme points we have y = ± c, z = ± c.
Since xyz = c2, therefore the extreme points are given by (c, c, c), (c, —c,—c), c,c)
and (—c,c, —c).
Now it can be shown that at each of above four extreme points d 2L(x,y, z) is positive
definite. Hence the function flx, y, z) = x2 + Y2 + z2 subject to xzy = c3 is minimum at four
points namely (c, c, c), (c, —c, —c),(—c, —c, c) and (—c, c, c) and minimum value offlx,yg)
isc + c + c2 = 3c2.
Illustrative Examples
Find the extrema of Ax, y) = x8 + —63(x + y) —12ty. [WBUT 20061
-63 3y2- - 63
-21=0
(3) we have,
(2)and
or X+ y +4=0
Ning s —Y
x = y and using it (2) and (3) we have, x2 4x -- 21 = 0
(4)we have,
7)(x + 3) = 0 i.e., x = 3
ving(x —
we have, (—3,—3)and (7, 7) are two stationary points 18incehere x = y)
Hencefrom (4)
(5) we have y = —x 4 and using it in (2) we have,
Againfrom
Since at the extreme point both H(x, y) and fxx are positive so the
function
1 4 16 2 12 8
9 9 9 {33
Prove that the function f(x, y) = x 2 —2xy + Y2 —x3 — + x5 has neither maxi.
mum nor minimum at the origin.
Solution Here the given function is
flx, y) = x2 —2xy + — —y3 + x5
Taking partial derivatives of flx, y) with respect to x and y respectively of first and second
order we have,
fx = —2y —3x2 + 4x4
fy=-2t+2y-3y2
fxx= 2 - 6X+16x3, G = -2 = fyx, 2 - 6y
Extrema of Function of
Several Variables 411
is an extreme point of the function /(x, y)
clearly(0, O) since (0, 0) satisfies both = O and
at (0, 0
0)= 2 x 2 - O and fxx= 2
, 0).
er investigation are necessary whether a stationary point is an extreme point or
soforth it is maximum or minimum.
whether
or =
ve that fix, y) x4 + x2y + has a minimum at (O,
O).
Here the given function is /(x, y) = .t4 + x2y + Y2
solution derivative of first and second order, we
taking partial have
= 2y + 12r2
Ety + 4x3,
an extreme point of the given function ftx, y). Since (0, 0) satisfies both
clearly(O,0) is
0.
0 and
0), the Hessian matrix is
Nowat (0,
[Ox 2-0] -O.
are necessary to derive whether it is maximum or minimum at
Sofurtherinvestigations
and f (x y) sin—•cos
Therefore the extreme point is a maximum point and the maximum valueof
function is
= sin — + sin — + ms
6
Find the shortest distance from the point (O,b) to the parabolax2
Solution Let A be the distance from the point (0, b) to the parabola x-2= 4y.
Then we have 1 2 = x2 + (y — ,
where (x,y) is any P)int on the parabola.
To find the shortest distance, we form a Lagrangian as
L(x, y, A) = 12 + A(x2—4y) = + (y — + A(x2—4y)
Along the shortest path we have Lx = 0 = G. Now differentiating (2) partially with
to x and y we respectively have,
0 i.e., & —2Ax = 0 giving A = —1 or x = O.
Is. = O i.e., —b) —41 = 0 giving y = b + 21 = b —2, since A = —1
Therefore at A = —1, (O,b —2) is a stationary point.
Now from (2) we have,
Find the point on the plane x + 2y + 3z = 13 nearest to the point (I, 1,1)
using the method of Lagrange's multiplier. [WBIJT20011
Solution Lets be the distance from the point (1, 1, 1) to the plane x + 2y + 3z = 13,
we have,
s 2 = (x— 1)2 + (y —1)2 + (z—
where (x, y, z) is any point on the plane x + 2y + 3z = 13.
Extrema of Function
of Several Variables
shortest distance, we form a Lagrangian 413
findthe + + as
fo A) ' + 13)
- (x- 1)2+(y- + (z- 1)2+
+2Y+3z- 13)
of L, we have,
extreme points
the
d2L
32.2,
Further 2
Thereforethe shortest distance from the point (1, 1, 1) to the plane x + 2y + 3z = 13 is
(3/2,2, 5/2). Hence the shortest distance is
along
2
1
2-1)2 4 4
Find the shortest distance from the origin to the hyperbola x2 + 8ry + 7y2
= 225. [CU 19961
i.e., (1 + + =o
i.e., -1=0
i.e., (91 + —1) = 0 giving 1 = 1, —I9 .
1
when = 1, then y = — and when 1 = — , then y = ax.
2
Now when y = '2x, then we have from (1),
x2 + 16x2 + 2812 —225 = 0 giving x2 —9 = 0 i.e., x = ± 3, y = ± 6
Further when y = then from (1)
x2 —4x2 + —x2 —225 = 0, i.e., x2 + 180 = 0, which does not give any real value ofx.
Therefore the stationary points are (3, 6), (—3,—6). Also from (3) we have,
2 (1 + 1), + 71) and 81
Therefore on the given hyperbola, from both (3, 6) and (—3,—6),we have the shortest
distance to the origin. Hence the required shortest distance is
12. If x, y, z denotes the three angles of a triangle, then find the maximum
value of cos x cos y cos z [CU19931
Solution Since x, y, z denotes the three angles of triangles then
Extrema of Function of Several 415
Variables
coxz
cosXcosy
Ißt cosx cosy cos(lt —(x + y)) [From (I))
Theo cosx cosy cos(x + y)
cosx cosy(cosx cosy sinx siny)
cos x sin2y
sin2x cos 2y +
27t 411
sm2 —+2 cos— cos sm —+2cos — cos —cos2
3 3 3 3 3 3 3
2
47t
2 cos—cos — —sin —cos 2
3 3 3 3
411 47T 3
= 1—cos
2 sin2 (>0)
3
Thereforeat the point the function u (x,y) attains its maximum value,
The above problern can alB0be solved by Lagrange's multipliers method. In this
Lagrangian will be, the
cosy COBZ
L = COBX + y + z -- n)
= and the corresponding
U8ing lax= lay= L, = LA = 0, one may obtain x = y = z --
value of the function COBX cogy COBZ iB
8
13. Show that fXx,y) Isin xl + Isin yl has its minimum value at the origin
although rx and does not exist where — < x, y < n.
Solution Herc the given function is
f (x,y) = Isin xl+lsin yl
lim
f(O+h,0)- = lim
Now
Hence the function /(x, y) has its minimum value at the origin although and fydoesnot
exist at the origin [Proved].
14. Find the minimum value ofx 2 + + za subject to PX + qy + rz = a.
Solution Our objectiveis to minimize the function
2
Then + PA = 0 giving x =
2
2y + qA = 0 giving y = — ,
'2
2z + rl = 0 giving z = , andpx + qy + rz —a = 0
2
Extrema of Function
of Several
we have, Variables 417
from (2)
2a
pa qa
i.e.' p2+q +r p +q +r p +q +r
pa qa
Alsoat
d2L Ox Dy Oz
021. 2 0 210 2
—s(dy) + +2 02L
öxöy öxöz dydz
öyöz
+ (dy)2 + (dz)2) ( > 0) and Lu = 2 (> 0).
pa qa
Thereforethe extreme point is the minimum
pointforthe function ftx, y, z) and corresponding minimum value is
qa a 2(p2 +q + "2)
(p +q +r2)2 p +q +r
15. Prove that the volume of the greatest rectangular parallelopiped that can
abc
be inscribed in the ellipsoid is 8 [WBUT20021
SolutionLet 2t, 2y, 2z be the respective length, breadth and height of the rectangular
which is inscribed within the ellipsoid —
parallelopiped
L (x,y, z, A) = 8xyz + A
0 i.e., 8ty +
c
2
c
Now multiplying (3), (4), (5) respectively by x, y and z and then adding we have,
2
24xyz + 21
c
i.e., 24 xyz + 21 = 0 [From (6)1
giving 1 = -- 12xyz.
Hence from (3) we have, at extreme point,
2 0214
—(dy)2 2 +2
x Y öXÖZdd
021,
dz
Dy2 DyOz Y
16 abc dx dy dz
3
2
we have dz
Since
from
I
Cfxetcise
Answer Type Questions 9. Prove that the function/(x, y) = 4xy
ID Short
point of the function has neither maximum value nor mini-
1. Findthe critical mum value at (0, O).
ftx, y) = x2 + Y2—xy + 2x + 2y —4.
10. Find the extreme point of the function
2. Find the stationary point of the func- /tx, y) = .r2 + Y2 + (x + y + 1)2.
tion f(x, y) = x2 + Y2 — + 2y + 3.
ID Long Answer Type Questions
3. Find the extreme points of the func-
tion /tx, y) = x3+ —3x —12y + 20.
1. Examine the extreme values of the
4. Find the critical points of the function function /tx, y) = x2 + y + x + y + 1.
flx, y) = 2(x — —x 4 —y 4. [CU 20051
5. Provethat if a < 0, then the function 2. Find the extreme values of the func-
fix, y) = x3 + y 3 —3axy is maximum at tion /tx, y) = 2x2 —xy + 2y2 —20x.
[CU 20001
2 3. Examine the extreme values of the
6. Prove that ftx, y) = x3 + 3xy2 —3y2 —3x
+ 4 has a maximum at (0, O). function Rx, y) = x3 + 3x2+ 4xy + y 2
7. Prove that the function ftx, y) = x2—2ry 4. Find the maximum and minimum
+ Y2 + 1 3 —y3 + x 5 has neither maximum value of the function
nor minimum value at ((),0). /tx, y) = 4x2 —xy + 4y2 + x3y + xy 3—4.
[CU 20071
8. Prove that is a saddle point of
5. Examine for extreme values of the
the function function
f(x, y) = x3y + xy3 + 4x2 —xy + 4y2 —4. /tx, y) = x8 + 3xy2 —15x2 —15y2 + 72x.
420 Fundamental Engineering Mathematics
6. Determine the saddle points of the tox2+Y2+z2=c2at ±c
function flx, y) = x3 + y 3—3x s—12y + 20.
3'h).
7. Examine for the existance of maxima Hence derive (x2y 2z2)i s x2+
or minima of the function
19. Prove that the area of a triangle J.
ßx, y) = xy . perimeter is constant wk
is
when it is an maxirR
equilateraltriangle
8. Prove that (—1,2) and (1, —2)are the
saddle points for the function 20. Show that the maximum value
of
f(x, y) = x3 + y3 3x —12y + 20. subject to 4x + 3y = 5 is 25
48
9. Find the extreme point(s) of the func- 21. Prove that among all the
tion flx, y) = x2 + xy + Y2 + x + y + 1 parallelopiped of same volume
and examine the nature of the func- cube has the least surface area. the
tion at extreme point(s).
Multiple Choice Questions (MCQ)
10. Show that origin is a minimum point
+2 I. For a function f(x, y) the solutions
offlx,y) = 2x4—x2Y+ equations fx(x, y)
ofthe
= fy (x, y) = 0
weget
Il. Show that (1, 1) is a minimum point of a. extreme points b. saddlepoints
c. natural points d. none of these
the function ftx, y) = xy +
2. Iffx = fy = 0 at (a, b) then the
critical
12. Show that f!x, y) = 284 + 2r 2y + Y2 has point of f(x, y) is
a minimum at (0, 0).
13. Show that the minimum value of d. none of these
ftx, y) = Ixl+lyl occurs at the origin 3. If a function f(x, y) has a maximum
or
although neither fx(0, 0) nor fy(O,0) minimum at (2, 2), then fy (2, 2) =
exist.
14. Find the maximum value of f(x, y) = d. none of these
sinx siny sin(x + y), where 0 x, y It 4. The sufficient condition for the
and 0 S x + y lt. function flx, y) to be maximumat its
15. Minimize x2 + Y2 + z2 subjct to xyz = 8. extreme point (a, b) is
16. Find the minimum value ofxy + yz + zx
subject to xyz = c3 b.f (a b) f (a b) —{fxy(a,
17. Find the maximum and minimum c.f (a b) f (a b) —{fxy(a,
value of x2 + Y2 + z2 + 2 subject to
2
d. none of these
and x + y = z. 5. For the function ftx, y), if fx(a,b)=
4 5 25
18. Show that the arithmatic mean of fy(a, b) = 0, then (a, b) will bea
saddle point if
three positive numbers is never less
than their geometric mean. (a b) —{fxy(a,
a. fxx(a b) fYY
b.f (a b) —{fxy(a,
(a b) fYY >O
[Hint. Show that the function
/(x, y, z) = x2y2z2 is maximum subject c.f (a b) —{fxy(a,
(a b) fYY
d. none of these
Extrema of Function of Several Variables 421
y), if dz = 0 at 15. For what value of a, origin is an ex-
function z = fix,
b) is a maximum point treme point for nx, y) = x2 + ay2 + 2
6. forb),then (a,
(a,
when b. d 2z < O
d. none of these
c. any real value of a
for the function
extremepoint d. none of the above
1 2 is 16. The function ftx, y) = 8t4— + Y2
has a minimum at
a. d. does not exist
value of the function
Themaximumis
cosz
coss cosy 1 17. If L(x,y, z) be a Lagrangian such that
b.
8 at (a, p, y). Then
36 the point (a, p, y) is
minimum value of the function a. maximum point b. minimum point
9. The d. extreme point
sin z is c. saddle point
sinx sin y
18. For a function flx, y) iffx = 2t + y and
d. none of these fy = x + y then
value of the function a. origin is a saddle point
10.Themaximum R exists at
sinx cosy; x, y e b. origin is a maximum point
b. two points
a. one point c. (1, 0) is a maximum point
c. infinitepoints d. no where d. origin is a minimum point
(a, b, c), fx = fy =
ll. Supposeat a point 19. If the Lagrangian of a functionflx, y, z)
fz = O and d2f is a positive definite subject to the constraint g(x, y, z) = c is
then for the function ffx, y, z) the point L(x, y, z) = flx, y, z) + y, z) —c},
(a, b, c) is then at the extreme points
a. maximum point b. minimum point
c. saddle point d. none of these
2
12.The minimum value of x2 + Y2 + z b. = Obut
subjectto x + y + z = 6 is c. O but O, *O
a. 12 b. 20
2
13. The maximum value of x-2 + Y2 + 22
subjectto x + y + z = 10 is 20. If at a point (1, 2, 3), the function
f!x, y, z) is maximum and at (2, 3, 1),
400
a. 100 b. fix, y, z) is minimum then
9
d. none of these a. fx(l, 2, 3) = O but 3, 1) = O
14. The maximum value of xyz subject to b. fx(l, 2, 3) = O,but fy(2, 3, 1) * O
x + y + z = 15 is
a. 15 b. 125 c. fx(l, 2, 3) = O = fy(2, 3, 1)
c.1000 d. none of these d. fy(l, 2,
422 Fundamental Engineering Mathematics
Answers
3. (1, 2) (-1, 2), (1, -2) and (-1, -2) 7. Minimum at (2, 2).
4. (a, Vä) 10 9. One extreme point 1
3' i '-j 'a
nd
B. 1. Minimum at 1 this is minimumpoint.
2
16 and fmax =
2. Minimumat 15.12
3 l) 8
2 16. Minimum point (c, c, c) and
3. Minimumat 3'
mum value 3c 2.
4. Minimum at (0, 0), neither a maxi-
17. Maximum value = 12 and
mum nor a minimum at
mum value = 109
17