let f(x,y) = square-root(1+4x+y^2) and let P be the point (1,2) a) at P what is the direction of maximal increase for the function f? give your answer as a init vector.
what do you know about gradient vector ?
You want to maximize \(df\).
I know that is \[f_x i +f_y j + f_z z\]
Get \(df\) using the chain rule.
the integral of f(x,y)?
No, the derivative
derivative to respect to y or x?
griadent points in the maximum increasing direction of the function so you just need to find the gradient at given point
the given function is in two variables, so gradient would be just \[\langle f_x, ~f_y\rangle \]
do i have to sub in the point P?
yes you want gradient at the given point
gradient is a vector field so you will be having one vector at each point
\[gradf = 2/(\sqrt{y^2+4y+1}+y/\sqrt{4x+y^2+1}\]
thats not a vector ^
\[grad f = \frac{ 2 }{ \sqrt{y^2+4y+1}} i + \frac{ y }{ \sqrt{4x+y^2+1} } j\]
looks better :)
did i get the gradient right?
looks you have few typoes
where?
in the denominator expression
\[grad f = \frac{ 2 }{ \sqrt{1+4x+y^2}} i + \frac{ y }{ \sqrt{1+4x+y^2} } j \] right ?
oh ok I see where I made a mistake
so I have to sub in the point (1,2)
yep that gives you gradient vector at that particular point
\[\frac{ 2 }{ \sqrt{9} } i + \frac{ 2 }{ \sqrt{9} } j \]
looks good ! read the question again, they want unit vector so divide by the magnitude
divide by the magnitude of the gradf?
hats the unit vector in the direction of \[\frac{ 2 }{ \sqrt{9} } i + \frac{ 2 }{ \sqrt{9} } j\] ?
\[ df = \frac{\partial f}{\partial x}dx + \frac{\partial f}{\partial y}dy = \left\langle \frac{\partial f}{\partial x},\frac{\partial f}{\partial y}\right\rangle \cdot d\langle x,y\rangle \]We can always let \( d\langle x,y\rangle\) be parallel to \( \left\langle \frac{\partial f}{\partial x},\frac{\partial f}{\partial y}\right\rangle \) to maximize \(df\).
yeah we are maximizing \[\nabla f \cdot \dfrac{d\vec{r}}{dt} \]
\[\frac{ 2 }{ \sqrt{9} } i + \frac{ 2 }{ \sqrt{9} } j\] Notice this points in the same direction as \[1i + 1j\]
so that could be the unit vector?
i + j
i+j is NOT an unit vector
the magnitude of unit vector has to be 1
whats the magnitude of vector i+j ?
2
magnitude of ai+bj is the distance from origin to point (a, b)
squareroot (2)
so whats the unit vector in the direction of i+j ?
squareroot(1^2 +1^2)
the unit vector in the direction of i+j would be \[\dfrac{1}{\sqrt{1^2+1^2}}i + \dfrac{1}{\sqrt{1^2+1^2}} j\]
|dw:1418442275130:dw|
Join our real-time social learning platform and learn together with your friends!