0

If Iam going to derive the DD of a function without using a unit vector i.e.$u=<a,b>$ (not unit vector). I get the same result $Du=(Fx).a+(Fy).b$.So why are we considering unit vector always?

CHAND
  • 11
  • How is this “the same result?” $\nabla f\cdot v \ne \nabla f\cdot {v\over|v|}$ if $v$ isn’t a unit vector. – amd Dec 29 '17 at 08:44
  • Yes true, but i get the same formula , but different results when i change the magnitude of the vector but in the same direction.By same formula i mean Du=(fx)a+(fy)b, whether it may or many not be a unit vector. – CHAND Dec 29 '17 at 16:23
  • @CHAND Please, if you are ok, you can accept the answer and set it as solved. Thanks! – user Feb 01 '18 at 22:48

3 Answers3

0

If V = < a, b> is not a unit vector then afx + bfy is not the directional derivative of f at the direction of V. It is the directional derivative multiplied by the norm of V. Therefore you do not get the same result unless you normalize V.

  • That depends on your definition of directional derivative. Not all authors require a unit vector. Indeed, if you’re not working in a normed space, then what’s a unit vector in the first place? – amd Dec 29 '17 at 08:43
  • Solution of direction derivative changes when we use a vector other than a unit vector at a point but in the same direction, but I'm asking why is it changing even though it is in the same direction? – CHAND Dec 29 '17 at 12:23
  • That is exactly why you need to consider a unit vector so you get the same answer for all vectors in the same direction. – Mohammad Riazi-Kermani Dec 29 '17 at 13:07
  • The directional derivative is a dot product of the gradient vector and the unit vector in the desired direction. As you know the dot product depends on the norms of vectors so you get a different answer if you do not normalize your vector. – Mohammad Riazi-Kermani Dec 29 '17 at 13:13
  • The dot product of the gradient and a unit vector happens to equal the directional derivative for differentiable functions (and some others), but that’s not the fundamental definition of a directional derivative. – amd Dec 29 '17 at 23:28
0

For any $\vec v=(a,b)$ we can define the directional derivative as:

$$\frac{\partial f}{\partial \vec v}=\lim_{h\to 0}\frac{f(x_0+ah,y_0+bh)-f(x_0,y_0)}{h}$$

Often the directional derivative are defined assuming $\vec v$ as a unit vector, indeed it can be shown that:

$$\frac{\partial f}{\partial \lambda \vec v}=\lim_{h\to 0}\lambda\frac{f(x_0+\lambda ah,y_0+\lambda bh)-f(x_0,y_0)}{\lambda h}=\lambda \frac{\partial f}{\partial \vec v}$$

Notably the partial derivatives are the directional derivatives corresponding to the unit vectors $(1,0)$ and $(0,1)$.

Wheter $f$ is differentiable the following holds:

$$\frac{\partial f}{\partial \vec v}=\nabla f\cdot\vec v=v_1\frac{\partial f}{\partial x}+v_2\frac{\partial f}{\partial y}$$

user
  • 154,566
-1

The formula stated here gives the derivative of f, a real valued function of two variables, with respect to a vector u whose components are 'a' and 'b' at a point where the partial derivatives(denoted in the question by fx and fy) of f are evaluated, in case the function f is differentiable there, as a function of two variables. If we put the additional condition that u is a unit vector we get what is usually referred to as the directional derivative of f,at the point, along u and which is equal to the component of the gradient vector of f along u. Ref: Tom Apostol: Mathematical Analysis.