Derivatives of Multivariable Function
Derivatives of Multivariable Function
Derivatives of Multivariable
Functions
10.1 Limits
Motivating Questions
• What do we mean by the limit of a function f of two variables at a point
(a, b)?
• What techniques can we use to show that a function of two variables does
not have a limit at a point (a, b)?
• What does it mean for a function f of two variables to be continuous at
a point (a, b)?
lim f (x) = L.
x→a
f (x) = 3 − x.
98
CHAPTER 10. DERIVATIVES OF MULTIVARIABLE FUNCTIONS 99
5 y
1
x
-3 -2 -1 1 2 3
-1
Figure 10.1.2 The graph of f (x) = 3 − x.
c. Next, consider
x
g(x) = .
|x|
Complete Table 10.1.3 with values near x = 0, the point at which g is
not defined.
x
Table 10.1.3 Values of g(x) = |x| .
-1 1
-1
x
Figure 10.1.4 The graph of g(x) = |x| .
CHAPTER 10. DERIVATIVES OF MULTIVARIABLE FUNCTIONS 100
f (x, y) = 3 − x − 2y.
1.0
1.5 y
0.5
3
x
x
0.5 1.0 1.5
g. Finally, consider
2xy
g(x, y) = ,
x2 + y 2
which is not defined at (0, 0). Complete Table 10.1.7. Round to three
decinal places.
2xy
Table 10.1.7 Values of g(x, y) = x2 +y 2 .
h. Explain how your results are reflected in Figure 10.1.8. Compare this
limit to the limit in part (b). How are the results similar and how are
they different?
z
x
0
-1
x
0
-1
-1 0 y 1
2xy
Figure 10.1.8 Left: The graph of g(x, y) = x2 +y 2 . Right: A contour
plot.
lim f (x, y) = L.
(x,y)→(a,b)
♦
To investigate the limit of a single variable function, limx→a f (x), we often
consider the behavior of f as x approaches a from the right and from the left.
Similarly, we may investigate limits of two-variable functions, lim(x,y)→(a,b) f (x, y)
by considering the behavior of f as (x, y) approaches (a, b) from various direc-
tions. This situation is more complicated because there are infinitely many
ways in which (x, y) may approach (a, b). In the next activity, we see how it is
important to consider a variety of those paths in investigating whether or not
a limit exists.
Activity 10.1.2 Consider the function f , defined by
y
f (x, y) = p ,
x + y2
2
-1
x
0
-1
-1 0 y 1
y
Figure 10.1.10 The graph of f (x, y) = √ .
x2 +y 2
a. Is f defined at the point (0, 0)? What, if anything, does this say about
whether f has a limit at the point (0, 0)?
b. Values of f (to three decimal places) at several points close to (0, 0) are
shown in Table 10.1.11.
Table 10.1.11 Values of a function f .
x\y −1.000 −0.100 0.000 0.100 1.000
−1.000 −0.707 — 0.000 — 0.707
−0.100 — −0.707 0.000 0.707 —
0.000 −1.000 −1.000 — 1.000 1.000
0.100 — −0.707 0.000 0.707 —
1.000 −0.707 — 0.000 — 0.707
Based on these calculations, state whether f has a limit at (0, 0) and give
an argument supporting your statement. (Hint: The blank spaces in the
table are there to help you see the patterns.)
c. Now we formalize the conjecture from the previous part by considering
what happens if we restrict our attention to different paths. First, we
look at f for points in the domain along the x-axis; that is, we consider
what happens when y = 0. What is the behavior of f (x, 0) as x → 0? If
we approach (0, 0) by moving along the x-axis, what value do we find as
the limit?
d. What is the behavior of f along the line y = x when x > 0; that is, what
is the value of f (x, x) when x > 0? If we approach (0, 0) by moving along
the line y = x in the first quadrant (thus considering f (x, x) as x → 0+ ,
what value do we find as the limit?
e. In general, if lim(x,y)→(0,0) f (x, y) = L, then f (x, y) approaches L as (x, y)
approaches (0, 0), regardless of the path we take in letting (x, y) → (0, 0).
Explain what the last two parts of this activity imply about the existence
of lim(x,y)→(0,0) f (x, y).
f. Shown below in Figure 10.1.12 is a set of contour lines of the function
f . What is the behavior of f (x, y) as (x, y) approaches (0, 0) along any
straight line? How does this observation reinforce your conclusion about
the existence of lim(x,y)→(0,0) f (x, y) from the previous part of this activ-
ity? (Hint: Use the fact that a non-vertical line has equation y = mx for
some constant m.)
CHAPTER 10. DERIVATIVES OF MULTIVARIABLE FUNCTIONS 103
y
Figure 10.1.12 Contour lines of f (x, y) = √ .
x2 +y 2
-1 1
-1
x
Figure 10.1.13 The graph of g(x) = |x| .
If f (x, y) has two different limits as (x, y) approaches (a, b) along two
different paths, then lim(x,y)→(a,b) f (x, y) does not exist.
x2 y
g(x, y) =
x4 + y 2
lim f (x, y) = 0,
(x,y)→(0,0)
CHAPTER 10. DERIVATIVES OF MULTIVARIABLE FUNCTIONS 105
In spite of the fact that these two most recent examples illustrate some
of the complications that arise when studying limits of two-variable functions,
many of the properties that are familiar from our study of single variable
functions hold in precisely the same way.
Properties of Limits.
lim f (x, y)
f (x, y) (x,y)→(a,b)
5. lim = if lim g(x, y) 6= 0.
(x,y)→(a,b) g(x, y) lim g(x, y) (x,y)→(a,b)
(x,y)→(a,b)
We can use these properties and results from single variable calculus to
verify that many limits exist. For example, these properties show that the
function f defined by
The reason for this is that polynomial functions of a single variable have
limits at every point.
10.1.2 Continuity
Recall that a function f of a single variable x is said to be continuous at x = a
provided that the following three conditions are satisfied:
1. f (a) exists,
2. limx→a f (x) exists, and
3. limx→a f (x) = f (a).
Using our understanding of limits of multivariable functions, we can define
continuity in the same way.
Definition 10.1.15 A function f = f (x, y) is continuous at the point (a, b)
provided that
1. f is defined at the point (a, b),
2. lim(x,y)→(a,b) f (x, y) exists, and
♦
For instance, we have seen that the function f defined by f (x, y) = 3x2 y 3 +
2xy 2 − 3x + 1 is continous at every point. And just as with single variable
functions, continuity has certain properties that are based on the properties of
limits.
Properties of continuity.
3. f − g is continuous at (a, b)
4. f g is continuous at (a, b)
f
5. g is continuous at (a, b) if g(a, b) 6= 0
Using these properties, we can apply results from single variable calculus to
decide about continuity of multivariable functions. For example, the coordinate
functions f and g defined by f (x, y) = x and g(x, y) = y are continuous
at every point. We can then use properties of continuity listed to conclude
that every polynomial function in x and y is continuous at every point. For
example, g(x, y) = x2 and h(x, y) = y 3 are continuous functions, so their
product f (x, y) = x2 y 3 is a continuous multivariable function.
10.1.3 Summary
• A function f = f (x, y) has a limit L at a point (a, b) provided that we
can make f (x, y) as close to L as we like by taking (x, y) sufficiently close
(but not equal) to (a, b).
• If (x, y) has two different limits as (x, y) approaches (a, b) along two
different paths, we can conclude that lim(x,y)→(a,b) f (x, y) does not exist.
• Properties similar to those for one-variable functions allow us to conclude
that many limits exist and to evaluate them.
• A function f = f (x, y) is continuous at a point (a, b) in its domain if f
has a limit at (a, b) and
f (a, b) = lim f (x, y).
(x,y)→(a,b)
10.1.4 Exercises
1. Find the limits, if they exist, or type DNE for any which do not exist.
1x2
lim
(x,y)→(0,0) 3x2 + 4y 2
1
Answer 3. 3+4m2
Answer 4. dne
2. Determining the limit of a funtion. In this problem we show that
the function
6x − y
f (x, y) =
x+y
does not have a limit as (x, y) → (0, 0).
(a) Suppose that we consider (x, y) → (0, 0) along the curve y = 4x.
Find the limit in this case:
6x−y
lim x+y =
(x,4x)→(0,0)
(b) Now consider (x, y) → (0, 0) along the curve y = 5x. Find the
limit in this case:
6x−y
lim x+y =
(x,5x)→(0,0)
(c) Note that the results from (a) and (b) indicate that f has no limit
as (x, y) → (0, 0) (be sure you can explain why!).
To show this more generally, consider (x, y) → (0, 0) along the curve
y = mx, for arbitrary m. Find the limit in this case:
6x−y
lim x+y =
(x,mx)→(0,0)
(Be sure that you can explain how this result also indicates that f has
no limit as (x, y) → (0, 0).
6−41
Answer 1. 1+41
6−51
Answer 2. 1+51
6−m
Answer 3. 1+m
3. Show that the function
x3 y
f (x, y) = .
x6+ y3
(Be sure that you are able to explain why the results in (a) and (b)
indicate that f does not have a limit at (0,0)!
Answer 1. 0
Answer 2. 1
4. Find the limit, if it exists, or type N if it does not exist.
3x2
lim =
(x,y)→(0,0) 3x + 5y 2
2
Answer. N
5. Find the limit, if it exists, or type N if it does not exist.
(x + 13y)2
lim 2 =
(x,y)→(0,0) x2 + 13 y 2
Answer. N
6. Find the limit,√if it exists, or type ’DNE’ if it does not exist.
2 2
lim e 4x +3y =
(x,y)→(1,3)
CHAPTER 10. DERIVATIVES OF MULTIVARIABLE FUNCTIONS 108
Answer. 261.848047157352
7. Find the limit, if it exists, or type N if it does not exist.
4xy + 2yz + 2xz
lim =
(x,y,z)→(0,0,0) 16x2 + 4y 2 + 4z 2
Answer. N
8. Find the limit, if it exists, or type N if it does not exist.
2 2
2zex +y
lim =
(x,y,z)→(5,1,4) 5x2 + y 2 + 4z 2
Answer. 8241246712.79321
9. Find the limit (enter ’DNE’ if the limit does not exist)
Hint: rationalize the denominator.
(9x2 + 2y 2 )
lim p
(x,y)→(0,0) (9x2 + 2y 2 + 1) − 1
Answer. 2
10. The largest set on which the function f (x, y) = 1/(3−x2 −y 2 ) is continuous
is
A. All of the xy-plane
B. The interior of the circle x2 + y 2 = 3
C. The exterior of the circle x2 + y 2 = 3
Answer. E
xy
11. Consider the function f defined by f (x, y) = x2 +y 2 +1 .
a. What is the domain of f ?
2x2 y
13. Consider the function h defined by h(x, y) = x4 +y 2 .
a. What is the domain of h?
b. Evaluate the limit of h at (0, 0) along all linear paths the contain the
origin. What does this tell us about lim(x,y)→(0,0) h(x, y)? (Hint: A
non-vertical line throught the origin has the form y = mx for some
constant m.)
c. Does lim(x,y)→(0,0) h(x, y) exist? Verify your answer. Check by using
appropriate technology to sketch both surface and contour plots of
h near (0, 0). Write several sentences to say how your plots affirm
your findings about lim(x,y)→(0,0) h(x, y).
14. For each of the following prompts, provide an example of a function of
two variables with the desired properties (with justification), or explain
why such a function does not exist.
a. A function p that is defined at (0, 0), but lim(x,y)→(0,0) p(x, y) does
not exist.
b. A function q that does not have a limit at (0, 0), but that has the
same limiting value along any line y = mx as x → 0.
c. A function r that is continuous at (0, 0), but lim(x,y)→(0,0) r(x, y)
does not exist.
d. A function s such that
sin(x)
b. The function g defined by g(x, y) = 1+ey
750 750
500 500
250 250
t r
1 2 3 4 5 6 7 8 9 10 0.02 0.04 0.06 0.08 0.10
Figure 10.2.1 Left: Graphs f (t) = M (0.03, t). Right: Graph g(r) =
M (r, 4).
c. Find the instantaneous rate of change f 0 (4) and state the units on this
quantity. What information does f 0 (4) tell us about our car loan? What
information does f 0 (4) tell us about the graph you sketched in (b)?
d. Express M as a function of r alone, using a fixed time of t = 4. That is,
let g(r) = M (r, 4). Sketch the graph of g on the right of Figure 10.2.1.
Explain the meaning of the function g.
CHAPTER 10. DERIVATIVES OF MULTIVARIABLE FUNCTIONS 111
e. Find the instantaneous rate of change g 0 (0.03) and state the units on
this quantity. What information does g 0 (0.03) tell us about our car loan?
What information does g 0 (0.03) tell us about the graph you sketched in
(d)?
x2 sin(2y)
f (x, y) = ,
32
which measures the range, or horizontal distance, in feet, traveled by a projec-
tile launched with an initial speed of x feet per second at an angle y radians
to the horizontal. The graph of this function is given again on the left in
Figure 10.2.2. Moreover, if we fix the angle y = 0.6, we may view the trace
f (x, 0.6) as a function of x alone, as seen at right in Figure 10.2.2.
z 1000
f (x, 0.6)
1500
1000 800
500
600
x
200
400
y 150
1.5 100
1.0
0.5
50 200
0
x
50 100 150 200
x2 sin(2y)
Figure 10.2.2 Left: The trace of z = 32 with y = 0.6.
Since the trace is a one-variable function, we may consider its derivative
just as we did in the first semester of calculus. With y = 0.6, we have
sin(1.2) 2
f (x, 0.6) = x ,
32
and therefore
d sin(1.2)
[f (x, 0.6)] = x.
dx 16
When x = 150, this gives
d sin(1.2)
[f (x, 0.6)]|x=150 = 150 ≈ 8.74 feet per feet per second,
dx 16
which gives the slope of the tangent line shown on the right of Figure 10.2.2.
Thinking of this derivative as an instantaneous rate of change implies that if
we increase the initial speed of the projectile by one foot per second, we expect
the horizontal distance traveled to increase by approximately 8.74 feet if we
hold the launch angle constant at 0.6 radians.
CHAPTER 10. DERIVATIVES OF MULTIVARIABLE FUNCTIONS 112
1000 800
500
600
x
200
400
y 150
1.5 100
1.0
0.5
50 200
0
y
0.25 0.50 0.75 1.00 1.25
x2 sin(2y)
Figure 10.2.3 The trace of z = 32 with x = 150.
This gives
1502
f (150, y) = sin(2y),
32
and therefore
d 1502
[f (150, y)] = cos(2y).
dy 16
If we evaluate this quantity at y = 0.6, we have
d 1502
[f (150, y)]|y=0.6 = cos(1.2) ≈ 509.5 feet per radian.
dy 16
Once again, the derivative gives the slope of the tangent line shown on the
right in Figure 10.2.3. Thinking of the derivative as an instantaneous rate of
change, we expect that the range of the projectile increases by 509.5 feet for
every radian we increase the launch angle y if we keep the initial speed of the
projectile constant at 150 feet per second.
By holding x fixed and differentiating with respect to y, we obtain the first-
order partial derivative of f with respect to y. As before, we denote this partial
derivative as fy and write
d f (150, 0.6 + h) − f (150, 0.6)
fy (150, 0.6) = f (150, y)|y=0.6 = lim .
dy h→0 h
As with the partial derivative with respect to x, we may express this quan-
tity more generally at an arbitrary point (a, b). To recap, we have now arrived
at the formal definition of the first-order partial derivatives of a function of
two variables.
CHAPTER 10. DERIVATIVES OF MULTIVARIABLE FUNCTIONS 113
f (a + h, b) − f (a, b)
fx (a, b) = lim , and
h→0 h
f (a, b + h) − f (a, b)
fy (a, b) = lim ,
h→0 h
provided the limits exist. ♦
Activity 10.2.2 Consider the function f defined by
xy 2
f (x, y) =
x+1
at the point (1, 2).
a. Write the trace f (x, 2) at the fixed value y = 2. On the left side of
Figure 10.2.5, draw the graph of the trace with y = 2 around the point
where x = 1, indicating the scale and labels on the axes. Also, sketch
the tangent line at the point x = 1.
xy 2
Figure 10.2.5 Traces of f (x, y) = x+1 .
b. Find the partial derivative fx (1, 2) and relate its value to the sketch you
just made.
c. Write the trace f (1, y) at the fixed value x = 1. On the right side of
Figure 10.2.5, draw the graph of the trace with x = 1 indicating the scale
and labels on the axes. Also, sketch the tangent line at the point y = 2.
d. Find the partial derivative fy (1, 2) and relate its value to the sketch you
just made.
As these examples show, each partial derivative at a point arises as the
derivative of a one-variable function defined by fixing one of the coordinates. In
addition, we may consider each partial derivative as defining a new function of
the point (x, y), just as the derivative f 0 (x) defines a new function of x in single-
variable calculus. Due to the connection between one-variable derivatives and
partial derivatives, we will often use Leibniz-style notation to denote partial
derivatives by writing
∂f ∂f
(a, b) = fx (a, b), and (a, b) = fy (a, b).
∂x ∂y
CHAPTER 10. DERIVATIVES OF MULTIVARIABLE FUNCTIONS 114
xy 2
b. If f (x, y) = , find the partial derivatives fx and fy .
x+1
c. If g(r, s) = rs cos(r), find the partial derivatives gr and gs .
d. Assuming f (w, x, y) = (6w + 1) cos(3x2 + 4xy 3 + y), find the partial
derivatives fw , fx , and fy .
x2t z 3
e. Find all possible first-order partial derivatives of q(x, t, z) = .
1 + x2
1000 1000
500 500
x x
200 200
y 150 y 150
1.5 100 1.5 100
1.0 50 1.0 50
0.5 0.5
0 0
a. Estimate the partial derivative wv (20, −10). What are the units on this
quantity and what does it mean? (Recall that we can estimate a partial
derivative of a single variable function f using the symmetric difference
quotient f (x+h)−f
2h
(x−h)
for small values of h. A partial derivative is a
derivative of an appropriate trace.)
b. Estimate the partial derivative wT (20, −10). What are the units on this
quantity and what does it mean?
CHAPTER 10. DERIVATIVES OF MULTIVARIABLE FUNCTIONS 116
c. Use your results to estimate the wind chill w(18, −10). (Recall from single
variable calculus that for a function f of x, f (x + h) ≈ f (x) + hf 0 (x).)
2
-1
1
0
x
1
-3 -2 -1 1 2 3
2
3 -1
4
5 -2
6
-3
a. Estimate the partial derivative fx (−2, −1). (Hint: How can you find
values of f that are of the form f (−2 + h) and f (−2 − h) so that you can
use a symmetric difference quotient?)
4 y 4 y
3 3
2 2
1 1
x x
1 2 3 4 1 2 3 4
Figure 10.2.9 Plots for contours of g and h.
h. Suppose you have yet another function h, and you know that h(2, 2) = 4,
hx (2, 2) < 0, and hy (2, 2) > 0. Using this information, sketch a possi-
ble contour h(x, y) = 4 passing through (2, 2) on the right side of Fig-
ure 10.2.9. Then include possible contours h(x, y) = 3 and h(x, y) = 5.
10.2.4 Summary
• If f = f (x, y) is a function of two variables, there are two first order
partial derivatives of f : the partial derivative of f with respect to x,
∂f f (x + h, y) − f (x, y)
(x, y) = fx (x, y) = lim ,
∂x h→0 h
and the partial derivative of f with respect to y,
∂f f (x, y + h) − f (x, y)
(x, y) = fy (x, y) = lim ,
∂y h→0 h
where each partial derivative exists only at those points (x, y) for which
the limit exists.
• The partial derivative fx (a, b) tells us the instantaneous rate of change of
f with respect to x at (x, y) = (a, b) when y is fixed at b. Geometrically,
the partial derivative fx (a, b) tells us the slope of the line tangent to the
y = b trace of the function f at the point (a, b, f (a, b)).
• The partial derivative fy (a, b) tells us the instantaneous rate of change of
f with respect to y at (x, y) = (a, b) when x is fixed at a. Geometrically,
the partial derivative fy (a, b) tells us the slope of the line tangent to the
x = a trace of the function f at the point (a, b, f (a, b)).
10.2.5 Exercises
1. Find the first partial derivatives of
x − 4y
f (x, y) = at the point (x, y) = (4, 1).
x + 4y
∂f
(4, 1) =
∂x
∂f
(4, 1) =
∂y
Answer 1. 0.125
CHAPTER 10. DERIVATIVES OF MULTIVARIABLE FUNCTIONS 118
Answer 2. −0.5
2. Find the first partial derivatives of f (x, y) = sin(x − y) at the point (-4,
-4).
A. fx (−4, −4) =
B. fy (−4, −4) =
Answer 1. 1
Answer 2. −1
3. Find the partial derivatives of the function
p
w = 4r2 + 3s2 + 7t2
∂w
∂r =
∂w
∂s =
∂w
∂t =
4r
Answer 1. √
4r 2 +3s2 +7t2
3s
Answer 2. √
4r 2 +3s2 +7t2
7t
Answer 3. √
4r 2 +3s2 +7t2
4. Suppose that f (x, y) is a smooth function and that its partial derivatives
have the values, fx (0, 9) = −4 and fy (0, 9) = −2. Given that f (0, 9) =
1, use this information to estimate the value of f (1, 10). Note this is
analogous to finding the tangent line approximation to a function of one
variable. In fancy terms, it is the first Taylor approximation.
Estimate of (integer value) f (0, 10)
Estimate of (integer value) f (1, 9)
Estimate of (integer value) f (1, 10)
Answer 1. −1
Answer 2. −3
Answer 3. −5
5. The gas law for a fixed mass m of an ideal gas at absolute temperature T ,
pressure P , and volume V is P V = mRT , where R is the gas constant.
Find the partial derivatives
∂P
=
∂V
∂V
=
∂T
∂T
=
∂P
∂P ∂V ∂T
= (an integer)
∂V ∂T ∂P
Answer 1. −mRT V2
mR
Answer 2. P
V
Answer 3. mR
Answer 4. −1
6. Find the first partial derivatives of f (x, y, z) = z arctan( xy ) at the point
(4, 4, -3).
A. ∂f
∂x (4, 4, −3) =
∂f
B. ∂y (4, 4, −3) =
∂f
C. ∂z (4, 4, −3) =
Answer 1. 0.375
CHAPTER 10. DERIVATIVES OF MULTIVARIABLE FUNCTIONS 119
Answer 2. −0.375
Answer 3. 0.785398163397448
7. Find the partial derivatives of the function
Z x
f (x, y) = cos(7t2 + 8t − 2) dt
y
fx (x, y) =
fy (x, y) =
Answer 1. cos 7x2 + 8x + (−2)
Answer 2. − cos 7y 2 + 8y + (−2)
8. Let f (x, y) = e−2x sin(4y).
(a) Using difference quotients with ∆x = 0.1 and ∆y = 0.1, we esti-
mate
fx (2, −2) ≈
fy (2, −2) ≈
(b) Using difference quotients with ∆x = 0.01 and ∆y = 0.01, we find
better estimates:
fx (2, −2) ≈
fy (2, −2) ≈
Answer 1. 0.0328473
Answer 2. 0.00392661
Answer 3. 0.0358814
Answer 4. −0.0092074
9. Determine the sign of fx and fy at each indicated point using the contour
diagram of f shown below. (The point P is that in the first quadrant, at
a positive x and y value; Q through T are located clockwise from P , so
that Q is at a positive x value and negative y, etc.)
(a) At point P ,
fx is ( positive negative) and
fy is ( positive negative) .
(b) At point Q,
fx is ( positive negative) and
fy is ( positive negative) .
(c) At point S,
fx is ( positive negative) and
fy is ( positive negative) .
Answer 1. negative
CHAPTER 10. DERIVATIVES OF MULTIVARIABLE FUNCTIONS 120
Answer 2. negative
Answer 3. negative
Answer 4. positive
Answer 5. positive
Answer 6. negative
10. Your monthly car payment in dollars is P = f (P0 , t, r), where $P0 is the
amount you borrowed, t is the number of months it takes to pay off the
loan, and r percent is the interest rate.
(a) Is ∂P/∂t positive or negative? ( positive negative)
Suppose that your bank tells you that the magnitude of ∂P/∂t is 15.
What are the units of this value?
(For this problem, write our your units in full, writing dollars for
$, months for months, percent for %, etc. Note that fractional units
generally have a plural numerator and singular denominator.)
(b) Is ∂P/∂r positive or negative? ( positive negative)
Suppose that your bank tells you that the magnitude of ∂P/∂r is 25.
What are the units of this value?
(For this problem, write our your units in full, writing dollars for
$, months for months, percent for %, etc. Note that fractional units
generally have a plural numerator and singular denominator.)
For both parts of this problem, be sure you can explain what the prac-
tical meanings of the partial derivatives are.
Answer 1. negative
Answer 2. dollars/month
Answer 3. positive
Answer 4. dollars/percent
11. An experiment to measure the toxicity of formaldehyde yielded the data
in the table below. The values show the percent, P = f (t, c), of rats
surviving an exposure to formaldehyde at a concentration of c (in parts
per million, ppm) after t months.
t = 14 t = 16 t = 18 t = 20 t = 22 t = 24
c=0 100 100 100 99 97 95
c=2 100 99 98 97 95 92
c=6 96 95 93 90 86 80
c = 15 96 93 82 70 58 36
(a) Estimate ft (18, 6):
ft (18, 6) ≈
(b) Estimate fc (18, 6):
fc (18, 6) ≈
(Be sure that you can give the practical meaning of these two values
in terms of formaldehyde toxicity.)
90−95
Answer 1. 20−16
82−98
Answer 2. 15−2
12. An airport can be cleared of fog by heating the air. The amount of heat
required depends on the air temperature and the wetness of the fog. The
figure below shows the heat H(T, w) required (in calories per cubic meter
of fog) as a function of the temperature T (in degrees Celsius) and the
water content w (in grams per cubic meter of fog). Note that this figure
is not a contour diagram, but shows cross-sections of H with w fixed at
CHAPTER 10. DERIVATIVES OF MULTIVARIABLE FUNCTIONS 121
a. State the limit definition of the value IT (94, 75). Then, estimate
IT (94, 75), and write one complete sentence that carefully explains
the meaning of this value, including its units.
b. State the limit definition of the value IH (94, 75). Then, estimate
IH (94, 75), and write one complete sentence that carefully explains
the meaning of this value, including its units.
c. Suppose you are given that IT (92, 80) = 3.75 and IH (92, 80) = 0.8.
Estimate the values of I(91, 80) and I(92, 78). Explain how the
partial derivatives are relevant to your thinking.
d. On a certain day, at 1 p.m. the temperature is 92 degrees and the
relative humidity is 85%. At 3 p.m., the temperature is 96 degrees
and the relative humidity 75%. What is the average rate of change
of the heat index over this time period, and what are the units on
your answer? Write a sentence to explain your thinking.
14. Let f (x, y) = 12 xy 2 represent the kinetic energy in Joules of an object of
mass x in kilograms with velocity y in meters per second. Let (a, b) be
the point (4, 5) in the domain of f .
a. Calculate fx (a, b).
b. Explain as best you can in the context of kinetic energy what the
partial derivative
f (a + h, b) − f (a, b)
fx (a, b) = lim
h→0 h
tells us about kinetic energy.
f (a, b + h) − f (a, b)
fy (a, b) = lim
h→0 h
tells us about kinetic energy.
e. Often we are given certain graphical information about a function
instead of a rule. We can use that information to approximate par-
tial derivatives. For example, suppose that we are given a contour
plot of the kinetic energy function (as in Figure 10.2.11) instead of a
formula. Use this contour plot to approximate fx (4, 5) and fy (4, 5)
as best you can. Compare to your calculations from earlier parts of
this exercise.
CHAPTER 10. DERIVATIVES OF MULTIVARIABLE FUNCTIONS 123
8 y
7
6
5
70 80
4 50 60
3 40
30
20
2
10
1
x
1 2 3 4 5 6 7 8
b. If an ant is on the metal plate, standing at the point (2, 3), and starts
walking in the direction parallel to the positive y axis, at what rate
will the temperature the ant is experiencing change? Explain, and
include appropriate units.
c. If an ant is walking along the line y = 3 in the positive x direction, at
what instantaneous rate will the temperature the ant is experiencing
change when the ant passes the point (1, 3)?
d. Now suppose the ant is stationed at the point (6, 3) and walks in a
straight line towards the point (2, 0). Determine the average rate of
change in temperature (per unit distance traveled) the ant encoun-
ters in moving between these two points. Explain your reasoning
carefully. What are the units on your answer?
16. Consider the function f defined by f (x, y) = 8 − x2 − 3y 2 .
a. Determine fx (x, y) and fy (x, y).
b. Find parametric equations in R3 for the tangent line to the trace
f (x, 1) at x = 2.
e. Determine the equation of the plane that passes through the point
(2, 1, f (2, 1)) whose normal vector is orthogonal to the direction vec-
tors of the two lines found in (b) and (c).
CHAPTER 10. DERIVATIVES OF MULTIVARIABLE FUNCTIONS 124
f 0 (x + h) − f 0 (x)
f 00 (x) = lim .
h→0 h
In what follows, we begin exploring the four different second-order partial
derivatives of a function of two variables and seek to understand what these
various derivatives tell us about the function’s behavior.
Preview Activity 10.3.1 Once again, let’s consider the function f defined
2
by f (x, y) = x sin(2y)
32 that measures a projectile’s range as a function of its
initial speed x and launch angle y. The graph of this function, including traces
with x = 150 and y = 0.6, is shown in Figure 10.3.1.
CHAPTER 10. DERIVATIVES OF MULTIVARIABLE FUNCTIONS 125
z z
1500 1500
1000 1000
500 500
x x
200 200
y 150 y 150
1.5 100 1.5 100
1.0 50 1.0 50
0.5 0.5
0 0
Figure 10.3.1 The distance function with traces x = 150 and y = 0.6.
800
600
400
200
x
50 100 150 200
c. Determine the partial derivative fy , and then find the partial derivative
fyy = (fy )y . Evaluate fyy (150, 0.6).
CHAPTER 10. DERIVATIVES OF MULTIVARIABLE FUNCTIONS 126
1000
f (150, y)
800
600
400
200
y
0.25 0.50 0.75 1.00 1.25
d. Figure 10.3.3 shows the trace f (150, y) and includes three tangent lines.
Explain how the value of fyy (150, 0.6) is reflected in this figure.
e. Because fx and fy are each functions of both x and y, they each have
two partial derivatives. Not only can we compute fxx = (fx )x , but also
fxy = (fx )y ; likewise, in addition to fyy = (fy )y , but also fyx = (fy )x .
2
For the range function f (x, y) = x sin(2y)
32 , use your earlier computations
of fx and fy to now determine fxy and fyx . Write one sentence to explain
how you calculated these “mixed” partial derivatives.
The first two are called unmixed second-order partial derivatives while the
last two are called the mixed second-order partial derivatives.
One aspect of this notation can be a little confusing. The notation
∂2f
∂ ∂f
=
∂y∂x ∂y ∂x
means that we first differentiate with respect to x and then with respect to y;
this can be expressed in the alternate notation fxy = (fx )y . However, to find
the second partial derivative
fyx = (fy )x
CHAPTER 10. DERIVATIVES OF MULTIVARIABLE FUNCTIONS 127
d. How many second order partial derivatives does the function h defined
by h(x, y, z) = 9x9 z − xyz 9 + 9 have? Find hxz and hzx (you do not need
to find the other second order partial derivatives).
In Preview Activity 10.3.1 and Activity 10.3.2, you may have noticed that
the mixed second-order partial derivatives are equal. This observation holds
generally and is known as Clairaut’s Theorem.
Clairaut’s Theorem.
Let f be a function of several variables for which the partial derivatives
fxy and fyx are continuous near the point (a, b). Then
z z z
6 6 6
4 4 4
2 2 2
-2 1 -2 1 -2 1
y -1 2 x y -1 2 x y -1 2 x
3 3 3
Consider, for example, f (x, y) = sin(x)e−y . Figure 10.3.4 shows the graph
of this function along with the trace given by y = −1.5. Also shown are three
tangent lines to this trace, with increasing x-values from left to right among
the three plots in Figure 10.3.4.
That the slope of the tangent line is decreasing as x increases is reflected,
as it is in one-variable calculus, in the fact that the trace is concave down.
Indeed, we see that fx (x, y) = cos(x)e−y and so fxx (x, y) = − sin(x)e−y < 0,
since e−y > 0 for all values of y, including y = −1.5.
In the following activity, we further explore what second-order partial
derivatives tell us about the geometric behavior of a surface.
Activity 10.3.3 We continue to consider the function f defined by f (x, y) =
sin(x)e−y .
a. In Figure 10.3.5, we see the trace of f (x, y) = sin(x)e−y that has x held
constant with x = 1.75. We also see three different lines that are tangent
to the trace of f in the x direction at values of y that are increasing
from left to right in the figure. Write a couple of sentences that describe
whether the slope of the tangent lines to this curve increase or decrease as
y increases, and, after computing fyy (x, y), explain how this observation
is related to the value of fyy (1.75, y). Be sure to address the notion of
concavity in your response.(You need to be careful about the directions
in which x and y are increasing.)
z z z
6 6 6
4 4 4
2 2 2
-2 1 -2 1 -2 1
y -1 2 x y -1 2 x y -1 2 x
3 3 3
6 6 6
4 4 4
2 2 2
-2 1 -2 1 -2 1
y -1 2 x y -1 2 x y -1 2 x
3 3 3
d. We know that fxx (1.75, −1.5) measures the concavity of the y = −1.5
trace, and that fyy (1.75, −1.5) measures the concavity of the x = 1.75
trace. What do you think the quantity fxy (1.75, −1.5) measures?
e. On Figure 10.3.6, sketch the trace with y = −1.5, and sketch three tan-
gent lines whose slopes correspond to the value of fyx (x, −1.5) for three
different values of x, the middle of which is x = −1.5. Is fyx (1.75, −1.5)
positive or negative? Why? What does fyx (1.75, −1.5) measure?
Just as with the first-order partial derivatives, we can approximate second-
order partial derivatives in the situation where we have only partial information
about the function.
Activity 10.3.4 As we saw in Activity 10.2.5, the wind chill w(v, T ), in degrees
Fahrenheit, is a function of the wind speed, in miles per hour, and the air
temperature, in degrees Fahrenheit. Some values of the wind chill are recorded
in Table 10.3.7.
Table 10.3.7 Wind chill as a function of wind speed and temperature.
v\T -30 -25 -20 -15 -10 -5 0 5 10 15 20
5 -46 -40 -34 -28 -22 -16 -11 -5 1 7 13
10 -53 -47 -41 -35 -28 -22 -16 -10 -4 3 9
15 -58 -51 -45 -39 -32 -26 -19 -13 -7 0 6
20 -61 -55 -48 -42 -35 -29 -22 -15 -9 -2 4
25 -64 -58 -51 -44 -37 -31 -24 -17 -11 -4 3
30 -67 -60 -53 -46 -39 -33 -26 -19 -12 -5 1
35 -69 -62 -55 -48 -41 -34 -27 -21 -14 -7 0
40 -71 -64 -57 -50 -43 -36 -29 -22 -15 -8 -1
a. Estimate the partial derivatives wT (20, −15), wT (20, −10), and wT (20, −5).
Use these results to estimate the second-order partial wT T (20, −10).
b. In a similar way, estimate the second-order partial wvv (20, −10).
c. Estimate the partial derivatives wT (20, −10), wT (25, −10), and wT (15, −10),
and use your results to estimate the partial wT v (20, −10).
10.3.3 Summary
• There are four second-order partial derivatives of a function f of two
independent variables x and y:
fxx = (fx )x , fxy = (fx )y , fyx = (fy )x , and fyy = (fy )y .
• The unmixed second-order partial derivatives, fxx and fyy , tell us about
the concavity of the traces. The mixed second-order partial derivatives,
fxy and fyx , tell us how the graph of f twists.
10.3.4 Exercises
1. Calculate all four second-order partial derivatives of f (x, y) = 4x2 y+8xy 3 .
fxx (x, y) =
fxy (x, y) =
fyx (x, y) =
fyy (x, y) =
Answer 1. 8y
Answer 2. 4 · 2x + 8 · 3y 2
Answer 3. 4 · 2x + 8 · 3y 2
Answer 4. 8x · 3 · 2y
2. Find all the first and second order partial derivatives of f (x, y) = 3 sin(2x+
y) − 4 cos(x − y).
A. ∂f
∂x = fx =
∂f
B. ∂y = fy =
∂2f
C. ∂x2 = fxx =
∂2f
D. ∂y 2 = fy y =
∂2f
E. ∂x∂y = fy x =
∂2f
F. ∂y∂x = fxy =
Answer 1. 6 cos(2x + y) − (−4) sin(x − y)
Answer 2. 3 cos(2x + y) + (−4) sin(x − y)
Answer 3. −4 · 3 sin(2x + y) − (−4) cos(x − y)
CHAPTER 10. DERIVATIVES OF MULTIVARIABLE FUNCTIONS 131
f (x, y) = xye4y
fx (x, y) =
fy (x, y) =
fxy (x, y) =
fyx (x, y) =
Answer 1. y exp(4y)
Answer 2. x(4y exp(4y) + exp(4y))
Answer 3. 4y exp(4y) + exp(4y)
Answer 4. 4y exp(4y) + exp(4y)
5x
4. Calculate all four second-order partial derivatives of f (x, y) = sin .
y
fxx (x, y) =
fxy (x, y) =
fyx (x, y) =
fyy (x, y) =
Answer 1. − 5y 5y
y 2 y 2 sin y
5x
2
Answer 2. 5y (y−5y·2y2) 2 cos 5x
y + 5y 5x
2
y y 2 sin 5x
y
2
5y 5y
Answer 3. − (y2 )2 cos 5x y − 5x
y 2 y 2 sin y
5x
Answer 4. − 5x 5x
y 2 y 2 sin y
5x
− 5x·2y
(y 2 )2
cos 5x y
4 5
5. Given F (r, s, t) = r 9s − t , compute:
Frst =
Answer. 0
6. Calculate all four second-order partial derivatives and check that fxy =
fyx . Assume the variables are restricted to a domain on which the function
is defined.
f (x, y) = e2xy
fxx =
fyy =
fxy =
fyx =
Answer 1. 4y 2 e2xy
Answer 2. 4x2 e2xy
Answer 3. 2e2xy + 4xye2xy
Answer 4. 2e2xy + 4xye2xy
7. Calculate all four second-order partial derivatives of f (x, y) = (2x + 4y) ey .
fxx (x, y) =
fxy (x, y) =
fyx (x, y) =
fyy (x, y) =
Answer 1. 0
CHAPTER 10. DERIVATIVES OF MULTIVARIABLE FUNCTIONS 132
Answer 2. 2ey
Answer 3. 2ey
Answer 4. 4ey + 4ey + (2x + 4y) ey
6
8. Let f (x, y) = (− (2x + y)) . Then
∂ 2f
∂x∂y =
∂ 3f
∂x∂y∂x =
∂ 3f
∂x2 ∂y =
4
Answer 1. 60(− (2x + y))
3
Answer 2. −480(− (2x + y))
3
Answer 3. −480(− (2x + y))
9. If zxy = 5y and all of the second order partial derivatives of z are contin-
uous, then
(a) zyx =
(b) zxyx =
(c) zxyy =
Answer 1. 5y
Answer 2. 0
Answer 3. 5
10. If z = f (x) + yg(x), what can we say about zyy ?
zyy = 0
zyy = y
zyy = zxx
zyy = g(x)
y
5
4
4
3
2
2
1
x
2 4
4 y 4 y
3 3
2 2
1 1
x x
1 2 3 4 1 2 3 4
Figure 10.3.10 Plots for contours of g and h.
a. State the limit definition of the value IT T (94, 75). Then, estimate
IT T (94, 75), and write one complete sentence that carefully explains
the meaning of this value, including units.
b. State the limit definition of the value IHH (94, 75). Then, estimate
IHH (94, 75), and write one complete sentence that carefully explains
the meaning of this value, including units.
c. Finally, do likewise to estimate IHT (94, 75), and write a sentence to
explain the meaning of the value you found.
CHAPTER 10. DERIVATIVES OF MULTIVARIABLE FUNCTIONS 134
13. The temperature on a heated metal plate positioned in the first quadrant
of the xy-plane is given by
2
−(y−1)3
C(x, y) = 25e−(x−1) .
c. Calculate Cyy (1.1, 1.2). Suppose instead that an ant is walking past
the point (1.1, 1.2) along the line x = 1.1. Write a sentence to
explain the meaning of the value of Cyy (1.1, 1.2), including units.
d. Determine Cxy (x, y) and hence compute Cxy (1.1, 1.2). What is the
meaning of this value? Explain, in terms of an ant walking on the
heated metal plate.
14. Let f (x, y) = 8 − x2 − y 2 and g(x, y) = 8 − x2 + 4xy − y 2 .
a. Determine fx , fy , fxx , fyy , fxy , and fyx .
b. Evaluate each of the partial derivatives in (a) at the point (0, 0).
c. What do the values in (b) suggest about the behavior of f near
(0, 0)? Plot a graph of f and compare what you see visually to what
the values suggest.
d. Determine gx , gy , gxx , gyy , gxy , and gyx .
e. Evaluate each of the partial derivatives in (d) at the point (0, 0).
x2
f (x, y) = 6 − − y2 ,
2
whose graph is shown in Figure 10.4.1.
6
4
z
2
-2
x
-2 y 2
6 6
4 4
z z
2 2
0 0.5
x x
0 y 2 0.5 y 1.5
Figure 10.4.2 The graph of f (x, y) = 6 − x2 /2 − y 2 .
Just as the graph of a differentiable single-variable function looks like a
line when viewed on a small scale, we see that the graph of this particular two-
variable function looks like a plane, as seen in Figure 10.4.3. In the following
preview activity, we explore how to find the equation of this plane.
6
4
z
2
0.5
x
0.5 y 1.5
graph of the function f contain the point (x0 , y0 , z0 ). Use this observation
to determine z0 in the expression z = z0 + a(x − x0 ) + b(y − y0 ).
x2
c. Sketch the traces of f (x, y) = 6 − 2 − y 2 for y = y0 = 1 and x = x0 = 1
below in Figure 10.4.4.
5.0 5.0
z = f (x, 1) z = f (1, y)
4.5 4.5
x y
4.0 4.0
0.5 1.0 1.5 0.5 1.0 1.5
d. Determine the equation of the tangent line of the trace that you sketched
in the previous part with y = 1 (in the x direction) at the point x0 = 1.
6 6
4 4
z z
2 2
0.5 0.5
x x
0.5 y 1.5 0.5 y 1.5
Figure 10.4.5 The traces of f (x, y) and the tangent plane.
e. Figure 10.4.5 shows the traces of the function and the traces of the tan-
gent plane. Explain how the tangent line of the trace of f , whose equation
you found in the last part of this activity, is related to the tangent plane.
How does this observation help you determine the constant a in the equa-
tion for the tangent plane z = z0 + a(x − x0 ) + b(y − y0 )? (Hint: How do
you think fx (x0 , y0 ) should be related to zx (x0 , y0 )?)
f. In a similar way to what you did in (d), determine the equation of the
tangent line of the trace with x = 1 at the point y0 = 1. Explain how
this tangent line is related to the tangent plane, and use this observation
to determine the constant b in the equation for the tangent plane z =
z0 + a(x − x0 ) + b(y − y0 ). (Hint: How do you think fy (x0 , y0 ) should be
related to zy (x0 , y0 )?)
g. Finally, write the equation z = z0 + a(x − x0 ) + b(y − y0 ) of the tangent
plane to the graph of f (x, y) = 6−x2 /2−y 2 at the point (x0 , y0 ) = (1, 1).
CHAPTER 10. DERIVATIVES OF MULTIVARIABLE FUNCTIONS 138
Differentiablity.
locally linear at (x0 , y0 ) (because the graph of f does not look linear when we
zoom in around the point (x0 , y0 )). In such a case this plane is not tangent to
the graph. Differentiability for a function of two variables implies the existence
of a tangent plane, but the existence of the two first order partial derivatives
of a function at a point does not imply differentiaility. This is quite different
than what happens in single variable calculus.
Finally, one important note about the form of the equation for the tangent
plane, z = f (x0 , y0 ) + fx (x0 , y0 )(x − x0 ) + fy (x0 , y0 )(y − y0 ). Say, for exam-
ple, that we have the particular tangent plane z = 7 − 2(x − 3) + 4(y + 1).
Observe that we can immediately read from this form that fx (3, −1) = −2
and fy (3, −1) = 4; furthermore, fx (3, −1) = −2 is the slope of the trace to
both f and the tangent plane in the x-direction at (−3, 1). In the same way,
fy (3, −1) = 4 is the slope of the trace of both f and the tangent plane in the
y-direction at (3, −1).
Activity 10.4.2
a. Find the equation of the tangent plane to f (x, y) = 2 + 4x − 3y at the
point (1, 2). Simplify as much as possible. Does the result surprise you?
Explain.
10.4.2 Linearization
In single variable calculus, an important use of the tangent line is to approx-
imate the value of a differentiable function. Near the point x0 , the tangent
line to the graph of f at x0 is close to the graph of f near x0 , as shown in
Figure 10.4.6.
y y
y = L(x) y = L(x)
y = f (x) y = f (x)
x x
x0 x0
4
z
2
z = f (x, y)
0.5
x
0.5 y 1.5
Use the data to first estimate the appropriate partial derivatives, and
then find the linearization L(v, T ) at the point (20, −10). Finally, use
the linearization to estimate w(10, −10), w(20, −12), and w(18, −12).
Compare your results to what you obtained in Activity 10.2.5
c. Figure 10.4.9 gives a contour plot of a continuously differentiable function
f.
CHAPTER 10. DERIVATIVES OF MULTIVARIABLE FUNCTIONS 141
y
5
4
4
3
2
2
1
x
2 4
10.4.3 Differentials
As we have seen, the linearization L(x, y) enables us to estimate the value of
f (x, y) for points (x, y) near the base point (x0 , y0 ). Sometimes, however, we
are more interested in the change in f as we move from the base point (x0 , y0 )
to another point (x, y).
z
df
∆f
y
(x0 , y0 )
dx = ∆x
dy = ∆y (x, y)
x
A(x, y) = xy,
so that the area of a perfectly manufactured rectangle is A(20, 10) = 200 square
centimeters. Since the machine isn’t perfect, we would like to know how much
the area of a given manufactured rectangle could differ from the perfect rect-
angle. We will estimate the uncertainty in the area using (10.4.2), and find
that
∆A ≈ dA = Ax (20, 10) dx + Ay (20, 10) dy.
Since Ax = y and Ay = x, we have
That is, we estimate that the area in our rectangles could be off by as much
as 10 square centimeters.
Activity 10.4.4 The questions in this activity explore the differential in several
different contexts.
a. Suppose that the elevation of a landscape is given by the function h, where
we additionally know that h(3, 1) = 4.35, hx (3, 1) = 0.27, and hy (3, 1) =
−0.19. Assume that x and y are measured in miles in the easterly and
northerly directions, respectively, from some base point (0, 0). Your GPS
device says that you are currently at the point (3, 1). However, you
know that the coordinates are only accurate to within 0.2 units; that is,
dx = ∆x = 0.2 and dy = ∆y = 0.2. Estimate the uncertainty in your
elevation using differentials.
b. The pressure, volume, and temperature of an ideal gas are related by the
equation
P = P (T, V ) = 8.31T /V,
where P is measured in kilopascals, V in liters, and T in kelvin. Find
the pressure when the volume is 12 liters and the temperature is 310 K.
Use differentials to estimate the change in the pressure when the volume
increases to 12.3 liters and the temperature decreases to 305 K.
c. Refer to Table 10.4.8, the table of values of the wind chill w(v, T ), in
degrees Fahrenheit, as a function of temperature, also in degrees Fahren-
CHAPTER 10. DERIVATIVES OF MULTIVARIABLE FUNCTIONS 143
heit, and wind speed, in miles per hour. Suppose your anemometer says
the wind is blowing at 25 miles per hour and your thermometer shows a
reading of −15◦ degrees. However, you know your thermometer is only
accurate to within 2◦ degrees and your anemometer is only accurate to
within 3 miles per hour. What is the wind chill based on your mea-
surements? Estimate the uncertainty in your measurement of the wind
chill.
10.4.4 Summary
• A function f of two independent variables is locally linear at a point
(x0 , y0 ) if the graph of f looks like a plane as we zoom in on the graph
around the point (x0 , y0 ). In this case, the equation of the tangent plane
is given by
• The tangent plane L(x, y) = f (x0 , y0 )+fx (x0 , y0 )(x−x0 )+fy (x0 , y0 )(y −
y0 ), when considered as a function, is called the linearization of a differ-
entiable function f at (x0 , y0 ) and may be used to estimate values of
f (x, y); that is, f (x, y) ≈ L(x, y) for points (x, y) near (x0 , y0 ).
• A function f of two independent variables is differentiable at (x0 , y0 )
provided that both fx and fy exist and are continuous in an open disk
containing the point (x0 , y0 ).
• The differential df of a function f = f (x, y) is related to the differentials
dx and dy by
df = fx (x0 , y0 )dx + fy (x0 , y0 )dy.
We can use this relationship to approximate small changes in f that
result from small changes in x and y.
10.4.5 Exercises
p
1. Find the linearization L (x, y) of the function f (x, y) = 161 − 9x2 − 4y 2
at (−4, −2).
L (x, y) =
Note: Your answer should be an expression in x and y; e.g. “3x - 5y
+ 9”
Answer. 36(x − (−4)) + 8(y − (−2)) + 1
2. Find the equation of the tangent plane to the surface z = e2x/17 ln (1y) at
the point (3, 2, 0.9865).
z=
Note: Your answer should be an expression of x and y; e.g. “5x + 2y
- 3”
Answer. 0.116061x + 0.711624y + (−0.784911)
3. A student was asked to find the equation of the tangent plane to the
surface z = x4 − y 5 at the point (x, y) = (4, 5). The student’s answer was
z = −2869 + 4x3 (x − 4) − 5y 4 (y − 5).
(a) At a glance, how do you know this is wrong. What mistakes did
the student make? Select all that apply.
The answer is not a linear function. The (x - 4) and (y -
5) should be x and y. The partial derivatives were not evaluated
a the point. The -2869 should not be in the answer. All
CHAPTER 10. DERIVATIVES OF MULTIVARIABLE FUNCTIONS 144
of the above
(b) Find the correct equation for the tangent plane.
z=
Answer. AC
4. (a) Check the local linearity of f (x, y) = e−x cos(y) near x = 1, y = 1.5
by filling in the following table of values of f for x = 0.9, 1, 1.1 and
y = 1.4, 1.5, 1.6. Express values of f with 4 digits after the decimal
point.
x= 0.9 1 1.1
y = 1.4
y = 1.5
y = 1.6
(b) Next, fill in the table for the values x = 0.99, 1, 1.01 and y =
1.49, 1.5, 1.51, again showing 4 digits after the decimal point.
x= 0.99 1 1.01
y = 1.49
y = 1.5
y = 1.51
Notice if the two tables look nearly linear, and whether the second
looks more linear than the first (in particular, think about how you would
decide if they were linear, or if the one were more closely linear than the
other).
(c) Give the local linearization of f (x, y) = e−x cos(y) at (1, 1.5):
Using the second of your tables:
f (x, y) ≈
Using the fact that fx (x, y) = −e−x cos(y) and fy (x, y) = −e−x sin(y):
f (x, y) ≈
Answer 1. 0.0691
Answer 2. 0.0625
Answer 3. 0.0566
Answer 4. 0.0288
Answer 5. 0.026
Answer 6. 0.0235
Answer 7. −0.0119
Answer 8. −0.0107
Answer 9. −0.0097
Answer 10. 0.03
Answer 11. 0.0297
Answer 12. 0.0294
Answer 13. 0.0263
Answer 14. 0.026
Answer 15. 0.0258
Answer 16. 0.0226
Answer 17. 0.0224
Answer 18. 0.0221
Answer 19. 0.026 + (0.0258−0.0263)(x−1)
0.02 + (0.0224−0.0297)(y−1.5)
0.02
Answer 20. 0.0260228 + −0.0260228(x − 1) + −0.366958(y − 1.5)
CHAPTER 10. DERIVATIVES OF MULTIVARIABLE FUNCTIONS 145
it increases slightly
it does not change
it decreases slightly
(b) How does the energy change if the temperature is held constant
and the volume is increased slightly?
it decreases slightly
0
-1
x
0
-1
-1 0 y 1
a. Determine
f (0 + h, 0) − f (0, 0)
lim .
h→0 h
What does this limit tell us about fx (0, 0)?
b. Note that f (x, y) = f (y, x), and this symmetry implies that fx (0, 0) =
fy (0, 0). So both partial derivatives of f exist at (0, 0). A picture of
the surface defined by f near (0, 0) is shown in Figure 10.4.12. Based
on this picture, do you think f is locally linear at (0, 0)? Why?
Suppose you are given that IT (94, 75) = 3.75 and IH (94, 75) = 0.9.
Use this given information and one other value from the table to es-
timate the value of I(93.1, 77) using the linearization at (94, 75). Us-
ing proper terminology and notation, explain your work and think-
ing.
c. Just as we can find a local linearization for a differentiable function
of two variables, we can do so for functions of three or more variables.
By extending the concept of the local linearization from two to three
variables, find the linearization of the function h(x, y, z) = e2x (y +
z 2 ) at the point (x0 , y0 , z0 ) = (0, 1, −2). Then, use the linearization
to estimate the value of h(−0.1, 0.9, −1.8).
14. In the following questions, we investigate two different applied settings
using the differential.
a. Let f represent the vertical displacement in centimeters from the rest
position of a string (like a guitar string) as a function of the distance
x in centimeters from the fixed left end of the string and y the time
in seconds after the string has been plucked. (An interesting video of
this can be seen at https://www.youtube.com/watch?v=TKF6nFzpHBUA.)
A simple model for f could be
f (x0 + h) − f (x0 )
f 0 (x0 ) = lim
h→0 h
exists. We saw in single variable calculus that the existence of f 0 (x0 )
means that the graph of f is locally linear at x = x0 . In other
words, the graph of f looks like its linearization L(x) = f (x0 ) +
f 0 (x0 )(x − x0 ) for x close to x0 . That is, the values of f (x) can be
closely approximated by L(x) as long as x is close to x0 . We can
measure how good the approximation of L(x) is to f (x) with the
error function
at (0, 0) has a limit of 0 as (x, y) approaches (0, 0). (Use the lin-
earization you found in part (b).) This shows that just because an
error term goes to 0 as (x, y) approaches (x0 , y0 ), we cannot conclude
that a function is locally linear at (x0 , y0 ).
d. As the previous part illustrates, having the error term go to 0 does
not ensure that a function of two variables is locally linear. Instead,
we need a notation of a relative error. To see how this works, let
CHAPTER 10. DERIVATIVES OF MULTIVARIABLE FUNCTIONS 149
E(x0 + h)
.
h
Show that, for a function f = f (x) of a single variable, the limit of
the relative error is 0 as h approaches 0.
e. Even though the error term for a function of two variables might
have a limit of 0 at a point, our example shows that the function
may not be locally linear at that point. So we use the concept of
relative error to define differentiability of a function of two variables.
When we consider differentiability of a function f = f (x, y) at a
point (x0 , y0 ), then √if x = x0 + h and y = y0 + k, the distance from
(x, y) to (x0 , y0 ) is h2 + k 2 .
Definition 10.4.14 A function f = f (x, y) is differentiable at a
point (x0 , y0 ) if there is a linear function L = L(x, y) = f (x0 , y0 ) +
m(x − x0 ) + n(y − y0 ) such that the relative error
E(x0 + h, y0 + k)
√ ,
h2 + k 2
has at limit of 0 at (h, k) = (0, 0), where E(x, y) = f (x, y) − L(x, y),
h = x − x0 , and k = y − y0 . ♦
A function f is differentiable if it is differentiable at every point in
its domain. The function L in thepdefinition is the linearization of f
at (x0 , y0 ). Verify that g(x, y) = |xy| is not differentiable at (0, 0)
by showing that the relative error at (0, 0) does not have a limit at
(0, 0). Conclude that the existence of partial derivatives at a point is
not enough to ensure differentiability at that point. (Hint: Consider
the limit along different paths.)
16. Suppose that a function f = f (x, y) is differentiable at a point (x0 , y0 ).
Let L = L(x, y) = f (x0 , y0 ) + m(x − x0 ) + n(y − y0 ) as in the conditions of
Definition 10.4.14. Show that m = fx (x0 , y0 ) and n = fy (x0 , y0 ). (Hint:
Calculate the limits of the relative errors when h = 0 and k = 0.)
17. We know that if a function of a single variable is differentiable at a point,
then that function is also continuous at that point. In this exercise we
determine that the same property holds for functions of two variables. A
function f of the two variables x and y is continuous at a point (x0 , y0 )
in its domain if
lim f (x, y) = f (x0 , y0 )
(x,y)→(x0 ,y0 )
or (letting x = x0 + h and y = y0 + k,
1
y
x
x
1 2 3
Figure 10.5.1 Left: Your position in the plane. Right: The corresponding
temperature.
Suppose, furthermore, that the temperature at a point in the plane is given
CHAPTER 10. DERIVATIVES OF MULTIVARIABLE FUNCTIONS 151
by
1 1
T (x, y) = 10 − x2 − y 2 ,
2 5
and note that the surface generated by T is shown on the right of Figure 10.5.1.
Therefore, as time passes, your position (x(t), y(t)) changes, and, as your po-
sition changes, the temperature T (x, y) also changes.
a. The position function r provides a parameterization x = x(t) and y = y(t)
of the position at time t. By substituting x(t) for x and y(t) for y in the
formula for T , we can write T = T (x(t), y(t)) as a function of t. Make
these substitutions to write T as a function of t and then use the Chain
Rule from single variable calculus to find dT
dt . (Do not do any algebra to
simplify the derivative, either before taking the derivative, nor after.)
b. Now we want to understand how the result from part (a) can be obtained
from T as a multivariable function. Recall from the previous section that
small changes in x and y produce a change in T that is approximated by
∆T ≈ Tx ∆x + Ty ∆y.
The Chain Rule tells us about the instantaneous rate of change of T , and
this can be found as
∆T Tx ∆x + Ty ∆y
lim = lim . (10.5.1)
∆t→0 ∆t ∆t→0 ∆t
Use equation (10.5.1) to explain why the instantaneous rate of change of
T that results from a change in t is
dT ∂T dx ∂T dy
= + . (10.5.2)
dt ∂x dt ∂y dt
Since z is a function of the two variables x and y, the derivatives in the Chain
Rule for z with respect to x and y are partial derivatives. However, since
x = x(t) and y = y(t) are functions of the single variable t, their derivatives
are the standard derivatives of functions of one variable. When we compose z
with x(t) and y(t), we then have z as a function of the single variable t, making
the derivative of z with respect to t a standard derivative from single variable
calculus as well.
To understand why this Chain Rule works in general, suppose that some
quantity z depends on x and y so that
∂z ∂z
dz = dx + dy. (10.5.4)
∂x ∂y
Next, suppose that x and y each depend on another quantity t, so that
dx dy
dx = dt and dy = dt. (10.5.5)
dt dt
Combining Equations (10.5.4) and (10.5.5), we find that
∂z dx ∂z dy dz
dz = dt + dt = dt,
∂x dt ∂y dt dt
which is the Chain Rule in this particular context, as expressed in Equa-
tion (10.5.3).
Activity 10.5.2 In the following questions, we apply the Chain Rule in several
different contexts.
a. Suppose that we have a function z defined by z(x, y) = x2 + xy 3 . In
addition, suppose that x and y are restricted to points that move around
the plane by following a circle of radius 2 centered at the origin that is
parameterized by
i. Use the Chain Rule to find the resulting instantaneous rate of change
dz
dt .
ii. Substitute x(t) for x and y(t) for y in the rule for z to write z in
terms of t and calculate dz
dt directly. Compare to the result of part
(i.).
c. Suppose that you are walking along a surface whose elevation is given
by a function f . Furthermore, suppose that if you consider how your
location corresponds to points in the xy-plane, you know that when you
pass the point (2, 1), your velocity vector is v = h−1, 2i. If some contours
of f are as shown in Figure 10.5.2, estimate the rate of change df /dt when
you pass through (2, 1).
y
5
4
4
3
2
2
1
x
2 4
z z
∂z ∂z
∂x ∂y
x y x y
dx dy
dt dt
t t t t
Figure 10.5.3 A tree diagram illustrating dependencies.
To represent the Chain Rule, we label every edge of the diagram with the
CHAPTER 10. DERIVATIVES OF MULTIVARIABLE FUNCTIONS 154
w x y
u v u v u v
t t t t t t
x = r cos(θ)
y = r sin(θ).
10.5.3 Summary
• The Chain Rule is a tool for differentiating a composite for functions. In
its simplest form, it says that if f (x, y) is a function of two variables and
x(t) and y(t) depend on t, then
df ∂f dx ∂f dy
= + .
dt ∂x dt ∂y dt
• A tree diagram can be used to represent the dependence of variables on
other variables. By following the links in the tree diagram, we can form
chains of partial derivatives or derivatives that can be combined to give
a desired partial derivative.
CHAPTER 10. DERIVATIVES OF MULTIVARIABLE FUNCTIONS 155
10.5.4 Exercises
dz
1. Use the chain rule to find dt , where
z = x2 y + xy 2 , x = 1 − t5 , y = 3 − t2
3s
z = exy tan y, x = 4s + 5t, y =
3t
First the pieces:
∂z ∂z
∂x = ∂y =
∂x ∂x
∂s = ∂t =
∂y ∂y
∂s = ∂t =
Answer 2. 2.75
4. If z = (x + y) ey and x = u2 + v 2 and y = u2 − v 2 , find the following
partial derivatives using the chain rule. Enter your answers as functions
of u and v.
∂z
=
∂u
∂z
=
∂v
2 2 2 2
Answer 1. 2 · 2ueu −v + 2u2 eu −v · 2u
2 2
Answer 2. −2u2 eu −v · 2v
5. If
z = sin x2 + y 2 ,
x = v cos(u) , y = v sin(u) ,
find ∂z/∂u and ∂z/∂v. The variables are restricted to domains on which
the functions are defined.
∂z/∂u =
∂z/∂v =
Answer 1. 0
Answer 2. cos v 2 · 2v
6. Let z = g(u, v) and u(r, s), v(r, s). How many terms are there in the
expression for ∂z/∂r?
terms
Answer. 2
7. Let W (s, t) = F (u(s, t), v(s, t)) where
∂z ∂z
B. Find the numerical values of ∂s and ∂t when (s, t) = (−3, 3).
∂z
∂s (−3, 3) =
∂z
∂t (−3, 3) =
Answer 1. 8sx sin(y) + (−6)tx2 cos(y)
Answer 2. 4tx sin(y) + (−6)sx2 cos(y)
Answer 3. 11244.2989304861
Answer 4. −11063.2512786582
11. Find the indicated derivative. In each case, state the version of the Chain
Rule that you are using.
df
a. dt , if f (x, y) = 2x2 y, x = cos(t), and y = ln(t).
∂f 2z+1
b. ∂w , if f (x, y) = 2x2 y, x = w + z 2 , and y = w
∂f
c. if f (x, y, z) = 2x2 y + z 3 , x = u − v + 2w, y = w2v − u3 , and
∂v ,
z = u2 − v
12. Let z = u2 − v 2 and suppose that
u = ex cos(y)
v = ex sin(y)
x = ρ sin(φ) cos(θ)
y = ρ sin(φ) sin(θ)
z = ρ cos(φ)
6 y
1
x
1 2 3 4 5 6
a. Suppose that a person is walking due east, and thus parallel to the x-axis.
At what instantaneous rate is the temperature changing with respect to
x at the moment the walker passes the point (2, 1)? What are the units
on this rate of change?
b. Next, determine the instantaneous rate of change of temperature with
respect to distance at the point (2, 1) if the person is instead walking due
north. Again, include units on your result.
c. Now, rather than walking due east or due north, let’s suppose that the
person is walking with velocity given by the vector v = h3, 4i, where time
is measured in seconds. Note that the person’s speed is thus |v| = 5 feet
per second. Find parametric equations for the person’s path; that is,
parameterize the line through (2, 1) using the direction vector v = h3, 4i.
Let x(t) denote the x-coordinate of the line, and y(t) its y-coordinate.
Make sure your parameterization places the walker at the point (2, 1)
when t = 0.
d. With the parameterization in (c), we can now view the temperature f
as not only a function of x and y, but also of time, t. Hence, use the
chain rule to determine the value of df
dt t=0 . What are the units on your
answer? What is the practical meaning of this result?
f (x + u1 h, y + u2 h) − f (x, y)
Du f (x, y) = lim (10.6.2)
h→0 h
for those values of x and y for which the limit exists. ♦
The quantity Du f (x, y) is called a directional derivative. When we evaluate
the directional derivative Du f (x, y) at a point (x0 , y0 ), the result Du f (x0 , y0 )
tells us the instantaneous rate at which f changes at (x0 , y0 ) per unit increase
in the direction of the vector u. In addition, the quantity Du f (x0 , y0 ) tells us
the slope of the line tangent to the surface in the direction of u at the point
(x0 , y0 , f (x0 , y0 )).
x = x0 + u1 t and y = y0 + u2 t.
dy
Observe that dx dt = u1 and dt = u2 for all values of t. Since u is a unit
vector, it follows that a point moving along this line moves one unit of distance
per one unit of time; that is, each single unit of time corresponds to movement
of a single unit of distance in that direction. This observation allows us to
use the Chain Rule to calculate the directional derivative, which measures the
instantaneous rate of change of f with respect to change in the direction u.
In particular, by the Chain Rule, it follows that
dx dy
Du f (x0 , y0 ) = fx (x0 , y0 ) +f y (x 0 , y0 )
dt (x0 ,y0 ) dt (x0 ,y0 )
= fx (x0 , y0 )u1 + fy (x0 , y0 )u2 .
CHAPTER 10. DERIVATIVES OF MULTIVARIABLE FUNCTIONS 162
1 The symbol ∇ is called nabla, which comes from a Greek word for a certain type of harp
• (x0 , y0 ) = (2, 0)
• (x0 , y0 ) = (0, 2)
• (x0 , y0 ) = (2, 2)
• (x0 , y0 ) = (2, 1)
• (x0 , y0 ) = (−3, 2)
• (x0 , y0 ) = (−2, −4)
• (x0 , y0 ) = (0, 0)
c. What do you notice about the relationship between the gradient at
(x0 , y0 ) and the contour passing through that point?
y y y
∇f (x0 , y0 ) ∇f (x0 , y0 ) ∇f (x0 , y0 )
u
θ θ θ
u
(x0 , y0 ) (x0 , y0 ) u (x0 , y0 )
x x x
b. At the point (x0 , y0 ), the only quantity in Equation (10.6.6) that can
change is θ (which determines the direction u of travel). Explain why
θ = 0 makes the quantity
|hfx (x0 , y0 ), fy (x0 , y0 )i| cos(θ)
as large as possible.
c. When θ = 0, in what direction does the unit vector u point relative to
∇f (x0 , y0 )? Why? What does this tell us about the direction of greatest
increase of f at the point (x0 , y0 )?
d. In what direction, relative to ∇f (x0 , y0 ), does f decrease most rapidly
at the point (x0 , y0 )?
e. State the unit vectors u and v (in terms of ∇f (x0 , y0 )) that provide the
directions of greatest increase and decrease for the function f at the point
CHAPTER 10. DERIVATIVES OF MULTIVARIABLE FUNCTIONS 165
4 y
x
1 2 3 4
h. Suppose you are standing at the point (3, 3). In which direction should
you move to cause f to increase as rapidly as possible? At what rate
does f increase in this direction?
10.6.6 Applications
The gradient finds many natural applications. For example, situations often
arise — for instance, constructing a road through the mountains or planning
the flow of water across a landscape — where we are interested in knowing the
direction in which a function is increasing or decreasing most rapidly.
For example, consider a two-dimensional version of how a heat-seeking mis-
sile might work.(This application is borrowed from United States Air Force
Academy Department of Mathematical Sciences.) Suppose that the tempera-
ture surrounding a fighter jet can be modeled by the function T defined by
100
T (x, y) = ,
1 + (x − 5)2 + 4(y − 2.5)2
where (x, y) is a point in the plane of the fighter jet and T (x, y) is measured
in degrees Celsius. Some contours and gradients ∇T are shown on the left in
CHAPTER 10. DERIVATIVES OF MULTIVARIABLE FUNCTIONS 167
Figure 10.6.6.
5 y 5 y
4 4
3 3
2 2
1 1
x x
1 2 3 4 5 6 7 8 9 10 1 2 3 4 5 6 7 8 9 10
Figure 10.6.6 Contours and gradient for T (x, y) and the missile’s path.
A heat-seeking missile will always travel in the direction in which the tem-
perature increases most rapidly; that is, it will always travel in the direction
of the gradient ∇T . If a missile is fired from the point (2, 4), then its path will
be that shown on the right in Figure 10.6.6.
In the final activity of this section, we consider several questions related to
this context of a heat-seeking missile, and foreshadow some upcoming work in
Section 10.7.
Activity 10.6.6
a. The temperature T (x, y) has its maximum value at the fighter jet’s loca-
tion. State the fighter jet’s location and explain how Figure 10.6.6 tells
you this.
b. Determine ∇T at the fighter jet’s location and give a justification for
your response.
c. Suppose that a different function f has a local maximum value at (x0 , y0 ).
Sketch the behavior of some possible contours near this point. What is
∇f (x0 , y0 )? (Hint: What is the direction of greatest increase in f at the
local maximum?)
d. Suppose that a function g has a local minimum value at (x0 , y0 ). Sketch
the behavior of some possible contours near this point. What is ∇g(x0 , y0 )?
10.6.7 Summary
• The directional derivative of f at the point (x, y) in the direction of the
unit vector u = hu1 , u2 i is
f (x + u1 h, y + u2 h) − f (x, y)
Du f (x, y) = lim
h→0 h
for those values of x and y for which the limit exists. In addition,
Du f (x, y) measures the slope of the graph of f when we move in the
direction u. Alternatively, Du f (x0 , y0 ) measures the instantaneous rate
of change of f in the direction u at (x0 , y0 ).
• The gradient of a function f = f (x, y) at a point (x0 , y0 ) is the vector
∇f (x0 , y0 ) = hfx (x0 , y0 ), fy (x0 , y0 )i .
10.6.8 Exercises
1. Consider the function f (x, y, z) = xy + yz 2 + xz 3 .
Find the gradient of f :
h , ,
i
Find the gradient of f at the point (2, 3, 5).
h , ,
i
Find the rate √
of change√of the function
√ f at the point (2, 3,5) in the
direction u = h4/ 66, −5/ 66, −5/ 66i.
Answer 1. y + z 3
Answer 2. x + z 2
Answer 3. 2yz + 3xz 2
Answer 4. 128
Answer 5. 27
Answer 6. 180
Answer 7. −64.376849782191
2. If f (x, y) = 3x2 − 1y 2 , find the value of the directional derivative at the
point (−1, −4) in the direction given by the angle θ = 2π 6 .
Answer. 3.92820323027551
3. Find the directional derivative of f (x, y, z) = 4xy + z 2 at the point
(−5, 3, −2) in the direction of the maximum rate of change of f .
f<B><I>u</B></I> (−5, 3, −2) = D<B><I>u</B></I> f (−5, 3, −2) =
Answer. 23.6643
100
4. The temperature at any point in the plane is given by T (x, y) = .
x2 + y2 + 3
(a) What shape are the level curves of T ?
hyperbolas
circles
lines
ellipses
parabolas
What is the value of this maximum rate of change, that is, the maxi-
mum value of the directional derivative at (−3, −3)?
(d) Find the direction of the greatest decrease in temperature at the
point (−3, −3).
What is the value of this most negative rate of change, that is, the
minimum value of the directional derivative at (−3, −3)?
Answer 1. B
Answer 2. (0, 0)
Answer 3. 33.3333
Answer 4. h1.36054, 1.36054i
Answer 5. 1.9241
Answer 6. h−1.36054, −1.36054i
2 2 2
5. The temperature at a point (x,y,z) is given by T (x, y, z) = 200e−x −y /4−z /9 ,
where T is measured in degrees Celsius and x,y, and z in meters. There
are lots of places to make silly errors in this problem; just try to keep
track of what needs to be a unit vector.
Find the rate of change of the temperature at the point (-1, 1, 2) in
the direction toward the point (-1, 3, -3).
In which direction (unit vector) does the temperature increase the
fastest at (-1, 1, 2)?
h , ,
i
What is the maximum rate of increase of T at (-1, 1, 2)?
Answer 1. 8.33860305193074
Answer 2. 0.948354065592898
Answer 3. −0.237088516398225
Answer 4. −0.210745347909533
Answer 5. 77.4821403113886
6. If f (x, y, z) = 2zy 2 , then the gradient at the point (2, 2, 4) is
∇f (2, 2, 4) =
Answer. h0, 32, 8i
7. The concentration of salt in a fluid at (x, y, z) is given by F (x, y, z) =
2x2 + 3y 4 + 2x2 z 2 mg/cm3 . You are at the point (−1, 1, −1).
(a) In which direction should you move if you want the concentration
to increase the fastest?
direction:
(Give your answer as a vector.)
(b) You start to move in the direction you found in part (a) at a speed
of 5 cm/sec. How fast is the concentration changing?
rate of change =
Answer 1. −8 ĩ + 12 j̃ − 4 k̃
p
Answer 2. 5 −8 · (−8) + 12 · 12 + −4 · (−4)
8. At a certain point on a heated metal plate, the greatest rate of tempera-
ture increase, 4 degrees Celsius per meter, is toward the northeast. If an
object at this point moves directly north, at what rate is the temperature
increasing?
9. Suppose that you are climbing a hill whose shape is given by z = 902 −
0.07x2 − 0.1y 2 , and that you are at the point (40, 70, 300).
In which direction (unit vector) should you proceed initially in order
to reach the top of the hill fastest?
h ,
i
If you climb in that direction, at what angle above the horizontal will
you be climbing initially (radian measure)?
Answer 1. −0.371390676354104
Answer 2. −0.928476690885259
Answer 3. 1.5045735390203
10. Are the following statements true or false?
(a) The gradient vector ∇f (a, b) is tangent to the contour of f at (a, b).
(b) f~u (a, b) = ||∇f (a, b)||.
(c) f~u (a, b) is parallel to ~u.
(g) If f (x, y) has fx (a, b) = 0 and fy (a, b) = 0 at the point (a, b), then
f is constant everywhere.
(h) ∇f (a, b) is a vector in 3-dimensional space.
11. Let E(x, y) = 1+(x−5)2100
+4(y−2.5)2 represent the elevation on a land mass
at location (x, y). Suppose that E, x, and y are all measured in meters.
a. Find Ex (x, y) and Ey (x, y).
b. Let u be a unit vector in the direction of h−4, 3i. Determine Du E(3, 4).
What is the practical meaning of Du E(3, 4) and what are its units?
c. Find the direction of greatest increase in E at the point (3, 4).
d. Find the instantaneous rate of change of E in the direction of great-
est decrease at the point (3, 4). Include units on your answer.
b. Find the direction of greatest increase in f at the point (1, 2). Ex-
CHAPTER 10. DERIVATIVES OF MULTIVARIABLE FUNCTIONS 171
-2
-4 -2
0 x
-4 -2 0 2 2
4
y -3
-4
d. Find a direction in which the temperature does not change at (1, 2, −1).
16. Figure 10.6.8 shows a plot of the gradient ∇f at several points for some
function f = f (x, y).
CHAPTER 10. DERIVATIVES OF MULTIVARIABLE FUNCTIONS 172
10.7 Optimization
Motivating Questions
• How can we find the points at which f (x, y) has a local maximum or
minimum?
• How can we determine whether critical points of f (x, y) are local maxima
or minima?
• How can we find the absolute maximum and minimum of f (x, y) on a
closed and bounded domain?
We learn in single-variable calculus that the derivative is a useful tool for
finding the local maxima and minima of functions, and that these ideas may
often be employed in applied settings. In particular, if a function f , such
as the one shown in Figure 10.7.1 is everywhere differentiable, we know that
the tangent line is horizontal at any point where f has a local maximum or
minimum. This, of course, means that the derivative f 0 is zero at any such
point. Hence, one way that we seek extreme values of a given function is to
first find where the derivative of the function is zero.
CHAPTER 10. DERIVATIVES OF MULTIVARIABLE FUNCTIONS 173
y = f (x)
b. In the same way, the trace given by holding x = x0 constant has a local
maximum at y = y0 . What does this say about the value of the partial
derivative fy (x0 , y0 )?
c. What may we now conclude about the gradient ∇f (x0 , y0 ) at the local
maximum? How is this consistent with the statement “f increases most
rapidly in the direction ∇f (x0 , y0 )?”
d. How will the tangent plane to the surface z = f (x, y) appear at the point
(x0 , y0 , f (x0 , y0 ))?
e. By first computing the partial derivatives, find any points at which
f (x, y) = 2x − x2 − (y + 2)2 may have a local maximum.
• An absolute minimum point is a point such that f (x, y) ≥ f (x0 , y0 ) for all
points (x, y) in the domain of f . The value of f at an absolute minimum
point is the maximum value of f .
♦
We use the term extremum point to refer to any point (x0 , y0 ) at which f
has a local maximum or minimum. In addition, the function value f (x0 , y0 ) at
an extremum is called an extremal value. Figure 10.7.3 illustrates the graphs
of two functions that have an absolute maximum and minimum, respectively,
at the origin (x0 , y0 ) = (0, 0).
doesn’t exist or for which both partial derivatives are simultaneously zero. For
the latter, note that we have to solve the system of equations
fx (x, y) = 0
fy (x, y) = 0.
Activity 10.7.2 Find the critical points of each of the following functions.
Then, using appropriate technology, plot the graphs of the surfaces near each
critical value and compare the graph to your work.
a. f (x, y) = 2 + x2 + y 2
b. f (x, y) = 2 + x2 − y 2
c. f (x, y) = 2x − x2 − 14 y 2
x y
Activity 10.7.3 Recall that the Second Derivative Test for single-variable
functions states that if x0 is a critical point of a function f so that f 0 (x0 ) = 0
and if f 00 (x0 ) exists, then
• if f 00 (x0 ) < 0, x0 is a local maximum,
• if f 00 (x0 ) > 0, x0 is a local minimum, and
You can verify that each function has a critical point at the origin (0, 0). You
should check this.
x y
a. The graphs of these three functions are shown in Figure 10.7.6, with
z = 4 − x2 − y 2 at left, z = x2 + y 2 in the middle, and z = x2 − y 2 at
right. Use the graphs to decide if a function has a local maximum, local
minimum, saddle point, or none of the above at the origin.
b. There is no single second derivative of a function of two variables, so we
consider a quantity that combines the second order partial derivatives.
2
Let D = fxx fyy − fxy . Calculate D at the origin for each of the functions
f1 , f2 , and f3 . What difference do you notice between the values of D
when a function has a maximum or minimum value at the origin versus
when a function has a saddle point at the origin?
c. Now consider the cases where D > 0. It is in these cases that a function
has a local maximum or minimum at a point. What is necessary in these
cases is to find a condition that will distinguish between a maximum and
a minimum. In the cases where D > 0 at the origin, evaluate fxx (0, 0).
What value does fxx (0, 0) have when f has a local maximum value at
the origin? When f has a local minimum value at the origin? Explain
why. (Hint: This should look very similar to the Second Derivative Test
for functions of a single variable.) What would happen if we considered
the values of fyy (0, 0) instead?
Activity 10.7.3 provides the basic ideas for the Second Derivative Test for
functions of two variables.
CHAPTER 10. DERIVATIVES OF MULTIVARIABLE FUNCTIONS 177
c. f (x, y) = x3 + y 3 − 3xy.
As we learned in single-variable calculus, finding extremal values of func-
tions can be particularly useful in applied settings. For instance, we can often
use calculus to determine the least expensive way to construct something or to
find the most efficient route between two locations. The same possibility holds
in settings with two or more variables.
Activity 10.7.5 While the quantity of a product demanded by consumers is
often a function of the price of the product, the demand for a product may also
depend on the price of other products. For instance, the demand for blue jeans
at Old Navy may be affected not only by the price of the jeans themselves, but
also by the price of khakis.
Suppose we have two goods whose respective prices are p1 and p2 . The
demand for these goods, q1 and q2 , depend on the prices as
The seller would like to set the prices p1 and p2 in order to maximize
revenue. We will assume that the seller meets the full demand for each product.
Thus, if we let R be the revenue obtained by selling q1 items of the first good
CHAPTER 10. DERIVATIVES OF MULTIVARIABLE FUNCTIONS 178
at price p1 per item and q2 items of the second good at price p2 per item, we
have
R = p1 q1 + p2 q2 .
We can then write the revenue as a function of just the two variables p1
and p2 by using Equations (10.7.1) and (10.7.2), giving us
4000
2000
-2000
-4000
-6000
-8000
-10000
10 20 30 40 20 10 0
p2 50 60 60 50 40 30 p1
a. Find all critical points of the revenue function, R. (Hint: You should
obtain a system of two equations in two unknowns which can be solved
by elimination or substitution.)
b. Apply the Second Derivative Test to determine the type of any critical
point(s).
c. Where should the seller set the prices p1 and p2 to maximize the revenue?
The absolute extremes must occur at either a critical point in the interior
of R or at a boundary point of R. We therefore must test both possibilities,
as we demonstrate in the following example.
Example 10.7.8 Suppose the temperature T at each point on the circular
plate x2 + y 2 ≤ 1 is given by
T (x, y) = 2x2 + y 2 − y.
The domain R = {(x, y) : x2 + y 2 ≤ 1} is a closed and bounded region, as
shown on the left of Figure 10.7.9, so the Extreme Value Theorem assures us
that T has an absolute maximum and minimum on the plate. The graph of
T over its domain R is shown in Figure 10.7.9. We will find the hottest and
coldest points on the plate.
1.5 y
z
2
1.0
0.5
1
x
-1.5 -1.0 -0.5 0.5 1.0 1.5
-0.5 -1
0 0 x
y 1
-1.0
-1
-1.5
Figure 10.7.9 Domain of the temperature T (x, y) = 2x2 + y 2 − y and its
graph.
If the absolute maximum or minimum occurs inside the disk, it will be at
a critical point so we begin by looking for critical points inside the disk. To do
this, notice that critical points are given by the conditions Tx = 4x = 0 and
Ty = 2y − 1 = 0. This means that there is one critical point of the function at
the point (x0 , y0 ) = (0, 1/2), which lies inside the disk.
We now find the hottest and coldest points on the boundary of the disk,
which is the circle of radius 1. As we have seen, the points on the unit circle
can be parametrized as
x(t) = cos(t), y(t) = sin(t),
where 0 ≤ t ≤ 2π. The temperature at a point on the circle is then described
by
T (x(t), y(t)) = 2 cos2 (t) + sin2 (t) − sin(t).
To find the hottest and coldest points on the boundary, we look for the
critical points of this single-variable function on the interval 0 ≤ t ≤ 2π. We
have
dT
= −4 cos(t) sin(t) + 2 cos(t) sin(t) − cos(t)
dt
CHAPTER 10. DERIVATIVES OF MULTIVARIABLE FUNCTIONS 180
This shows that we have critical points when cos(t) = 0 or sin(t) = −1/2.
This occurs when t = π/2, 3π/2, 7π/6, and 11π/6. Since we have x(t) = cos(t)
and y(t) = sin(t), the corresponding points are
π 3π
• (x, y) = t = 2,
(0, 1) when • (x, y) =
(0, −1) when
t= 2 ,
√ √
• (x, y) = 23 , − 12 when t = 11π
6 . • (x, y) = − 23 , − 21 when t = 7π
6 .
These are the critical points of T on the boundary and so this collection of
points includes the hottest and coldest points on the boundary.
We now have a list of candidates for the hottest and coldest points: the
critical point in the interior of the disk and the critical points on the boundary.
We find the hottest and coldest points by evaluating the temperature at each
of these points, and find that
• T 0, 12 = −14 ,
• T (0,
1) = 0, • T (0, −1) = 2,
√ √
3 1 9 3 1 9
• T − 2 , −2 = 4, • T − 2 , −2 = 4.
2 2 9
So the maximum √ value of T on the disk x + y ≤ 1 is 4 , which occurs at
the two points ± 23 , − 12 on the boundary, and the minimum value of T on
the disk is − 14 which occurs at the critical point 0, 21 in the interior of R.
From this example, we see that we use the following procedure for deter-
mining the absolute maximum and absolute minimum of a function on a closed
and bounded domain.
• Find all critical points of the function in the interior of the domain.
• Find all the critical points of the function on the boundary of the domain.
Working on the boundary of the domain reduces this part of the problem
to one or more single variable optimization problems. Note that there
may be endpoints on portions of the boundary that need to be considered.
z
y 5
4
1 2 2 1 x 0
y 3 3
3 -5 4
-10
2
-15
1
-20
x
1 2 3 4
d. Parameterize the hypotenuse of the triangular domain, and find the crit-
ical points of f on the hypotenuse. (Hint: You may need to consider
endpoints.)
e. Find the absolute maximum and absolute minimum values of f on R.
10.7.4 Summary
• To find the extrema of a function f = f (x, y), we first find the critical
points, which are points where one of the partials of f fails to exist, or
where fx = 0 and fy = 0.
10.7.5 Exercises
CHAPTER 10. DERIVATIVES OF MULTIVARIABLE FUNCTIONS 182
1. The function 2
k(x, y) = e−y cos(5x)
has a critical point at (0, 0).
What is the value of D at this critical point? D =
What type of critical point is it? ( maximum minimum sad-
dle point point with unknown behavior)
Answer 1. 2 · 25
Answer 2. maximum
2. Consider the function
Find and classify all critical points of the function. If there are more
blanks than critical points, leave the remaining entries blank.
fx =
fy =
fxx =
fxy =
fyy =
There are several critical points to be listed. List them lexicograhically,
that is in ascending order by x-coordinates, and for equal x-coordinates
in ascending order by y-coordinates (e.g., (1,1), (2, -1), (2, 3) is a correct
order)
The critical point with the smallest x-coordinate is
( , ) Classification:
(local minimum, local maximum, saddle point, cannot be determined)
The critical point with the next smallest x-coordinate is
( , ) Classification:
(local minimum, local maximum, saddle point, cannot be determined)
The critical point with the next smallest x-coordinate is
( , ) Classification:
(local minimum, local maximum, saddle point, cannot be determined)
The critical point with the next smallest x-coordinate is
( , ) Classification:
(local minimum, local maximum, saddle point, cannot be determined)
The critical point with the next smallest x-coordinate is
( , ) Classification:
(local minimum, local maximum, saddle point, cannot be determined)
Answer 1. (18 − 2x) 18y − y 2
Answer 2. 18x − x2 (18 − 2y)
Answer 3. −2 18y − y 2
Answer 4. (18 − 2x)(18 − 2y)
Answer 5. −2 18x − x2
Answer 6. 0
Answer 7. 0
Answer 8. saddle point
Answer 9. 0
Answer 10. 18
Answer 11. saddle point
Answer 12. 9
Answer 13. 9
CHAPTER 10. DERIVATIVES OF MULTIVARIABLE FUNCTIONS 183
f (x, y) = 9 − 6x + 8y
on the closed triangular region with vertices (0, 0), (8, 0) and (8, 12).
List the minimum/maximum values as well as the point(s) at which
they occur. If a min or max occurs at multiple points separate the points
with commas.
Minimum value:
Occurs at
Maximum value:
Occurs at
Answer 1. −39
CHAPTER 10. DERIVATIVES OF MULTIVARIABLE FUNCTIONS 184
Answer 2. (8, 0)
Answer 3. 57
Answer 4. (8, 12)
7. Find the maximum and minimum values of f (x, y) = xy on the ellipse
5x2 + y 2 = 3.
maximum value =
minimum value =
Answer 1. 0.670820393249937
Answer 2. −0.670820393249937
8. Find A and B so that f (x, y) = x2 + Ax + y 2 + B has a local minimum
at the point (7, 0), with z-coordinate 5.
A=
B=
Answer 1. −14
Answer 2. 5 + 7 · 7
9. The contours of a function f are shown in the figure below.
For each of the points shown, indicate whether you think it is a local
maximum, local minimum, saddle point, or none of these.
(a) Point P is ( a local maximum a local minimum a
saddle point none of these)
(b) Point Q is ( a local maximum a local minimum a
saddle point none of these)
(c) Point R is ( a local maximum a local minimum a
saddle point none of these)
(d) Point S is ( a local maximum a local minimum a saddle
point none of these)
Answer 1. a local maximum
Answer 2. a local maximum
Answer 3. none of these
Answer 4. a saddle point
10. Consider the three points (5, 1), (7, 3), and (9, 4).
(a) Supposed that at (5, 1), we know that fx = fy = 0 and fxx = 0,
fyy = 0, and fxy > 0. What can we conclude about the behavior of this
function near the point (5, 1)? ( (5,1) is a local maximum (5,1) is
CHAPTER 10. DERIVATIVES OF MULTIVARIABLE FUNCTIONS 185
x2 y2 z2
+ + =1
16 81 4
Hint: By symmetry, you can restrict your attention to the first octant
(where x, y, z ≥ 0), and assume your volume has the form V = 8xyz.
Then arguing by symmetry, you need only look for points which achieve
the maximum which lie in the first octant.
Maximum volume:
Answer. 110.851251684408
16. Design a rectangular milk carton box of width w, length l, and height h
which holds 500 cm3 of milk. The sides of the box cost 1 cent/cm2 and
the top and bottom cost 2 cent/cm2 . Find the dimensions of the box that
minimize the total cost of materials used.
dimensions =
(Enter your answer as a comma separated list of lengths.)
Answer. 12.5992, 6.2996, 6.29962
CHAPTER 10. DERIVATIVES OF MULTIVARIABLE FUNCTIONS 186
17. Respond to each of the following prompts to solve the given optimization
problem.
a. Let f (x, y) = sin(x) + cos(y). Determine the absolute maximum
and minimum values of f . At what points do these extreme values
occur?
b. For a certain differentiable function F of two variables x and y, its
partial derivatives are
22. The airlines place restrictions on luggage that can be carried onto planes.
• A carry-on bag can weigh no more than 40 lbs.
• The length plus width plus height of a bag cannot exceed 45 inches.
• The bag must fit in an overhead bin.
Let x, y, and z be the length, width, and height (in inches) of a carry on
bag. In this problem we find the dimensions of the bag of largest volume,
V = xyz, that satisfies the second restriction. Assume that we use all
45 inches to get a maximum volume. (Note that this bag of maximum
volume might not satisfy the third restriction.)
a. Write the volume V = V (x, y) as a function of just the two variables
x and y.
a. Calculate Sm and Sb .
b. Solve the system Sm (m, b) = 0 and Sb (m, b) = 0 to show that the
critical point satisfies
Pn Pn Pn
n ( i=1 xi yi ) − ( i=1 xi ) ( i=1 yi )
m= Pn Pn 2
n ( i=1 x2i ) − ( i=1 xi )
Pn Pn 2
P n Pn
( i=1 yi ) i=1 xi − ( i=1 xi ) ( i=1 xi yi )
b= Pn Pn 2 .
2
n ( i=1 xi ) − ( i=1 xi )
• How can we exploit this geometric condition to find the extreme values
of a function subject to a constraint?
We previously considered how to find the extreme values of functions on
both unrestricted domains and on closed, bounded domains. Other types of
optimization problems involve maximizing or minimizing a quantity subject
to an external constraint. In these cases the extreme values frequently won’t
occur at the points where the gradient is zero, but rather at other points that
satisfy an important geometric condition. These problems are often called con-
strained optimization problems and can be solved with the method of Lagrange
Multipliers, which we study in this section.
Preview Activity 10.8.1 According to U.S. postal regulations, the girth
plus the length of a parcel sent by mail may not exceed 108 inches, where
by “girth” we mean the perimeter of the smallest end. Our goal is to find
the largest possible volume of a rectangular parcel with a square end that
CHAPTER 10. DERIVATIVES OF MULTIVARIABLE FUNCTIONS 190
can be sent by mail. (We solved this applied optimization problem in single
variable Active Calculus, so it may look familiar. We take a different approach
in this section, and this approach allows us to view most applied optimization
problems from single variable calculus as constrained optimization problems,
as well as provide us tools to solve a greater variety of optimization problems.)
If we let x be the length of the side of one square end of the package and y
the length of the package, then we want to maximize the volume f (x, y) = x2 y
of the box subject to the constraint that the girth (4x) plus the length (y) is
as large as possible, or 4x + y = 108. The equation 4x + y = 108 is thus an
external constraint on the variables.
a. The constraint equation involves the function g that is given by
g(x, y) = 4x + y.
100
80
A
60
C
40
5000
20000
20 D
1000 10000
B x
10 20 30 40
b. Figure 10.8.1 shows the graph of the constraint equation g(x, y) = 108
along with a few contours of the volume function f . Since our goal is to
find the maximum value of f subject to the constraint g(x, y) = 108, we
want to find the point on our constraint curve that intersects the contours
of f at which f has its largest value.
i. Points A and B in Figure 10.8.1 lie on a contour of f and on the
constraint equation g(x, y) = 108. Explain why neither A nor B
provides a maximum value of f that satisfies the constraint.
ii. Points C and D in Figure 10.8.1 lie on a contour of f and on the
constraint equation g(x, y) = 108. Explain why neither C nor D
provides a maximum value of f that satisfies the constraint.
iii. Based on your responses to parts i. and ii., draw the contour of f
on which you believe f will achieve a maximum value subject to the
constraint g(x, y) = 108. Explain why you drew the contour you
did.
c. Recall that g(x, y) = 108 is a contour of the function g, and that the
gradient of a function is always orthogonal to its contours. With this in
mind, how should ∇f and ∇g be related at the optimal point? Explain.
CHAPTER 10. DERIVATIVES OF MULTIVARIABLE FUNCTIONS 191
100
80
60
40
20
x
10 20 30 40
Figure 10.8.2 Contours of f and the constraint contour.
To find this point where the graph of the constraint is tangent to a contour
of f , recall that ∇f is perpendicular to the contours of f and ∇g is perpen-
dicular to the contour of g. At such a point, the vectors ∇g and ∇f are
parallel, and thus we need to determine the points where this occurs. Recall
that two vectors are parallel if one is a nonzero scalar multiple of the other, so
we therefore look for values of a parameter λ that make
∇f = λ∇g. (10.8.1)
∇f = 2xyi + x2 j and ∇g = 4i + j,
So the point (0, 108) is a point we need to consider. Next, provided that λ 6= 0
(from which it follows that x 6= 0 by Equation (10.8.3)), we may divide both
sides of Equation (10.8.2) by the corresponding sides of (10.8.3) to eliminate
λ, and thus find that
2y
= 4, so
x
y = 2x.
4x + 2x = 108
or
x = 18.
Thus we have y = 2x = 36 and λ = x2 = 324 as another point to consider.
So the points at which the gradients of f and g are parallel, and thus at which
f may have a maximum or minimum subject to the constraint, are (0, 108) and
(18, 36). By evaluating the function f at these points, we see that we maximize
the volume when the length of the square end of the box is 18 inches and the
length is 36 inches, for a maximum volume of f (18, 36) = 11664 cubic inches.
Since f (0, 108) = 0, we obtain a minimum value at this point.
We summarize the process of Lagrange multipliers as follows.
Activity 10.8.2 A cylindrical soda can holds about 355 cc of liquid. In this
activity, we want to find the dimensions of such a can that will minimize the
surface area. For the sake of simplicity, assume the can is a perfect cylinder.
a. What are the variables in this problem? Based on the context, what
restriction(s), if any, are there on these variables?
b. What quantity do we want to optimize in this problem? What equation
describes the constraint? (You need to decide which of these functions
plays the role of f and which plays the role of g in our discussion of
Lagrange multipliers.)
c. Find λ and the values of your variables that satisfy Equation (10.8.1) in
the context of this problem.
d. Determine the dimensions of the pop can that give the desired solution
to this constrained optimization problem.
The method of Lagrange multipliers also works for functions of more than
two variables.
Activity 10.8.3 Use the method of Lagrange multipliers to find the dimensions
of the least expensive packing crate with a volume of 240 cubic feet when the
material for the top costs $2 per square foot, the bottom is $3 per square foot
and the sides are $1.50 per square foot.
CHAPTER 10. DERIVATIVES OF MULTIVARIABLE FUNCTIONS 193
The method of Lagrange multipliers also works for functions of three vari-
ables. That is, if we have a function f = f (x, y, z) that we want to optimize
subject to a constraint g(x, y, z) = k, the optimal point (x, y, z) lies on the
level surface S defined by the constraint g(x, y, z) = k. As we did in Preview
Activity 10.8.1, we can argue that the optimal value occurs at the level surface
f (x, y, z) = c that is tangent to S. Thus, the gradients of f and g are parallel
at this optimal point. So, just as in the two variable case, we can optimize
f = f (x, y, z) subject to the constraint g(x, y, z) = k by finding all points
(x, y, z) that satisfy ∇f = λ∇g and g(x, y, z) = k.
10.8.2 Summary
• The extrema of a function f = f (x, y) subject to a constraint g(x, y) = c
occur at points for which the contour of f is tangent to the curve that
represents the constraint equation. This occurs when
∇f = λ∇g.
10.8.3 Exercises
1. Use Lagrange multipliers to find the maximum and minimum values of
f (x, y) = 3x − 4y subject to the constraint x2 + 3y 2 = 129, if such values
exist.
maximum =
minimum =
(For either value, enter DNE if there is no such value.)
Answer 1. 3 · 3 · 3 + 4 · 4
Answer 2. −3 · 3 · 3 − 4 · 4
2. Use Lagrange multipliers to find the maximum and minimum values of
f (x, y) = x2 y+3y 2 −y, subject to the constraint x2 +y 2 ≤ 38.3333333333333
maximum =
minimum =
(For either value, enter DNE if there is no such value.)
Answer 1. 137.926
Answer 2. −59.2593
3. Find the absolute maximum and minimum of the function f (x, y) = x2 +
y 2 subject to the constraint x4 + y 4 = 6561.
As usual, ignore unneeded answer blanks, and list points in lexico-
graphic order.
Absolute minimum value:
attained at ( , ), ( ,
),
( , ), ( , ).
Absolute maximum value:
attained at ( , ), ( ,
),
( , ), ( , ).
Answer 1. 81
CHAPTER 10. DERIVATIVES OF MULTIVARIABLE FUNCTIONS 194
Answer 2. −9
Answer 3. 0
Answer 4. 0
Answer 5. −9
Answer 6. 0
Answer 7. 9
Answer 8. 9
Answer 9. 0
Answer 10. 114.551298552221
Answer 11. −7.56806773728343
Answer 12. −7.56806773728343
Answer 13. −7.56806773728343
Answer 14. 7.56806773728343
Answer 15. 7.56806773728343
Answer 16. −7.56806773728343
Answer 17. 7.56806773728343
Answer 18. 7.56806773728343
4. Find the absolute maximum and minimum of the function f (x, y) = x2 −
y 2 subject to the constraint x2 + y 2 = 361.
As usual, ignore unneeded answer blanks, and list points in lexico-
graphic order.
Absolute minimum value:
attained at ( , ) and ( ,
).
Absolute maximum value:
attained at ( , ) and ( ,
).
Answer 1. −361
Answer 2. 0
Answer 3. −19
Answer 4. 0
Answer 5. 19
Answer 6. 361
Answer 7. −19
Answer 8. 0
Answer 9. 19
Answer 10. 0
5. Find the minimum distance from the point (1, 1, 11) to the paraboloid
given by the equation z = x2 + y 2 .
Minimum distance =
Note: If you need to find roots of a polynomial of degree ≥ 3, you
may want to use a calculator of computer to do so numerically. Also be
sure that you can give a geometric justification for your answer.
√
Answer. 3.53771
6. For each value of λ the function h(x, y) = x2 + y 2 − λ(2x + 8y − 20) has
a minimum value m(λ).
(a) Find m(λ)
CHAPTER 10. DERIVATIVES OF MULTIVARIABLE FUNCTIONS 195
m(λ) =
(Use the letter L for λ in your expression.)
(b) For which value of λ is m(λ) the largest, and what is that maximum
value?
λ=
maximum m(λ) =
(c) Find the minimum value of f (x, y) = x2 + y 2 subject to the con-
straint 2x+8y = 20 using the method of Lagrange multipliers and evaluate
λ.
minimum f =
λ=
(How are these results related to your result in part (b)?)
(2·2+8·8)L2
Answer 1. 20L − 4
2·20
Answer 2. 2·2+8·8
20·20
Answer 3. 2·2+8·8
20·20
Answer 4. 2·2+8·8
2·20
Answer 5. 2·2+8·8
Answer 2. 1
Answer 3. −20
Answer 4. 1
10. Find the maximum and minimum volumes of a rectangular box whose
surface area equals 7000 square cm and whose edge length (sum of lengths
of all edges) is 440 cm.
Hint: It can be deduced that the box is not a cube, so if x, y, and z
are the lengths of the sides, you may want to let x represent a side with
x 6= y and x 6= z.
Maximum value is ,
occuring at ( ,
, ).
Minimum value is ,
occuring at ( ,
, ).
Answer 1. 34481.4814814815
Answer 2. 63.3333333333333
Answer 3. 23.3333333333333
Answer 4. 23.3333333333333
Answer 5. 25000
Answer 6. 10
Answer 7. 50
Answer 8. 50
P3 P3
11. (a) If i=1 xi = 4, find the values of x1 , x2 , x3 making i=1 xi 2 mini-
mum.
x1 , x2 , x3 =
(Give your values as a comma separated list.)
Pn(b) Generalize
2
the
Pnresult of part (a) to find the minimum value of
i=1 x i subject to i=1 xi = 4.
minimum value =
Answer 1. 1.33333, 1.33333, 1.33333
4·4
Answer 2. n
12. The Cobb-Douglas production function is used in economics to model
production levels based on labor and equipment. Suppose we have a
specific Cobb-Douglas function of the form
where x is the dollar amount spent on labor and y the dollar amount spent
on equipment. Use the method of Lagrange multipliers to determine how
much should be spent on labor and how much on equipment to maximize
productivity if we have a total of 1.5 million dollars to invest in labor and
equipment.
13. Use the method of Lagrange multipliers to find the point on the line
x − 2y = 5 that is closest to the point (1, 3). To do so, respond to the
following prompts.
a. Write the function f = f (x, y) that measures the square of the
distance from (x, y) to (1, 3). (The extrema of this function are the
same as the extrema of the distance function, but f (x, y) is simpler
to work with.)
CHAPTER 10. DERIVATIVES OF MULTIVARIABLE FUNCTIONS 197
∇f (x0 , y0 , z0 ) · r0 (t0 ) = 0,
∇g(x0 , y0 , z0 ) · r0 (t0 ) = 0, and
∇h(x0 , y0 , z0 ) · r0 (t0 ) = 0.
g(x, y, z) = c, and
h(x, y, z) = k.
for x, y, z, λ, and µ.
Use this idea to find the maximum and minium values of f (x, y, z) =
x + 2y subject to the constraints y 2 + z 2 = 8 and x + y + z = 10.
16. There is a useful interpretation of the Lagrange multiplier λ. Assume
that we want to optimize a function f with constraint g(x, y) = c. Recall
that an optimal solution occurs at a point (x0 , y0 ) where ∇f = λ∇g. As
the constraint changes, so does the point at which the optimal solution
occurs. So we can think of the optimal point as a function of the parameter
c, that is x0 = x0 (c) and y0 = y0 (c). The optimal value of f subject
to the constraint can then be considered as a function of c defined by
f (x0 (c), y0 (c)). The Chain Rule shows that
df ∂f dx0 ∂f dy0
= + .
dc ∂x0 dc ∂y0 dc
df dg
=λ .
dc dc
df
= λ.
dc
Conclude that λ tells us the rate of change of the function f as the
parameter c increases (or by approximately how much the optimal
value of the function f will change if we increase the value of c by 1
unit).