Directional Derivative: Why Must Vector Be Unit Vector?

In summary: So you can use a non-unit vector, but then you will have to remember to scale the result by the length of the vector. It's just more convenient and easier to use a unit vector.
  • #1
Mr Davis 97
1,462
44
I know that ##D_{\vec{v}} f = \nabla f \cdot \vec{v}## is the directional derivative. My question is why must the vector ##\vec{v}## be a unit vector? I am sure there is an obvious answer, but my book doesn't really explain it.
 
Physics news on Phys.org
  • #2
Mr Davis 97 said:
I know that ##D_{\vec{v}} f = \nabla f \cdot \vec{v}## is the directional derivative. My question is why must the vector ##\vec{v}## be a unit vector? I am sure there is an obvious answer, but my book doesn't really explain it.
It doesn't have to be a unit vector. As long as you don't measure things or express them in coordinates, it can be of any length. If you want to measure different things by the same ruler, then you can and should divide it by its length, but the definition doesn't require it. Most authors, however, use the unit vector in their definition.
 
  • #3
fresh_42 said:
It doesn't have to be a unit vector. As long as you don't measure things or express them in coordinates, it can be of any length. If you want to measure different things by the same ruler, then you can and should divide it by its length, but the definition doesn't require it. Most authors, however, use the unit vector in their definition.
Can you elaborate on what would go wrong if I did the multiplication with a non-unit vector? What about ##\vec{v}## being a unit vector allows me to measure things correctly?
 
  • #4
If you have a function ##f : \mathbb{R}^n \rightarrow \mathbb{R}## then ##\nabla_v f(x) = \nabla f(x) \cdot v## which gives you a number that depends on the length of ##v##. So if you want to compare the behavior of the directional derivative at different points ##x## and ##y## in a certain direction ##v##, then ##v## should always be the same (of any length). And if you want to compare the behavior at the same point ##x## in different directions ##v## and ##w##, then you should also have the length of them in mind. Depending on what you want to calculate, they don't necessarily have to be of the same length, e.g. the velocity of driving through a curve. But if you only want to know the rate of change, then this is a division by their length.

It's as always: it depends on what you want to do. Personally I don't see any advantage in the restriction to unit vectors, the limit
$$
\nabla_v f(x) = \lim_{h \to 0} \frac{f(x+hv)-f(x)}{h}
$$
doesn't need it.

One can write the entire thing as ##\nabla_v f(x) = f(x+v) - f(x) - r(v)## where the remainder ##r(v)## means: vanishes faster than linear when approaching zero. So instead of saying "faster than linear" one can write ##r(\frac{v}{||v||}) \rightarrow 0## where the "faster than linear" aspect is divided beforehand.
 
Last edited:
  • Like
Likes jedishrfu
  • #5
The unit vector approach fits well with physics problems which are always focused on measurement of things and since we all know physics is the most important of sciences that pretty much sums it up.
 
  • Like
Likes vela
  • #6
jedishrfu said:
The unit vector approach fits well with physics problems which are always focused on measurement of things and since we all know physics is the most important of sciences that pretty much sums it up.

That's dangerous thing to say in the math section :P
 
  • Like
Likes jedishrfu
  • #7
If you choose ##\vec v## to be in the ##x## or ##y## direction, and you want the respective directional derivatives to be ##f_x## and ##f_y##, you need ##\vec v## to be a unit vector. To scale it otherwise in a calculus class seems to me to be very unhelpful.
 
  • #8
It is necessary. Furthermore, said formula is valid when [itex]f[/itex] is differentiable at the point.
 
  • #9
No, it doesn't need to be a unit vector. As you know, given ##f: \mathbb{R}^m \rightarrow \mathbb{R}^n##, then we define its directional derivative at the point ##a \in \mathbb{R}^m## in the direction ##v \in \mathbb{R}^m## by ##D_v f = \frac{d}{dt} \vert_{t = 0} f(a + tv) = \lim\limits_{t \rightarrow 0} \frac{f(a+tv) - f(a)}{t}##, provided this limit exists. As you can see, we are differentiating ##f## along the curve ##a + tv##. If, for example, you decided you wanted to take the directional derivative in the direction of ##2v## then you would have ##D_{2v}f = \frac{d}{dt}\vert_{t=0} f(a + 2tv)##, so we are differentiating the function along the curve ##a + 2tv##. Now what's the difference between the curve ##a + tv## and the curve ##a + 2tv##? The image of both curves are the same, but their velocities are different. The first curve has a velocity of ##v## while the second curve has a velocity of ##2v## (just differentiate both curves with respect to ##t##). So when we take the directional derivative of ##f## along the second curve, you can think of the function ##f## traveling twice as fast as it would along the first curve.

In fact, the directional derivative operator is linear, so you immediately have ##D_{2v}f = 2D_v f##, which shows that scaling ##v## just scales the directional derivative. So if ##f## travels along the curve ##a + 2tv##, then it is traveling twice as fast as it would along the curve ##a + tv##, which is why we have ##D_{2v} f = 2D_v f##.
 
  • Like
Likes fresh_42

Related to Directional Derivative: Why Must Vector Be Unit Vector?

1. What is a directional derivative?

A directional derivative is a measure of how a function changes along a specific direction. It can be thought of as the slope of a function in a particular direction.

2. Why must the vector be a unit vector in directional derivative?

A unit vector is a vector with a magnitude of 1 and is used to represent a direction. In directional derivative, we are interested in the change of a function in a specific direction rather than the magnitude of the vector itself. By using a unit vector, we can isolate the directional component of the change in the function.

3. Can we use any vector for directional derivative?

No, we cannot use any vector for directional derivative. The vector must be a unit vector in order to accurately measure the directional change of a function.

4. How is the directional derivative calculated?

The directional derivative is calculated by taking the dot product of the gradient of the function and the unit vector representing the desired direction. This dot product represents the rate of change of the function in that specific direction.

5. What is the significance of directional derivative in real-world applications?

Directional derivative is used in many fields such as physics, engineering, and economics to analyze the behavior of a function in a particular direction. It helps us understand how a function changes in a specific direction and can be used to optimize processes and make predictions.

Similar threads

Replies
16
Views
645
Replies
2
Views
2K
Replies
3
Views
1K
Replies
2
Views
2K
  • Calculus
Replies
3
Views
1K
  • Introductory Physics Homework Help
Replies
3
Views
482
Replies
3
Views
659
  • Introductory Physics Homework Help
Replies
12
Views
493
  • Quantum Physics
Replies
5
Views
920
Back
Top