Chapter 1 Several Variables
Chapter 1 Several Variables
CHAPTER ONE
DIFFERENTIAL CALCULUS OF FUNCTIONS OF SEVERAL VARIABLES
Let D be the non-empty subset of three dimensional spaces. A function of three variables x , y and
z is a rule that assign a unique real number f x, y, z to each point x, y, z in some subset D of R3.
Note that:
1. The domain of function of several variables is the set of all possible value of the variables
for which the function is defined.
2. The range of f is set of all values assumed by f
i.e.Rf = {z / z=f(x,y) form some (x,y) in D}.
Example1: Find the domain of the following
1. f ( x, y) 1 x 2 y 2 , domain of f is {( x, y) : x 2 y 2 1}.
, domain of f is ( x, y) : ( x, y) (0,0)
xy
2. f ( x, y ) 2
x y2
3.
f ( x, y) y 1 ln x 2 y domain of f is x, y R 2 / 1 y x 2 .
, domain of f is ( x, y) : xy 0 .
1
4. f ( x, y )
xy
Example2: Find the domain of f ( x, y, z ) 1 x 2 y 2 z 2 .
Then domain of f is given by ( x, y, z ) : x 2 y 2 z 2 1 Which is a ball (a solid sphere) of radius 1
Page 1
AASTU APPLIED MATHEMATICS II
z 1
Graph of f ( x, y) 1 x 2 y 2
Domain of f = {( x, y) : x 2 y 2 1}
Figure 3.1,
hemisphere
y
Example 4: Sketch the graph of f ( x, y ) 1 x .
2
y y
Solution: Let z f ( x, y) .Then z 1 x x z 1 .We can see that the intersection of the
2 2
1
graph of 𝑓 with the xy plane is a line x y 1 . Moreover, the intersection of the graphof 𝑓 and
2
xz plane is a line x z 1 . Finally the intersection of the graph of 𝑓 with the𝑦𝑧plane is
1
𝑦 + 2 = 1, i.e. we have the following graph.
2
z
2
1
x
y
Page 2
AASTU APPLIED MATHEMATICS II
Graph of
z x2 y2 Contour
map
Graph of
z x2 y2 Contourmap
Circular paraboloid
3. LEVEL CURVES
One method of visualizing function of two variables is looking at its graph. Another method,
borrowed from map markers, is a Contour map on which points of a constant elevation are joined to
form level curve (contour curve).
Suppose z f ( x, y) is a function of two variables and let z c , c R be a plane. Then, the
intersection of the graph of z f ( x, y) and the plane can be seen to be f ( x, y) c .One can see
that this is obtained by cutting the graph of z f ( x, y) by the plane z c . Then, the resulting map
(intersection) is called the contour map corresponding to z c . The projection of this contour map
on the xy plane is called level curve (contour curve) with constant k .
It is generally hard to draw a picture of the graph of a function of two variables. Sometimes, But, we
can sketch level curves. Take a function f of two variables x and y, defined on a domain D. For a real
number k, the level curve at k, denoted C (k ) is the set of all points in D such that f(x, y) = k, i.e.
c(k ) {( x, y) D : f ( x, y) k} . The following figures illustrates these two terms.
Page 3
AASTU APPLIED MATHEMATICS II
z f ( x, y)
Contour map
The plane z k.
c(k )
level curve (contour lines)
Figure 3.3
Example 7 Let f ( x, y) x 2 y 2 .
x2 y2 4
x 2 y 2 16
Graph of
z x2 y2
Contour map
x2 y2 1
x2 y2 9 Level curves
Circular paraboloid
4: QUADRIC SURFACES
Page 4
AASTU APPLIED MATHEMATICS II
a. f x, y, z x 2 y 2 z 2 x 2 y 2 z 2 k , k 0 is a sphere.
b. f x, y, z x 2 y 2 x 2 y 2 k , k 0 is a Cylinder.
c. f x, y, z ax by cz ax by cz k it is a planes.
x2 y2 z2
1
a2 b2 c2
Example 9: a) x 2 4 y 2 z 2 4
b) 9 x 2 4 y 2 z 2 1
B: ELLIPTICAL CYLINDER
2 2
The surface with equation x y 1 is called an elliptic cylinder. If in particular, a b, we get
2 2
a b
Example 10: y 2 9 z 2 9
C: ELLIPTICAL PARABOLOID
The surface whose equation is z ax 2 by 2 whereaand b are given positive
numbers, is called a paraboloid.
Example 11: x 2 4 y 2 z 0.
D: HYPERBOLIC PARABOLOID
Page 5
AASTU APPLIED MATHEMATICS II
2 2
The surface whose equation is x y z where a, b, c are given positive numbers, is
2 2
a b c
called a hyperbolic paraboloid.
Example 12 z 2 x 2 y 2 .
E:ELLIPTICAL DOUBLE CONE
x2 y2 z2
The surface whose equation is where a, b, c are given positive numbers, is called
a2 b2 c2
double cone.
Example 13 16x 2 y 2 4 z 2 .
Example 14. Classify the quadric surface x 2 2 z 2 6 x y 10 0 and sketch the surface.
Definition: Let f be a function defined throughout a set containing a disk centered at xo , yo
except possibly at xo , yo itself, and let L be a real number. L is the limit of f at xo , yo if
for every 0 their exists a 0 such that
0 x xo 2 y yo 2 f x, y L lim f x, y L.
x, y xo , yo
Proof:
Let 0 be given. For all ( x, y) R 2 , we can easily see that
x x0 x x0 2 y y0 2 and y y0 x x0 2 y y0 2 .Moreover,
we can see that
( x y ) ( x0 y 0 ) ( x x0 ) ( y y 0 )
x x0 y y 0
2 x x0 2 y y0 2
Choose . Then, it follows that
2
( x y) ( x0 y0 ) ( x x0 ) ( y y0 ) x x0 y y0 2.
2
whenever 0 x x0 2 y y0 2 , ( x, y) R 2 .
Thus, we conclude that lim ( x y ) x0 y 0 .
( x , y )( x0 , y0 )
Page 6
AASTU APPLIED MATHEMATICS II
f a
(b) lim(cf ) ( P) ca
P P0
(d) lim( g ) ( P) b , g ( P) 0, b 0.
P P0
x y
2 2
Example: 16:a) Find lim
y2
x , y 0, 0 x 2
x2 y2 R2
Solution: let f ( x, y ) , D
x2 y2
f
0,0
Suppose we approach (0,0) through the parabola y 0 and x 0 .Then,
x2 y2 x2
lim = lim 1.
x , y 0, 0 x 2 y 2 x , y 0, 0 x 2
On the other hand, approaching (0, 0) through the line x 0 and y 0 , we get
x2 y2 y2
lim = lim 1 .
x , y 0, 0 x 2 y 2 x , y 0, 0 y 2
x2 y2 x2 y2
Hence, since lim lim we conclude that lim doesn't exist.
x , 0 0, 0 x 2 y 2 0, y 0, 0 x , y 0, 0 x 2 y 2
x sin y x 2 2
b) Consider the function f ( x, y ) . Then,
x y 1
2 2
x sin y x 22
lim f ( x, y) lim
( x , y )( 0, 0 ) ( x , y )( 0, 0 )
x2 y2 1
lim
( x , y ) ( 0 , 0 )
x sin y x 2
2
(by quotient rule)
lim x2 y2 1
( x , y ) ( 0 , 0 )
2.
xy
Example 17: a) Show that lim
( x , y ) (0, 0) x y2
2 doesn't exist
xy
Solution: To show that
( x , y ) (0, 0) x y
2 lim
doesn't exist, it suffice to show that the limits
2
Page 7
AASTU APPLIED MATHEMATICS II
xy x2 1 1
lim = lim x lim .
( x , y ) (0, 0) x y2
2
x 0
2
x2 x 0 2 2
xy xy
Hence, since lim lim , we conclude that
( x , x 2 ) (0, 0) x y 2
2
( x , x ) (0, 0) x y
2 2
xy
lim
( x , y ) (0, 0) x y2
2 doesn't exist.
xy 2
b. let g x, y 2 for x, y 0,0 , then show that lim g x, y doesn't exist.
x y4 x , y 0, 0
Solution:
Example 18:a) Compute the limit at (0, 0) of the function f such that
xy y 2
f ( x, y ) .
x y
Both the numerator and the denominator approach 0, when (x, y) approaches the origin, thus we
cannot use the quotient rule. We multiply the numerator and the denominator by x y to obtain
f ( x, y )
xy y 2
( xy y 2 ) x y y( x y)
x y ( x y ) x y
x 2 5 xy 6 y 2
b) Solve lim
x , y 3,1 x y 2 y
Solution:
Example 19:
lim
( x , y ) ( 2 ,1)
x 2
y 2 xy 3 1 lim ( x 2 y )
( x , y )( 2,1)
lim (2 xy 3 1) 4 3 7
( x , y ) ( 2 ,1)
x2 y2
Example 20: Let f ( x, y ) .Then, the domain f is all points in the xy
x2 y2
plane except the origin. We will approach the origin on a line, whose equation is
y mx . Then, we see that
x 2 (mx) 2 x 2 (1 m 2 ) 1 m 2
f ( x, y ) f ( x, mx)
x 2 (mx) 2 x 2 (1 m 2 ) 1 m 2 . If the values m1 and
Page 8
AASTU APPLIED MATHEMATICS II
x y
Remarks :1) let f x, y
x2 y2
x=rcos θ x2+y2=r2
y=rsin θ tanθ=y/x
Solution:
Page 9
AASTU APPLIED MATHEMATICS II
2 xy
2 for x, y 0, 0
f x, y x y
2
0 for x, y 0, 0
Solution:
Theorem 3: Let f and g be continuous at P0 . Then
(i) f g is continuous at P0 . (iii) cf is continuous at P0 , c R
f
(ii) fg is continuous at P0 . is continuous at P0 . Provided that 𝑔(𝑝0 ) ≠ 0
(iv)
g
Theorem 4: Let f be a continuous function of two variables at the point P0 .Then,
(i) If g is continuous real valued function at f ( P0 ) , then g f is continuous.
(ii) If h is a vector valued function in R2which is continuous at t0 and h(t 0 ) P0 , then f h is
continuous at t 0 .
Theorem 5: Let f be a function of two variables such that f is defined in an open ball centered at
P0 ( x0 , y0 ) .Then, f is continuous at P0 if and only if
lim f ( P) f ( P )
P P0
0
x2 y3
Example 24:The function defined by f ( x, y ) is continuous at the point (0,0) because
x3 y 4
lim f ( x, y) f (0,0).
( x , y )( 0, 0 )
( x 2 y 2 ) ln( x 2 y 2 ) if ( x, y) (0,0)
Example25: Show that f ( x, y ) is continuous at
0 if ( x, y) (0,0)
(0,0) .
Solution: Observe that f (0,0) 0 and if (r , ) is the polar coordinate of ( x, y ) , we have
x r cos , y r sin .
Therefore, by substitution, we obtain that
lim ( x 2 y 2 ) ln( x 2 y 2 ) = lim r
2
ln(r 2 ), r 2 x 2 y 2
( x , y ) (0, 0) r 0
2 ln r
= lim (by applying L’Hopitals rule)
r0 1
r2
2
lim r 0
r 0 2
r3
Page 10
AASTU APPLIED MATHEMATICS II
7: PARTIAL DERIVATIVES
f ( x0 , y) f ( x0 , y0 ) f ( x0 , y0 h) f ( x0 , y0 )
f y ( x0 , y0 ) lim lim
y y0 y y0 h 0 h
f
Hence, f x (0,0) x 0 0 . Similarly, f y (0,0) 0 .
x y 0
x y
Example 28: Consider 𝑓 𝑥, 𝑦 = .Then, we see that
x y
f ( x, y ) x y
x x x y
1( x y ) ( x y )(1) 2y
.
( x y) 2
( x y) 2
Page 11
AASTU APPLIED MATHEMATICS II
f ( x, y ) x y
x x x y
1( x y ) ( x y )(1) 2y
.
( x y) 2
( x y) 2
xy 2
Example 29: f(x, y) = e cos y. Then,
f ( x, y)
cos y(e xy ) )( y 2 ) y 2 (cos y)(e xy ).
2 2
x
f ( x, y )
( sin y)e xy 2 xy cos ye xy .
2 2
y
= e sin y 2 xy cos y .
2
xy
Page 12
AASTU APPLIED MATHEMATICS II
d) f ( x, y) sin( x 2 y 3 )
e) f ( x, y) 3 sin( x y) 2 cos( x 2 )
f ( x, y) e x y cos( xy )
2
f)
2. Which of the mixed partial derivatives are equal in question number 1 ? Why?
w dw z w dw z
and .
x dz x y dz y
Example 33: Suppose f is differentiable function of one variable g ( x, y) f x
3 3
y2
g g
Find and .
x y
Solution: (Exercise)
f f
Example 34: Let z x 2 y 3 . Then, 2 x, 3 y 2 . Suppose now that
x y
dx dy
x cos(2t ), y Cos(t ) . Then 2 sin(2t ) , sin t . It follows that
dt dt
df f dx f dy
. . 2 x(2 sin(2t ) 3 y 2 ( cos t ) 2 cos(2t )(2 sin(2t ) 3 cos 2 t ( sin t )
dt x dt y dt
Example 35: Consider f ( x, y) log( x 2 y 2 ) , where x( ) cos , y( ) sin .
df f dx f dy
Then . . .But, we can see that
d x d y d
Page 13
AASTU APPLIED MATHEMATICS II
f 1 f 1
log e , 2 2
2 y log e .
x x 2 y 2 y x y
dx dy
sin , cos
d d
Example 36: Consider f ( x, y) x 2 cos y , where x(t ) t 2 2t , y(t ) sin t
df f dx f dy
Then, . . = (2 x cos y)(2t 2) ( x 2 sin y)(cos t ).
dt x dt y dt
dz
Exercise 37: Find
dt
a. If z ln 3x 2 y 3 , x e 2 x , y t 3 .
1
b. If z x 2 e y , x t 2 1 , y sin t.
Theorem 7: (First version of the chain rule for three variables):
Let f be a function of three variables x, y, z, differentiable on an open disk centered disk D. Suppose
that x, y and z are functions of a single variable t, differentiable on an open interval I, and such that
for every t I , x(t ), y(t ), z (t ) D . Then w f (x(t), y(t), z(t) )
df f dx f dy f dz
is a function of t, differentiable on I and . . .
dt x dt y dt z dt
w f ( x, y, z )
f f
x z
𝜕𝑓
x 𝑦
𝜕𝑦
z
y
dx dz
dt dt
t dw
Example 38: Let w cos( x 2 z 3 y) xy, x(t ) 2t , y(t ) t 2 sin t , z (t ) te t . Find
2
By
dt
applying the chain rule, we compute
dy dx dz
2t sin t t 2 cos t , 2, e t te t
dt dt dt
w w w
cos( x 2 z 3 y).(2 xz 3 ), cos( x 2 z 3 y), cos( x 2 z 3 y).(3x 2 z 2 )
x y z
dw w dx w dy w dz
Thus by substitution, we get dt x . dt y . dt z . dt
Theorem 8 (The second version of the chain rule):If x x(u, v) and y y(u, v) have first
partial derivatives at (u, v) and z f ( x, y) is differentiable at ( x(u, v), y(u, v)) , then
Page 14
AASTU APPLIED MATHEMATICS II
z z x z y
(i) . .
u x u y u
z z x z y
(ii) . .
v x v y v
Example 39: Consider f ( x, y) x 2 y tan x where x u 2 v 2 , y u v
f f
Find ,
u v
f f x f y f f
Solution . . , 2x - y sec2 x, tan x
u x u y v x y
x y y y
2v, 1, 1, 2v. Hence,
u v u v
f
u
2 x y sec 2 x (2v) tan x 1 2v(2 x y sec 2 x) tan x
f f x f y
. . (2 x y sec 2 x)(2v) tan x
v x v y v
Figure 4.3
The second version of the chain rule
Page 15
AASTU APPLIED MATHEMATICS II
dy f 3x 2 6 y 2 y x 2
x 2
dx fy 3 y 6x y 2 2x
Assume that the variables x, y and z are related by the equation F(x, y, z) = 0. Assuming
that Fz 0 , there is a version of the implicit function theorem which means, we can in
principle, write z = z(x, y), so we can solve for z. Thus, consider the equation F(x, y,
z(x, y)) = 0 and differentiating both sides partially with respect to x. We get
F x F y F z F
. . . 0. and since 0, we get
x x x y x z x z
F
z Fx
x .
x F Fz
z
F x F y F z
. . . 0.
y x y y y z y
F
z y Fy .
y F Fz
z
z z
Example 41: Find , if (i) x 2 y 2 z 2 9 (ii) xy z 3 cos( yz 2 )
x y
Solution: (ii) Let F ( x, y, z ) xy z 3 cos( yz 2 ) . Then,
F ( x, y, z ) 0 xy z 3 cos( yz 2 ) .
Differentiating both sides of the equation xy z 3 cos( yz 2 ) with respect to y,
we get
1 z z
( x 3z 2 ) sin( yz 2 ). z 2 2 yz which is equivalent to
2 xy z 3 y y
3z 2 z
2 yz sin( yz 2 ) z 2 sin( yz 2 )
x
.
2 xy z 3 y 3
2 xy z
F
Fy
One can check the result using the formula z y .
y F Fz
z
Page 16
AASTU APPLIED MATHEMATICS II
Definition 5.1.1: Let f be a function of two variables that has partial derivatives at ( x0 , y 0 ) . Then,
the gradient of f at ( x0 , y 0 ) is defined as f ( x0 , y0 ) f x ( x0 , y0 )i f y ( x0 , y0 ) j
.
Now, we give the definition of directional derivatives for a function of two variables as follows.
Definition 5.1.2: Let f be a function defined on a set containing a disk D centered at ( x0 , y 0 ) and
u a1i a2 j be a unit vector. The directional derivative of f at ( x0 , y 0 ) in the direction of u ,
denoted by Du f ( x0 , y0 ) is defined as
f ( x0 ha1 , y0 ha2 ) f ( x0 , y0 )
Du f ( x0 , y0 ) lim
h 0 h
provided that this limit exists.
If u (1, 0) , then
f ( x0 h, y0 ) f ( x0 , y0 ) f x ( x0 , y 0 )
Du f ( x0 , y0 ) lim
h 0 h
If u j (0,1) , then
f ( x0 , y0 h ) f ( x0 , y0 )
Du f ( x0 , y0 ) lim = f y ( x0 , y 0 ) .
h 0 h
Thus, f x ( x0 , y0 ) and f y ( x0 , y 0 ) are special kind of directional derivatives in the direction of
i (1,0) and j (0,1) respectively.
Example42
Find the directional derivative of the following functions at the indicated points.
(a) f ( x, y) 2 x 2 3xy y 2 15 at(1, 1) in the direction of u 1 i
1
j
.
2 2
Now, the following theorem will show that the directional derivative of a function exists in any
direction provided that the limit exists.
Theorem: Suppose f is differentiable at ( x0 , y 0 ) . Then f has directional derivative at any
direction. Hence, Du f ( x0 , y0 ) f ( x0 , y0 ) u
Remark: Let f be a function of three variables x, y and z. Then,
(a) f ( x0 , y0 , z 0 ) f x ( x0 , y0 , z 0 )i f y ( x0 , y0 , z 0 ) j f z ( x0 , y0 , z 0 )k
(b) For any vector u a1 j a2 j a3 k ( u is unit vector),
Du f ( x0 , y0 , z 0 ) f ( x0 , y0 .z 0 ) u.
Page 17
AASTU APPLIED MATHEMATICS II
Example 43: let f x, y, z x sin yz , find the directional derivative of f at (1,3,0) in the
direction of v=i+2j-k.
Solution : Dv f 1,3,0 f 1,3,0
v
v
Theorem: Suppose f is differentiable at ( x0 , y 0 ). Then
(a) f ( x0 , y0 ) 0 implies Du f ( x0 , y0 ) 0 for any vector u .(No rate of change)
(b) If f ( x0 , y0 ) 0 , then
the directional derivative of f in the direction of f ( x0 , y0 ) is the largest and its value is
f ( x0 , y0 ) . The maximum rate of change of f at (xo,yo) occurred when and
12:Total Differential
For a differentials of two variables 𝑧 = 𝑓(𝑥, 𝑦), we define the differentials 𝑑𝑥and𝑑𝑦andto be
independent variables; i.e. they can be given any values. Then thedifferential, also called the total
differential, is defined by
𝑑𝑧 = 𝑓𝑥 𝑥, 𝑦 𝑑𝑥 + 𝑓𝑦 𝑥, 𝑦 𝑑𝑦
𝜕𝑧 𝜕𝑧
= 𝑥, 𝑦 𝑑𝑥 + 𝑥, 𝑦 𝑑𝑦
𝜕𝑥 𝜕𝑦
Example 45: Let𝑓 𝑥, 𝑦 = 𝑥 4 𝑦 6 . Find the total differential
Solution:
Since 𝑓 𝑥, 𝑦 = 𝑥 4 𝑦 6
𝑓𝑥 𝑥, 𝑦 = 4𝑥 3 𝑦 6 and𝑓𝑦 𝑥, 𝑦 = 6𝑥 4 𝑦 5
So 𝑑𝑧 = 𝑓𝑥 𝑥, 𝑦 𝑑𝑥 + 𝑓𝑦 𝑥, 𝑦 𝑑𝑦 = 4𝑥 3 𝑦 6 𝑑𝑥 + 6𝑥 4 𝑦 5 𝑑𝑦
Exercise 46: Find the total differential of
a) 𝑔 𝑥, 𝑦 = 𝑦 cos 𝑥𝑦
b) 𝑥, 𝑦, 𝑧 = 𝑥𝑧 sin 𝑦 + 𝑧 2
Page 18
AASTU APPLIED MATHEMATICS II
13:TANGENT PLANES
In this subtopic, we will find the equation of a tangent plane to the graph of a function z f ( x, y)
at a given point ( x0 , y0 , f ( x0 , y0 )) and to the surface f ( x, y, z ) c where f is a function of x and
y. For a function f of one variable, if f is differentiable at c, we know that
y f (c) ( x c) f (c) is defined to be the equation of the tangent line to the graph of f at the
point (c, f (c)) . Analogously, we define the equation of the tangent plane to the graph of f of two
variables as follows. See the following graphical illustrations.
Cureve in space
Graph of f
P0 ( x0 , y0 ) Tangent
plane
Page 19
AASTU APPLIED MATHEMATICS II
Theorem 13: If f ( x, y) is continuous in a closed and boundedsubset S of the plane, then f has both
absolute maximum/minimum/value in S.
Theorem 14: If f has relative extremum at ( x0 , y 0 ) and f x ( x0 , y0 ) and f y ( x0 , y 0 ) exist, then
f x ( x0 , y0 ) f y ( x0 , y0 ) 0.
Definition: Suppose f is a function of two variables. Let ( x0 , y 0 ) be in the domain of f . Then
( x0 , y 0 ) is called the critical point of f if and only if f x ( x0 , y0 ) f y ( x0 , y0 ) 0 or either
f x ( x0 , y0 ) or f y ( x0 , y0 ) doesn’t exist.
Example 49 Let f ( x, y) xy. Then f x y and f y x . We have
Figure 5.3
Graph of z xy
Page 20
AASTU APPLIED MATHEMATICS II
Theorem 15: (Second partial derivative test): Let f be a function of two variables with continuous
second-order partial derivatives in some disk centered at the critical point ( x0 , y 0 ) .
Let D f xx ( x0 , y 0 ) f xy ( x0 , y 0 )
f xx ( x0 , y 0 ) f yy ( x0 , y 0 ) f xy ( x0 , y 0 ).
2
f yx ( x0 , y 0 ) f yy ( x0 , y 0 )
(a) If D 0 and f xx ( x0 , y0 ) 0 , then f has relative minimum at ( x0 , y 0 )
(b) If D 0 and f xx ( x0 , y0 ) 0 , then f has relative maximum at ( x0 , y 0 )
(c) If D 0, then f has saddle point at ( x0 , y 0 )
(d) If D 0, no conclusion can be drawn.
Example 51: Consider f ( x, y) x 2 xy 2 y 2 x 1 . Find all the critical points and determine
the relative maximum and relative minimum values of 𝑓.
Solution: Let ( x, y ) be a relative maximum/relative minimum/ point of f . Then, we get
f x ( x, y) 0 and f y ( x, y) 0 , i.e. we get the system of equations 2 x y 2 0 with solution
x20
(2,2) .Thus, (2,2) is the only critical point of 𝑓. Now, it is easy to see that
f xx ( x, y) 2, f yy ( x, y) 0, f xy ( x, y) f yx ( x, y) 1 which implies that D 2 1 1 0 .
1 0
Hence, by the second partial test, we conclude that (2,2) is a saddle point of 𝑓.
Example52:Locate all the critical points and find all the points of relative maximum and relative
minimum of f ( x, y) x 3 xy y 3 .
Solution: Let ( x, y ) be a relative extremum point of f. Then, we see that
f x ( x, y) 3x 2 y 0, f y ( x, y) 3 y 2 x 0
Thus, solving for y in terms of x and substitution yields 27 x 4 x 0 .This is true if
1
x 0 or x , i.e. (0,0) and 1 1 are
,
the only critical points of f.
3 3 3
Now, we obtain
1 1 1 1
f xx (0,0) 0, f xx ( , ) 2, f yy (0,0) 0, f yy , 2, f xy ( x, y ) 1 f yx ( x, y )
3 3 3 3
and D(0,0) 1 0, D 1 , 1 3 0. By the second partial test, we conclude that (0,0) is a
3 3
saddle point and 1 1 is a point of relative maximum
,
3 3
Page 21
AASTU APPLIED MATHEMATICS II
f 1 3 29
0 2( x 3) ( x y ) 0 (5.3.1)
x 2 4 4
f 31 3 29
0 2( y 2) x y 0 (5.3.2)
y 22 4 4
10 x 3 y 53 0 (5.3.3)
6 x 25 y 55 0 (5.3.4)
Thus, solving (5.3.3) and (5.3.4), we get x 5 and y 1 . We know that f has absolute minimum
value which is its relative minimum. Now, we use to determine whether the point (5,1) is a point of
relative minimum or not using the second partial test. It is clear that
5 25 3
f xx (5,1) , f yy (5,1) and f xy (5,1) f yx (5,1) .
2 8 4
Thus, we obtain f xx (5,1) f yy (5,1) f xy (5,1)
2 29
5
0 and f xx (5,1) .Therefore, by the
4 2
second partial test, we conclude that the point (5,1) is a point of relative minimum. Since f has
minimum value and (5,1) is the only candidate, we conclude that f attains its minimum at (5,1)
.Thus the closets point on the plane to the point for (3,2,1) is (5,1,3) .
Page 22
AASTU APPLIED MATHEMATICS II
x
𝑦
Figure 5.9
Let v( x, y, z ) xyz 16 .The bottom and the top of the box costs 10(2 xy ) 20( xy ) . Moreover,
the sides cost 5(2 xz ) 10( xz ) and 5(2 yz ) 10( yz ) .
Thus, the cost of the box is given by
C ( x, y, z) 20 xy 10 xz 10 yz
16
Since xyz 16 , we see that z = . Thus, we get c(x, y) = 20xy + 160 160 .
xy y x
Now, we find the critical points using the 1ndpartial derivative.
Page 23
AASTU APPLIED MATHEMATICS II
i.e. c 20 y 160 0 and c 20 x 160 0 . Solving for the variable x and substituting, we
x 2
x y 2
y
get 8 y y 0 which gives y 0 or y 2 .Thus, we obtain x 2. By using the second partialtest,
4
it is possible to check that (2,2) is a point of relative minimum. Hence, the least dimension of the
box with minimum cost is x 2, y 2 and z 4.
Example 50: An open-topped rectangular tank is to be constructed so that the sum of the height and
the perimeter of the base is 30 meters. Find the dimensions which maximize the surface area of the
tank. What is the maximum value of the surface area?
Solution: Let the dimensions of the box be as shown.
Figure 5.10
Let the area of the surface of the material be S. Then ,S = 2xh + 2yh + xy,
S S
8 x 7 y 60 0 and 8 y 7 x 60 0 .
x x
Subtracting gives x = y and so 15x = 60, or x = y = 4. Thus h = 14 and the surface area is S = 16(- 4 -
4 - 7 + 15 + 15) = 240 square meters. Since the function S is continuous function on a closed and
bounded region, f has absolute maximum. Moreover, we have only one point of relative maximum.
Thus the absolute maximum exists at this critical point. Sometimes a function necessarily has an
absolute maximum and absolute minimum in the following case because we have a continuous
function defined on a closed bounded subset of R2. In this case exactly as in the one variable case,
Page 24
AASTU APPLIED MATHEMATICS II
we need only search the boundary and the critical points in the interior, using our ability to find local
maxima.
Solution:
f x ( x, y) 0 y 1 and f y ( x, y) 0 x 1.
Then, (1, -1) is the only critical point of f in the interior of the disk D. One can show that (1, -1) is
a saddle point. Then, we search the maximum/minimum/ on the boundary of D. i.e. on the circle x2
+ y2 = 4. One of the parametric equation of x 2 y 2 4 is x(t ) 2 cos t , y(t ) 2 sin t ,0 t 2 . .
Thus, by substituting x and y in 𝑥, 𝑦 = 𝑥𝑦 − 𝑦 + 𝑥 − 1, we get
f ( x, y) f (t ) 4 sin t cos t 2 sin t 2 cos t 1 . Thus, by the second derivative test, one can
show that f assumes maximum at
1 3 3 1 1 3 3 1 .
,
and
,
2 2 2 2
One of the applications of the implicit function theorem is the method of finding extreme values of a
function f on the contour line of another function. In this topic, we introduce the procedure called
Lagrange Multiplier Method.
Page 25
AASTU APPLIED MATHEMATICS II
Since ( x, y ) is on the ellipse, both x and y can’t be zero at the same time. Hence, we get either
1
x 0, or y 0, 1. Since we seek points on the ellipse, x 0 implies y
1 and
2 2
y 0 implies that x 1 . Moreover, we see that f (0, 1 ) 1 , f (1,0) 1 . We conclude that
2 2
if f has maximum, then it occurs at (1,0) and if it has minimum, then it occurs at (0, 1
)
.
2
Page 26