Skip to main content
Logo image

Coordinated Multivariable Calculus

Section 2.5 Directional Derivatives and the Gradient

The partial derivatives of a function tell us the instantaneous rate at which the function changes as we hold all but one independent variable constant and allow the remaining independent variable to change. It is natural to wonder how we can measure the rate at which a function changes in directions other than parallel to a coordinate axes. In what follows, we investigate this question, and see how the rate of change in any given direction is connected to the rates of change given by the standard partial derivatives.

Preview Activity 2.5.1.

Let’s consider the function f defined by
f(x,y)=30x212y2,
and suppose that f measures the temperature, in degrees Celsius, at a given point in the plane, where x and y are measured in feet. Assume that the positive x-axis points due east, while the positive y-axis points due north. A contour plot of f is shown in Figure 2.5.1
Figure 2.5.1. A contour plot of f(x,y)=30x212y2.
  1. 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?
  2. 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.
  3. Now, rather than walking due east or due north, let’s suppose that the person is walking with velocity given by the vector v=3,4, 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=3,4. 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.
  4. 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 dfdt|t=0. What are the units on your answer? What is the practical meaning of this result?

Subsection 2.5.1 Directional Derivatives

Given a function z=f(x,y), the partial derivative fx(x0,y0) measures the instantaneous rate of change of f as only the x variable changes; likewise, fy(x0,y0) measures the rate of change of f at (x0,y0) as only y changes. Note particularly that fx(x0,y0) is measured in “units of f per unit of change in x,” and that the units on fy(x0,y0) are similar.
In Preview Activity 2.5.1, we saw how we could measure the rate of change of f in a situation where both x and y were changing; in that activity, however, we found that this rate of change was measured in “units of f per unit of time.” In a given unit of time, we may move more than one unit of distance. In fact, in Preview Activity 2.5.1, in each unit increase in time we move a distance of |v|=5 feet. To generalize the notion of partial derivatives to any direction of our choice, we instead want to have a rate of change whose units are “units of f per unit of distance in the given direction.”
In this light, in order to formally define the derivative in a particular direction of motion, we want to represent the change in f for a given unit change in the direction of motion. We can represent this unit change in direction with a unit vector, say u=u1,u2. If we move a distance h in the direction of u from a fixed point (x0,y0), we then arrive at the new point (x0+u1h,y0+u2h). It now follows that the slope of the secant line to the curve on the surface through (x0,y0) in the direction of u through the points (x0,y0) and (x0+u1h,y0+u2h) is
(2.5.1)msec=f(x0+u1h,y0+u2h)f(x0,y0)h.
To get the instantaneous rate of change of f in the direction u=u1,u2, we must take the limit of the quantity in Equation (2.5.1) as h0. Doing so results in the formal definition of the directional derivative.

Definition 2.5.2.

Let f=f(x,y) be given. The derivative of f at the point (x,y) in the direction of the unit vector u=u1,u2 is denoted Duf(x,y) and is given by
(2.5.2)Duf(x,y)=limh0f(x+u1h,y+u2h)f(x,y)h
for those values of x and y for which the limit exists.
The quantity Duf(x,y) is called a directional derivative. When we evaluate the directional derivative Duf(x,y) at a point (x0,y0), the result Duf(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 Duf(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)).

Subsection 2.5.2 Computing the Directional Derivative

In a similar way to how we developed shortcut rules for standard derivatives in single variable calculus, and for partial derivatives in multivariable calculus, we can also find a way to evaluate directional derivatives without resorting to the limit definition found in Equation (2.5.2). We do so using a very similar approach to our work in Preview Activity 2.5.1.
Suppose we consider the situation where we are interested in the instantaneous rate of change of f at a point (x0,y0) in the direction u=u1,u2, where u is a unit vector. The variables x and y are therefore changing according to the parameterization
x=x0+u1t      and      y=y0+u2t.
Observe that dxdt=u1 and dydt=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
Duf(x0,y0)=fx(x0,y0)dxdt|(x0,y0)+fy(x0,y0)dydt|(x0,y0)=fx(x0,y0)u1+fy(x0,y0)u2.
This now allows us to compute the directional derivative at an arbitrary point according to the following formula.

Calculating a directional derivative.

Given a differentiable function f=f(x,y) and a unit vector u=u1,u2, we may compute Duf(x,y) by
(2.5.3)Duf(x,y)=fx(x,y)u1+fy(x,y)u2.
Note well: To use Equation (2.5.3), we must have a unit vector u=u1,u2 in the direction of motion. In the event that we have a direction prescribed by a non-unit vector, we must first scale the vector to have length 1.

Activity 2.5.2.

Let f(x,y)=3xyx2y3.
  1. Determine fx(x,y) and fy(x,y).
  2. Use Equation (2.5.3) to determine Dif(x,y) and Djf(x,y). What familiar function is Dif? What familiar function is Djf? (Recall that i is the unit vector in the positive x-direction and j is the unit vector in the positive y-direction.)
  3. Use Equation (2.5.3) to find the derivative of f in the direction of the vector v=2,3 at the point (1,1). Remember that a unit direction vector is needed.
Answer.
  1. The partial derivatives are fx(x,y)=3y2xy3 and fy(x,y)=3x3x2y2.
  2. Use Equation (2.5.3) to determine Dif(x,y) and Djf(x,y). What familiar function is Dif? What familiar function is Djf? (Recall that i is the unit vector in the positive x-direction and j is the unit vector in the positive y-direction.) We get that
    Dif(x,y)=fx(x,y)1+fy(x,y)0=fx(x,y)
    and
    Djf(x,y)=fx(x,y)0+fy(x,y)1=fy(x,y).
  3. Computing the length of v, we get |v|=22+32=13, so a unit vector in the direction of v is u=213,313. We also get fx(1,1)=3(1)2(1)(1)3=1 and fy(1,1)=3(1)3(1)2(1)2=0, so the derivative of f in the direction of the vector v at the point (1,1) is
    Duf(1,1)=fx(1,1)213+fy(1,1)313=213.

Subsection 2.5.3 The Gradient

Via the Chain Rule, we have seen that for a given function f=f(x,y), its instantaneous rate of change in the direction of a unit vector u=u1,u2 is given by
(2.5.4)Duf(x0,y0)=fx(x0,y0)u1+fy(x0,y0)u2.
Recalling that the dot product of two vectors v=v1,v2 and u=u1,u2 is computed by
vu=v1u1+v2u2,
we see that we may recast Equation (2.5.4) in a way that has geometric meaning. In particular, we see that Duf(x0,y0) is the dot product of the vector fx(x0,y0),fy(x0,y0) and the vector u.
We call this vector formed by the partial derivatives of f the gradient of f and denote it
f(x0,y0)=fx(x0,y0),fy(x0,y0).
We read f as “the gradient of f,” “grad f” or “del f”.
 1 
The symbol is called nabla, which comes from a Greek word for a certain type of harp that has a similar shape.
Notice that f varies from point to point, and also provides an alternate formulation of the directional derivative.

The directional derivative and the gradient.

Given a differentiable function f=f(x,y) and a unit vector u=u1,u2, we may compute Duf(x,y) by
(2.5.5)Duf(x,y)=f(x,y)u.
In the following activity, we investigate some of what the gradient tells us about the behavior of a function f.

Activity 2.5.3.

Let’s consider the function f defined by f(x,y)=x2y2. Some contours for this function are shown in Figure 2.5.3.
Figure 2.5.3. Contours of f(x,y)=x2y2.
  1. Find the gradient f(x,y).
  2. For each of the following points (x0,y0), evaluate the gradient f(x0,y0) and sketch the gradient vector with its tail at (x0,y0). Some of the vectors are too long to fit onto the plot, but we’d like to draw them to scale; to do so, scale each vector by a factor of 1/4.
    • (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)
  3. What do you notice about the relationship between the gradient at (x0,y0) and the contour passing through that point?
  4. Does f increase or decrease in the direction of f(x0,y0)? Provide a justification for your response.
Answer.
  1. The gradient is f(x,y)=2x,2y.
  2. For all the gradients you drew, you should notice that the gradient at (x0,y0) is perpendicular to the contour passing through that point.
  3. All of the f(x0,y0) that you drew should be pointing to contour lines with higher values, so f is increasing in the direction of f(x0,y0).
As a vector, f(x0,y0) defines a direction and a length. As we will soon see, both of these convey important information about the behavior of f near (x0,y0).

Subsection 2.5.4 The Direction of the Gradient

Remember that the dot product also conveys information about the angle between the two vectors. If θ is the angle between f(x0,y0) and u (where u is a unit vector), then we also have that
Duf(x0,y0)=f(x0,y0)u=|f(x0,y0)||u|cos(θ).
In particular, when θ is a right angle, as shown on the left of Figure 2.5.4, then Duf(x0,y0)=0, because cos(θ)=0. Since the value of the directional derivative is 0, this means that f is unchanging in this direction, and hence u must be tangent to the contour of f that passes through (x0,y0). In other words, f(x0,y0) is orthogonal to the contour through (x0,y0). This shows that the gradient vector at a given point is always perpendicular to the contour passing through the point, confirming that what we saw in part (c) of Activity 2.5.3 holds in general.
Figure 2.5.4. The sign of Duf(x0,y0) is determined by θ.
Moreover, when θ is an acute angle, it follows that cos(θ)>0 so since
Duf(x0,y0)=|f(x0,y0)||u|cos(θ),
and therefore Duf(x0,y0)>0, as shown in the middle image in Figure 2.5.4. This means that f is increasing in any direction where θ is acute. In a similar way, when θ is an obtuse angle, then cos(θ)<0 so Duf(x0,y0)<0, as seen on the right in Figure 2.5.4. This means that f is decreasing in any direction for which θ is obtuse.
Finally, as we can see in the following activity, we may also use the gradient to determine the directions in which the function is increasing and decreasing most rapidly.

Activity 2.5.4.

In this activity we investigate how the gradient is related to the directions of greatest increase and decrease of a function. Let f be a differentiable function and u a unit vector.
  1. Let θ be the angle between f(x0,y0) and u. Use the relationship between the dot product and the angle between two vectors to explain why
    (2.5.6)Duf(x0,y0)=|fx(x0,y0),fy(x0,y0)|cos(θ).
  2. At the point (x0,y0), the only quantity in Equation (2.5.6) that can change is θ (which determines the direction u of travel). Explain why θ=0 makes the quantity
    |fx(x0,y0),fy(x0,y0)|cos(θ)
    as large as possible.
  3. 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)?
  4. In what direction, relative to f(x0,y0), does f decrease most rapidly at the point (x0,y0)?
  5. 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 (x0,y0). What important assumption must we make regarding f(x0,y0) in order for these vectors to exist?
Answer.
  1. By definition of unit vector, we know that |u|=1. Then
    Duf(x0,y0)=|fx(x0,y0),fy(x0,y0)||vu|cos(θ)=|fx(x0,y0),fy(x0,y0)|(1)cos(θ)=|fx(x0,y0),fy(x0,y0)|cos(θ).
  2. The maximum output of the cos function is 1, which occurs when the input is θ=0 (and again at every 2π). The quantity
    |fx(x0,y0),fy(x0,y0)|cos(θ)
    is maximized when cos is maximized, and thus is as large as possible when θ=0.
  3. When θ=0 the unit vector u points in the same direction as f(x0,y0) since θ represents the angle between u and f(x0,y0). The direction of greatest increase of f at the point (x0,y0) is then the direction of the gradient.
  4. At the point (x0,y0), f decreases most rapidly in the direction opposite the gradient (that is, in the direction f(x0,y0)).
  5. The unit vector u in the direction of greatest increase for the function f at the point (x0,y0) is
    u=f(x0,y0)|f(x0,y0)|
    and the unit vector v in the direction of greatest decrease for the function f at the point (x0,y0) is
    v=f(x0,y0)|f(x0,y0)|,
    assuming f is differentiable at the point (x0,y0).

Subsection 2.5.5 The Length of the Gradient

Having established in Activity 2.5.4 that the direction in which a function increases most rapidly at a point (x0,y0) is the unit vector u in the direction of the gradient, (that is, u=1|f(x0,y0)|f(x0,y0), provided that f(x0,y0)0), it is also natural to ask, “in the direction of greatest increase for f at (x0,y0), what is the value of the rate of increase?” In this situation, we are asking for the value of Duf(x0,y0) where u=1|f(x0,y0)|f(x0,y0).
Using the now familiar way to compute the directional derivative, we see that
Duf(x0,y0)=f(x0,y0)(1|f(x0,y0)|f(x0,y0)).
Next, we recall two important facts about the dot product: (i) w(cv)=c(wv) for any scalar c, and (ii) ww=|w|2. Applying these properties to the most recent equation involving the directional derivative, we find that
Duf(x0,y0)=1|f(x0,y0)|(f(x0,y0)f(x0,y0))=1|f(x0,y0)||f(x0,y0)|2.
Finally, since f(x0,y0) is a nonzero vector, its length |f(x0,y0)| is a nonzero scalar, and thus we can simplify the preceding equation to establish that
Duf(x0,y0)=|f(x0,y0)|.
We summarize our most recent work by stating two important facts about the gradient.

Important facts about the gradient.

Let f be a differentiable function and (x0,y0) a point for which f(x0,y0)0. Then f(x0,y0) points in the direction of greatest increase of f at (x0,y0), and the instantaneous rate of change of f in that direction is the length of the gradient vector. That is, if u=1|f(x0,y0)|f(x0,y0), then u is a unit vector in the direction of greatest increase of f at (x0,y0), and Duf(x0,y0)=|f(x0,y0)|.

Activity 2.5.5.

Consider the function f defined by f(x,y)=x+2xyy.
  1. Find the gradient f(1,2) and sketch it on Figure 2.5.5.
    Figure 2.5.5. A plot for the gradient f(1,2).
  2. Sketch the unit vector z=12,12 on Figure 2.5.5 with its tail at (1,2). Now find the directional derivative Dzf(1,2).
  3. What is the slope of the graph of f in the direction z? What does the sign of the directional derivative tell you?
  4. Consider the vector v=2,1 and sketch v on Figure 2.5.5 with its tail at (1,2). Find a unit vector w pointing in the same direction of v. Without computing Dwf(1,2), what do you know about the sign of this directional derivative? Now verify your observation by computing Dwf(1,2).
  5. In which direction (that is, for what unit vector u) is Duf(1,2) the greatest? What is the slope of the graph in this direction?
  6. Corresponding, in which direction is Duf(1,2) least? What is the slope of the graph in this direction?
  7. Sketch two unit vectors u for which Duf(1,2)=0 and then find component representations of these vectors.
  8. 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?
Answer.
  1. The gradient is f(x,y)=1+2y,2x1 in general, so at (1,2) it is f(1,2)=3,1.
  2. Since z is already a unit vector, we can directly compute the directional derivative with a dot product:
    Dzf(1,2)=3,112,12=3212=42=22.
  3. The slope of the graph of f in the direction z is 22, and since the directional derivative has negative sign we know that f decreases as you move along z.
  4. The magnitude of v is |v|=5, so the unit vector pointing in the same direction as v is w=25,15.
    After sketching v on Figure 2.5.5 with its tail at (1,2), note that it makes an accute angle with f(1,2). Combining this with Figure 2.5.4, we can predict that Dwf(1,2) will have positive sign. Verifying, we get:
    Dwf(1,2)=3,125,15=6515=55=5.
  5. The directional derivative Duf(1,2) is greatest when u is the unit vector pointing in the same direction as f(1,2)=3,1: u=310,110. The slope in the direction of u is the magnitude of f(1,2): 10.
  6. The directional derivative Duf(1,2) is least when u is the unit vector pointing in the opposite direction as f(1,2)=3,1: u=310,110. The slope in the direction of u is negative of the magnitude of f(1,2): 10.
  7. The two unit vectors are the ones forming right angles with f(1,2), which are 110,310 and 110,310.
  8. You should move in the direction of f(3,3)=5,5, and f increases with a slope of |f(3,3)|=50=52.

Subsection 2.5.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 missile might work. (This application is borrowed from United States Air Force Academy Department of Mathematical Sciences.) Suppose that the temperature surrounding a fighter jet can be modeled by the function T defined by
T(x,y)=1001+(x5)2+4(y2.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 Figure 2.5.6.
Figure 2.5.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 temperature 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 2.5.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 2.6.

Activity 2.5.6.

  1. The temperature T(x,y) has its maximum value at the fighter jet’s location. State the fighter jet’s location and explain how Figure 2.5.6 tells you this.
  2. Determine T at the fighter jet’s location and give a justification for your response.
  3. 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?)
  4. 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)?
  5. If a function g has a local minimum at (x0,y0), what is the direction of greatest increase of g at (x0,y0)?
Answer.
  1. The maximum value of the temperature (and hence the fighter jet’s location) is at (5,2.5). We can see this in Figure 2.5.6 since the contour lines have increasing values toward that point.
  2. The gradient T at the fighter jet’s location will be 0,0. If the gradient had a nonzero magnitude then there would be a direction to move in which would increase the heat, which would contradict the jet being at the maximum heat.
  3. If there were a direction away from (x0,y0) we could move in to increase g, we could move in the opposite direction to decrease g, but we’ve assumed that g has a local minimum at (x0,y0). Then the direction of greatest increase of g at (x0,y0) is again 0,0.

Subsection 2.5.7 Summary

  • The directional derivative of f at the point (x,y) in the direction of the unit vector u=u1,u2 is
    Duf(x,y)=limh0f(x+u1h,y+u2h)f(x,y)h
    for those values of x and y for which the limit exists. In addition, Duf(x,y) measures the slope of the graph of f when we move in the direction u. Alternatively, Duf(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)=fx(x0,y0),fy(x0,y0).
  • The directional derivative in the direction u may be computed by
    Duf(x0,y0)=f(x0,y0)u.
  • At any point where the gradient is nonzero, gradient is orthogonal to the contour through that point and points in the direction in which f increases most rapidly; moreover, the slope of f in this direction equals the length of the gradient |f(x0,y0)|. Similarly, the opposite of the gradient points in the direction of greatest decrease, and that rate of decrease is the opposite of the length of the gradient.

Exercises 2.5.8 Exercises

1.

Consider the function f(x,y,z)=xy+yz2+xz3.
Find the gradient of f:
, ,
Find the gradient of f at the point (-2, -4, -2).
, ,
Find the rate of change of the function f at the point (-2, -4,-2) in the direction u=5/45,4/45,2/45.

2.

If f(x,y)=1x2+3y2, find the value of the directional derivative at the point (2,1) in the direction given by the angle θ=2π1.

3.

Find the directional derivative of f(x,y,z)=3xy+z2 at the point (1,4,1) in the direction of the maximum rate of change of f.
f<B><I>u</B></I>(1,4,1)=D<B><I>u</B></I>f(1,4,1)=

4.

The temperature at any point in the plane is given by T(x,y)=160x2+y2+1.
(a) What shape are the level curves of T?
  • ellipses
  • circles
  • parabolas
  • lines
  • hyperbolas
  • none of the above
(b) At what point on the plane is it hottest?
What is the maximum temperature?
(c) Find the direction of the greatest increase in temperature at the point (3,3).
What is the value of this maximum rate of change, that is, the maximum 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)?

5.

The temperature at a point (x,y,z) is given by T(x,y,z)=200ex2y2/4z2/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 (4, -5, -5).
In which direction (unit vector) does the temperature increase the fastest at (1, 1, 2)?
, ,
What is the maximum rate of increase of T at (1, 1, 2)?

6.

If f(x,y,z)=4zy2, then the gradient at the point (3,3,4) is
f(3,3,4)=

7.

The concentration of salt in a fluid at (x,y,z) is given by F(x,y,z)=4x2+y4+4x2z2 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 3 cm/sec. How fast is the concentration changing?
rate of change =

8.

At a certain point on a heated metal plate, the greatest rate of temperature increase, 2 degrees Celsius per meter, is toward the northeast. If an object at this point moves directly north, at what rate is the temperature increasing?
degrees Celsius per meter

9.

Suppose that you are climbing a hill whose shape is given by z=6540.02x20.04y2, and that you are at the point (70, 80, 300).
In which direction (unit vector) should you proceed initially in order to reach the top of the hill fastest?
,
If you climb in that direction, at what angle above the horizontal will you be climbing initially (radian measure)?

10.

Are the following statements true or false?
  1. fu(a,b)=||f(a,b)||.
  2. If u is a unit vector, then fu(a,b) is a vector.
  3. The gradient vector f(a,b) is tangent to the contour of f at (a,b).
  4. If f(x,y) has fx(a,b)=0 and fy(a,b)=0 at the point (a,b), then f is constant everywhere.
  5. fu(a,b) is parallel to u.
  6. f(a,b) is a vector in 3-dimensional space.
  7. Suppose fx(a,b) and fy(a,b) both exist. Then there is always a direction in which the rate of change of f at (a,b) is zero.
  8. If u is perpendicular to f(a,b), then fu(a,b)=0,0.

11.

Let E(x,y)=1001+(x5)2+4(y2.5)2 represent the elevation on a land mass at location (x,y). Suppose that E, x, and y are all measured in meters.
  1. Find Ex(x,y) and Ey(x,y).
  2. Let u be a unit vector in the direction of 4,3. Determine DuE(3,4). What is the practical meaning of DuE(3,4) and what are its units?
  3. Find the direction of greatest increase in E at the point (3,4).
  4. Find the instantaneous rate of change of E in the direction of greatest decrease at the point (3,4). Include units on your answer.
  5. At the point (3,4), find a direction w in which the instantaneous rate of change of E is 0.

12.

Find all directions in which the directional derivative of f(x,y)=yexy is 1 at the point (0,2).

13.

Find, if possible, a function f such that
f=sin(yz),xzcos(yz)+2y,xycos(yz)+5z.
If not possible, explain why.

14.

Let f(x,y)=x2+3y2.
  1. Find f(x,y) and f(1,2).
  2. Find the direction of greatest increase in f at the point (1,2). Explain. A graph of the surface defined by f is shown at left in Figure 2.5.7. Illustrate this direction on the surface.
  3. A contour diagram of f is shown at right in Figure 2.5.7. Illustrate your calculation from (b) on this contour diagram.
    Figure 2.5.7. Left: Graph of f(x,y)=x2+3y2. Right: Contours.
  4. Find a direction w for which the derivative of f in the direction of w is zero.

15.

The properties of the gradient that we have observed for functions of two variables also hold for functions of more variables. In this problem, we consider a situation where there are three independent variables. Suppose that the temperature in a region of space is described by
T(x,y,z)=100ex2y2z2
and that you are standing at the point (1,2,1).
  1. Find the instantaneous rate of change of the temperature in the direction of v=0,1,2 at the point (1,2,1). Remember that you should first find a unit vector in the direction of v.
  2. In what direction from the point (1,2,1) would you move to cause the temperature to decrease as quickly as possible?
  3. How fast does the temperature decrease in this direction?
  4. Find a direction in which the temperature does not change at (1,2,1).

16.

Figure 2.5.8 shows a plot of the gradient f at several points for some function f=f(x,y).
Figure 2.5.8. The gradient f.
  1. Consider each of the three indicated points, and draw, as best as you can, the contour through that point.
  2. Beginning at each point, draw a curve on which f is continually decreasing.