Results 1 to 7 of 7

Thread: Directional Derivative and Gradient Help

  1. #1
    Junior Member
    Joined
    Aug 2009
    Posts
    71

    Directional Derivative and Gradient Help

    I am having some difficulty with the following problems:
    1. For the function
    f(x,y)=\left\{\begin{array}{cc}\frac{x|y|}{\sqrt(x  ^2+y^2)},&\mbox{ if }<br />
(x,y) != (0,0)\\0, & \mbox{ if } (x,y) = (0,0)\end{array}\right.

    use definition  D_vf(a) = \lim_{h \to 0}\frac{f(a + hv) - f(a)}{h} to determine for which unit vectors v = vi + wj the direction derivative  D_vf(0,0) exists.

    I am able to get the function down to the following:
    \lim_{h \to 0}(\frac{hv|hw|}{\sqrt(h^2v^2+h^2w^2)} - 0)/h

    Simplifying I get:
    \lim_{h \to 0}(\frac{h^2v|w|}{\sqrt(v^2+w^2)}
    This is where I get lost. The answer is supposed to be v|w|. The limit I have goes to 0.
    ------------------------
    Problem 2
    The depth of a lake is given by f(x,y) = 400 - 3x^2y^2 find the direction a swimmer should swim so that there is no change in the depth. The swimmer begins at (1,-2).

    This is part 2 of the problem. Part one has me find the direction the depth increases most rapidly and I got \frac{1}{\sqrt5}(-2i + j)

    To be honest I am not quite sure where to begin. Would I set the gradient equal to zero at that point and go from there?

    Thanks for any and all help.
    Last edited by Alterah; October 11th 2009 at 10:28 AM.
    Follow Math Help Forum on Facebook and Google+

  2. #2
    MHF Contributor Danny's Avatar
    Joined
    Dec 2008
    From
    Conway AR
    Posts
    2,311
    Thanks
    4
    Quote Originally Posted by Alterah View Post
    I am having some difficulty with the following problems:
    1. For the function
    f(x,y)=\left\{\begin{array}{cc}\frac{x|y|}{\sqrt(x  ^2+y^2)},&\mbox{ if }<br />
(x,y) != (0,0)\\0, & \mbox{ if } (x,y) = (0,0)\end{array}\right.

    use definition  D_vf(a) = \lim_{h \to 0}\frac{f(a + hv) - f(a)}{h} to determine for which unit vectors v = vi + wj the direction derivative [tex] D_vf(0,0) exists.

    I am able to get the function down to the following:
    \lim_{h \to 0}(\frac{hv|hw|}{\sqrt(h^2v^2+h^2w^2)} - 0)/h

    Simplifying I get:
    \lim_{h \to 0}\frac{h^2v|w|}{\sqrt(v^2+w^2)}
    This is where I get lost. The answer is supposed to be v|w|. The limit I have goes to 0.
    ------------------------
    Problem 2
    The depth of a lake is given by f(x,y) = 400 - 3x^2y^2 find the direction a swimmer should swim so that there is no change in the depth. The swimmer begins at (1,-2).

    This is part 2 of the problem. Part one has me find the direction the depth increases most rapidly and I got \frac{1}{\sqrt5}(-2i + j)

    To be honest I am not quite sure where to begin. Would I set the gradient equal to zero at that point and go from there?

    Thanks for any and all help.
    In the first part, you dropped an h so you should have

    \lim_{h \to 0}\frac{h^2v|w|}{h^2\sqrt{v^2+w^2}} = v|w| since u^2+v^2 = 1 (it's a unit vector)

    Second part. \nabla f = <-6x y^2, - 6x^2 y> which at your point is \frac{<-2,1>}{\sqrt{5}}. If the direction you move in is {\bf u} = <u,v>, then D_u f = \nabla f \cdot {\bf u} = \frac{<-2,1>}{\sqrt{5}} \cdot <u,v> and if you want this to be zero then -2u + v = 0. So pick a u and v that satisfies this then make it a unit vector.
    Follow Math Help Forum on Facebook and Google+

  3. #3
    Junior Member
    Joined
    Aug 2009
    Posts
    71
    For the first problem, in the first problem on this part:

    \lim_{h \to 0}(\frac{hv|hw|}{\sqrt(h^2v^2+h^2w^2)} - 0)/h<br />

    The square root symbol is over the entire line. So, if we factor out  h^2 then we get \sqrt(h^2)\sqrt(v^2+w^2) in that line. Then shouldn't \sqrt(h^2) = |h|? We can then move the h in the very bottom up to the top. I suppose I am not seeing where I am losing an h
    Follow Math Help Forum on Facebook and Google+

  4. #4
    MHF Contributor Danny's Avatar
    Joined
    Dec 2008
    From
    Conway AR
    Posts
    2,311
    Thanks
    4
    Quote Originally Posted by Alterah View Post
    For the first problem, in the first problem on this part:

    \lim_{h \to 0}(\frac{hv|hw|}{\sqrt(h^2v^2+h^2w^2)} - 0)/\color{red}{h}<br />

    The square root symbol is over the entire line. So, if we factor out  h^2 then we get \sqrt(h^2)\sqrt(v^2+w^2) in that line. Then shouldn't \sqrt(h^2) = |h|? We can then move the h in the very bottom up to the top. I suppose I am not seeing where I am losing an h
    See above in red.
    Follow Math Help Forum on Facebook and Google+

  5. #5
    Junior Member
    Joined
    Aug 2009
    Posts
    71
    Quote Originally Posted by Danny View Post
    See above in red.
    I suppose I am figuring that I didn't lose that h because we can move it to the numerator. Below is all the steps I am going through.

    \lim_{h \to 0}(\frac{hv|hw|}{\sqrt(h^2v^2+h^2w^2)} - 0)/h

    is the same as:
    \lim_{h \to 0}\frac{\frac{hv|hw|}{\sqrt(h^2v^2+h^2w^2)}- 0} {h}


     \lim_{h \to 0} \frac{\frac{hv|h||w|}{|h|\sqrt{v^2+w^2}}}{h}

    Becomes:

     \lim_{h \to 0} \frac{h^2v|h||w|}{|h|\sqrt{v^2+w^2}}

     \lim_{h \to 0} \frac{h^2v|w|}{\sqrt{v^2+w^2}}

    But, I am obviously forgetting something or doing something wrong.
    Follow Math Help Forum on Facebook and Google+

  6. #6
    MHF Contributor Danny's Avatar
    Joined
    Dec 2008
    From
    Conway AR
    Posts
    2,311
    Thanks
    4
    Quote Originally Posted by Alterah View Post
    I suppose I am figuring that I didn't lose that h because we can move it to the numerator. Below is all the steps I am going through.

    \lim_{h \to 0}(\frac{hv|hw|}{\sqrt(h^2v^2+h^2w^2)} - 0)/h

    is the same as:
    \lim_{h \to 0}\frac{\frac{hv|hw|}{\sqrt(h^2v^2+h^2w^2)}- 0} {h}


     \lim_{h \to 0} \frac{\frac{hv|h||w|}{|h|\sqrt{v^2+w^2}}}{h}

    Becomes: It's this step

     \lim_{h \to 0} \frac{h^2v|h||w|}{|h|\sqrt{v^2+w^2}}

     \lim_{h \to 0} \frac{h^2v|w|}{\sqrt{v^2+w^2}}

    But, I am obviously forgetting something or doing something wrong.
    Above in red. Note that \frac{\frac{1}{a}}{b} = \frac{1}{ab}.
    Follow Math Help Forum on Facebook and Google+

  7. #7
    Junior Member
    Joined
    Aug 2009
    Posts
    71
    Quote Originally Posted by Danny View Post
    Above in red. Note that \frac{\frac{1}{a}}{b} = \frac{1}{ab}.
    Thanks. Yeah, I am finally seeing where I went wrong.
    Follow Math Help Forum on Facebook and Google+

Similar Math Help Forum Discussions

  1. Directional Derivative and Gradient
    Posted in the Differential Geometry Forum
    Replies: 1
    Last Post: October 29th 2009, 05:23 PM
  2. Directional Derivatives and Gradient
    Posted in the Calculus Forum
    Replies: 3
    Last Post: July 8th 2009, 01:17 PM
  3. Gradient and Directional Derivative
    Posted in the Calculus Forum
    Replies: 3
    Last Post: June 10th 2009, 11:27 AM
  4. Replies: 0
    Last Post: January 11th 2009, 12:46 PM
  5. Replies: 1
    Last Post: November 1st 2008, 12:53 PM

Search Tags


/mathhelpforum @mathhelpforum