Jocelyn C. answered 06/04/20
Calculus (I-III) Tutor with 8 Years of Teaching Experience
The formula for directional derivative of a function f(x,y) in the direction u =〈a,b〉 is
Duf(x,y) = ∇ f • 〈a, b〉, or
Duf(x,y) = fx(x,y)a + fy(x,y)b
(where fx and fy are partial derivatives w/ respect to x and y, respectively).
Here,
f(x,y) = 2x + 3y.
fx = 2 (disregarding the y term);
fy = 3 (disregarding the x term).
u =〈a,b〉= cos(a)i + sin(a)j.
Thus,
Duf(x,y) = 2cos(a) + 3sin(a).
Note that if fx and fy had retained any x and y terms, we would have left them as x and y because the question asks for the general directional derivative at any given x or y.