Commutativity of Differential Operators in Lagrangian Mechanics

In summary, the conversation discusses the use of a specific relation in Lagrangian Mechanics, which is frequently used but not fully elaborated on. The relation involves the time derivative of the position vector of a particle and the partial derivatives of the same vector with respect to the generalized coordinates. It is shown that this relation follows from the commutativity of differentiation with respect to different coordinates. However, for a more general case, the sum of all partial derivatives with respect to each coordinate must be considered.
  • #1
campo133
5
0
Hello.

I am having trouble realizing the following relation holds in Lagrangian Mechanics. It is used frequently in the derivation of the Euler-Lagrange equation but it is never elaborated on fully. I have looked at Goldstein, Hand and Finch, Landau, and Wikipedia and I still can't reason this. Could anybody elaborate or provide a proof? Thanks!

Let [tex]\vec{r} = \vec{r} \left( q_1, q_2, ..., q_i \right)[/tex] be the position vector of a particle where [tex]q_1, q_2, ..., q_i[/tex] are the respective generalized coordinates and. Each [tex]q_i = q_i(t)[/tex], that is each coordinate is a function of time. In all derivations of the Euler-Lagrange equation, I see the following:

[tex]\frac{d}{dt} \left( \frac{\partial \vec{r}}{\partial q_i} \right) = \frac{\partial}{\partial q_i} \left( \frac{d \vec{r}}{dt} \right) [/tex]

Why is this so?
 
Physics news on Phys.org
  • #2
It follows from the commutativity of differentiation with respect to different q's. Use the chain rule to write out the total time derivative explicitly as a sum of partial derivatives of r with respect to all the q's, each multiplied by the time derivative of the q-variable.

Then both sides differ only in the order of differentiation with respect to the q's. If the function r is sufficiently regular it will therefore be true.

Torquil
 
  • #3
I ended up working it out, quite simply really. I was getting held up with q dot, as I was treating it as a function of qs instead of strictly t.

Working out the left side using the chain rule you get:

[tex]\frac{d}{dt} \left( \frac{\partial \vec{r}}{\partial q_i} \right) \Rightarrow \frac{\partial^2 \vec{r}}{\partial q_i^2} \dot{q_i}[/tex]

Working the right side out using the chain rule also give:
[tex]\frac{\partial}{\partial q_i} \left( \frac{\partial \vec{r}}{\partial q_i} \dot{q_i} \right) \Rightarrow \frac{\partial^2 \vec{r}}{\partial q_i^2} \dot{q_i} [/tex]

since [tex] q_i = q_i(t) [/tex].

This shows both sides are equal, and the differentiation commutes.
 
Last edited:
  • #4
campo, thanks for posting this. I remember also being confused by that, but I had forgotten how I convinced myself. Your explanation is very clear and comforting.
 
  • #5
Campo133, I think you forgot that [tex]\vec{r}[/tex] is a function of all the [tex]q[/tex]'s:

[tex]
\frac{d}{dt} \left( \frac{\partial \vec{r}}{\partial q_i} \right) =
\sum_j \dot{q_j} \frac{\partial}{\partial q_j} \frac{\partial \vec{r}}{\partial q_i}
[/tex]

On the other hand:

[tex]
\frac{\partial}{\partial q_i} \left( \frac{d \vec{r}}{dt} \right) =
\frac{\partial}{\partial q_i}\sum_j \frac{\partial \vec{r}}{\partial q_j} \dot{q_j}=
\sum_j \frac{\partial}{\partial q_i}\frac{\partial \vec{r}}{\partial q_j} \dot{q_j}
[/tex]

Notice that the [tex]q_i[/tex] differentiation doesn't act upon [tex]\dot{q}_j[/tex] on the right hand side, even for the term [tex]j=i[/tex], because those are treated as inpedentent variables in the Lagrangian formalism.

The difference between these two expressions is the order of the [tex]q[/tex]-differentiation. If [tex]\vec{r}[/tex] is sufficiently regular as a function of the [tex]q[/tex]'s, then this doesn't matter. This is what I expressed with words in my first reply.

Torquil
 
  • #6
torquil said:
Campo133, I think you forgot that [tex]\vec{r}[/tex] is a function of all the [tex]q[/tex]'s ...
Isn't that exactly what Campo did here:
campo133 said:
[tex]\frac{d}{dt} \left( \frac{\partial \vec{r}}{\partial q_i} \right) \Rightarrow \frac{\partial^2 \vec{r}}{\partial q_i^2} \dot{q_i}[/tex]
...
[tex]\frac{\partial}{\partial q_i} \left( \frac{\partial \vec{r}}{\partial q_i} \dot{q_i} \right) \Rightarrow \frac{\partial^2 \vec{r}}{\partial q_i^2} \dot{q_i} [/tex]
I'm confused.
 
  • #7
Well, when you do the time derivative on the first expression, you need to time-differentiate "through" all the different q_j-variables, not only q_i. The vector r was already differentiated once with respect to q_i (for a given i). So the result should be what I wrote in my post, right, where i is fixed, and there is a sum over j? My expression is not the same as campo's, so only one of us can be right :-)

Torquil
 
  • #8
Yes torquil is correct in the most general sense. My explanation only works if r is a function of qi. Typically, r has many variables, so you need to sum over all of them. In my case, r just had one.
 
  • #9
Oh, I thought that you were using an implicit summation convention for repeated indices. People don't do that anymore? I thought that it was standard practice.
 
  • #10
turin said:
Oh, I thought that you were using an implicit summation convention for repeated indices. People don't do that anymore? I thought that it was standard practice.

No they still use that convention, but it wouldn't be the same as my expression anyway. If I were to interpret it as a sum over the index i, the expression would still not contain any "cross-terms", i.e. the terms in my sum that have [tex]j \neq i[/tex], e.g. terms where r is differentiated with respect to e.g. both q_1 and q_2.

Torquil
 
  • #11
torquil said:
... the expression would still not contain any "cross-terms", i.e. the terms in my sum that have [tex]j \neq i[/tex], ...
I totally missed that! Thanks, torquil.
 

FAQ: Commutativity of Differential Operators in Lagrangian Mechanics

1. What is commutativity in Lagrangian mechanics?

In Lagrangian mechanics, commutativity refers to the property of two differential operators being able to be applied in any order without affecting the final result. This means that the order in which the operators are applied does not matter.

2. Why is commutativity important in Lagrangian mechanics?

Commutativity is important in Lagrangian mechanics because it allows for the simplification of equations and makes it easier to solve problems. It also helps to ensure that the theory is consistent and that the results obtained are valid.

3. How is commutativity related to the principle of least action?

The principle of least action states that the path taken by a system in motion is the one that minimizes the action, which is a mathematical quantity defined by the Lagrangian. Commutativity plays a role in this principle by allowing for the rearrangement of terms in the Lagrangian to simplify the equations and make it easier to find the minimum action path.

4. Are all operators in Lagrangian mechanics commutative?

No, not all operators in Lagrangian mechanics are commutative. The operators that represent the kinetic and potential energies are usually commutative, but other operators, such as those representing forces, may not be commutative. It depends on the specific system and problem being studied.

5. What are some applications of commutativity in Lagrangian mechanics?

Commutativity has many practical applications in Lagrangian mechanics, such as in the study of oscillatory systems, rigid bodies, and fluids. It also plays a crucial role in the development of mathematical tools and techniques used in other areas of physics and engineering.

Similar threads

Replies
3
Views
1K
Replies
4
Views
1K
Replies
3
Views
1K
Replies
2
Views
744
Replies
25
Views
2K
Replies
3
Views
1K
Replies
43
Views
3K
Back
Top