Ask your own question, for FREE!
Mathematics 17 Online
OpenStudy (interesting):

Thanks

hartnn (hartnn):

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|}\)

hartnn (hartnn):

so first form a vector 'u' then find \(\nabla f\) and use the above formula!

OpenStudy (interesting):

Thank you, so for my example Df = exp(-x^2 - y^2) * (-2x -2y) correct? and u = (1/sqrt(5) , 2 / sqrt(5) ) ?

hartnn (hartnn):

if by total derivative, you meant \(\nabla f\) then you were correct :)

hartnn (hartnn):

u is correct, let me check for Df

hartnn (hartnn):

wouldn't Df be a vector ?

OpenStudy (interesting):

so Df = (Dx , Dy) ?

hartnn (hartnn):

yesss

OpenStudy (interesting):

ah, would make my workings much simpler, currently its a mess :)

OpenStudy (interesting):

so (-2xexp(-x^2 - y^2) , -2yexp(-x^2 -y^2) ) ?

hartnn (hartnn):

that is correct :)

OpenStudy (interesting):

so the final result would be just u multiplied by Df and then just input the values of (1 , 2) for x and y ?

hartnn (hartnn):

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

OpenStudy (interesting):

For calculating value of Dx would I take y = 0 and x = 1 or y = 2 and x = 1?

hartnn (hartnn):

you DD will be \(\large ( (-2xe^{(-x^2 - y^2)} , -2ye^{(-x^2 -y^2)} ) ).(1/\sqrt5 , 2 / \sqrt5 )\)

hartnn (hartnn):

don't plug in anything for x and y just calculate the dot product

OpenStudy (interesting):

oh really? wow okay.. thanks seems simple enough, but why don't you plug in values for Df ?

hartnn (hartnn):

oh yeah, you plug in x=1,y=2

hartnn (hartnn):

sorry, bit rusty on this

hartnn (hartnn):

because you get \(\Large \nabla f|_{(x_0,y_0)}\)

OpenStudy (interesting):

okay so Df(1,2) = (-2exp(-3) , -4exp(-3) ) ?

hartnn (hartnn):

you mean Df(1,2) = (-2exp(-5) , -4exp(-5) ) ??

OpenStudy (interesting):

yes sorry my bad, i did (-1)^2

hartnn (hartnn):

go ahead

ganeshie8 (ganeshie8):

why do you want to plugin a vector into a scalar function ?

ganeshie8 (ganeshie8):

directional derivative gives you the deriivative in the direction (1,2) as function of x and y it need not be constant

hartnn (hartnn):

ok, so just \(\large ( (-2xe^{(-x^2 - y^2)} , -2ye^{(-x^2 -y^2)} ) ).(1/\sqrt5 , 2 / \sqrt5 )\)

OpenStudy (interesting):

So the final result is \[(\frac{ -2 }{ \sqrt{5}}e^{-5} , \frac{ -8 }{ \sqrt{5}}e ^{-5})\]

ganeshie8 (ganeshie8):

http://gyazo.com/0990d44103fe011199509509d6a52dc8

OpenStudy (interesting):

oh so I dont do Df(1 ,2)

hartnn (hartnn):

in any case, final answer won't be a vector

hartnn (hartnn):

notice the dot product

ganeshie8 (ganeshie8):

can you tell me where u got that idea of plugging (1,2) into the derivatives ?

OpenStudy (interesting):

I assumed that it wanted to find it in terms for x = 1 y = 2 but clearly not..

ganeshie8 (ganeshie8):

take a look at the attached graph

ganeshie8 (ganeshie8):

do you see a plane in cyan color and a surface in red color ?

OpenStudy (interesting):

yes

ganeshie8 (ganeshie8):

directional derivative along the vector (1,2) gives you the slope of tangent to that plane-surface intersection curve

ganeshie8 (ganeshie8):

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 )\]

OpenStudy (anonymous):

I dint see the graph ;-}

OpenStudy (interesting):

Okay thanks I will reply with my result soon :)

ganeshie8 (ganeshie8):

are u in university right now @Marki ?

ganeshie8 (ganeshie8):

ganeshie8 (ganeshie8):

see if u can open that file

OpenStudy (interesting):

\[e ^{-x^{2} - y^{2}} (-\frac{ 2x }{ \sqrt{5} } - \frac{ 4y }{ \sqrt{5} }\]

OpenStudy (interesting):

) at the end

ganeshie8 (ganeshie8):

looks good !

OpenStudy (interesting):

:D thank you! I have two more questions relating to f(x,y) = exp(x^2 - y^2) if you are able to help?

ganeshie8 (ganeshie8):

wil try, ask..

OpenStudy (interesting):

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

ganeshie8 (ganeshie8):

contour curves are formed by intersecting a horizontal plane with the surface of f(x,y)

ganeshie8 (ganeshie8):

\[ z = f(x,y) = \exp(-x^2 -y^2)\] \[ z = k\]

ganeshie8 (ganeshie8):

\[\exp(-x^2-y^2) = k\]

ganeshie8 (ganeshie8):

\[-x^2-y^2 = \ln k\]

ganeshie8 (ganeshie8):

\[x^2+y^2 = -\ln k\]

ganeshie8 (ganeshie8):

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

OpenStudy (interesting):

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

ganeshie8 (ganeshie8):

\[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 ?

ganeshie8 (ganeshie8):

and radius = \(\sqrt{-\ln k }\)

ganeshie8 (ganeshie8):

sketch them should be trivial just assign specific values to \(k\) and sketch them

OpenStudy (interesting):

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?

ganeshie8 (ganeshie8):

as many as you wish

ganeshie8 (ganeshie8):

4-5 curves will do to get some idea aboutt he the 3 dimensional surface

OpenStudy (interesting):

what sort of scale and intervals? start with k = 1 increment by 1 till k = 6?

ganeshie8 (ganeshie8):

first find out the restriction on k

ganeshie8 (ganeshie8):

your equation of contour curves : \[x^2+y^2 = -\ln k\]

ganeshie8 (ganeshie8):

radius of circle makes sense only when the right hand side is a positive number yes ?

OpenStudy (interesting):

k > 0

OpenStudy (interesting):

wait k < 0

ganeshie8 (ganeshie8):

logarithm is not defined for negative numbers.

OpenStudy (interesting):

you cant make the right hand side positive..

ganeshie8 (ganeshie8):

you can, work it

OpenStudy (interesting):

0 > k < 1

ganeshie8 (ganeshie8):

Yep!

OpenStudy (interesting):

0 < k < 1 sorry

ganeshie8 (ganeshie8):

yes looks good, pick 4-5 values for k in that range and plot ur circles

OpenStudy (interesting):

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?

ganeshie8 (ganeshie8):

ganeshie8 (ganeshie8):

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 ```

OpenStudy (interesting):

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..

ganeshie8 (ganeshie8):

whats the highest value of level ? (z or k)

OpenStudy (interesting):

0.9 for my contours

ganeshie8 (ganeshie8):

yes put ur contour curves along z axis with z = k

ganeshie8 (ganeshie8):

|dw:1418131186134:dw|

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!