Processing math: 100%

EXAMPLE 3Finding the Gradient of a Function of Two Variables

  1. (a) Find the gradient of f(x,y)=x3y at the point (2,1).
  2. (b) Use the gradient to find the directional derivative of f at (2,1) in the direction from (2,1) to (3,5).

Solution (a) The gradient of f at (x,y) is f(x,y)=fx(x,y)i+fy(x,y)j=3x2yi+x3j

The gradient of f at (2,1) is f(2,1)=12i+8j

(b) The unit vector u from (2,1) to (3,5) is u=(32)i+(51)j(32)2+(51)2=i+4j17

We use formula (3) for the directional derivative to find Du(2,1). Du(2,1)=f(2,1)u=(12i+8j)i+4j17=4417

The directional derivative of f at (2,1) in the direction of u is 4417