Find an equation for all the points $(x,y)$ for which the function $f(x,y)=x^2+y^2−3x−y$ has a maximum rate of change in a direction parallel to the vector $u = (1, 1)$
And here is my attempt to solve it:
we take the partial derivatives: $$ \dfrac {\partial}{\partial x} = 2x-3$$ $$ \dfrac {\partial}{\partial y} = 2y-1 $$
now we find the unit vector $\dfrac {\left|\vec{v} \right|} {\left|v \right|}$ $= \dfrac {1} {\sqrt 2}$
now use the formula that says: $$D_uf(a,b) = f_u′ (a,b) = u·\nabla f(a,b) = u·(f_x(a,b),f_y(a,b))$$
Hence the equation is $$\dfrac {2x+2y-4}{\sqrt 2} = \sqrt 2 \{x+y-2\}$$ which is wrong according to my professor. Any help will be highly appreciated.
The direction of maximum rate of change parallel to the gradient vector, which in this case is $\vec\nabla f= (2x-3,2y-1).$ So we need this to be proportional to $(1,1).$ This just means that $2x-3 = 2y-1$ which gives $y = x-1.$ So the solutions are all the points on this line.