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=(3−2)i+(5−1)j√(3−2)2+(5−1)2=i+4j√17
We use formula (3) for the directional derivative to find Du(2,1). Du(2,1)=∇f(2,1)⋅u=(12i+8j)⋅i+4j√17=44√17
The directional derivative of f at (2,1) in the direction of u is 44√17