Directional derivative formula

mit_hacker
Messages
86
Reaction score
0

Homework Statement



(Q) The derivative of f(x,y) at Po(1,2) in the direction i + j is 2sqrt(2) and in the direction of -2j is -3. What is the derivative of f in the direction of -i - 2j? Give reasons for your answers.

Homework Equations



The directional derivative is given by the formula:

∂f/∂x i+∂f/∂y j

The Attempt at a Solution



You get simultaneous equations when you apply the above equation and you find that

∂f/∂y = 3/2.
And ∂f/∂x = [4sqrt(2) - 3] / 2.

Then applying the dot product of this and -i - 2j, you get [-3-4sqrt(2)] / 2 but the answer is supposed to be -7/sqrt(5). How did they get that??:confused:
 
Physics news on Phys.org
mit_hacker said:

Homework Statement



(Q) The derivative of f(x,y) at Po(1,2) in the direction i + j is 2sqrt(2) and in the direction of -2j is -3. What is the derivative of f in the direction of -i - 2j? Give reasons for your answers.

Homework Equations



The directional derivative is given by the formula:

∂f/∂x i+∂f/∂y j

The Attempt at a Solution



You get simultaneous equations when you apply the above equation and you find that

∂f/∂y = 3/2.
Yes, that's true.

And ∂f/∂x = [4sqrt(2) - 3] / 2.
No, that's not true. "The derivative of f(x,y) at Po(1,2) in the direction i + j is 2sqrt(2)" tells you that f_x/\sqrt{2}+ f_y/\sqrt{2}= 2\sqrt{2} (dividing by the length of i+ j) or that f_x+ f_y=4. Since f_y= 3/2, that gives f_x= 5/2

Then applying the dot product of this and -i - 2j, you get [-3-4sqrt(2)] / 2 but the answer is supposed to be -7/sqrt(5). How did they get that??:confused:
No, take the dot product of (5/2)i+ (3/2)j with the unit vector in the direction of -i- 2j.

Remember that the derivative in the direction of vector v is \nabla f \cdot v/||v||.

You keep forgetting to divide by the length of v.
 
Eye opener!

Thank-you very much for explicitly exposing my weakness! I really mean it. Now, I'll never forget to divide by the length! :smile:
 
There are two things I don't understand about this problem. First, when finding the nth root of a number, there should in theory be n solutions. However, the formula produces n+1 roots. Here is how. The first root is simply ##\left(r\right)^{\left(\frac{1}{n}\right)}##. Then you multiply this first root by n additional expressions given by the formula, as you go through k=0,1,...n-1. So you end up with n+1 roots, which cannot be correct. Let me illustrate what I mean. For this...
Back
Top