How do I find the directional derivative?

mnky9800n
Messages
4
Reaction score
0
Find the directional derivative of f(x,y)= ln sqrt(x^2+y^2) at (x,y) does not = (0,0) toward the origin


I found the gradient: grad f(x,y)=1/(x^2+y^2)*(xi+yj) but I have no idea what to do after that.
 
Physics news on Phys.org
mnky9800n said:
Find the directional derivative of f(x,y)= ln sqrt(x^2+y^2) at (x,y) does not = (0,0) toward the origin


I found the gradient: grad f(x,y)=1/(x^2+y^2)*(xi+yj) but I have no idea what to do after that.

How are you given the direction? The directional derivative of f(x,y) in the direction of the unit vector \vec{u} is \nabla f\cdot \vec{u}.

The directional derivative of of f(x,y) in the direction of any vector \vec{v} can be done by finding a unit vector in that direction first: \vec{v}/|\vec{v}| and is \nabla f\cdot \vec{v}/|\vec{v}|.

If the direction is at angle \theta with the x-axis (whether the point at which you are finding the derivative is (0,0) or not), then a unit vector in that direction is cos(\theta)\vec{i}+ sin(\theta)\vec{j} and so the directional derivative is
\nabla f(x,y)\cdot (cos(\theta)\vec{i}+ sin(\theta)\vec{j})= \frac{\partial f}{\partial x}cos(\theta)+ \frac{\partial f}{\partial y}sin(\theta)

Of course, if the angle \theta is with the y-axis, just swap "sine" and "cosine".
 
When re-examining the problem I solved for grad f*u/|u| which gives (xi+yj)/[sqrt(x^2+y^2)]*[1/(x^2+y^2)*(xi+yj)] which when solved gives: (x^2+y^2)^(-1/2) which I believe is the correct answer.
 
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