Help required for Directional derivatives

  • Thread starter Thread starter hivesaeed4
  • Start date Start date
  • Tags Tags
    Derivatives
hivesaeed4
Messages
217
Reaction score
0
f=9-x^2-y^2 and u=i-j
The directional derivative comes out to be Du f(x,y)=-sqrt(2)+sqrt(2)

I'm going to find the directional derivative and could someone kindly point out the mistake because I am getting a different answer and it's important I understand how to do this question:

Du f(x,y) is simply the ∇f.u (note u is a vector)

Now ∇f=-2xi-2yj and ∇f.u=(-2xi-2yj).(i-j) = -2x+2y. Help?
 
Physics news on Phys.org
hi hivesaeed4! :smile:

(try using the X2 button just above the Reply box :wink:)
hivesaeed4 said:
Du f(x,y) is simply the ∇f.u (note u is a vector)

no, u must be the unit vector :wink:
 
I hope this doesn't sound stupid but does u always have to be a unit vector. The reason I'm asking is that this is the first time I've heard of it having to be a unit vector.
 
So instead of having taken the dot product of u and del of f in the above example I should have taken the dot product of del of f and the unit vector of u.

Right?
 
yup! :biggrin:
 
Thanks alot, tiny-tim.
 
Back
Top