Directional Derivative at an Angle with a 3d Gradient

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
4 replies · 3K views
Messages
23,209
Reaction score
7,696

Homework Statement


Find the directional derivative using ##f\left(x,y,z\right)=xy+z^2## at the point (4, 2, 1) in the direction of a vector making an angle of ##\frac{3π}{4}## with ##\nabla f(4, 2, 1)##.

Homework Equations


##f\left(x,y,z\right)=xy+z^2##

The Attempt at a Solution


I found the gradient of ##f(4, 2, 1)## as ##\langle 2,4,2 \rangle##.
Now I'm not sure what to do next. I have a 3d vector, but they only give me one angle, so I don't know which orientation the new unit vector is at.

It's taken me about 30 min to type all this up (I keep going back and adding and deleting stuff), and I've got to go to an exam for another class, but I just now thought of this: I think that if I knew which direction I had to rotate I could solve this by finding a vector perpendicular to the gradient vector and a vector opposite of the gradient vector and then adding them together to get a vector at 3π/4 from the gradient vector. Knowing that would allow me to get the unit vector I need to solve this.
 
Physics news on Phys.org
Drakkith said:

Homework Statement


Find the directional derivative using ##f\left(x,y,z\right)=xy+z^2## at the point (4, 2, 1) in the direction of a vector making an angle of ##\frac{3π}{4}## with ##\nabla f(4, 2, 1)##.

Homework Equations


##f\left(x,y,z\right)=xy+z^2##

The Attempt at a Solution


I found the gradient of ##f(4, 2, 1)## as ##\langle 2,4,2 \rangle##.
Now I'm not sure what to do next. I have a 3d vector, but they only give me one angle, so I don't know which orientation the new unit vector is at.

It's taken me about 30 min to type all this up (I keep going back and adding and deleting stuff), and I've got to go to an exam for another class, but I just now thought of this: I think that if I knew which direction I had to rotate I could solve this by finding a vector perpendicular to the gradient vector and a vector opposite of the gradient vector and then adding them together to get a vector at 3π/4 from the gradient vector. Knowing that would allow me to get the unit vector I need to solve this.
There is a shorter way than we discussed in that recent similar 2D problem. Use$$
D_{\hat u}f(P) = \nabla f(P)\cdot \hat u = |\nabla f(P)||\hat u|\cos\theta$$
 
LCKurtz said:
There is a shorter way than we discussed in that recent similar 2D problem. Use$$
D_{\hat u}f(P) = \nabla f(P)\cdot \hat u = |\nabla f(P)||\hat u|\cos\theta$$

Wait... does that mean the directional derivative is the same at all orientations of 3π/4?

Also, I got an answer of ##-2\sqrt{3}##, which is correct. Thanks Kurtz.
 
Drakkith said:
Wait... does that mean the directional derivative is the same at all orientations of 3π/4?
Assuming you mean all orientations from the gradient direction, then yes it does. And you could have done the earlier problem this way too. For some reason in that other problem I got the impression you were to find a vector in the new direction first.
 
LCKurtz said:
Assuming you mean all orientations from the gradient direction, then yes it does. And you could have done the earlier problem this way too. For some reason in that other problem I got the impression you were to find a vector in the new direction first.

That was my impression too. I thought I was supposed to find a vector first. :frown: