Calculus Ii: Chapter 1: Functions of Several Variables
Calculus Ii: Chapter 1: Functions of Several Variables
LE THAI THANH
fx px , y q “ 2x ´ 2, fy px , y q “ 2y ´ 6
f px , y q “ px ´ 1q2 ` py ´ 3q2 ` 4
Solution : Let the length, width, and height of the box (in
meters) be x , y , and z. Then the volume of the box is V “
xyz. We can express V as a function of just two variables x
and y by using the fact that the area of the four sides and
the bottom of the box is
12 ´ xy
2xz ` 2yz ` xy “ 12 ñ z“
2px ` y q
So the expression for V becomes
12 ´ xy 12xy ´ x 2 y 2
V “ xy “
2px ` y q 2px ` y q
We compute the partial derivatives:
BV BV
If V is a maximum, then “ “ 0, but x “ 0 or y “ 0
Bx By
gives V “ 0, so we must solve the equations
12 ´ 2xy ´ x 2 “ 0, 12 ´ 2xy ´ y 2 “ 0
so the only critical point is p1, 1q, and the value of f there is
f p1, 1q “ 1.
Step 2: We look at the values of f on the boundary of D,
which consists of the four line segments:
L1 : 0 ď x ď 3, y “ 0. So f px , 0q “ x 2 . Its minimum value
is f p0, 0q “ 0 and its maximum value is f p3, 0q “ 9.
L2 : x “ 3, 0 ď y ď 2. So f p3, y q “ 9 ´ 4y . Its minimum
value is f p3, 2q “ 1 and its maximum value is f p3, 0q “ 9.
L3 : 0 ď x ď 3, y “ 2. So f px , 2q “ x 2 ´ 4x ` 4 “ px ´ 2q2 .
Its minimum value is f p2, 2q “ 0 and its maximum value is
f p0, 2q “ 4.
L4 : x “ 0, 0 ď y ď 2. So f p0, y q “ 2y . Its minimum value
is f p0, 0q “ 0 and its maximum value is f p0, 2q “ 4.
Thus, on the boundary, the minimum value of f is 0 and the
maximum is 9. In step 3 we compare these values with the
value f p1, 1q “ 1 at the critical point and conclude that the
absolute maximum value of f on D is f p3, 0q “ 9 and the
absolute minimum value is f p0, 0q “ f p2, 2q “ 0.
LAGRANGE MULTIPLIERS
In this section we present Lagrange’s method for maximizing
or minimizing a general function f px , y q subject to a con-
straint (or side condition) of the form gpx , y q “ k.
NOTE:
In case of three variables we consider the function f px , y , zq
with a constrain gpx , y , zq “ k, and
∇f “ λ∇g ô fx “ λgx , fy “ λgy , fz “ λgz
Example 8: Find the extreme values of the function
f px , y , zq “ 2x ` 4y ` 6z on the sphere x 2 ` y 2 ` z 2 “ 14.
2 “ 2x λ, 4 “ 2y λ, 6 “ 2zλ, x 2 ` y 2 ` z 2 “ 14
...