<< Chapter < Page Chapter >> Page >

The gradient has some important properties. We have already seen one formula that uses the gradient: the formula for the directional derivative. Recall from The Dot Product that if the angle between two vectors a and b is φ , then a · b = a b cos φ . Therefore, if the angle between f ( x 0 , y 0 ) and u = ( cos θ ) i + ( sin θ ) j is φ , we have

D u f ( x 0 , y 0 ) = f ( x 0 , y 0 ) · u = f ( x 0 , y 0 ) u cos φ = f ( x 0 , y 0 ) cos φ .

The u disappears because u is a unit vector. Therefore, the directional derivative is equal to the magnitude of the gradient evaluated at ( x 0 , y 0 ) multiplied by cos φ . Recall that cos φ ranges from −1 to 1 . If φ = 0 , then cos φ = 1 and f ( x 0 , y 0 ) and u both point in the same direction. If φ = π , then cos φ = −1 and f ( x 0 , y 0 ) and u point in opposite directions. In the first case, the value of D u f ( x 0 , y 0 ) is maximized; in the second case, the value of D u f ( x 0 , y 0 ) is minimized. If f ( x 0 , y 0 ) = 0 , then D u f ( x 0 , y 0 ) = f ( x 0 , y 0 ) · u = 0 for any vector u . These three cases are outlined in the following theorem.

Properties of the gradient

Suppose the function z = f ( x , y ) is differentiable at ( x 0 , y 0 ) ( [link] ).

  1. If f ( x 0 , y 0 ) = 0 , then D u f ( x 0 , y 0 ) = 0 for any unit vector u .
  2. If f ( x 0 , y 0 ) 0 , then D u f ( x 0 , y 0 ) is maximized when u points in the same direction as f ( x 0 , y 0 ) . The maximum value of D u f ( x 0 , y 0 ) is f ( x 0 , y 0 ) .
  3. If f ( x 0 , y 0 ) 0 , then D u f ( x 0 , y 0 ) is minimized when u points in the opposite direction from f ( x 0 , y 0 ) . The minimum value of D u f ( x 0 , y 0 ) is f ( x 0 , y 0 ) .
An upward facing paraboloid in xyz space with point P0 (x0, y0, z0). From this point, there are arrows going up, down, and around the paraboloid. On the xy plane, the point (x0, y0) is marked, and the corresponding arrows are drawn onto the plane: the down arrow corresponds to −∇f (most rapid decrease in f), the up arrow corresponds to ∇f (most rapid increase in f), and the arrows around correspond to no change in f. The up/down arrows are perpendicular to the around arrows in their projection on the plane.
The gradient indicates the maximum and minimum values of the directional derivative at a point.

Finding a maximum directional derivative

Find the direction for which the directional derivative of f ( x , y ) = 3 x 2 4 x y + 2 y 2 at ( −2 , 3 ) is a maximum. What is the maximum value?

The maximum value of the directional derivative occurs when f and the unit vector point in the same direction. Therefore, we start by calculating f ( x , y ) :

f x ( x , y ) = 6 x 4 y and f y ( x , y ) = −4 x + 4 y , so f ( x , y ) = f x ( x , y ) i + f y ( x , y ) j = ( 6 x 4 y ) i + ( −4 x + 4 y ) j .

Next, we evaluate the gradient at ( −2 , 3 ) :

f ( −2 , 3 ) = ( 6 ( −2 ) 4 ( 3 ) ) i + ( −4 ( −2 ) + 4 ( 3 ) ) j = −24 i + 20 j .

We need to find a unit vector that points in the same direction as f ( −2 , 3 ) , so the next step is to divide f ( −2 , 3 ) by its magnitude, which is ( −24 ) 2 + ( 20 ) 2 = 976 = 4 61 . Therefore,

f ( −2 , 3 ) f ( −2 , 3 ) = −24 4 61 i + 20 4 61 j = −6 61 61 i + 5 61 61 j .

This is the unit vector that points in the same direction as f ( −2 , 3 ) . To find the angle corresponding to this unit vector, we solve the equations

cos θ = −6 61 61 and sin θ = 5 61 61

for θ . Since cosine is negative and sine is positive, the angle must be in the second quadrant. Therefore, θ = π arcsin ( ( 5 61 ) / 61 ) 2.45 rad.

The maximum value of the directional derivative at ( −2 , 3 ) is f ( −2 , 3 ) = 4 61 (see the following figure).

An upward facing paraboloid f(x, y) = 3x2 – 4xy + 2y2 with tangent plane at the point (–2, 3, 54). The tangent plane has equation z = –24x + 20y – 54.
The maximum value of the directional derivative at ( −2 , 3 ) is in the direction of the gradient.
Got questions? Get instant answers now!
Got questions? Get instant answers now!

Find the direction for which the directional derivative of g ( x , y ) = 4 x x y + 2 y 2 at ( −2 , 3 ) is a maximum. What is the maximum value?

The gradient of g at ( −2 , 3 ) is g ( −2 , 3 ) = i + 14 j . The unit vector that points in the same direction as g ( −2 , 3 ) is g ( −2 , 3 ) g ( −2 , 3 ) = 1 197 i + 14 197 j = 197 197 i + 14 197 197 j , which gives an angle of θ = arcsin ( ( 14 197 ) / 197 ) 1.499 rad . The maximum value of the directional derivative is g ( −2 , 3 ) = 197 .

Got questions? Get instant answers now!
Practice Key Terms 2

Get Jobilize Job Search Mobile App in your pocket Now!

Get it on Google Play Download on the App Store Now




Source:  OpenStax, Calculus volume 3. OpenStax CNX. Feb 05, 2016 Download for free at http://legacy.cnx.org/content/col11966/1.2
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'Calculus volume 3' conversation and receive update notifications?

Ask