Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Alright, I'm trying to fine the gradient of the function and the maximum value of the directional derivative.

$$z = \frac{y}{(x^2 + y^2 )}\text{ at }(1,1)$$

So far, I've gotten the following values for partial derivates, but I can't guarantee they are correct:

$$F_x = \frac{-2xy}{(x^2 + y^2 )^2}$$ $$F_y = \frac{-2y^2}{( x^2 + y^2 )^2} + \frac1{x^2 + y^2}$$

GradientF(x,y) = \frac{-2xy}{( x^2 + y^2 )^2 + (-2y^2)/( x^2 + y^2 )^2} + 1/( x^2 + y^2 )^2}$$ GradientF(1,1) = -2/4i + (-2/4)j + (1/2)k = <-2/4, -2/4, 1/2> ||F(1,1)|| = <-2/4, -2/4, 1/2> (1/sqrt(3/4))

I get <-2/3, -2/3, 2/3> but this is wrong...

I should be getting <1/2, 0> at max value of 1/2 according to my friend who ceases to explain anything to me.

Any help? Thanks.

share|cite|improve this question
Your partial with respect to $x$ is missing a factor of $\frac2{x^2+y^2}$... – J. M. May 11 '11 at 3:57
How? I just did it again and got the same answer? – jtm22 May 11 '11 at 4:01
Maybe you can post your solution in detail? Then we can debug... – J. M. May 11 '11 at 4:03
OK, mind editing in my mistakes that I make when formatting? Sorry, I'm new here =( – jtm22 May 11 '11 at 4:05
Edited in. Now for formatting – jtm22 May 11 '11 at 4:09

To evaluate partial derivatives of a function $f(x,y)$, you fix one of the variables as the constant, and derivate with respect to the other variable. For instance, if you're trying to find, say, $\partial_x f$, treat $y$ as a constant; you can temporarily change $y$ it for $a$ if you wish so as to see it more clearly.

The maximum value of the directional derivative will occur in the direction along the gradient vector (at a given point). This maximum value will be the norm of the gradient vector (at that point) -- just review the definition of directional derivative, it's a dot product between the gradient vector and a unit vector that gives the "direction".

share|cite|improve this answer
I've got the first part, it's just the second one that's giving me problems. Can you elaborate? Thanks! – jtm22 May 11 '11 at 4:18
@jtm22: Where's that $k$ coming from? Don't you have two variables only? The gradient should be a two-dimensional vector. You just have to calculate its norm. – Weltschmerz May 11 '11 at 4:21
You're right. Now I have the <-1/2, 0> but I just don't know where to go after that? Then I calculate the norm? – jtm22 May 11 '11 at 4:32
Yes, indeed, you just calculate the norm. But it may be worthwhile if you check why you do that. – Weltschmerz May 11 '11 at 4:34
I don't think so...I calculated the norm and I got -1. I should be getting (1/2). Can you verify? – jtm22 May 11 '11 at 4:44

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.