How to differentiate by a vector ?

  • Context: Graduate 
  • Thread starter Thread starter dyn
  • Start date Start date
  • Tags Tags
    Differentiate Vector
Click For Summary

Discussion Overview

The discussion revolves around the concept of differentiating a scalar function, specifically a Lagrangian, with respect to a vector. Participants explore the implications of this differentiation, including notation and the treatment of vectors in the context of scalar products and directional derivatives.

Discussion Character

  • Exploratory, Technical explanation, Conceptual clarification, Debate/contested

Main Points Raised

  • One participant questions whether it is possible to differentiate a scalar (the Lagrangian) by a vector and seeks clarification on the notation used in their notes.
  • Another participant suggests that the notation ##\frac{\partial L}{\partial\vec r}## is defined as a vector of partial derivatives with respect to the components of the vector r.
  • A subsequent reply agrees with this interpretation, reinforcing the understanding of the notation.
  • There is a query about the technical possibility of differentiating by a vector, with a participant noting that traditional vector calculus operations like grad, div, and curl do not involve differentiating by a vector.
  • A participant presents a definition of the vector derivative as a directional derivative, emphasizing that the vector must be a unit vector.
  • Another participant expresses uncertainty about the notation used for directional derivatives and suggests an alternative notation, while also clarifying that they do not consider this as "differentiating by a vector." They describe it as the ordinary derivative of a function parameterized by a vector direction.
  • There is a discussion about whether vectors can be treated as scalars in the context of the Euler-Lagrange equations, with some participants expressing confusion about this concept.
  • One participant defends the use of the notation as not being sloppy, but rather a different style, suggesting that including tensor indices might enhance clarity.

Areas of Agreement / Disagreement

Participants express differing views on the notation and conceptual understanding of differentiating by a vector. There is no consensus on whether it is appropriate to treat vectors as scalars or on the terminology used for directional derivatives.

Contextual Notes

Some participants highlight the importance of precise notation and the potential for confusion when treating vectors and scalars interchangeably. The discussion reflects varying levels of familiarity with the concepts and notation involved.

dyn
Messages
774
Reaction score
63
Is it possible to differentiate a scalar( in this case a Lagrangian) by a vector ?
If the Lagrangian is r.A ie. the scalar product of vectors r and A what is ∂L/∂r ? My notes say it is A but how ?
My notes also say that ∂L/∂r is the same as ∇L. Is this correct ? or is it sloppy notation ? or is it because the vector is treated as a generalised coordinate which acts as a scalar ?
Thanks
 
Physics news on Phys.org
Sounds like they're just defining ##\frac{\partial L}{\partial\vec r}## to mean ##\left(\frac{\partial L}{\partial r_1} ,\frac{\partial L}{\partial r_2},\frac{\partial L}{\partial r_3}\right)##.
 
Fredrik's right - that's what they mean.
 
Thanks. Is it technically possible in precise terms to differentiate by a vector ? As far as I understand grad div and curl isn't differentiating by a vector.
 
For a function f that exists over a vector domain R the vector derivative is defined as:

df(R)/dA = lim [f(R + eps*A) - f(R)]/eps

Note that the vector A must be a unit vector here; the vector derivative is a directional derivative in the direction A.

You can easily prove that this can be calculated via:
A (dot) grad (f).
 
Do people use the notation df/dA for that? (I don't have a problem with it. I'm just not used to seeing it). I would use something like ##D_Af##.

I wouldn't call this "differentiating by a vector". It's just the directional derivative of f in the direction of the unit vector A. It's the ordinary derivative of the function ##t\mapsto f(x+tA)##, which is a function from ##\mathbb R## into ##\mathbb R##.
 
When all this occurs with the Euler-Lagrange equations is the vector just treated as a scalar ?
 
I'm not sure I even understand what it would mean to treat a vector as a scalar.
 
Fredrik said:
Do people use the notation df/dA for that? (I don't have a problem with it. I'm just not used to seeing it). I would use something like ##D_Af##.

I wouldn't call this "differentiating by a vector". It's just the directional derivative of f in the direction of the unit vector A. It's the ordinary derivative of the function ##t\mapsto f(x+tA)##, which is a function from ##\mathbb R## into ##\mathbb R##.

Yes, this notation is used, especially in older texts.

And yes, the directional derivative has been called "differentiating by a vector" ... the terminology is consistent with the Leibniz notation.

I like your notation better; it is more modern-looking. I'll use it next time and be more hip!
 
  • #10
I don't think it's sloppy notation. It's just different notation. Although, it's probably better to include tensor indices when written that way.
 

Similar threads

  • · Replies 33 ·
2
Replies
33
Views
2K
  • · Replies 12 ·
Replies
12
Views
2K
  • · Replies 50 ·
2
Replies
50
Views
5K
  • · Replies 19 ·
Replies
19
Views
5K
Replies
1
Views
2K
  • · Replies 23 ·
Replies
23
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 19 ·
Replies
19
Views
3K
  • · Replies 7 ·
Replies
7
Views
1K
  • · Replies 14 ·
Replies
14
Views
3K