Thanks
Directional Derivative of `f` in the direction of `u` is the rate at which `f` changes in the direction of `u` and is given by \(\Large \nabla_uf = \nabla f \times \dfrac{u}{|u|}\)
so first form a vector 'u' then find \(\nabla f\) and use the above formula!
Thank you, so for my example Df = exp(-x^2 - y^2) * (-2x -2y) correct? and u = (1/sqrt(5) , 2 / sqrt(5) ) ?
if by total derivative, you meant \(\nabla f\) then you were correct :)
u is correct, let me check for Df
wouldn't Df be a vector ?
so Df = (Dx , Dy) ?
yesss
ah, would make my workings much simpler, currently its a mess :)
so (-2xexp(-x^2 - y^2) , -2yexp(-x^2 -y^2) ) ?
that is correct :)
so the final result would be just u multiplied by Df and then just input the values of (1 , 2) for x and y ?
and sorry about the notation, i meant \(\Large \nabla_uf = \nabla f . \dfrac{u}{|u|}\) the dot product between \(\nabla f\) and unit vector u
For calculating value of Dx would I take y = 0 and x = 1 or y = 2 and x = 1?
you DD will be \(\large ( (-2xe^{(-x^2 - y^2)} , -2ye^{(-x^2 -y^2)} ) ).(1/\sqrt5 , 2 / \sqrt5 )\)
don't plug in anything for x and y just calculate the dot product
oh really? wow okay.. thanks seems simple enough, but why don't you plug in values for Df ?
oh yeah, you plug in x=1,y=2
sorry, bit rusty on this
because you get \(\Large \nabla f|_{(x_0,y_0)}\)
okay so Df(1,2) = (-2exp(-3) , -4exp(-3) ) ?
you mean Df(1,2) = (-2exp(-5) , -4exp(-5) ) ??
yes sorry my bad, i did (-1)^2
go ahead
why do you want to plugin a vector into a scalar function ?
directional derivative gives you the deriivative in the direction (1,2) as function of x and y it need not be constant
ok, so just \(\large ( (-2xe^{(-x^2 - y^2)} , -2ye^{(-x^2 -y^2)} ) ).(1/\sqrt5 , 2 / \sqrt5 )\)
So the final result is \[(\frac{ -2 }{ \sqrt{5}}e^{-5} , \frac{ -8 }{ \sqrt{5}}e ^{-5})\]
oh so I dont do Df(1 ,2)
in any case, final answer won't be a vector
notice the dot product
can you tell me where u got that idea of plugging (1,2) into the derivatives ?
I assumed that it wanted to find it in terms for x = 1 y = 2 but clearly not..
take a look at the attached graph
do you see a plane in cyan color and a surface in red color ?
yes
directional derivative along the vector (1,2) gives you the slope of tangent to that plane-surface intersection curve
just find the dot product and you're done : \[\large ( (-2xe^{(-x^2 - y^2)} , -2ye^{(-x^2 -y^2)} ) ) \bullet (1/\sqrt5 , 2 / \sqrt5 )\]
I dint see the graph ;-}
Okay thanks I will reply with my result soon :)
are u in university right now @Marki ?
see if u can open that file
\[e ^{-x^{2} - y^{2}} (-\frac{ 2x }{ \sqrt{5} } - \frac{ 4y }{ \sqrt{5} }\]
) at the end
looks good !
:D thank you! I have two more questions relating to f(x,y) = exp(x^2 - y^2) if you are able to help?
wil try, ask..
okay so how do I find the contour lines of f(x,y) and sketch the graph? Im assuming that the contour lines will be circular? because of x^2 and y^2
contour curves are formed by intersecting a horizontal plane with the surface of f(x,y)
\[ z = f(x,y) = \exp(-x^2 -y^2)\] \[ z = k\]
\[\exp(-x^2-y^2) = k\]
\[-x^2-y^2 = \ln k\]
\[x^2+y^2 = -\ln k\]
so you do get circles as your contour curves but notice that there will be restriction on the level because you want \(\ln k\) to be negative to stay in real plane
so I should just take a point say (0,0) then sketch the graph? with the contour curves, but how do you know the points of the curves, honestly this is all confusing :S
\[x^2+y^2 = -\ln k\] you get a contour curve by giving a value to \(k\) clearly they all are circles whose center is origin, yes ?
and radius = \(\sqrt{-\ln k }\)
sketch them should be trivial just assign specific values to \(k\) and sketch them
yes I understand that part, because of x^2 + y^2 it will produce circles, and that their center will be 0 because its just a standard point, but what will the actual graph look like? and how many contour curves should I produce?
as many as you wish
4-5 curves will do to get some idea aboutt he the 3 dimensional surface
what sort of scale and intervals? start with k = 1 increment by 1 till k = 6?
first find out the restriction on k
your equation of contour curves : \[x^2+y^2 = -\ln k\]
radius of circle makes sense only when the right hand side is a positive number yes ?
k > 0
wait k < 0
logarithm is not defined for negative numbers.
you cant make the right hand side positive..
you can, work it
0 > k < 1
Yep!
0 < k < 1 sorry
yes looks good, pick 4-5 values for k in that range and plot ur circles
i chose k = 0.1 k = 0.3 k = 0.5 k =0.7 and k = 0.9 I got a range of R smallest at 0.32 and largest at 1.52 sound okay?
looks good, plot few more close to 0.1 if you want : try below values for k: ``` 0.01 0.05 0.1 0.3 0.5 0.9 ```
okay thanks I have a rough sketch now, how do I go about sketching the graph? I tried wolfram alpha and sort of like a mountain..
whats the highest value of level ? (z or k)
0.9 for my contours
yes put ur contour curves along z axis with z = k
|dw:1418131186134:dw|
Join our real-time social learning platform and learn together with your friends!