Find 2k-l given directional derivative of f(x,y)=x^2+xy+y^2 along (1,m) is (1/sqrt(...
Check the final answer first, then review the worked steps.
Check the final answer first, then review the worked steps.
$\nabla f = (2x+y, x+2y) \implies \nabla f(a,b) = (2a+b, a+2b)$
$D_u f = \nabla f \cdot \frac{(1,m)}{\sqrt{1+m^2}} = \frac{(2a+b) + m(a+2b)}{\sqrt{1+m^2}} = \frac{(2+m)a + (1+2m)b}{\sqrt{1+m^2}}$
$k=2+m, l=1+2m \implies 2k-l = 2(2+m)-(1+2m) = 3$
The directional derivative of $f(x,y) = x^2 + xy + y^2$ in the direction of $\vec{v} = (1, m)$ is $\nabla f \cdot \frac{\vec{v}}{|\vec{v}|} = (2x+y, x+2y) \cdot \frac{(1, m)}{\sqrt{1+m^2}} = \frac{1}{\sqrt{1+m^2}}[(2a+b) + m(a+2b)] = \frac{1}{\sqrt{1+m^2}}[(2a+mb) + (ma+2mb)]$. Comparing coefficients with $\frac{1}{\sqrt{1+m^2}}[ka+lb]$, we find $k = 2+m$ and $l = 1+2m$. Thus $2k-l = 2(2+m) - (1+2m) = 4+2m-1-2m = 3$.